#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Configuration Register"] pub cfg: CFG, #[doc = "0x04 - Control Register"] pub ctrl: CTRL, #[doc = "0x08 - Status Register"] pub sr: SR, _reserved3: [u8; 0x04], #[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, #[doc = "0x20 - Undefined Access Status Register"] pub uasr: UASR, _reserved8: [u8; 0x0c], #[doc = "0x30 - Region Descriptor Area Start Address Register"] pub dscr: DSCR, #[doc = "0x34 - Region Hash Area Start Address Register"] pub hash: HASH, #[doc = "0x38..0x58 - User Initial Hash Value 0 Register 0"] pub uihval: [UIHVAL; 8], } #[doc = "CFG (rw) register accessor: an alias for `Reg`"] pub type CFG = crate::Reg; #[doc = "Configuration Register"] pub mod cfg; #[doc = "CTRL (w) register accessor: an alias for `Reg`"] pub type CTRL = crate::Reg; #[doc = "Control Register"] pub mod ctrl; #[doc = "SR (r) register accessor: an alias for `Reg`"] pub type SR = crate::Reg; #[doc = "Status Register"] pub mod sr; #[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 = "UASR (r) register accessor: an alias for `Reg`"] pub type UASR = crate::Reg; #[doc = "Undefined Access Status Register"] pub mod uasr; #[doc = "DSCR (rw) register accessor: an alias for `Reg`"] pub type DSCR = crate::Reg; #[doc = "Region Descriptor Area Start Address Register"] pub mod dscr; #[doc = "HASH (rw) register accessor: an alias for `Reg`"] pub type HASH = crate::Reg; #[doc = "Region Hash Area Start Address Register"] pub mod hash; #[doc = "UIHVAL (w) register accessor: an alias for `Reg`"] pub type UIHVAL = crate::Reg; #[doc = "User Initial Hash Value 0 Register 0"] pub mod uihval;