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
#[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 `CTRLB`"] pub type CTRLB_R = crate::R<bool, bool>; #[doc = "Reader of field `STATUS`"] pub type STATUS_R = crate::R<bool, bool>; #[doc = "Reader of field `PRESC`"] pub type PRESC_R = crate::R<bool, bool>; #[doc = "Reader of field `FILTER`"] pub type FILTER_R = crate::R<bool, bool>; #[doc = "Reader of field `COUNT`"] pub type COUNT_R = crate::R<bool, bool>; #[doc = "Reader of field `CC0`"] pub type CC0_R = crate::R<bool, bool>; #[doc = "Reader of field `CC1`"] pub type CC1_R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - Software Reset Synchronization Busy"] #[inline(always)] pub fn swrst(&self) -> SWRST_R { SWRST_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - Enable Synchronization Busy"] #[inline(always)] pub fn enable(&self) -> ENABLE_R { ENABLE_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - Control B Synchronization Busy"] #[inline(always)] pub fn ctrlb(&self) -> CTRLB_R { CTRLB_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - Status Synchronization Busy"] #[inline(always)] pub fn status(&self) -> STATUS_R { STATUS_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - Prescaler Synchronization Busy"] #[inline(always)] pub fn presc(&self) -> PRESC_R { PRESC_R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bit 5 - Filter Synchronization Busy"] #[inline(always)] pub fn filter(&self) -> FILTER_R { FILTER_R::new(((self.bits >> 5) & 0x01) != 0) } #[doc = "Bit 6 - Count Synchronization Busy"] #[inline(always)] pub fn count(&self) -> COUNT_R { COUNT_R::new(((self.bits >> 6) & 0x01) != 0) } #[doc = "Bit 7 - Compare Channel 0 Synchronization Busy"] #[inline(always)] pub fn cc0(&self) -> CC0_R { CC0_R::new(((self.bits >> 7) & 0x01) != 0) } #[doc = "Bit 8 - Compare Channel 1 Synchronization Busy"] #[inline(always)] pub fn cc1(&self) -> CC1_R { CC1_R::new(((self.bits >> 8) & 0x01) != 0) } }