#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Channel Status Register"] pub chsr: CHSR, #[doc = "0x04 - Channel Enable Register"] pub cher: CHER, #[doc = "0x08 - Channel Disable Register"] pub chdr: CHDR, _reserved3: [u8; 0x04], #[doc = "0x10 - Software Event"] pub sev: SEV, #[doc = "0x14 - Channel / User Busy"] pub busy: BUSY, _reserved5: [u8; 0x08], #[doc = "0x20 - Trigger Interrupt Mask Enable Register"] pub trier: TRIER, #[doc = "0x24 - Trigger Interrupt Mask Disable Register"] pub tridr: TRIDR, #[doc = "0x28 - Trigger Interrupt Mask Register"] pub trimr: TRIMR, _reserved8: [u8; 0x04], #[doc = "0x30 - Trigger Status Register"] pub trsr: TRSR, #[doc = "0x34 - Trigger Status Clear Register"] pub trscr: TRSCR, _reserved10: [u8; 0x08], #[doc = "0x40 - Overrun Interrupt Mask Enable Register"] pub ovier: OVIER, #[doc = "0x44 - Overrun Interrupt Mask Disable Register"] pub ovidr: OVIDR, #[doc = "0x48 - Overrun Interrupt Mask Register"] pub ovimr: OVIMR, _reserved13: [u8; 0x04], #[doc = "0x50 - Overrun Status Register"] pub ovsr: OVSR, #[doc = "0x54 - Overrun Status Clear Register"] pub ovscr: OVSCR, _reserved15: [u8; 0xa8], #[doc = "0x100..0x14c - Channel Multiplexer"] pub chmx: [CHMX; 19], _reserved16: [u8; 0xb4], #[doc = "0x200..0x27c - Event Shaper"] pub evs: [EVS; 31], _reserved17: [u8; 0x84], #[doc = "0x300 - Input Glitch Filter Divider Register"] pub igfdr: IGFDR, _reserved18: [u8; 0xf4], #[doc = "0x3f8 - Parameter"] pub parameter: PARAMETER, #[doc = "0x3fc - Version"] pub version: VERSION, } #[doc = "BUSY (r) register accessor: an alias for `Reg`"] pub type BUSY = crate::Reg; #[doc = "Channel / User Busy"] pub mod busy; #[doc = "CHDR (w) register accessor: an alias for `Reg`"] pub type CHDR = crate::Reg; #[doc = "Channel Disable Register"] pub mod chdr; #[doc = "CHER (w) register accessor: an alias for `Reg`"] pub type CHER = crate::Reg; #[doc = "Channel Enable Register"] pub mod cher; #[doc = "CHMX (rw) register accessor: an alias for `Reg`"] pub type CHMX = crate::Reg; #[doc = "Channel Multiplexer"] pub mod chmx; #[doc = "CHSR (r) register accessor: an alias for `Reg`"] pub type CHSR = crate::Reg; #[doc = "Channel Status Register"] pub mod chsr; #[doc = "EVS (rw) register accessor: an alias for `Reg`"] pub type EVS = crate::Reg; #[doc = "Event Shaper"] pub mod evs; #[doc = "IGFDR (rw) register accessor: an alias for `Reg`"] pub type IGFDR = crate::Reg; #[doc = "Input Glitch Filter Divider Register"] pub mod igfdr; #[doc = "OVIDR (w) register accessor: an alias for `Reg`"] pub type OVIDR = crate::Reg; #[doc = "Overrun Interrupt Mask Disable Register"] pub mod ovidr; #[doc = "OVIER (w) register accessor: an alias for `Reg`"] pub type OVIER = crate::Reg; #[doc = "Overrun Interrupt Mask Enable Register"] pub mod ovier; #[doc = "OVIMR (r) register accessor: an alias for `Reg`"] pub type OVIMR = crate::Reg; #[doc = "Overrun Interrupt Mask Register"] pub mod ovimr; #[doc = "OVSCR (w) register accessor: an alias for `Reg`"] pub type OVSCR = crate::Reg; #[doc = "Overrun Status Clear Register"] pub mod ovscr; #[doc = "OVSR (r) register accessor: an alias for `Reg`"] pub type OVSR = crate::Reg; #[doc = "Overrun Status Register"] pub mod ovsr; #[doc = "PARAMETER (r) register accessor: an alias for `Reg`"] pub type PARAMETER = crate::Reg; #[doc = "Parameter"] pub mod parameter; #[doc = "SEV (w) register accessor: an alias for `Reg`"] pub type SEV = crate::Reg; #[doc = "Software Event"] pub mod sev; #[doc = "TRIDR (w) register accessor: an alias for `Reg`"] pub type TRIDR = crate::Reg; #[doc = "Trigger Interrupt Mask Disable Register"] pub mod tridr; #[doc = "TRIER (w) register accessor: an alias for `Reg`"] pub type TRIER = crate::Reg; #[doc = "Trigger Interrupt Mask Enable Register"] pub mod trier; #[doc = "TRIMR (r) register accessor: an alias for `Reg`"] pub type TRIMR = crate::Reg; #[doc = "Trigger Interrupt Mask Register"] pub mod trimr; #[doc = "TRSCR (w) register accessor: an alias for `Reg`"] pub type TRSCR = crate::Reg; #[doc = "Trigger Status Clear Register"] pub mod trscr; #[doc = "TRSR (r) register accessor: an alias for `Reg`"] pub type TRSR = crate::Reg; #[doc = "Trigger Status Register"] pub mod trsr; #[doc = "VERSION (r) register accessor: an alias for `Reg`"] pub type VERSION = crate::Reg; #[doc = "Version"] pub mod version;