#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Start HFXO crystal oscillator"] pub tasks_hfclkstart: TASKS_HFCLKSTART, #[doc = "0x04 - Stop HFXO crystal oscillator"] pub tasks_hfclkstop: TASKS_HFCLKSTOP, #[doc = "0x08 - Start LFCLK"] pub tasks_lfclkstart: TASKS_LFCLKSTART, #[doc = "0x0c - Stop LFCLK"] pub tasks_lfclkstop: TASKS_LFCLKSTOP, #[doc = "0x10 - Start calibration of LFRC"] pub tasks_cal: TASKS_CAL, #[doc = "0x14 - Start calibration timer"] pub tasks_ctstart: TASKS_CTSTART, #[doc = "0x18 - Stop calibration timer"] pub tasks_ctstop: TASKS_CTSTOP, _reserved7: [u8; 0xe4], #[doc = "0x100 - HFXO crystal oscillator started"] pub events_hfclkstarted: EVENTS_HFCLKSTARTED, #[doc = "0x104 - LFCLK started"] pub events_lfclkstarted: EVENTS_LFCLKSTARTED, _reserved9: [u8; 0x04], #[doc = "0x10c - Calibration of LFRC completed"] pub events_done: EVENTS_DONE, #[doc = "0x110 - Calibration timer timeout"] pub events_ctto: EVENTS_CTTO, _reserved11: [u8; 0x14], #[doc = "0x128 - Calibration timer has been started and is ready to process new tasks"] pub events_ctstarted: EVENTS_CTSTARTED, #[doc = "0x12c - Calibration timer has been stopped and is ready to process new tasks"] pub events_ctstopped: EVENTS_CTSTOPPED, _reserved13: [u8; 0x01d4], #[doc = "0x304 - Enable interrupt"] pub intenset: INTENSET, #[doc = "0x308 - Disable interrupt"] pub intenclr: INTENCLR, _reserved15: [u8; 0xfc], #[doc = "0x408 - Status indicating that HFCLKSTART task has been triggered"] pub hfclkrun: HFCLKRUN, #[doc = "0x40c - HFCLK status"] pub hfclkstat: HFCLKSTAT, _reserved17: [u8; 0x04], #[doc = "0x414 - Status indicating that LFCLKSTART task has been triggered"] pub lfclkrun: LFCLKRUN, #[doc = "0x418 - LFCLK status"] pub lfclkstat: LFCLKSTAT, #[doc = "0x41c - Copy of LFCLKSRC register, set when LFCLKSTART task was triggered"] pub lfclksrccopy: LFCLKSRCCOPY, _reserved20: [u8; 0xf8], #[doc = "0x518 - Clock source for the LFCLK"] pub lfclksrc: LFCLKSRC, _reserved21: [u8; 0x0c], #[doc = "0x528 - HFXO debounce time. The HFXO is started by triggering the TASKS_HFCLKSTART task."] pub hfxodebounce: HFXODEBOUNCE, _reserved22: [u8; 0x0c], #[doc = "0x538 - Calibration timer interval"] pub ctiv: CTIV, _reserved23: [u8; 0x20], #[doc = "0x55c - Clocking options for the trace port debug interface"] pub traceconfig: TRACECONFIG, _reserved24: [u8; 0x54], #[doc = "0x5b4 - LFRC mode configuration"] pub lfrcmode: LFRCMODE, } #[doc = "TASKS_HFCLKSTART (w) register accessor: an alias for `Reg`"] pub type TASKS_HFCLKSTART = crate::Reg; #[doc = "Start HFXO crystal oscillator"] pub mod tasks_hfclkstart; #[doc = "TASKS_HFCLKSTOP (w) register accessor: an alias for `Reg`"] pub type TASKS_HFCLKSTOP = crate::Reg; #[doc = "Stop HFXO crystal oscillator"] pub mod tasks_hfclkstop; #[doc = "TASKS_LFCLKSTART (w) register accessor: an alias for `Reg`"] pub type TASKS_LFCLKSTART = crate::Reg; #[doc = "Start LFCLK"] pub mod tasks_lfclkstart; #[doc = "TASKS_LFCLKSTOP (w) register accessor: an alias for `Reg`"] pub type TASKS_LFCLKSTOP = crate::Reg; #[doc = "Stop LFCLK"] pub mod tasks_lfclkstop; #[doc = "TASKS_CAL (w) register accessor: an alias for `Reg`"] pub type TASKS_CAL = crate::Reg; #[doc = "Start calibration of LFRC"] pub mod tasks_cal; #[doc = "TASKS_CTSTART (w) register accessor: an alias for `Reg`"] pub type TASKS_CTSTART = crate::Reg; #[doc = "Start calibration timer"] pub mod tasks_ctstart; #[doc = "TASKS_CTSTOP (w) register accessor: an alias for `Reg`"] pub type TASKS_CTSTOP = crate::Reg; #[doc = "Stop calibration timer"] pub mod tasks_ctstop; #[doc = "EVENTS_HFCLKSTARTED (rw) register accessor: an alias for `Reg`"] pub type EVENTS_HFCLKSTARTED = crate::Reg; #[doc = "HFXO crystal oscillator started"] pub mod events_hfclkstarted; #[doc = "EVENTS_LFCLKSTARTED (rw) register accessor: an alias for `Reg`"] pub type EVENTS_LFCLKSTARTED = crate::Reg; #[doc = "LFCLK started"] pub mod events_lfclkstarted; #[doc = "EVENTS_DONE (rw) register accessor: an alias for `Reg`"] pub type EVENTS_DONE = crate::Reg; #[doc = "Calibration of LFRC completed"] pub mod events_done; #[doc = "EVENTS_CTTO (rw) register accessor: an alias for `Reg`"] pub type EVENTS_CTTO = crate::Reg; #[doc = "Calibration timer timeout"] pub mod events_ctto; #[doc = "EVENTS_CTSTARTED (rw) register accessor: an alias for `Reg`"] pub type EVENTS_CTSTARTED = crate::Reg; #[doc = "Calibration timer has been started and is ready to process new tasks"] pub mod events_ctstarted; #[doc = "EVENTS_CTSTOPPED (rw) register accessor: an alias for `Reg`"] pub type EVENTS_CTSTOPPED = crate::Reg; #[doc = "Calibration timer has been stopped and is ready to process new tasks"] pub mod events_ctstopped; #[doc = "INTENSET (rw) register accessor: an alias for `Reg`"] pub type INTENSET = crate::Reg; #[doc = "Enable interrupt"] pub mod intenset; #[doc = "INTENCLR (rw) register accessor: an alias for `Reg`"] pub type INTENCLR = crate::Reg; #[doc = "Disable interrupt"] pub mod intenclr; #[doc = "HFCLKRUN (r) register accessor: an alias for `Reg`"] pub type HFCLKRUN = crate::Reg; #[doc = "Status indicating that HFCLKSTART task has been triggered"] pub mod hfclkrun; #[doc = "HFCLKSTAT (r) register accessor: an alias for `Reg`"] pub type HFCLKSTAT = crate::Reg; #[doc = "HFCLK status"] pub mod hfclkstat; #[doc = "LFCLKRUN (r) register accessor: an alias for `Reg`"] pub type LFCLKRUN = crate::Reg; #[doc = "Status indicating that LFCLKSTART task has been triggered"] pub mod lfclkrun; #[doc = "LFCLKSTAT (r) register accessor: an alias for `Reg`"] pub type LFCLKSTAT = crate::Reg; #[doc = "LFCLK status"] pub mod lfclkstat; #[doc = "LFCLKSRCCOPY (r) register accessor: an alias for `Reg`"] pub type LFCLKSRCCOPY = crate::Reg; #[doc = "Copy of LFCLKSRC register, set when LFCLKSTART task was triggered"] pub mod lfclksrccopy; #[doc = "LFCLKSRC (rw) register accessor: an alias for `Reg`"] pub type LFCLKSRC = crate::Reg; #[doc = "Clock source for the LFCLK"] pub mod lfclksrc; #[doc = "HFXODEBOUNCE (rw) register accessor: an alias for `Reg`"] pub type HFXODEBOUNCE = crate::Reg; #[doc = "HFXO debounce time. The HFXO is started by triggering the TASKS_HFCLKSTART task."] pub mod hfxodebounce; #[doc = "CTIV (rw) register accessor: an alias for `Reg`"] pub type CTIV = crate::Reg; #[doc = "Calibration timer interval"] pub mod ctiv; #[doc = "TRACECONFIG (rw) register accessor: an alias for `Reg`"] pub type TRACECONFIG = crate::Reg; #[doc = "Clocking options for the trace port debug interface"] pub mod traceconfig; #[doc = "LFRCMODE (rw) register accessor: an alias for `Reg`"] pub type LFRCMODE = crate::Reg; #[doc = "LFRC mode configuration"] pub mod lfrcmode;