#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control A"] pub ctrla: crate::Reg, #[doc = "0x01 - Control B"] pub ctrlb: crate::Reg, #[doc = "0x02 - Event Control"] pub evctrl: crate::Reg, #[doc = "0x04 - Interrupt Enable Clear"] pub intenclr: crate::Reg, #[doc = "0x05 - Interrupt Enable Set"] pub intenset: crate::Reg, #[doc = "0x06 - Interrupt Flag Status and Clear"] pub intflag: crate::Reg, #[doc = "0x07 - Status A"] pub statusa: crate::Reg, #[doc = "0x08 - Status B"] pub statusb: crate::Reg, #[doc = "0x09 - Debug Control"] pub dbgctrl: crate::Reg, #[doc = "0x0a - Window Control"] pub winctrl: crate::Reg, _reserved10: [u8; 0x01], #[doc = "0x0c - Scaler n"] pub scaler: [crate::Reg; 2], _reserved11: [u8; 0x02], #[doc = "0x10..0x18 - Comparator Control n"] pub compctrl: [crate::Reg; 2], _reserved12: [u8; 0x08], #[doc = "0x20 - Synchronization Busy"] pub syncbusy: crate::Reg, #[doc = "0x24 - Calibration"] pub calib: crate::Reg, } #[doc = "CTRLA register accessor: an alias for `Reg`"] pub type CTRLA = crate::Reg; #[doc = "Control A"] pub mod ctrla; #[doc = "CTRLB register accessor: an alias for `Reg`"] pub type CTRLB = crate::Reg; #[doc = "Control B"] pub mod ctrlb; #[doc = "EVCTRL register accessor: an alias for `Reg`"] pub type EVCTRL = crate::Reg; #[doc = "Event Control"] pub mod evctrl; #[doc = "INTENCLR register accessor: an alias for `Reg`"] pub type INTENCLR = crate::Reg; #[doc = "Interrupt Enable Clear"] pub mod intenclr; #[doc = "INTENSET register accessor: an alias for `Reg`"] pub type INTENSET = crate::Reg; #[doc = "Interrupt Enable Set"] pub mod intenset; #[doc = "INTFLAG register accessor: an alias for `Reg`"] pub type INTFLAG = crate::Reg; #[doc = "Interrupt Flag Status and Clear"] pub mod intflag; #[doc = "STATUSA register accessor: an alias for `Reg`"] pub type STATUSA = crate::Reg; #[doc = "Status A"] pub mod statusa; #[doc = "STATUSB register accessor: an alias for `Reg`"] pub type STATUSB = crate::Reg; #[doc = "Status B"] pub mod statusb; #[doc = "DBGCTRL register accessor: an alias for `Reg`"] pub type DBGCTRL = crate::Reg; #[doc = "Debug Control"] pub mod dbgctrl; #[doc = "WINCTRL register accessor: an alias for `Reg`"] pub type WINCTRL = crate::Reg; #[doc = "Window Control"] pub mod winctrl; #[doc = "SCALER register accessor: an alias for `Reg`"] pub type SCALER = crate::Reg; #[doc = "Scaler n"] pub mod scaler; #[doc = "COMPCTRL register accessor: an alias for `Reg`"] pub type COMPCTRL = crate::Reg; #[doc = "Comparator Control n"] pub mod compctrl; #[doc = "SYNCBUSY register accessor: an alias for `Reg`"] pub type SYNCBUSY = crate::Reg; #[doc = "Synchronization Busy"] pub mod syncbusy; #[doc = "CALIB register accessor: an alias for `Reg`"] pub type CALIB = crate::Reg; #[doc = "Calibration"] pub mod calib;