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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
#[doc = "Register `SLPWK_ER0` writer"]
pub struct W(crate::W<SLPWK_ER0_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<SLPWK_ER0_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl core::ops::DerefMut for W {
    #[inline(always)]
    fn deref_mut(&mut self) -> &mut Self::Target {
        &mut self.0
    }
}
impl From<crate::W<SLPWK_ER0_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<SLPWK_ER0_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `PID7` writer - Peripheral 7 SleepWalking Enable"]
pub type PID7_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID8` writer - Peripheral 8 SleepWalking Enable"]
pub type PID8_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID10` writer - Peripheral 10 SleepWalking Enable"]
pub type PID10_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID11` writer - Peripheral 11 SleepWalking Enable"]
pub type PID11_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID13` writer - Peripheral 13 SleepWalking Enable"]
pub type PID13_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID14` writer - Peripheral 14 SleepWalking Enable"]
pub type PID14_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID16` writer - Peripheral 16 SleepWalking Enable"]
pub type PID16_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID19` writer - Peripheral 19 SleepWalking Enable"]
pub type PID19_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID20` writer - Peripheral 20 SleepWalking Enable"]
pub type PID20_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID22` writer - Peripheral 22 SleepWalking Enable"]
pub type PID22_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID23` writer - Peripheral 23 SleepWalking Enable"]
pub type PID23_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID24` writer - Peripheral 24 SleepWalking Enable"]
pub type PID24_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID25` writer - Peripheral 25 SleepWalking Enable"]
pub type PID25_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID26` writer - Peripheral 26 SleepWalking Enable"]
pub type PID26_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID27` writer - Peripheral 27 SleepWalking Enable"]
pub type PID27_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID28` writer - Peripheral 28 SleepWalking Enable"]
pub type PID28_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID29` writer - Peripheral 29 SleepWalking Enable"]
pub type PID29_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID30` writer - Peripheral 30 SleepWalking Enable"]
pub type PID30_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
#[doc = "Field `PID31` writer - Peripheral 31 SleepWalking Enable"]
pub type PID31_W<'a, const O: u8> = crate::BitWriter<'a, u32, SLPWK_ER0_SPEC, bool, O>;
impl W {
    #[doc = "Bit 7 - Peripheral 7 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid7(&mut self) -> PID7_W<7> {
        PID7_W::new(self)
    }
    #[doc = "Bit 8 - Peripheral 8 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid8(&mut self) -> PID8_W<8> {
        PID8_W::new(self)
    }
    #[doc = "Bit 10 - Peripheral 10 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid10(&mut self) -> PID10_W<10> {
        PID10_W::new(self)
    }
    #[doc = "Bit 11 - Peripheral 11 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid11(&mut self) -> PID11_W<11> {
        PID11_W::new(self)
    }
    #[doc = "Bit 13 - Peripheral 13 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid13(&mut self) -> PID13_W<13> {
        PID13_W::new(self)
    }
    #[doc = "Bit 14 - Peripheral 14 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid14(&mut self) -> PID14_W<14> {
        PID14_W::new(self)
    }
    #[doc = "Bit 16 - Peripheral 16 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid16(&mut self) -> PID16_W<16> {
        PID16_W::new(self)
    }
    #[doc = "Bit 19 - Peripheral 19 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid19(&mut self) -> PID19_W<19> {
        PID19_W::new(self)
    }
    #[doc = "Bit 20 - Peripheral 20 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid20(&mut self) -> PID20_W<20> {
        PID20_W::new(self)
    }
    #[doc = "Bit 22 - Peripheral 22 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid22(&mut self) -> PID22_W<22> {
        PID22_W::new(self)
    }
    #[doc = "Bit 23 - Peripheral 23 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid23(&mut self) -> PID23_W<23> {
        PID23_W::new(self)
    }
    #[doc = "Bit 24 - Peripheral 24 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid24(&mut self) -> PID24_W<24> {
        PID24_W::new(self)
    }
    #[doc = "Bit 25 - Peripheral 25 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid25(&mut self) -> PID25_W<25> {
        PID25_W::new(self)
    }
    #[doc = "Bit 26 - Peripheral 26 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid26(&mut self) -> PID26_W<26> {
        PID26_W::new(self)
    }
    #[doc = "Bit 27 - Peripheral 27 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid27(&mut self) -> PID27_W<27> {
        PID27_W::new(self)
    }
    #[doc = "Bit 28 - Peripheral 28 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid28(&mut self) -> PID28_W<28> {
        PID28_W::new(self)
    }
    #[doc = "Bit 29 - Peripheral 29 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid29(&mut self) -> PID29_W<29> {
        PID29_W::new(self)
    }
    #[doc = "Bit 30 - Peripheral 30 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid30(&mut self) -> PID30_W<30> {
        PID30_W::new(self)
    }
    #[doc = "Bit 31 - Peripheral 31 SleepWalking Enable"]
    #[inline(always)]
    pub fn pid31(&mut self) -> PID31_W<31> {
        PID31_W::new(self)
    }
    #[doc = "Writes raw bits to the register."]
    #[inline(always)]
    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
        self.0.bits(bits);
        self
    }
}
#[doc = "SleepWalking Enable Register 0\n\nThis register you can [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [slpwk_er0](index.html) module"]
pub struct SLPWK_ER0_SPEC;
impl crate::RegisterSpec for SLPWK_ER0_SPEC {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [slpwk_er0::W](W) writer structure"]
impl crate::Writable for SLPWK_ER0_SPEC {
    type Writer = W;
}
#[doc = "`reset()` method sets SLPWK_ER0 to value 0"]
impl crate::Resettable for SLPWK_ER0_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0
    }
}