#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control Register"] pub ctrl: crate::Reg, #[doc = "0x04 - Current Programming Register"] pub curprog: crate::Reg, _reserved2: [u8; 0x04], #[doc = "0x0c - Duty Cycle Configuration Register"] pub dutyconfig: crate::Reg, _reserved3: [u8; 0x08], #[doc = "0x18 - Status Register"] pub status: crate::Reg, _reserved4: [u8; 0x04], #[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, _reserved8: [u8; 0x04], #[doc = "0x34 - APORT Request Status Register"] pub aportreq: crate::Reg, #[doc = "0x38 - APORT Request Status Register"] pub aportconflict: crate::Reg, } #[doc = "CTRL register accessor: an alias for `Reg`"] pub type CTRL = crate::Reg; #[doc = "Control Register"] pub mod ctrl; #[doc = "CURPROG register accessor: an alias for `Reg`"] pub type CURPROG = crate::Reg; #[doc = "Current Programming Register"] pub mod curprog; #[doc = "DUTYCONFIG register accessor: an alias for `Reg`"] pub type DUTYCONFIG = crate::Reg; #[doc = "Duty Cycle Configuration Register"] pub mod dutyconfig; #[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 = "APORTREQ register accessor: an alias for `Reg`"] pub type APORTREQ = crate::Reg; #[doc = "APORT Request Status Register"] pub mod aportreq; #[doc = "APORTCONFLICT register accessor: an alias for `Reg`"] pub type APORTCONFLICT = crate::Reg; #[doc = "APORT Request Status Register"] pub mod aportconflict;