1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control and Status Register"] pub csr: CSR, #[doc = "0x04 - Reload Value Register"] pub rvr: RVR, #[doc = "0x08 - Current Value Register"] pub cvr: CVR, #[doc = "0x0c - Calibration Value Register"] pub calib: CALIB, } #[doc = "Control and Status Register"] pub struct CSR { register: vcell::VolatileCell<u32>, } #[doc = "Control and Status Register"] pub mod csr; #[doc = "Reload Value Register"] pub struct RVR { register: vcell::VolatileCell<u32>, } #[doc = "Reload Value Register"] pub mod rvr; #[doc = "Current Value Register"] pub struct CVR { register: vcell::VolatileCell<u32>, } #[doc = "Current Value Register"] pub mod cvr; #[doc = "Calibration Value Register"] pub struct CALIB { register: vcell::VolatileCell<u32>, } #[doc = "Calibration Value Register"] pub mod calib;