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 PENDCH"] pub type R = crate::R<u32, super::PENDCH>; #[doc = "Reader of field `PENDCH0`"] pub type PENDCH0_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH1`"] pub type PENDCH1_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH2`"] pub type PENDCH2_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH3`"] pub type PENDCH3_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH4`"] pub type PENDCH4_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH5`"] pub type PENDCH5_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH6`"] pub type PENDCH6_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH7`"] pub type PENDCH7_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH8`"] pub type PENDCH8_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH9`"] pub type PENDCH9_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH10`"] pub type PENDCH10_R = crate::R<bool, bool>; #[doc = "Reader of field `PENDCH11`"] pub type PENDCH11_R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - Pending Channel 0"] #[inline(always)] pub fn pendch0(&self) -> PENDCH0_R { PENDCH0_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - Pending Channel 1"] #[inline(always)] pub fn pendch1(&self) -> PENDCH1_R { PENDCH1_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - Pending Channel 2"] #[inline(always)] pub fn pendch2(&self) -> PENDCH2_R { PENDCH2_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - Pending Channel 3"] #[inline(always)] pub fn pendch3(&self) -> PENDCH3_R { PENDCH3_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - Pending Channel 4"] #[inline(always)] pub fn pendch4(&self) -> PENDCH4_R { PENDCH4_R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bit 5 - Pending Channel 5"] #[inline(always)] pub fn pendch5(&self) -> PENDCH5_R { PENDCH5_R::new(((self.bits >> 5) & 0x01) != 0) } #[doc = "Bit 6 - Pending Channel 6"] #[inline(always)] pub fn pendch6(&self) -> PENDCH6_R { PENDCH6_R::new(((self.bits >> 6) & 0x01) != 0) } #[doc = "Bit 7 - Pending Channel 7"] #[inline(always)] pub fn pendch7(&self) -> PENDCH7_R { PENDCH7_R::new(((self.bits >> 7) & 0x01) != 0) } #[doc = "Bit 8 - Pending Channel 8"] #[inline(always)] pub fn pendch8(&self) -> PENDCH8_R { PENDCH8_R::new(((self.bits >> 8) & 0x01) != 0) } #[doc = "Bit 9 - Pending Channel 9"] #[inline(always)] pub fn pendch9(&self) -> PENDCH9_R { PENDCH9_R::new(((self.bits >> 9) & 0x01) != 0) } #[doc = "Bit 10 - Pending Channel 10"] #[inline(always)] pub fn pendch10(&self) -> PENDCH10_R { PENDCH10_R::new(((self.bits >> 10) & 0x01) != 0) } #[doc = "Bit 11 - Pending Channel 11"] #[inline(always)] pub fn pendch11(&self) -> PENDCH11_R { PENDCH11_R::new(((self.bits >> 11) & 0x01) != 0) } }