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 MIS"] pub type R = crate::R<u32, super::MIS>; #[doc = "Reader of field `MASK0`"] pub type MASK0_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK1`"] pub type MASK1_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK2`"] pub type MASK2_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK3`"] pub type MASK3_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK4`"] pub type MASK4_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK5`"] pub type MASK5_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK6`"] pub type MASK6_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK7`"] pub type MASK7_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK8`"] pub type MASK8_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK9`"] pub type MASK9_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK10`"] pub type MASK10_R = crate::R<bool, bool>; #[doc = "Reader of field `MASK11`"] pub type MASK11_R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - PIOn_0."] #[inline(always)] pub fn mask0(&self) -> MASK0_R { MASK0_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - PIOn_1."] #[inline(always)] pub fn mask1(&self) -> MASK1_R { MASK1_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - PIOn_2."] #[inline(always)] pub fn mask2(&self) -> MASK2_R { MASK2_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - PIOn_3."] #[inline(always)] pub fn mask3(&self) -> MASK3_R { MASK3_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - PIOn_4."] #[inline(always)] pub fn mask4(&self) -> MASK4_R { MASK4_R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bit 5 - PIOn_5."] #[inline(always)] pub fn mask5(&self) -> MASK5_R { MASK5_R::new(((self.bits >> 5) & 0x01) != 0) } #[doc = "Bit 6 - PIOn_6."] #[inline(always)] pub fn mask6(&self) -> MASK6_R { MASK6_R::new(((self.bits >> 6) & 0x01) != 0) } #[doc = "Bit 7 - PIOn_7."] #[inline(always)] pub fn mask7(&self) -> MASK7_R { MASK7_R::new(((self.bits >> 7) & 0x01) != 0) } #[doc = "Bit 8 - PIOn_8."] #[inline(always)] pub fn mask8(&self) -> MASK8_R { MASK8_R::new(((self.bits >> 8) & 0x01) != 0) } #[doc = "Bit 9 - PIOn_9."] #[inline(always)] pub fn mask9(&self) -> MASK9_R { MASK9_R::new(((self.bits >> 9) & 0x01) != 0) } #[doc = "Bit 10 - PIOn_10."] #[inline(always)] pub fn mask10(&self) -> MASK10_R { MASK10_R::new(((self.bits >> 10) & 0x01) != 0) } #[doc = "Bit 11 - PIOn_11."] #[inline(always)] pub fn mask11(&self) -> MASK11_R { MASK11_R::new(((self.bits >> 11) & 0x01) != 0) } }