#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control register"] pub ctrl: CTRL, #[doc = "0x04 - Mode register"] pub mode: MODE, #[doc = "0x08 - Status register"] pub status: STATUS, #[doc = "0x0c - Value register"] pub value: VALUE, #[doc = "0x10 - Interrupt Enable Register"] pub ier: IER, #[doc = "0x14 - Interrupt Diable Register"] pub idr: IDR, #[doc = "0x18 - Interrupt Mask Register"] pub imr: IMR, #[doc = "0x1c - Interrupt Status Register"] pub isr: ISR, #[doc = "0x20 - Interrupt Clear Register"] pub icr: ICR, _reserved9: [u8; 0x03d8], #[doc = "0x3fc - Version Register"] pub version: VERSION, } #[doc = "CTRL (w) register accessor: an alias for `Reg`"] pub type CTRL = crate::Reg; #[doc = "Control register"] pub mod ctrl; #[doc = "ICR (w) register accessor: an alias for `Reg`"] pub type ICR = crate::Reg; #[doc = "Interrupt Clear Register"] pub mod icr; #[doc = "IDR (w) register accessor: an alias for `Reg`"] pub type IDR = crate::Reg; #[doc = "Interrupt Diable Register"] pub mod idr; #[doc = "IER (w) register accessor: an alias for `Reg`"] pub type IER = crate::Reg; #[doc = "Interrupt Enable Register"] pub mod ier; #[doc = "IMR (r) register accessor: an alias for `Reg`"] pub type IMR = crate::Reg; #[doc = "Interrupt Mask Register"] pub mod imr; #[doc = "ISR (r) register accessor: an alias for `Reg`"] pub type ISR = crate::Reg; #[doc = "Interrupt Status Register"] pub mod isr; #[doc = "MODE (rw) register accessor: an alias for `Reg`"] pub type MODE = crate::Reg; #[doc = "Mode register"] pub mod mode; #[doc = "STATUS (r) register accessor: an alias for `Reg`"] pub type STATUS = crate::Reg; #[doc = "Status register"] pub mod status; #[doc = "VALUE (r) register accessor: an alias for `Reg`"] pub type VALUE = crate::Reg; #[doc = "Value register"] pub mod value; #[doc = "VERSION (r) register accessor: an alias for `Reg`"] pub type VERSION = crate::Reg; #[doc = "Version Register"] pub mod version;