#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Interrupt Enable Register"] pub ier: IER, #[doc = "0x04 - Interrupt Disable Register"] pub idr: IDR, #[doc = "0x08 - Interrupt Mask Register"] pub imr: IMR, #[doc = "0x0c - Interrupt Status Register"] pub isr: ISR, #[doc = "0x10 - Interrupt Clear Register"] pub icr: ICR, #[doc = "0x14 - Mode Register"] pub mode: MODE, #[doc = "0x18 - Edge Register"] pub edge: EDGE, #[doc = "0x1c - Level Register"] pub level: LEVEL, #[doc = "0x20 - Filter Register"] pub filter: FILTER, _reserved9: [u8; 0x04], #[doc = "0x28 - Asynchronous Register"] pub async_: ASYNC, _reserved10: [u8; 0x04], #[doc = "0x30 - Enable Register"] pub en: EN, #[doc = "0x34 - Disable Register"] pub dis: DIS, #[doc = "0x38 - Control Register"] pub ctrl: CTRL, _reserved13: [u8; 0x03c0], #[doc = "0x3fc - Version Register"] pub version: VERSION, } #[doc = "ASYNC (rw) register accessor: an alias for `Reg`"] pub type ASYNC = crate::Reg; #[doc = "Asynchronous Register"] pub mod async_; #[doc = "CTRL (r) register accessor: an alias for `Reg`"] pub type CTRL = crate::Reg; #[doc = "Control Register"] pub mod ctrl; #[doc = "DIS (w) register accessor: an alias for `Reg`"] pub type DIS = crate::Reg; #[doc = "Disable Register"] pub mod dis; #[doc = "EDGE (rw) register accessor: an alias for `Reg`"] pub type EDGE = crate::Reg; #[doc = "Edge Register"] pub mod edge; #[doc = "EN (w) register accessor: an alias for `Reg`"] pub type EN = crate::Reg; #[doc = "Enable Register"] pub mod en; #[doc = "FILTER (rw) register accessor: an alias for `Reg`"] pub type FILTER = crate::Reg; #[doc = "Filter Register"] pub mod filter; #[doc = "ICR (w) register accessor: an alias for `Reg`"] pub type ICR = crate::Reg; #[doc = "Interrupt Clear Register"] pub mod icr; #[doc = "IDR (w) register accessor: an alias for `Reg`"] pub type IDR = crate::Reg; #[doc = "Interrupt Disable Register"] pub mod idr; #[doc = "IER (w) register accessor: an alias for `Reg`"] pub type IER = crate::Reg; #[doc = "Interrupt Enable Register"] pub mod ier; #[doc = "IMR (r) register accessor: an alias for `Reg`"] pub type IMR = crate::Reg; #[doc = "Interrupt Mask Register"] pub mod imr; #[doc = "ISR (r) register accessor: an alias for `Reg`"] pub type ISR = crate::Reg; #[doc = "Interrupt Status Register"] pub mod isr; #[doc = "LEVEL (rw) register accessor: an alias for `Reg`"] pub type LEVEL = crate::Reg; #[doc = "Level Register"] pub mod level; #[doc = "MODE (rw) register accessor: an alias for `Reg`"] pub type MODE = crate::Reg; #[doc = "Mode Register"] pub mod mode; #[doc = "VERSION (r) register accessor: an alias for `Reg`"] pub type VERSION = crate::Reg; #[doc = "Version Register"] pub mod version;