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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
#[doc = "Register `RCC_MC_APB1LPENCLRR` reader"]
pub struct R(crate::R<RCC_MC_APB1LPENCLRR_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<RCC_MC_APB1LPENCLRR_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<RCC_MC_APB1LPENCLRR_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<RCC_MC_APB1LPENCLRR_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Register `RCC_MC_APB1LPENCLRR` writer"]
pub struct W(crate::W<RCC_MC_APB1LPENCLRR_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<RCC_MC_APB1LPENCLRR_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<RCC_MC_APB1LPENCLRR_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<RCC_MC_APB1LPENCLRR_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `TIM2LPEN` reader - TIM2LPEN"]
pub type TIM2LPEN_R = crate::BitReader<bool>;
#[doc = "Field `TIM2LPEN` writer - TIM2LPEN"]
pub type TIM2LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `TIM3LPEN` reader - TIM3LPEN"]
pub type TIM3LPEN_R = crate::BitReader<bool>;
#[doc = "Field `TIM3LPEN` writer - TIM3LPEN"]
pub type TIM3LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `TIM4LPEN` reader - TIM4LPEN"]
pub type TIM4LPEN_R = crate::BitReader<bool>;
#[doc = "Field `TIM4LPEN` writer - TIM4LPEN"]
pub type TIM4LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `TIM5LPEN` reader - TIM5LPEN"]
pub type TIM5LPEN_R = crate::BitReader<bool>;
#[doc = "Field `TIM5LPEN` writer - TIM5LPEN"]
pub type TIM5LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `TIM6LPEN` reader - TIM6LPEN"]
pub type TIM6LPEN_R = crate::BitReader<bool>;
#[doc = "Field `TIM6LPEN` writer - TIM6LPEN"]
pub type TIM6LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `TIM7LPEN` reader - TIM7LPEN"]
pub type TIM7LPEN_R = crate::BitReader<bool>;
#[doc = "Field `TIM7LPEN` writer - TIM7LPEN"]
pub type TIM7LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `TIM12LPEN` reader - TIM12LPEN"]
pub type TIM12LPEN_R = crate::BitReader<bool>;
#[doc = "Field `TIM12LPEN` writer - TIM12LPEN"]
pub type TIM12LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `TIM13LPEN` reader - TIM13LPEN"]
pub type TIM13LPEN_R = crate::BitReader<bool>;
#[doc = "Field `TIM13LPEN` writer - TIM13LPEN"]
pub type TIM13LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `TIM14LPEN` reader - TIM14LPEN"]
pub type TIM14LPEN_R = crate::BitReader<bool>;
#[doc = "Field `TIM14LPEN` writer - TIM14LPEN"]
pub type TIM14LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `LPTIM1LPEN` reader - LPTIM1LPEN"]
pub type LPTIM1LPEN_R = crate::BitReader<bool>;
#[doc = "Field `LPTIM1LPEN` writer - LPTIM1LPEN"]
pub type LPTIM1LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `SPI2LPEN` reader - SPI2LPEN"]
pub type SPI2LPEN_R = crate::BitReader<bool>;
#[doc = "Field `SPI2LPEN` writer - SPI2LPEN"]
pub type SPI2LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `SPI3LPEN` reader - SPI3LPEN"]
pub type SPI3LPEN_R = crate::BitReader<bool>;
#[doc = "Field `SPI3LPEN` writer - SPI3LPEN"]
pub type SPI3LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `USART2LPEN` reader - USART2LPEN"]
pub type USART2LPEN_R = crate::BitReader<bool>;
#[doc = "Field `USART2LPEN` writer - USART2LPEN"]
pub type USART2LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `USART3LPEN` reader - USART3LPEN"]
pub type USART3LPEN_R = crate::BitReader<bool>;
#[doc = "Field `USART3LPEN` writer - USART3LPEN"]
pub type USART3LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `UART4LPEN` reader - UART4LPEN"]
pub type UART4LPEN_R = crate::BitReader<bool>;
#[doc = "Field `UART4LPEN` writer - UART4LPEN"]
pub type UART4LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `UART5LPEN` reader - UART5LPEN"]
pub type UART5LPEN_R = crate::BitReader<bool>;
#[doc = "Field `UART5LPEN` writer - UART5LPEN"]
pub type UART5LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `UART7LPEN` reader - UART7LPEN"]
pub type UART7LPEN_R = crate::BitReader<bool>;
#[doc = "Field `UART7LPEN` writer - UART7LPEN"]
pub type UART7LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `UART8LPEN` reader - UART8LPEN"]
pub type UART8LPEN_R = crate::BitReader<bool>;
#[doc = "Field `UART8LPEN` writer - UART8LPEN"]
pub type UART8LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `I2C1LPEN` reader - I2C1LPEN"]
pub type I2C1LPEN_R = crate::BitReader<bool>;
#[doc = "Field `I2C1LPEN` writer - I2C1LPEN"]
pub type I2C1LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `I2C2LPEN` reader - I2C2LPEN"]
pub type I2C2LPEN_R = crate::BitReader<bool>;
#[doc = "Field `I2C2LPEN` writer - I2C2LPEN"]
pub type I2C2LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `I2C3LPEN` reader - I2C3LPEN"]
pub type I2C3LPEN_R = crate::BitReader<bool>;
#[doc = "Field `I2C3LPEN` writer - I2C3LPEN"]
pub type I2C3LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `I2C5LPEN` reader - I2C5LPEN"]
pub type I2C5LPEN_R = crate::BitReader<bool>;
#[doc = "Field `I2C5LPEN` writer - I2C5LPEN"]
pub type I2C5LPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `SPDIFLPEN` reader - SPDIFLPEN"]
pub type SPDIFLPEN_R = crate::BitReader<bool>;
#[doc = "Field `SPDIFLPEN` writer - SPDIFLPEN"]
pub type SPDIFLPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `CECLPEN` reader - CECLPEN"]
pub type CECLPEN_R = crate::BitReader<bool>;
#[doc = "Field `CECLPEN` writer - CECLPEN"]
pub type CECLPEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `WWDG1LPEN` reader - WWDG1LPEN"]
pub type WWDG1LPEN_R = crate::BitReader<bool>;
#[doc = "Field `WWDG1LPEN` writer - WWDG1LPEN"]
pub type WWDG1LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `DAC12LPEN` reader - DAC12LPEN"]
pub type DAC12LPEN_R = crate::BitReader<bool>;
#[doc = "Field `DAC12LPEN` writer - DAC12LPEN"]
pub type DAC12LPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
#[doc = "Field `MDIOSLPEN` reader - MDIOSLPEN"]
pub type MDIOSLPEN_R = crate::BitReader<bool>;
#[doc = "Field `MDIOSLPEN` writer - MDIOSLPEN"]
pub type MDIOSLPEN_W<'a, const O: u8> =
    crate::BitWriter<'a, u32, RCC_MC_APB1LPENCLRR_SPEC, bool, O>;
impl R {
    #[doc = "Bit 0 - TIM2LPEN"]
    #[inline(always)]
    pub fn tim2lpen(&self) -> TIM2LPEN_R {
        TIM2LPEN_R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - TIM3LPEN"]
    #[inline(always)]
    pub fn tim3lpen(&self) -> TIM3LPEN_R {
        TIM3LPEN_R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - TIM4LPEN"]
    #[inline(always)]
    pub fn tim4lpen(&self) -> TIM4LPEN_R {
        TIM4LPEN_R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - TIM5LPEN"]
    #[inline(always)]
    pub fn tim5lpen(&self) -> TIM5LPEN_R {
        TIM5LPEN_R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - TIM6LPEN"]
    #[inline(always)]
    pub fn tim6lpen(&self) -> TIM6LPEN_R {
        TIM6LPEN_R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - TIM7LPEN"]
    #[inline(always)]
    pub fn tim7lpen(&self) -> TIM7LPEN_R {
        TIM7LPEN_R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - TIM12LPEN"]
    #[inline(always)]
    pub fn tim12lpen(&self) -> TIM12LPEN_R {
        TIM12LPEN_R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - TIM13LPEN"]
    #[inline(always)]
    pub fn tim13lpen(&self) -> TIM13LPEN_R {
        TIM13LPEN_R::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 8 - TIM14LPEN"]
    #[inline(always)]
    pub fn tim14lpen(&self) -> TIM14LPEN_R {
        TIM14LPEN_R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - LPTIM1LPEN"]
    #[inline(always)]
    pub fn lptim1lpen(&self) -> LPTIM1LPEN_R {
        LPTIM1LPEN_R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 11 - SPI2LPEN"]
    #[inline(always)]
    pub fn spi2lpen(&self) -> SPI2LPEN_R {
        SPI2LPEN_R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - SPI3LPEN"]
    #[inline(always)]
    pub fn spi3lpen(&self) -> SPI3LPEN_R {
        SPI3LPEN_R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 14 - USART2LPEN"]
    #[inline(always)]
    pub fn usart2lpen(&self) -> USART2LPEN_R {
        USART2LPEN_R::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 15 - USART3LPEN"]
    #[inline(always)]
    pub fn usart3lpen(&self) -> USART3LPEN_R {
        USART3LPEN_R::new(((self.bits >> 15) & 1) != 0)
    }
    #[doc = "Bit 16 - UART4LPEN"]
    #[inline(always)]
    pub fn uart4lpen(&self) -> UART4LPEN_R {
        UART4LPEN_R::new(((self.bits >> 16) & 1) != 0)
    }
    #[doc = "Bit 17 - UART5LPEN"]
    #[inline(always)]
    pub fn uart5lpen(&self) -> UART5LPEN_R {
        UART5LPEN_R::new(((self.bits >> 17) & 1) != 0)
    }
    #[doc = "Bit 18 - UART7LPEN"]
    #[inline(always)]
    pub fn uart7lpen(&self) -> UART7LPEN_R {
        UART7LPEN_R::new(((self.bits >> 18) & 1) != 0)
    }
    #[doc = "Bit 19 - UART8LPEN"]
    #[inline(always)]
    pub fn uart8lpen(&self) -> UART8LPEN_R {
        UART8LPEN_R::new(((self.bits >> 19) & 1) != 0)
    }
    #[doc = "Bit 21 - I2C1LPEN"]
    #[inline(always)]
    pub fn i2c1lpen(&self) -> I2C1LPEN_R {
        I2C1LPEN_R::new(((self.bits >> 21) & 1) != 0)
    }
    #[doc = "Bit 22 - I2C2LPEN"]
    #[inline(always)]
    pub fn i2c2lpen(&self) -> I2C2LPEN_R {
        I2C2LPEN_R::new(((self.bits >> 22) & 1) != 0)
    }
    #[doc = "Bit 23 - I2C3LPEN"]
    #[inline(always)]
    pub fn i2c3lpen(&self) -> I2C3LPEN_R {
        I2C3LPEN_R::new(((self.bits >> 23) & 1) != 0)
    }
    #[doc = "Bit 24 - I2C5LPEN"]
    #[inline(always)]
    pub fn i2c5lpen(&self) -> I2C5LPEN_R {
        I2C5LPEN_R::new(((self.bits >> 24) & 1) != 0)
    }
    #[doc = "Bit 26 - SPDIFLPEN"]
    #[inline(always)]
    pub fn spdiflpen(&self) -> SPDIFLPEN_R {
        SPDIFLPEN_R::new(((self.bits >> 26) & 1) != 0)
    }
    #[doc = "Bit 27 - CECLPEN"]
    #[inline(always)]
    pub fn ceclpen(&self) -> CECLPEN_R {
        CECLPEN_R::new(((self.bits >> 27) & 1) != 0)
    }
    #[doc = "Bit 28 - WWDG1LPEN"]
    #[inline(always)]
    pub fn wwdg1lpen(&self) -> WWDG1LPEN_R {
        WWDG1LPEN_R::new(((self.bits >> 28) & 1) != 0)
    }
    #[doc = "Bit 29 - DAC12LPEN"]
    #[inline(always)]
    pub fn dac12lpen(&self) -> DAC12LPEN_R {
        DAC12LPEN_R::new(((self.bits >> 29) & 1) != 0)
    }
    #[doc = "Bit 31 - MDIOSLPEN"]
    #[inline(always)]
    pub fn mdioslpen(&self) -> MDIOSLPEN_R {
        MDIOSLPEN_R::new(((self.bits >> 31) & 1) != 0)
    }
}
impl W {
    #[doc = "Bit 0 - TIM2LPEN"]
    #[inline(always)]
    pub fn tim2lpen(&mut self) -> TIM2LPEN_W<0> {
        TIM2LPEN_W::new(self)
    }
    #[doc = "Bit 1 - TIM3LPEN"]
    #[inline(always)]
    pub fn tim3lpen(&mut self) -> TIM3LPEN_W<1> {
        TIM3LPEN_W::new(self)
    }
    #[doc = "Bit 2 - TIM4LPEN"]
    #[inline(always)]
    pub fn tim4lpen(&mut self) -> TIM4LPEN_W<2> {
        TIM4LPEN_W::new(self)
    }
    #[doc = "Bit 3 - TIM5LPEN"]
    #[inline(always)]
    pub fn tim5lpen(&mut self) -> TIM5LPEN_W<3> {
        TIM5LPEN_W::new(self)
    }
    #[doc = "Bit 4 - TIM6LPEN"]
    #[inline(always)]
    pub fn tim6lpen(&mut self) -> TIM6LPEN_W<4> {
        TIM6LPEN_W::new(self)
    }
    #[doc = "Bit 5 - TIM7LPEN"]
    #[inline(always)]
    pub fn tim7lpen(&mut self) -> TIM7LPEN_W<5> {
        TIM7LPEN_W::new(self)
    }
    #[doc = "Bit 6 - TIM12LPEN"]
    #[inline(always)]
    pub fn tim12lpen(&mut self) -> TIM12LPEN_W<6> {
        TIM12LPEN_W::new(self)
    }
    #[doc = "Bit 7 - TIM13LPEN"]
    #[inline(always)]
    pub fn tim13lpen(&mut self) -> TIM13LPEN_W<7> {
        TIM13LPEN_W::new(self)
    }
    #[doc = "Bit 8 - TIM14LPEN"]
    #[inline(always)]
    pub fn tim14lpen(&mut self) -> TIM14LPEN_W<8> {
        TIM14LPEN_W::new(self)
    }
    #[doc = "Bit 9 - LPTIM1LPEN"]
    #[inline(always)]
    pub fn lptim1lpen(&mut self) -> LPTIM1LPEN_W<9> {
        LPTIM1LPEN_W::new(self)
    }
    #[doc = "Bit 11 - SPI2LPEN"]
    #[inline(always)]
    pub fn spi2lpen(&mut self) -> SPI2LPEN_W<11> {
        SPI2LPEN_W::new(self)
    }
    #[doc = "Bit 12 - SPI3LPEN"]
    #[inline(always)]
    pub fn spi3lpen(&mut self) -> SPI3LPEN_W<12> {
        SPI3LPEN_W::new(self)
    }
    #[doc = "Bit 14 - USART2LPEN"]
    #[inline(always)]
    pub fn usart2lpen(&mut self) -> USART2LPEN_W<14> {
        USART2LPEN_W::new(self)
    }
    #[doc = "Bit 15 - USART3LPEN"]
    #[inline(always)]
    pub fn usart3lpen(&mut self) -> USART3LPEN_W<15> {
        USART3LPEN_W::new(self)
    }
    #[doc = "Bit 16 - UART4LPEN"]
    #[inline(always)]
    pub fn uart4lpen(&mut self) -> UART4LPEN_W<16> {
        UART4LPEN_W::new(self)
    }
    #[doc = "Bit 17 - UART5LPEN"]
    #[inline(always)]
    pub fn uart5lpen(&mut self) -> UART5LPEN_W<17> {
        UART5LPEN_W::new(self)
    }
    #[doc = "Bit 18 - UART7LPEN"]
    #[inline(always)]
    pub fn uart7lpen(&mut self) -> UART7LPEN_W<18> {
        UART7LPEN_W::new(self)
    }
    #[doc = "Bit 19 - UART8LPEN"]
    #[inline(always)]
    pub fn uart8lpen(&mut self) -> UART8LPEN_W<19> {
        UART8LPEN_W::new(self)
    }
    #[doc = "Bit 21 - I2C1LPEN"]
    #[inline(always)]
    pub fn i2c1lpen(&mut self) -> I2C1LPEN_W<21> {
        I2C1LPEN_W::new(self)
    }
    #[doc = "Bit 22 - I2C2LPEN"]
    #[inline(always)]
    pub fn i2c2lpen(&mut self) -> I2C2LPEN_W<22> {
        I2C2LPEN_W::new(self)
    }
    #[doc = "Bit 23 - I2C3LPEN"]
    #[inline(always)]
    pub fn i2c3lpen(&mut self) -> I2C3LPEN_W<23> {
        I2C3LPEN_W::new(self)
    }
    #[doc = "Bit 24 - I2C5LPEN"]
    #[inline(always)]
    pub fn i2c5lpen(&mut self) -> I2C5LPEN_W<24> {
        I2C5LPEN_W::new(self)
    }
    #[doc = "Bit 26 - SPDIFLPEN"]
    #[inline(always)]
    pub fn spdiflpen(&mut self) -> SPDIFLPEN_W<26> {
        SPDIFLPEN_W::new(self)
    }
    #[doc = "Bit 27 - CECLPEN"]
    #[inline(always)]
    pub fn ceclpen(&mut self) -> CECLPEN_W<27> {
        CECLPEN_W::new(self)
    }
    #[doc = "Bit 28 - WWDG1LPEN"]
    #[inline(always)]
    pub fn wwdg1lpen(&mut self) -> WWDG1LPEN_W<28> {
        WWDG1LPEN_W::new(self)
    }
    #[doc = "Bit 29 - DAC12LPEN"]
    #[inline(always)]
    pub fn dac12lpen(&mut self) -> DAC12LPEN_W<29> {
        DAC12LPEN_W::new(self)
    }
    #[doc = "Bit 31 - MDIOSLPEN"]
    #[inline(always)]
    pub fn mdioslpen(&mut self) -> MDIOSLPEN_W<31> {
        MDIOSLPEN_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 = "This register is used by the MCU in order to clear the PERxLPEN bits\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [rcc_mc_apb1lpenclrr](index.html) module"]
pub struct RCC_MC_APB1LPENCLRR_SPEC;
impl crate::RegisterSpec for RCC_MC_APB1LPENCLRR_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [rcc_mc_apb1lpenclrr::R](R) reader structure"]
impl crate::Readable for RCC_MC_APB1LPENCLRR_SPEC {
    type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [rcc_mc_apb1lpenclrr::W](W) writer structure"]
impl crate::Writable for RCC_MC_APB1LPENCLRR_SPEC {
    type Writer = W;
}
#[doc = "`reset()` method sets RCC_MC_APB1LPENCLRR to value 0xbdef_dbff"]
impl crate::Resettable for RCC_MC_APB1LPENCLRR_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0xbdef_dbff
    }
}