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 37 38 39 40 41 42 43 44
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Comparator status register"] pub sr: SR, #[doc = "0x04 - Comparator interrupt clear flag register"] pub icfr: ICFR, #[doc = "0x08 - Comparator option register"] pub or: OR, #[doc = "0x0c - Comparator configuration register 1"] pub cfgr1: CFGR1, #[doc = "0x10 - Comparator configuration register 2"] pub cfgr2: CFGR2, } #[doc = "Comparator status register"] pub struct SR { register: vcell::VolatileCell<u32>, } #[doc = "Comparator status register"] pub mod sr; #[doc = "Comparator interrupt clear flag register"] pub struct ICFR { register: vcell::VolatileCell<u32>, } #[doc = "Comparator interrupt clear flag register"] pub mod icfr; #[doc = "Comparator option register"] pub struct OR { register: vcell::VolatileCell<u32>, } #[doc = "Comparator option register"] pub mod or; #[doc = "Comparator configuration register 1"] pub struct CFGR1 { register: vcell::VolatileCell<u32>, } #[doc = "Comparator configuration register 1"] pub mod cfgr1; #[doc = "Comparator configuration register 2"] pub struct CFGR2 { register: vcell::VolatileCell<u32>, } #[doc = "Comparator configuration register 2"] pub mod cfgr2;