#[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 - Top Value Register"] pub top: crate::Reg, #[doc = "0x14 - Top Value Buffer Register"] pub topb: crate::Reg, #[doc = "0x18 - Interrupt Flag Register"] pub if_: crate::Reg, #[doc = "0x1c - Interrupt Flag Set Register"] pub ifs: crate::Reg, #[doc = "0x20 - Interrupt Flag Clear Register"] pub ifc: crate::Reg, #[doc = "0x24 - Interrupt Enable Register"] pub ien: crate::Reg, #[doc = "0x28 - I/O Routing Register"] pub route: crate::Reg, #[doc = "0x2c - Freeze Register"] pub freeze: crate::Reg, #[doc = "0x30 - Synchronization Busy Register"] pub syncbusy: crate::Reg, _reserved13: [u8; 0x04], #[doc = "0x38 - Auxiliary Counter Value Register"] pub auxcnt: crate::Reg, #[doc = "0x3c - PCNT Input Register"] pub input: 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 = "TOP register accessor: an alias for `Reg`"] pub type TOP = crate::Reg; #[doc = "Top Value Register"] pub mod top; #[doc = "TOPB register accessor: an alias for `Reg`"] pub type TOPB = crate::Reg; #[doc = "Top Value Buffer Register"] pub mod topb; #[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 = "ROUTE register accessor: an alias for `Reg`"] pub type ROUTE = crate::Reg; #[doc = "I/O Routing Register"] pub mod route; #[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 = "AUXCNT register accessor: an alias for `Reg`"] pub type AUXCNT = crate::Reg; #[doc = "Auxiliary Counter Value Register"] pub mod auxcnt; #[doc = "INPUT register accessor: an alias for `Reg`"] pub type INPUT = crate::Reg; #[doc = "PCNT Input Register"] pub mod input;