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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
#[doc = "Reader of register SYNCBUSY"] pub type R = crate::R<u32, super::SYNCBUSY>; #[doc = "Reader of field `SWRST`"] pub type SWRST_R = crate::R<bool, bool>; #[doc = "Reader of field `ENABLE`"] pub type ENABLE_R = crate::R<bool, bool>; #[doc = "Reader of field `FREQCORR`"] pub type FREQCORR_R = crate::R<bool, bool>; #[doc = "Reader of field `CLOCK`"] pub type CLOCK_R = crate::R<bool, bool>; #[doc = "Reader of field `ALARM0`"] pub type ALARM0_R = crate::R<bool, bool>; #[doc = "Reader of field `ALARM1`"] pub type ALARM1_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK0`"] pub type MASK0_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK1`"] pub type MASK1_R = crate::R<bool, bool>; #[doc = "Reader of field `CLOCKSYNC`"] pub type CLOCKSYNC_R = crate::R<bool, bool>; #[doc = "Reader of field `GP0`"] pub type GP0_R = crate::R<bool, bool>; #[doc = "Reader of field `GP1`"] pub type GP1_R = crate::R<bool, bool>; #[doc = "Reader of field `GP2`"] pub type GP2_R = crate::R<bool, bool>; #[doc = "Reader of field `GP3`"] pub type GP3_R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - Software Reset Bit Busy"] #[inline(always)] pub fn swrst(&self) -> SWRST_R { SWRST_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - Enable Bit Busy"] #[inline(always)] pub fn enable(&self) -> ENABLE_R { ENABLE_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - FREQCORR Register Busy"] #[inline(always)] pub fn freqcorr(&self) -> FREQCORR_R { FREQCORR_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - CLOCK Register Busy"] #[inline(always)] pub fn clock(&self) -> CLOCK_R { CLOCK_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 5 - ALARM 0 Register Busy"] #[inline(always)] pub fn alarm0(&self) -> ALARM0_R { ALARM0_R::new(((self.bits >> 5) & 0x01) != 0) } #[doc = "Bit 6 - ALARM 1 Register Busy"] #[inline(always)] pub fn alarm1(&self) -> ALARM1_R { ALARM1_R::new(((self.bits >> 6) & 0x01) != 0) } #[doc = "Bit 11 - MASK 0 Register Busy"] #[inline(always)] pub fn mask0(&self) -> MASK0_R { MASK0_R::new(((self.bits >> 11) & 0x01) != 0) } #[doc = "Bit 12 - MASK 1 Register Busy"] #[inline(always)] pub fn mask1(&self) -> MASK1_R { MASK1_R::new(((self.bits >> 12) & 0x01) != 0) } #[doc = "Bit 15 - Clock Synchronization Enable Bit Busy"] #[inline(always)] pub fn clocksync(&self) -> CLOCKSYNC_R { CLOCKSYNC_R::new(((self.bits >> 15) & 0x01) != 0) } #[doc = "Bit 16 - General Purpose 0 Register Busy"] #[inline(always)] pub fn gp0(&self) -> GP0_R { GP0_R::new(((self.bits >> 16) & 0x01) != 0) } #[doc = "Bit 17 - General Purpose 1 Register Busy"] #[inline(always)] pub fn gp1(&self) -> GP1_R { GP1_R::new(((self.bits >> 17) & 0x01) != 0) } #[doc = "Bit 18 - General Purpose 2 Register Busy"] #[inline(always)] pub fn gp2(&self) -> GP2_R { GP2_R::new(((self.bits >> 18) & 0x01) != 0) } #[doc = "Bit 19 - General Purpose 3 Register Busy"] #[inline(always)] pub fn gp3(&self) -> GP3_R { GP3_R::new(((self.bits >> 19) & 0x01) != 0) } }