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
#[doc = "Reader of register STATUS"] pub type R = crate::R<u8, super::STATUS>; #[doc = "Reader of field `STOP`"] pub type STOP_R = crate::R<bool, bool>; #[doc = "Reader of field `SLAVE`"] pub type SLAVE_R = crate::R<bool, bool>; #[doc = "Reader of field `SYNCBUSY`"] pub type SYNCBUSY_R = crate::R<bool, bool>; impl R { #[doc = "Bit 3 - Stop"] #[inline(always)] pub fn stop(&self) -> STOP_R { STOP_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - Slave"] #[inline(always)] pub fn slave(&self) -> SLAVE_R { SLAVE_R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bit 7 - Synchronization Busy"] #[inline(always)] pub fn syncbusy(&self) -> SYNCBUSY_R { SYNCBUSY_R::new(((self.bits >> 7) & 0x01) != 0) } }