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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
#[doc = "Register `PMC_PCER0` writer"]
pub struct W(crate::W<PMC_PCER0_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<PMC_PCER0_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<PMC_PCER0_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<PMC_PCER0_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `PID8` writer - Peripheral Clock 8 Enable"]
pub type PID8_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID9` writer - Peripheral Clock 9 Enable"]
pub type PID9_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID10` writer - Peripheral Clock 10 Enable"]
pub type PID10_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID11` writer - Peripheral Clock 11 Enable"]
pub type PID11_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID12` writer - Peripheral Clock 12 Enable"]
pub type PID12_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID13` writer - Peripheral Clock 13 Enable"]
pub type PID13_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID14` writer - Peripheral Clock 14 Enable"]
pub type PID14_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID15` writer - Peripheral Clock 15 Enable"]
pub type PID15_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID16` writer - Peripheral Clock 16 Enable"]
pub type PID16_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID17` writer - Peripheral Clock 17 Enable"]
pub type PID17_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID18` writer - Peripheral Clock 18 Enable"]
pub type PID18_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID19` writer - Peripheral Clock 19 Enable"]
pub type PID19_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID20` writer - Peripheral Clock 20 Enable"]
pub type PID20_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID21` writer - Peripheral Clock 21 Enable"]
pub type PID21_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID22` writer - Peripheral Clock 22 Enable"]
pub type PID22_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID23` writer - Peripheral Clock 23 Enable"]
pub type PID23_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID24` writer - Peripheral Clock 24 Enable"]
pub type PID24_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID25` writer - Peripheral Clock 25 Enable"]
pub type PID25_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID26` writer - Peripheral Clock 26 Enable"]
pub type PID26_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID27` writer - Peripheral Clock 27 Enable"]
pub type PID27_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID28` writer - Peripheral Clock 28 Enable"]
pub type PID28_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID29` writer - Peripheral Clock 29 Enable"]
pub type PID29_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID30` writer - Peripheral Clock 30 Enable"]
pub type PID30_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
#[doc = "Field `PID31` writer - Peripheral Clock 31 Enable"]
pub type PID31_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER0_SPEC, bool, O>;
impl W {
    #[doc = "Bit 8 - Peripheral Clock 8 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid8(&mut self) -> PID8_W<8> {
        PID8_W::new(self)
    }
    #[doc = "Bit 9 - Peripheral Clock 9 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid9(&mut self) -> PID9_W<9> {
        PID9_W::new(self)
    }
    #[doc = "Bit 10 - Peripheral Clock 10 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid10(&mut self) -> PID10_W<10> {
        PID10_W::new(self)
    }
    #[doc = "Bit 11 - Peripheral Clock 11 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid11(&mut self) -> PID11_W<11> {
        PID11_W::new(self)
    }
    #[doc = "Bit 12 - Peripheral Clock 12 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid12(&mut self) -> PID12_W<12> {
        PID12_W::new(self)
    }
    #[doc = "Bit 13 - Peripheral Clock 13 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid13(&mut self) -> PID13_W<13> {
        PID13_W::new(self)
    }
    #[doc = "Bit 14 - Peripheral Clock 14 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid14(&mut self) -> PID14_W<14> {
        PID14_W::new(self)
    }
    #[doc = "Bit 15 - Peripheral Clock 15 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid15(&mut self) -> PID15_W<15> {
        PID15_W::new(self)
    }
    #[doc = "Bit 16 - Peripheral Clock 16 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid16(&mut self) -> PID16_W<16> {
        PID16_W::new(self)
    }
    #[doc = "Bit 17 - Peripheral Clock 17 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid17(&mut self) -> PID17_W<17> {
        PID17_W::new(self)
    }
    #[doc = "Bit 18 - Peripheral Clock 18 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid18(&mut self) -> PID18_W<18> {
        PID18_W::new(self)
    }
    #[doc = "Bit 19 - Peripheral Clock 19 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid19(&mut self) -> PID19_W<19> {
        PID19_W::new(self)
    }
    #[doc = "Bit 20 - Peripheral Clock 20 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid20(&mut self) -> PID20_W<20> {
        PID20_W::new(self)
    }
    #[doc = "Bit 21 - Peripheral Clock 21 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid21(&mut self) -> PID21_W<21> {
        PID21_W::new(self)
    }
    #[doc = "Bit 22 - Peripheral Clock 22 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid22(&mut self) -> PID22_W<22> {
        PID22_W::new(self)
    }
    #[doc = "Bit 23 - Peripheral Clock 23 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid23(&mut self) -> PID23_W<23> {
        PID23_W::new(self)
    }
    #[doc = "Bit 24 - Peripheral Clock 24 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid24(&mut self) -> PID24_W<24> {
        PID24_W::new(self)
    }
    #[doc = "Bit 25 - Peripheral Clock 25 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid25(&mut self) -> PID25_W<25> {
        PID25_W::new(self)
    }
    #[doc = "Bit 26 - Peripheral Clock 26 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid26(&mut self) -> PID26_W<26> {
        PID26_W::new(self)
    }
    #[doc = "Bit 27 - Peripheral Clock 27 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid27(&mut self) -> PID27_W<27> {
        PID27_W::new(self)
    }
    #[doc = "Bit 28 - Peripheral Clock 28 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid28(&mut self) -> PID28_W<28> {
        PID28_W::new(self)
    }
    #[doc = "Bit 29 - Peripheral Clock 29 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid29(&mut self) -> PID29_W<29> {
        PID29_W::new(self)
    }
    #[doc = "Bit 30 - Peripheral Clock 30 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid30(&mut self) -> PID30_W<30> {
        PID30_W::new(self)
    }
    #[doc = "Bit 31 - Peripheral Clock 31 Enable"]
    #[inline(always)]
    #[must_use]
    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 = "Peripheral Clock Enable Register 0\n\nThis register you can [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [pmc_pcer0](index.html) module"]
pub struct PMC_PCER0_SPEC;
impl crate::RegisterSpec for PMC_PCER0_SPEC {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [pmc_pcer0::W](W) writer structure"]
impl crate::Writable for PMC_PCER0_SPEC {
    type Writer = W;
    const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
    const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
}