gd32f4pac 0.9.2

Device support crate for GD32F4 devices
Documentation
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
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
#[doc = "Register `CTL1` reader"]
pub type R = crate::R<Ctl1Spec>;
#[doc = "Register `CTL1` writer"]
pub type W = crate::W<Ctl1Spec>;
#[doc = "TIMER 1 hold register\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Timer1Hold {
    #[doc = "0: Continue running the timer as usual"]
    Continue = 0,
    #[doc = "1: Hold the timer counter for debug when the core is halted"]
    Stop = 1,
}
impl From<Timer1Hold> for bool {
    #[inline(always)]
    fn from(variant: Timer1Hold) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `TIMER1_HOLD` reader - TIMER 1 hold register"]
pub type Timer1HoldR = crate::BitReader<Timer1Hold>;
impl Timer1HoldR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Timer1Hold {
        match self.bits {
            false => Timer1Hold::Continue,
            true => Timer1Hold::Stop,
        }
    }
    #[doc = "Continue running the timer as usual"]
    #[inline(always)]
    pub fn is_continue(&self) -> bool {
        *self == Timer1Hold::Continue
    }
    #[doc = "Hold the timer counter for debug when the core is halted"]
    #[inline(always)]
    pub fn is_stop(&self) -> bool {
        *self == Timer1Hold::Stop
    }
}
#[doc = "Field `TIMER1_HOLD` writer - TIMER 1 hold register"]
pub type Timer1HoldW<'a, REG> = crate::BitWriter<'a, REG, Timer1Hold>;
impl<'a, REG> Timer1HoldW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Continue running the timer as usual"]
    #[inline(always)]
    pub fn continue_(self) -> &'a mut crate::W<REG> {
        self.variant(Timer1Hold::Continue)
    }
    #[doc = "Hold the timer counter for debug when the core is halted"]
    #[inline(always)]
    pub fn stop(self) -> &'a mut crate::W<REG> {
        self.variant(Timer1Hold::Stop)
    }
}
#[doc = "Field `TIMER2_HOLD` reader - TIMER 2 hold register"]
pub use Timer1HoldR as Timer2HoldR;
#[doc = "Field `TIMER3_HOLD` reader - TIMER 3 hold register"]
pub use Timer1HoldR as Timer3HoldR;
#[doc = "Field `TIMER4_HOLD` reader - TIMER 4 hold register"]
pub use Timer1HoldR as Timer4HoldR;
#[doc = "Field `TIMER5_HOLD` reader - TIMER 5 hold register"]
pub use Timer1HoldR as Timer5HoldR;
#[doc = "Field `TIMER6_HOLD` reader - TIMER 6 hold register"]
pub use Timer1HoldR as Timer6HoldR;
#[doc = "Field `TIMER11_HOLD` reader - TIMER 11 hold register"]
pub use Timer1HoldR as Timer11HoldR;
#[doc = "Field `TIMER12_HOLD` reader - TIMER 12 hold register"]
pub use Timer1HoldR as Timer12HoldR;
#[doc = "Field `TIMER13_HOLD` reader - TIMER 13 hold register"]
pub use Timer1HoldR as Timer13HoldR;
#[doc = "Field `TIMER2_HOLD` writer - TIMER 2 hold register"]
pub use Timer1HoldW as Timer2HoldW;
#[doc = "Field `TIMER3_HOLD` writer - TIMER 3 hold register"]
pub use Timer1HoldW as Timer3HoldW;
#[doc = "Field `TIMER4_HOLD` writer - TIMER 4 hold register"]
pub use Timer1HoldW as Timer4HoldW;
#[doc = "Field `TIMER5_HOLD` writer - TIMER 5 hold register"]
pub use Timer1HoldW as Timer5HoldW;
#[doc = "Field `TIMER6_HOLD` writer - TIMER 6 hold register"]
pub use Timer1HoldW as Timer6HoldW;
#[doc = "Field `TIMER11_HOLD` writer - TIMER 11 hold register"]
pub use Timer1HoldW as Timer11HoldW;
#[doc = "Field `TIMER12_HOLD` writer - TIMER 12 hold register"]
pub use Timer1HoldW as Timer12HoldW;
#[doc = "Field `TIMER13_HOLD` writer - TIMER 13 hold register"]
pub use Timer1HoldW as Timer13HoldW;
#[doc = "RTC hold register\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum RtcHold {
    #[doc = "0: Continue running the RTC as usual"]
    Continue = 0,
    #[doc = "1: Hold the RTC for debug when the core is halted"]
    Stop = 1,
}
impl From<RtcHold> for bool {
    #[inline(always)]
    fn from(variant: RtcHold) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `RTC_HOLD` reader - RTC hold register"]
pub type RtcHoldR = crate::BitReader<RtcHold>;
impl RtcHoldR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> RtcHold {
        match self.bits {
            false => RtcHold::Continue,
            true => RtcHold::Stop,
        }
    }
    #[doc = "Continue running the RTC as usual"]
    #[inline(always)]
    pub fn is_continue(&self) -> bool {
        *self == RtcHold::Continue
    }
    #[doc = "Hold the RTC for debug when the core is halted"]
    #[inline(always)]
    pub fn is_stop(&self) -> bool {
        *self == RtcHold::Stop
    }
}
#[doc = "Field `RTC_HOLD` writer - RTC hold register"]
pub type RtcHoldW<'a, REG> = crate::BitWriter<'a, REG, RtcHold>;
impl<'a, REG> RtcHoldW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Continue running the RTC as usual"]
    #[inline(always)]
    pub fn continue_(self) -> &'a mut crate::W<REG> {
        self.variant(RtcHold::Continue)
    }
    #[doc = "Hold the RTC for debug when the core is halted"]
    #[inline(always)]
    pub fn stop(self) -> &'a mut crate::W<REG> {
        self.variant(RtcHold::Stop)
    }
}
#[doc = "Field `WWDGT_HOLD` reader - WWDGT hold register"]
pub type WwdgtHoldR = crate::BitReader;
#[doc = "Field `WWDGT_HOLD` writer - WWDGT hold register"]
pub type WwdgtHoldW<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "FWDGT hold register\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum FwdgtHold {
    #[doc = "0: Continue running the free watchdog timer as usual"]
    Continue = 0,
    #[doc = "1: Hold the free watchdog timer for debug when the core is halted"]
    Stop = 1,
}
impl From<FwdgtHold> for bool {
    #[inline(always)]
    fn from(variant: FwdgtHold) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `FWDGT_HOLD` reader - FWDGT hold register"]
pub type FwdgtHoldR = crate::BitReader<FwdgtHold>;
impl FwdgtHoldR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> FwdgtHold {
        match self.bits {
            false => FwdgtHold::Continue,
            true => FwdgtHold::Stop,
        }
    }
    #[doc = "Continue running the free watchdog timer as usual"]
    #[inline(always)]
    pub fn is_continue(&self) -> bool {
        *self == FwdgtHold::Continue
    }
    #[doc = "Hold the free watchdog timer for debug when the core is halted"]
    #[inline(always)]
    pub fn is_stop(&self) -> bool {
        *self == FwdgtHold::Stop
    }
}
#[doc = "Field `FWDGT_HOLD` writer - FWDGT hold register"]
pub type FwdgtHoldW<'a, REG> = crate::BitWriter<'a, REG, FwdgtHold>;
impl<'a, REG> FwdgtHoldW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Continue running the free watchdog timer as usual"]
    #[inline(always)]
    pub fn continue_(self) -> &'a mut crate::W<REG> {
        self.variant(FwdgtHold::Continue)
    }
    #[doc = "Hold the free watchdog timer for debug when the core is halted"]
    #[inline(always)]
    pub fn stop(self) -> &'a mut crate::W<REG> {
        self.variant(FwdgtHold::Stop)
    }
}
#[doc = "I2C0 hold register\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum I2c0Hold {
    #[doc = "0: Continue running I2C as usual"]
    Continue = 0,
    #[doc = "1: Hold the I2C timeout for debug when the core is halted"]
    Stop = 1,
}
impl From<I2c0Hold> for bool {
    #[inline(always)]
    fn from(variant: I2c0Hold) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `I2C0_HOLD` reader - I2C0 hold register"]
pub type I2c0HoldR = crate::BitReader<I2c0Hold>;
impl I2c0HoldR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> I2c0Hold {
        match self.bits {
            false => I2c0Hold::Continue,
            true => I2c0Hold::Stop,
        }
    }
    #[doc = "Continue running I2C as usual"]
    #[inline(always)]
    pub fn is_continue(&self) -> bool {
        *self == I2c0Hold::Continue
    }
    #[doc = "Hold the I2C timeout for debug when the core is halted"]
    #[inline(always)]
    pub fn is_stop(&self) -> bool {
        *self == I2c0Hold::Stop
    }
}
#[doc = "Field `I2C0_HOLD` writer - I2C0 hold register"]
pub type I2c0HoldW<'a, REG> = crate::BitWriter<'a, REG, I2c0Hold>;
impl<'a, REG> I2c0HoldW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Continue running I2C as usual"]
    #[inline(always)]
    pub fn continue_(self) -> &'a mut crate::W<REG> {
        self.variant(I2c0Hold::Continue)
    }
    #[doc = "Hold the I2C timeout for debug when the core is halted"]
    #[inline(always)]
    pub fn stop(self) -> &'a mut crate::W<REG> {
        self.variant(I2c0Hold::Stop)
    }
}
#[doc = "Field `I2C1_HOLD` reader - I2C1 hold register"]
pub use I2c0HoldR as I2c1HoldR;
#[doc = "Field `I2C2_HOLD` reader - I2C2 hold register"]
pub use I2c0HoldR as I2c2HoldR;
#[doc = "Field `I2C1_HOLD` writer - I2C1 hold register"]
pub use I2c0HoldW as I2c1HoldW;
#[doc = "Field `I2C2_HOLD` writer - I2C2 hold register"]
pub use I2c0HoldW as I2c2HoldW;
#[doc = "CAN0 hold register\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Can0Hold {
    #[doc = "0: Continue running the CAN as usual"]
    Continue = 0,
    #[doc = "1: Hold the CAN for debug when the core is halted"]
    Stop = 1,
}
impl From<Can0Hold> for bool {
    #[inline(always)]
    fn from(variant: Can0Hold) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `CAN0_HOLD` reader - CAN0 hold register"]
pub type Can0HoldR = crate::BitReader<Can0Hold>;
impl Can0HoldR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Can0Hold {
        match self.bits {
            false => Can0Hold::Continue,
            true => Can0Hold::Stop,
        }
    }
    #[doc = "Continue running the CAN as usual"]
    #[inline(always)]
    pub fn is_continue(&self) -> bool {
        *self == Can0Hold::Continue
    }
    #[doc = "Hold the CAN for debug when the core is halted"]
    #[inline(always)]
    pub fn is_stop(&self) -> bool {
        *self == Can0Hold::Stop
    }
}
#[doc = "Field `CAN0_HOLD` writer - CAN0 hold register"]
pub type Can0HoldW<'a, REG> = crate::BitWriter<'a, REG, Can0Hold>;
impl<'a, REG> Can0HoldW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Continue running the CAN as usual"]
    #[inline(always)]
    pub fn continue_(self) -> &'a mut crate::W<REG> {
        self.variant(Can0Hold::Continue)
    }
    #[doc = "Hold the CAN for debug when the core is halted"]
    #[inline(always)]
    pub fn stop(self) -> &'a mut crate::W<REG> {
        self.variant(Can0Hold::Stop)
    }
}
#[doc = "Field `CAN1_HOLD` reader - CAN1 hold register"]
pub use Can0HoldR as Can1HoldR;
#[doc = "Field `CAN1_HOLD` writer - CAN1 hold register"]
pub use Can0HoldW as Can1HoldW;
impl R {
    #[doc = "Bit 0 - TIMER 1 hold register"]
    #[inline(always)]
    pub fn timer1_hold(&self) -> Timer1HoldR {
        Timer1HoldR::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - TIMER 2 hold register"]
    #[inline(always)]
    pub fn timer2_hold(&self) -> Timer2HoldR {
        Timer2HoldR::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - TIMER 3 hold register"]
    #[inline(always)]
    pub fn timer3_hold(&self) -> Timer3HoldR {
        Timer3HoldR::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - TIMER 4 hold register"]
    #[inline(always)]
    pub fn timer4_hold(&self) -> Timer4HoldR {
        Timer4HoldR::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - TIMER 5 hold register"]
    #[inline(always)]
    pub fn timer5_hold(&self) -> Timer5HoldR {
        Timer5HoldR::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - TIMER 6 hold register"]
    #[inline(always)]
    pub fn timer6_hold(&self) -> Timer6HoldR {
        Timer6HoldR::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - TIMER 11 hold register"]
    #[inline(always)]
    pub fn timer11_hold(&self) -> Timer11HoldR {
        Timer11HoldR::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - TIMER 12 hold register"]
    #[inline(always)]
    pub fn timer12_hold(&self) -> Timer12HoldR {
        Timer12HoldR::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 8 - TIMER 13 hold register"]
    #[inline(always)]
    pub fn timer13_hold(&self) -> Timer13HoldR {
        Timer13HoldR::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 10 - RTC hold register"]
    #[inline(always)]
    pub fn rtc_hold(&self) -> RtcHoldR {
        RtcHoldR::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 11 - WWDGT hold register"]
    #[inline(always)]
    pub fn wwdgt_hold(&self) -> WwdgtHoldR {
        WwdgtHoldR::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - FWDGT hold register"]
    #[inline(always)]
    pub fn fwdgt_hold(&self) -> FwdgtHoldR {
        FwdgtHoldR::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 21 - I2C0 hold register"]
    #[inline(always)]
    pub fn i2c0_hold(&self) -> I2c0HoldR {
        I2c0HoldR::new(((self.bits >> 21) & 1) != 0)
    }
    #[doc = "Bit 22 - I2C1 hold register"]
    #[inline(always)]
    pub fn i2c1_hold(&self) -> I2c1HoldR {
        I2c1HoldR::new(((self.bits >> 22) & 1) != 0)
    }
    #[doc = "Bit 23 - I2C2 hold register"]
    #[inline(always)]
    pub fn i2c2_hold(&self) -> I2c2HoldR {
        I2c2HoldR::new(((self.bits >> 23) & 1) != 0)
    }
    #[doc = "Bit 25 - CAN0 hold register"]
    #[inline(always)]
    pub fn can0_hold(&self) -> Can0HoldR {
        Can0HoldR::new(((self.bits >> 25) & 1) != 0)
    }
    #[doc = "Bit 26 - CAN1 hold register"]
    #[inline(always)]
    pub fn can1_hold(&self) -> Can1HoldR {
        Can1HoldR::new(((self.bits >> 26) & 1) != 0)
    }
}
impl W {
    #[doc = "Bit 0 - TIMER 1 hold register"]
    #[inline(always)]
    pub fn timer1_hold(&mut self) -> Timer1HoldW<Ctl1Spec> {
        Timer1HoldW::new(self, 0)
    }
    #[doc = "Bit 1 - TIMER 2 hold register"]
    #[inline(always)]
    pub fn timer2_hold(&mut self) -> Timer2HoldW<Ctl1Spec> {
        Timer2HoldW::new(self, 1)
    }
    #[doc = "Bit 2 - TIMER 3 hold register"]
    #[inline(always)]
    pub fn timer3_hold(&mut self) -> Timer3HoldW<Ctl1Spec> {
        Timer3HoldW::new(self, 2)
    }
    #[doc = "Bit 3 - TIMER 4 hold register"]
    #[inline(always)]
    pub fn timer4_hold(&mut self) -> Timer4HoldW<Ctl1Spec> {
        Timer4HoldW::new(self, 3)
    }
    #[doc = "Bit 4 - TIMER 5 hold register"]
    #[inline(always)]
    pub fn timer5_hold(&mut self) -> Timer5HoldW<Ctl1Spec> {
        Timer5HoldW::new(self, 4)
    }
    #[doc = "Bit 5 - TIMER 6 hold register"]
    #[inline(always)]
    pub fn timer6_hold(&mut self) -> Timer6HoldW<Ctl1Spec> {
        Timer6HoldW::new(self, 5)
    }
    #[doc = "Bit 6 - TIMER 11 hold register"]
    #[inline(always)]
    pub fn timer11_hold(&mut self) -> Timer11HoldW<Ctl1Spec> {
        Timer11HoldW::new(self, 6)
    }
    #[doc = "Bit 7 - TIMER 12 hold register"]
    #[inline(always)]
    pub fn timer12_hold(&mut self) -> Timer12HoldW<Ctl1Spec> {
        Timer12HoldW::new(self, 7)
    }
    #[doc = "Bit 8 - TIMER 13 hold register"]
    #[inline(always)]
    pub fn timer13_hold(&mut self) -> Timer13HoldW<Ctl1Spec> {
        Timer13HoldW::new(self, 8)
    }
    #[doc = "Bit 10 - RTC hold register"]
    #[inline(always)]
    pub fn rtc_hold(&mut self) -> RtcHoldW<Ctl1Spec> {
        RtcHoldW::new(self, 10)
    }
    #[doc = "Bit 11 - WWDGT hold register"]
    #[inline(always)]
    pub fn wwdgt_hold(&mut self) -> WwdgtHoldW<Ctl1Spec> {
        WwdgtHoldW::new(self, 11)
    }
    #[doc = "Bit 12 - FWDGT hold register"]
    #[inline(always)]
    pub fn fwdgt_hold(&mut self) -> FwdgtHoldW<Ctl1Spec> {
        FwdgtHoldW::new(self, 12)
    }
    #[doc = "Bit 21 - I2C0 hold register"]
    #[inline(always)]
    pub fn i2c0_hold(&mut self) -> I2c0HoldW<Ctl1Spec> {
        I2c0HoldW::new(self, 21)
    }
    #[doc = "Bit 22 - I2C1 hold register"]
    #[inline(always)]
    pub fn i2c1_hold(&mut self) -> I2c1HoldW<Ctl1Spec> {
        I2c1HoldW::new(self, 22)
    }
    #[doc = "Bit 23 - I2C2 hold register"]
    #[inline(always)]
    pub fn i2c2_hold(&mut self) -> I2c2HoldW<Ctl1Spec> {
        I2c2HoldW::new(self, 23)
    }
    #[doc = "Bit 25 - CAN0 hold register"]
    #[inline(always)]
    pub fn can0_hold(&mut self) -> Can0HoldW<Ctl1Spec> {
        Can0HoldW::new(self, 25)
    }
    #[doc = "Bit 26 - CAN1 hold register"]
    #[inline(always)]
    pub fn can1_hold(&mut self) -> Can1HoldW<Ctl1Spec> {
        Can1HoldW::new(self, 26)
    }
}
#[doc = "Control register 1\n\nYou can [`read`](crate::Reg::read) this register and get [`ctl1::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ctl1::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct Ctl1Spec;
impl crate::RegisterSpec for Ctl1Spec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`ctl1::R`](R) reader structure"]
impl crate::Readable for Ctl1Spec {}
#[doc = "`write(|w| ..)` method takes [`ctl1::W`](W) writer structure"]
impl crate::Writable for Ctl1Spec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets CTL1 to value 0"]
impl crate::Resettable for Ctl1Spec {}