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
#[doc = "Reader of register MRIS"] pub type R = crate::R<u32, super::MRIS>; #[doc = "Reader of field `RIS`"] pub type RIS_R = crate::R<bool, bool>; #[doc = "Reader of field `CLKRIS`"] pub type CLKRIS_R = crate::R<bool, bool>; #[doc = "Reader of field `DMARXRIS`"] pub type DMARXRIS_R = crate::R<bool, bool>; #[doc = "Reader of field `DMATXRIS`"] pub type DMATXRIS_R = crate::R<bool, bool>; #[doc = "Reader of field `NACKRIS`"] pub type NACKRIS_R = crate::R<bool, bool>; #[doc = "Reader of field `STARTRIS`"] pub type STARTRIS_R = crate::R<bool, bool>; #[doc = "Reader of field `STOPRIS`"] pub type STOPRIS_R = crate::R<bool, bool>; #[doc = "Reader of field `ARBLOSTRIS`"] pub type ARBLOSTRIS_R = crate::R<bool, bool>; #[doc = "Reader of field `TXRIS`"] pub type TXRIS_R = crate::R<bool, bool>; #[doc = "Reader of field `RXRIS`"] pub type RXRIS_R = crate::R<bool, bool>; #[doc = "Reader of field `TXFERIS`"] pub type TXFERIS_R = crate::R<bool, bool>; #[doc = "Reader of field `RXFFRIS`"] pub type RXFFRIS_R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - Master Raw Interrupt Status"] #[inline(always)] pub fn ris(&self) -> RIS_R { RIS_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - Clock Timeout Raw Interrupt Status"] #[inline(always)] pub fn clkris(&self) -> CLKRIS_R { CLKRIS_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - Receive DMA Raw Interrupt Status"] #[inline(always)] pub fn dmarxris(&self) -> DMARXRIS_R { DMARXRIS_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - Transmit DMA Raw Interrupt Status"] #[inline(always)] pub fn dmatxris(&self) -> DMATXRIS_R { DMATXRIS_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - Address/Data NACK Raw Interrupt Status"] #[inline(always)] pub fn nackris(&self) -> NACKRIS_R { NACKRIS_R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bit 5 - START Detection Raw Interrupt Status"] #[inline(always)] pub fn startris(&self) -> STARTRIS_R { STARTRIS_R::new(((self.bits >> 5) & 0x01) != 0) } #[doc = "Bit 6 - STOP Detection Raw Interrupt Status"] #[inline(always)] pub fn stopris(&self) -> STOPRIS_R { STOPRIS_R::new(((self.bits >> 6) & 0x01) != 0) } #[doc = "Bit 7 - Arbitration Lost Raw Interrupt Status"] #[inline(always)] pub fn arblostris(&self) -> ARBLOSTRIS_R { ARBLOSTRIS_R::new(((self.bits >> 7) & 0x01) != 0) } #[doc = "Bit 8 - Transmit Request Raw Interrupt Status"] #[inline(always)] pub fn txris(&self) -> TXRIS_R { TXRIS_R::new(((self.bits >> 8) & 0x01) != 0) } #[doc = "Bit 9 - Receive FIFO Request Raw Interrupt Status"] #[inline(always)] pub fn rxris(&self) -> RXRIS_R { RXRIS_R::new(((self.bits >> 9) & 0x01) != 0) } #[doc = "Bit 10 - Transmit FIFO Empty Raw Interrupt Status"] #[inline(always)] pub fn txferis(&self) -> TXFERIS_R { TXFERIS_R::new(((self.bits >> 10) & 0x01) != 0) } #[doc = "Bit 11 - Receive FIFO Full Raw Interrupt Status"] #[inline(always)] pub fn rxffris(&self) -> RXFFRIS_R { RXFFRIS_R::new(((self.bits >> 11) & 0x01) != 0) } }