#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control Register"] pub cr: CR, #[doc = "0x04 - Status Register"] pub sr: SR, #[doc = "0x08 - Status Clear Register"] pub scr: SCR, #[doc = "0x0c - Address Register"] pub addr: ADDR, #[doc = "0x10 - Length Register"] pub length: LENGTH, #[doc = "0x14 - Data Register"] pub data: DATA, _reserved6: [u8; 0x10], #[doc = "0x28 - VERSION register"] pub version: VERSION, _reserved7: [u8; 0xc4], #[doc = "0xf0 - Chip ID Register"] pub cidr: CIDR, #[doc = "0xf4 - Chip ID Extension Register"] pub exid: EXID, _reserved9: [u8; 0x04], #[doc = "0xfc - AP Identification register"] pub idr: IDR, } #[doc = "ADDR (rw) register accessor: an alias for `Reg`"] pub type ADDR = crate::Reg; #[doc = "Address Register"] pub mod addr; #[doc = "CIDR (r) register accessor: an alias for `Reg`"] pub type CIDR = crate::Reg; #[doc = "Chip ID Register"] pub mod cidr; #[doc = "CR (w) register accessor: an alias for `Reg`"] pub type CR = crate::Reg; #[doc = "Control Register"] pub mod cr; #[doc = "DATA (rw) register accessor: an alias for `Reg`"] pub type DATA = crate::Reg; #[doc = "Data Register"] pub mod data; #[doc = "EXID (r) register accessor: an alias for `Reg`"] pub type EXID = crate::Reg; #[doc = "Chip ID Extension Register"] pub mod exid; #[doc = "IDR (r) register accessor: an alias for `Reg`"] pub type IDR = crate::Reg; #[doc = "AP Identification register"] pub mod idr; #[doc = "LENGTH (rw) register accessor: an alias for `Reg`"] pub type LENGTH = crate::Reg; #[doc = "Length Register"] pub mod length; #[doc = "SCR (w) register accessor: an alias for `Reg`"] pub type SCR = crate::Reg; #[doc = "Status Clear Register"] pub mod scr; #[doc = "SR (r) register accessor: an alias for `Reg`"] pub type SR = crate::Reg; #[doc = "Status Register"] pub mod sr; #[doc = "VERSION (r) register accessor: an alias for `Reg`"] pub type VERSION = crate::Reg; #[doc = "VERSION register"] pub mod version;