#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control Register"] pub cr: CR, _reserved1: [u8; 0x0c], #[doc = "0x10 - Interrupt Enable Register"] pub ier: IER, #[doc = "0x14 - Interrupt Disable Register"] pub idr: IDR, #[doc = "0x18 - Interrupt Mask Register"] pub imr: IMR, #[doc = "0x1c - Interrupt Status Register"] pub isr: ISR, _reserved5: [u8; 0x30], #[doc = "0x50 - Output Data Register"] pub odata: ODATA, } #[doc = "CR (w) register accessor: an alias for `Reg`"] pub type CR = crate::Reg; #[doc = "Control Register"] pub mod cr; #[doc = "IER (w) register accessor: an alias for `Reg`"] pub type IER = crate::Reg; #[doc = "Interrupt Enable Register"] pub mod ier; #[doc = "IDR (w) register accessor: an alias for `Reg`"] pub type IDR = crate::Reg; #[doc = "Interrupt Disable Register"] pub mod idr; #[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 = "ODATA (r) register accessor: an alias for `Reg`"] pub type ODATA = crate::Reg; #[doc = "Output Data Register"] pub mod odata;