#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control Register"] pub ctrl: crate::Reg, #[doc = "0x04 - Command Register"] pub cmd: crate::Reg, #[doc = "0x08 - Status Register"] pub status: crate::Reg, #[doc = "0x0c - Counter Value Register"] pub cnt: crate::Reg, #[doc = "0x10 - Compare Value Register 0"] pub comp0: crate::Reg, #[doc = "0x14 - Compare Value Register 1"] pub comp1: crate::Reg, #[doc = "0x18 - Repeat Counter Register 0"] pub rep0: crate::Reg, #[doc = "0x1c - Repeat Counter Register 1"] pub rep1: crate::Reg, #[doc = "0x20 - Interrupt Flag Register"] pub if_: crate::Reg, #[doc = "0x24 - Interrupt Flag Set Register"] pub ifs: crate::Reg, #[doc = "0x28 - Interrupt Flag Clear Register"] pub ifc: crate::Reg, #[doc = "0x2c - Interrupt Enable Register"] pub ien: crate::Reg, #[doc = "0x30 - Freeze Register"] pub freeze: crate::Reg, #[doc = "0x34 - Synchronization Busy Register"] pub syncbusy: crate::Reg, _reserved14: [u8; 0x08], #[doc = "0x40 - I/O Routing Register"] pub route: crate::Reg, } #[doc = "CTRL register accessor: an alias for `Reg`"] pub type CTRL = crate::Reg; #[doc = "Control Register"] pub mod ctrl; #[doc = "CMD register accessor: an alias for `Reg`"] pub type CMD = crate::Reg; #[doc = "Command Register"] pub mod cmd; #[doc = "STATUS register accessor: an alias for `Reg`"] pub type STATUS = crate::Reg; #[doc = "Status Register"] pub mod status; #[doc = "CNT register accessor: an alias for `Reg`"] pub type CNT = crate::Reg; #[doc = "Counter Value Register"] pub mod cnt; #[doc = "COMP0 register accessor: an alias for `Reg`"] pub type COMP0 = crate::Reg; #[doc = "Compare Value Register 0"] pub mod comp0; #[doc = "COMP1 register accessor: an alias for `Reg`"] pub type COMP1 = crate::Reg; #[doc = "Compare Value Register 1"] pub mod comp1; #[doc = "REP0 register accessor: an alias for `Reg`"] pub type REP0 = crate::Reg; #[doc = "Repeat Counter Register 0"] pub mod rep0; #[doc = "REP1 register accessor: an alias for `Reg`"] pub type REP1 = crate::Reg; #[doc = "Repeat Counter Register 1"] pub mod rep1; #[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 = "FREEZE register accessor: an alias for `Reg`"] pub type FREEZE = crate::Reg; #[doc = "Freeze Register"] pub mod freeze; #[doc = "SYNCBUSY register accessor: an alias for `Reg`"] pub type SYNCBUSY = crate::Reg; #[doc = "Synchronization Busy Register"] pub mod syncbusy; #[doc = "ROUTE register accessor: an alias for `Reg`"] pub type ROUTE = crate::Reg; #[doc = "I/O Routing Register"] pub mod route;