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
#[doc = "Reader of register SYNCBUSY"] pub type R = crate::R<u32, super::SYNCBUSY>; #[doc = "Reader of field `ENABLE`"] pub type ENABLE_R = crate::R<bool, bool>; #[doc = "Reader of field `WEN`"] pub type WEN_R = crate::R<bool, bool>; #[doc = "Reader of field `ALWAYSON`"] pub type ALWAYSON_R = crate::R<bool, bool>; #[doc = "Reader of field `CLEAR`"] pub type CLEAR_R = crate::R<bool, bool>; impl R { #[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 - Window Enable Synchronization Busy"] #[inline(always)] pub fn wen(&self) -> WEN_R { WEN_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - Always-On Synchronization Busy"] #[inline(always)] pub fn alwayson(&self) -> ALWAYSON_R { ALWAYSON_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - Clear Synchronization Busy"] #[inline(always)] pub fn clear(&self) -> CLEAR_R { CLEAR_R::new(((self.bits >> 4) & 0x01) != 0) } }