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 PCIMR"] pub type R = crate::R<u32, super::PCIMR>; #[doc = "Reader of field `DRDY`"] pub type DRDY_R = crate::R<bool, bool>; #[doc = "Reader of field `OVRE`"] pub type OVRE_R = crate::R<bool, bool>; #[doc = "Reader of field `ENDRX`"] pub type ENDRX_R = crate::R<bool, bool>; #[doc = "Reader of field `RXBUFF`"] pub type RXBUFF_R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - Parallel Capture Mode Data Ready Interrupt Mask"] #[inline(always)] pub fn drdy(&self) -> DRDY_R { DRDY_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - Parallel Capture Mode Overrun Error Interrupt Mask"] #[inline(always)] pub fn ovre(&self) -> OVRE_R { OVRE_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - End of Reception Transfer Interrupt Mask"] #[inline(always)] pub fn endrx(&self) -> ENDRX_R { ENDRX_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - Reception Buffer Full Interrupt Mask"] #[inline(always)] pub fn rxbuff(&self) -> RXBUFF_R { RXBUFF_R::new(((self.bits >> 3) & 0x01) != 0) } }