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
#[doc = "Reader of register PINE"]
pub type R = crate::R<u8, super::PINE>;
#[doc = "Reader of field `PE0`"]
pub type PE0_R = crate::R<bool, bool>;
#[doc = "Reader of field `PE1`"]
pub type PE1_R = crate::R<bool, bool>;
#[doc = "Reader of field `PE2`"]
pub type PE2_R = crate::R<bool, bool>;
#[doc = "Reader of field `PE3`"]
pub type PE3_R = crate::R<bool, bool>;
#[doc = "Reader of field `PE4`"]
pub type PE4_R = crate::R<bool, bool>;
#[doc = "Reader of field `PE5`"]
pub type PE5_R = crate::R<bool, bool>;
#[doc = "Reader of field `PE6`"]
pub type PE6_R = crate::R<bool, bool>;
#[doc = "Reader of field `PE7`"]
pub type PE7_R = crate::R<bool, bool>;
impl R {
    #[doc = "Bit 0 - Pin E0"]
    #[inline(always)]
    pub fn pe0(&self) -> PE0_R {
        PE0_R::new((self.bits & 0x01) != 0)
    }
    #[doc = "Bit 1 - Pin E1"]
    #[inline(always)]
    pub fn pe1(&self) -> PE1_R {
        PE1_R::new(((self.bits >> 1) & 0x01) != 0)
    }
    #[doc = "Bit 2 - Pin E2"]
    #[inline(always)]
    pub fn pe2(&self) -> PE2_R {
        PE2_R::new(((self.bits >> 2) & 0x01) != 0)
    }
    #[doc = "Bit 3 - Pin E3"]
    #[inline(always)]
    pub fn pe3(&self) -> PE3_R {
        PE3_R::new(((self.bits >> 3) & 0x01) != 0)
    }
    #[doc = "Bit 4 - Pin E4"]
    #[inline(always)]
    pub fn pe4(&self) -> PE4_R {
        PE4_R::new(((self.bits >> 4) & 0x01) != 0)
    }
    #[doc = "Bit 5 - Pin E5"]
    #[inline(always)]
    pub fn pe5(&self) -> PE5_R {
        PE5_R::new(((self.bits >> 5) & 0x01) != 0)
    }
    #[doc = "Bit 6 - Pin E6"]
    #[inline(always)]
    pub fn pe6(&self) -> PE6_R {
        PE6_R::new(((self.bits >> 6) & 0x01) != 0)
    }
    #[doc = "Bit 7 - Pin E7"]
    #[inline(always)]
    pub fn pe7(&self) -> PE7_R {
        PE7_R::new(((self.bits >> 7) & 0x01) != 0)
    }
}