#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Memory System Control Register"] pub ctrl: crate::Reg, #[doc = "0x04 - Read Control Register"] pub readctrl: crate::Reg, #[doc = "0x08 - Write Control Register"] pub writectrl: crate::Reg, #[doc = "0x0c - Write Command Register"] pub writecmd: crate::Reg, #[doc = "0x10 - Page Erase/Write Address Buffer"] pub addrb: crate::Reg, _reserved5: [u8; 0x04], #[doc = "0x18 - Write Data Register"] pub wdata: crate::Reg, #[doc = "0x1c - Status Register"] pub status: crate::Reg, _reserved7: [u8; 0x0c], #[doc = "0x2c - Interrupt Flag Register"] pub if_: crate::Reg, #[doc = "0x30 - Interrupt Flag Set Register"] pub ifs: crate::Reg, #[doc = "0x34 - Interrupt Flag Clear Register"] pub ifc: crate::Reg, #[doc = "0x38 - Interrupt Enable Register"] pub ien: crate::Reg, #[doc = "0x3c - Configuration Lock Register"] pub lock: crate::Reg, #[doc = "0x40 - Command Register"] pub cmd: crate::Reg, #[doc = "0x44 - Cache Hits Performance Counter"] pub cachehits: crate::Reg, #[doc = "0x48 - Cache Misses Performance Counter"] pub cachemisses: crate::Reg, _reserved15: [u8; 0x04], #[doc = "0x50 - Flash Write and Erase Timebase"] pub timebase: crate::Reg, #[doc = "0x54 - Mass Erase Lock Register"] pub masslock: crate::Reg, } #[doc = "CTRL register accessor: an alias for `Reg`"] pub type CTRL = crate::Reg; #[doc = "Memory System Control Register"] pub mod ctrl; #[doc = "READCTRL register accessor: an alias for `Reg`"] pub type READCTRL = crate::Reg; #[doc = "Read Control Register"] pub mod readctrl; #[doc = "WRITECTRL register accessor: an alias for `Reg`"] pub type WRITECTRL = crate::Reg; #[doc = "Write Control Register"] pub mod writectrl; #[doc = "WRITECMD register accessor: an alias for `Reg`"] pub type WRITECMD = crate::Reg; #[doc = "Write Command Register"] pub mod writecmd; #[doc = "ADDRB register accessor: an alias for `Reg`"] pub type ADDRB = crate::Reg; #[doc = "Page Erase/Write Address Buffer"] pub mod addrb; #[doc = "WDATA register accessor: an alias for `Reg`"] pub type WDATA = crate::Reg; #[doc = "Write Data Register"] pub mod wdata; #[doc = "STATUS register accessor: an alias for `Reg`"] pub type STATUS = crate::Reg; #[doc = "Status Register"] pub mod status; #[doc = "IF register accessor: an alias for `Reg`"] pub type IF = crate::Reg; #[doc = "Interrupt Flag Register"] pub mod if_; #[doc = "IFS register accessor: an alias for `Reg`"] pub type IFS = crate::Reg; #[doc = "Interrupt Flag Set Register"] pub mod ifs; #[doc = "IFC register accessor: an alias for `Reg`"] pub type IFC = crate::Reg; #[doc = "Interrupt Flag Clear Register"] pub mod ifc; #[doc = "IEN register accessor: an alias for `Reg`"] pub type IEN = crate::Reg; #[doc = "Interrupt Enable Register"] pub mod ien; #[doc = "LOCK register accessor: an alias for `Reg`"] pub type LOCK = crate::Reg; #[doc = "Configuration Lock Register"] pub mod lock; #[doc = "CMD register accessor: an alias for `Reg`"] pub type CMD = crate::Reg; #[doc = "Command Register"] pub mod cmd; #[doc = "CACHEHITS register accessor: an alias for `Reg`"] pub type CACHEHITS = crate::Reg; #[doc = "Cache Hits Performance Counter"] pub mod cachehits; #[doc = "CACHEMISSES register accessor: an alias for `Reg`"] pub type CACHEMISSES = crate::Reg; #[doc = "Cache Misses Performance Counter"] pub mod cachemisses; #[doc = "TIMEBASE register accessor: an alias for `Reg`"] pub type TIMEBASE = crate::Reg; #[doc = "Flash Write and Erase Timebase"] pub mod timebase; #[doc = "MASSLOCK register accessor: an alias for `Reg`"] pub type MASSLOCK = crate::Reg; #[doc = "Mass Erase Lock Register"] pub mod masslock;