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
#[doc = "Reader of register DAINT"] pub type R = crate::R<u32, super::DAINT>; #[doc = "Reader of field `INEPINT0`"] pub type INEPINT0_R = crate::R<bool, bool>; #[doc = "Reader of field `INEPINT1`"] pub type INEPINT1_R = crate::R<bool, bool>; #[doc = "Reader of field `INEPINT2`"] pub type INEPINT2_R = crate::R<bool, bool>; #[doc = "Reader of field `INEPINT3`"] pub type INEPINT3_R = crate::R<bool, bool>; #[doc = "Reader of field `INEPINT4`"] pub type INEPINT4_R = crate::R<bool, bool>; #[doc = "Reader of field `INEPINT5`"] pub type INEPINT5_R = crate::R<bool, bool>; #[doc = "Reader of field `INEPINT6`"] pub type INEPINT6_R = crate::R<bool, bool>; #[doc = "Reader of field `OUTEPINT0`"] pub type OUTEPINT0_R = crate::R<bool, bool>; #[doc = "Reader of field `OUTEPINT1`"] pub type OUTEPINT1_R = crate::R<bool, bool>; #[doc = "Reader of field `OUTEPINT2`"] pub type OUTEPINT2_R = crate::R<bool, bool>; #[doc = "Reader of field `OUTEPINT3`"] pub type OUTEPINT3_R = crate::R<bool, bool>; #[doc = "Reader of field `OUTEPINT4`"] pub type OUTEPINT4_R = crate::R<bool, bool>; #[doc = "Reader of field `OUTEPINT5`"] pub type OUTEPINT5_R = crate::R<bool, bool>; #[doc = "Reader of field `OUTEPINT6`"] pub type OUTEPINT6_R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - IN Endpoint 0 Interrupt Bit"] #[inline(always)] pub fn inepint0(&self) -> INEPINT0_R { INEPINT0_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - IN Endpoint 1 Interrupt Bit"] #[inline(always)] pub fn inepint1(&self) -> INEPINT1_R { INEPINT1_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - IN Endpoint 2 Interrupt Bit"] #[inline(always)] pub fn inepint2(&self) -> INEPINT2_R { INEPINT2_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - IN Endpoint 3 Interrupt Bit"] #[inline(always)] pub fn inepint3(&self) -> INEPINT3_R { INEPINT3_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - IN Endpoint 4 Interrupt Bit"] #[inline(always)] pub fn inepint4(&self) -> INEPINT4_R { INEPINT4_R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bit 5 - IN Endpoint 5 Interrupt Bit"] #[inline(always)] pub fn inepint5(&self) -> INEPINT5_R { INEPINT5_R::new(((self.bits >> 5) & 0x01) != 0) } #[doc = "Bit 6 - IN Endpoint 6 Interrupt Bit"] #[inline(always)] pub fn inepint6(&self) -> INEPINT6_R { INEPINT6_R::new(((self.bits >> 6) & 0x01) != 0) } #[doc = "Bit 16 - OUT Endpoint 0 Interrupt Bit"] #[inline(always)] pub fn outepint0(&self) -> OUTEPINT0_R { OUTEPINT0_R::new(((self.bits >> 16) & 0x01) != 0) } #[doc = "Bit 17 - OUT Endpoint 1 Interrupt Bit"] #[inline(always)] pub fn outepint1(&self) -> OUTEPINT1_R { OUTEPINT1_R::new(((self.bits >> 17) & 0x01) != 0) } #[doc = "Bit 18 - OUT Endpoint 2 Interrupt Bit"] #[inline(always)] pub fn outepint2(&self) -> OUTEPINT2_R { OUTEPINT2_R::new(((self.bits >> 18) & 0x01) != 0) } #[doc = "Bit 19 - OUT Endpoint 3 Interrupt Bit"] #[inline(always)] pub fn outepint3(&self) -> OUTEPINT3_R { OUTEPINT3_R::new(((self.bits >> 19) & 0x01) != 0) } #[doc = "Bit 20 - OUT Endpoint 4 Interrupt Bit"] #[inline(always)] pub fn outepint4(&self) -> OUTEPINT4_R { OUTEPINT4_R::new(((self.bits >> 20) & 0x01) != 0) } #[doc = "Bit 21 - OUT Endpoint 5 Interrupt Bit"] #[inline(always)] pub fn outepint5(&self) -> OUTEPINT5_R { OUTEPINT5_R::new(((self.bits >> 21) & 0x01) != 0) } #[doc = "Bit 22 - OUT Endpoint 6 Interrupt Bit"] #[inline(always)] pub fn outepint6(&self) -> OUTEPINT6_R { OUTEPINT6_R::new(((self.bits >> 22) & 0x01) != 0) } }