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 Register"] pub ctrl: CTRL, #[doc = "0x01 - Service Register"] pub serv: SERV, #[doc = "0x02 - Compare Low Register"] pub cmpl: CMPL, #[doc = "0x03 - Compare High Register"] pub cmph: CMPH, } #[doc = "Control Register"] pub struct CTRL { register: ::vcell::VolatileCell<u8>, } #[doc = "Control Register"] pub mod ctrl; #[doc = "Service Register"] pub struct SERV { register: ::vcell::VolatileCell<u8>, } #[doc = "Service Register"] pub mod serv; #[doc = "Compare Low Register"] pub struct CMPL { register: ::vcell::VolatileCell<u8>, } #[doc = "Compare Low Register"] pub mod cmpl; #[doc = "Compare High Register"] pub struct CMPH { register: ::vcell::VolatileCell<u8>, } #[doc = "Compare High Register"] pub mod cmph;