1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Configuration"] pub cfg: CFG, #[doc = "0x04 - Control"] pub ctrl: CTRL, #[doc = "0x08 - Status"] pub sr: SR, _reserved3: [u8; 4usize], #[doc = "0x10 - Interrupt Enable"] pub ier: IER, #[doc = "0x14 - Interrupt Disable"] pub idr: IDR, #[doc = "0x18 - Interrupt Mask"] pub imr: IMR, #[doc = "0x1c - Interrupt Status"] pub isr: ISR, #[doc = "0x20 - Undefined Access Status"] pub uasr: UASR, _reserved8: [u8; 12usize], #[doc = "0x30 - Region Descriptor Area Start Address"] pub dscr: DSCR, #[doc = "0x34 - Region Hash Area Start Address"] pub hash: HASH, #[doc = "0x38 - User Initial Hash Value n"] pub uihval: [UIHVAL; 8], } #[doc = "Configuration"] pub struct CFG { register: ::vcell::VolatileCell<u32>, } #[doc = "Configuration"] pub mod cfg; #[doc = "Control"] pub struct CTRL { register: ::vcell::VolatileCell<u32>, } #[doc = "Control"] pub mod ctrl; #[doc = "Status"] pub struct SR { register: ::vcell::VolatileCell<u32>, } #[doc = "Status"] pub mod sr; #[doc = "Interrupt Enable"] pub struct IER { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Enable"] pub mod ier; #[doc = "Interrupt Disable"] pub struct IDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Disable"] pub mod idr; #[doc = "Interrupt Mask"] pub struct IMR { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Mask"] pub mod imr; #[doc = "Interrupt Status"] pub struct ISR { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Status"] pub mod isr; #[doc = "Undefined Access Status"] pub struct UASR { register: ::vcell::VolatileCell<u32>, } #[doc = "Undefined Access Status"] pub mod uasr; #[doc = "Region Descriptor Area Start Address"] pub struct DSCR { register: ::vcell::VolatileCell<u32>, } #[doc = "Region Descriptor Area Start Address"] pub mod dscr; #[doc = "Region Hash Area Start Address"] pub struct HASH { register: ::vcell::VolatileCell<u32>, } #[doc = "Region Hash Area Start Address"] pub mod hash; #[doc = "User Initial Hash Value n"] pub struct UIHVAL { register: ::vcell::VolatileCell<u32>, } #[doc = "User Initial Hash Value n"] pub mod uihval;