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 RIS"]
pub type R = crate::R<u32, super::RIS>;
#[doc = "Reader of field `RAWST0`"]
pub type RAWST0_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST1`"]
pub type RAWST1_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST2`"]
pub type RAWST2_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST3`"]
pub type RAWST3_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST4`"]
pub type RAWST4_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST5`"]
pub type RAWST5_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST6`"]
pub type RAWST6_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST7`"]
pub type RAWST7_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST8`"]
pub type RAWST8_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST9`"]
pub type RAWST9_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST10`"]
pub type RAWST10_R = crate::R<bool, bool>;
#[doc = "Reader of field `RAWST11`"]
pub type RAWST11_R = crate::R<bool, bool>;
impl R {
    #[doc = "Bit 0 - PIOn_0."]
    #[inline(always)]
    pub fn rawst0(&self) -> RAWST0_R {
        RAWST0_R::new((self.bits & 0x01) != 0)
    }
    #[doc = "Bit 1 - PIOn_1."]
    #[inline(always)]
    pub fn rawst1(&self) -> RAWST1_R {
        RAWST1_R::new(((self.bits >> 1) & 0x01) != 0)
    }
    #[doc = "Bit 2 - PIOn_2."]
    #[inline(always)]
    pub fn rawst2(&self) -> RAWST2_R {
        RAWST2_R::new(((self.bits >> 2) & 0x01) != 0)
    }
    #[doc = "Bit 3 - PIOn_3."]
    #[inline(always)]
    pub fn rawst3(&self) -> RAWST3_R {
        RAWST3_R::new(((self.bits >> 3) & 0x01) != 0)
    }
    #[doc = "Bit 4 - PIOn_4."]
    #[inline(always)]
    pub fn rawst4(&self) -> RAWST4_R {
        RAWST4_R::new(((self.bits >> 4) & 0x01) != 0)
    }
    #[doc = "Bit 5 - PIOn_5."]
    #[inline(always)]
    pub fn rawst5(&self) -> RAWST5_R {
        RAWST5_R::new(((self.bits >> 5) & 0x01) != 0)
    }
    #[doc = "Bit 6 - PIOn_6."]
    #[inline(always)]
    pub fn rawst6(&self) -> RAWST6_R {
        RAWST6_R::new(((self.bits >> 6) & 0x01) != 0)
    }
    #[doc = "Bit 7 - PIOn_7."]
    #[inline(always)]
    pub fn rawst7(&self) -> RAWST7_R {
        RAWST7_R::new(((self.bits >> 7) & 0x01) != 0)
    }
    #[doc = "Bit 8 - PIOn_8."]
    #[inline(always)]
    pub fn rawst8(&self) -> RAWST8_R {
        RAWST8_R::new(((self.bits >> 8) & 0x01) != 0)
    }
    #[doc = "Bit 9 - PIOn_9."]
    #[inline(always)]
    pub fn rawst9(&self) -> RAWST9_R {
        RAWST9_R::new(((self.bits >> 9) & 0x01) != 0)
    }
    #[doc = "Bit 10 - PIOn_10."]
    #[inline(always)]
    pub fn rawst10(&self) -> RAWST10_R {
        RAWST10_R::new(((self.bits >> 10) & 0x01) != 0)
    }
    #[doc = "Bit 11 - PIOn_11."]
    #[inline(always)]
    pub fn rawst11(&self) -> RAWST11_R {
        RAWST11_R::new(((self.bits >> 11) & 0x01) != 0)
    }
}