cc13x0_pac 0.10.3

Peripheral Access Crate for TI's cc13x0 microcontroller
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
#[doc = "Register `CTL` reader"]
pub type R = crate::R<CtlSpec>;
#[doc = "Register `CTL` writer"]
pub type W = crate::W<CtlSpec>;
#[doc = "Field `EN` reader - 0:0\\]
Enable RTC counter 0: Halted (frozen) 1: Running"]
pub type EnR = crate::BitReader;
#[doc = "Field `EN` writer - 0:0\\]
Enable RTC counter 0: Halted (frozen) 1: Running"]
pub type EnW<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RTC_UPD_EN` reader - 1:1\\]
RTC_UPD is a 16 KHz signal used to sync up the radio timer. The 16 Khz is SCLK_LF divided by 2 0: RTC_UPD signal is forced to 0 1: RTC_UPD signal is toggling @16 kHz"]
pub type RtcUpdEnR = crate::BitReader;
#[doc = "Field `RTC_UPD_EN` writer - 1:1\\]
RTC_UPD is a 16 KHz signal used to sync up the radio timer. The 16 Khz is SCLK_LF divided by 2 0: RTC_UPD signal is forced to 0 1: RTC_UPD signal is toggling @16 kHz"]
pub type RtcUpdEnW<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RTC_4KHZ_EN` reader - 2:2\\]
RTC_4KHZ is a 4 KHz reference output, tapped from SUBSEC.VALUE bit 19 which is used by AUX timer. 0: RTC_4KHZ signal is forced to 0 1: RTC_4KHZ is enabled ( provied that RTC is enabled EN)"]
pub type Rtc4khzEnR = crate::BitReader;
#[doc = "Field `RTC_4KHZ_EN` writer - 2:2\\]
RTC_4KHZ is a 4 KHz reference output, tapped from SUBSEC.VALUE bit 19 which is used by AUX timer. 0: RTC_4KHZ signal is forced to 0 1: RTC_4KHZ is enabled ( provied that RTC is enabled EN)"]
pub type Rtc4khzEnW<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RESERVED3` reader - 6:3\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
pub type Reserved3R = crate::FieldReader;
#[doc = "Field `RESERVED3` writer - 6:3\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
pub type Reserved3W<'a, REG> = crate::FieldWriter<'a, REG, 4>;
#[doc = "Field `RESET` reader - 7:7\\]
RTC Counter reset. Writing 1 to this bit will reset the RTC counter. This bit is cleared when reset takes effect"]
pub type ResetR = crate::BitReader;
#[doc = "Field `RESET` writer - 7:7\\]
RTC Counter reset. Writing 1 to this bit will reset the RTC counter. This bit is cleared when reset takes effect"]
pub type ResetW<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "11:8\\]
Number of SCLK_LF clock cycles waited before generating delayed events. (Common setting for all RTC cannels) the delayed event is delayed\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(u8)]
pub enum EvDelay {
    #[doc = "13: Delay by 144 clock cycles"]
    D144 = 13,
    #[doc = "12: Delay by 128 clock cycles"]
    D128 = 12,
    #[doc = "11: Delay by 112 clock cycles"]
    D112 = 11,
    #[doc = "10: Delay by 96 clock cycles"]
    D96 = 10,
    #[doc = "9: Delay by 80 clock cycles"]
    D80 = 9,
    #[doc = "8: Delay by 64 clock cycles"]
    D64 = 8,
    #[doc = "7: Delay by 48 clock cycles"]
    D48 = 7,
    #[doc = "6: Delay by 32 clock cycles"]
    D32 = 6,
    #[doc = "5: Delay by 16 clock cycles"]
    D16 = 5,
    #[doc = "4: Delay by 8 clock cycles"]
    D8 = 4,
    #[doc = "3: Delay by 4 clock cycles"]
    D4 = 3,
    #[doc = "2: Delay by 2 clock cycles"]
    D2 = 2,
    #[doc = "1: Delay by 1 clock cycles"]
    D1 = 1,
    #[doc = "0: No delay on delayed event"]
    D0 = 0,
}
impl From<EvDelay> for u8 {
    #[inline(always)]
    fn from(variant: EvDelay) -> Self {
        variant as _
    }
}
impl crate::FieldSpec for EvDelay {
    type Ux = u8;
}
impl crate::IsEnum for EvDelay {}
#[doc = "Field `EV_DELAY` reader - 11:8\\]
Number of SCLK_LF clock cycles waited before generating delayed events. (Common setting for all RTC cannels) the delayed event is delayed"]
pub type EvDelayR = crate::FieldReader<EvDelay>;
impl EvDelayR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Option<EvDelay> {
        match self.bits {
            13 => Some(EvDelay::D144),
            12 => Some(EvDelay::D128),
            11 => Some(EvDelay::D112),
            10 => Some(EvDelay::D96),
            9 => Some(EvDelay::D80),
            8 => Some(EvDelay::D64),
            7 => Some(EvDelay::D48),
            6 => Some(EvDelay::D32),
            5 => Some(EvDelay::D16),
            4 => Some(EvDelay::D8),
            3 => Some(EvDelay::D4),
            2 => Some(EvDelay::D2),
            1 => Some(EvDelay::D1),
            0 => Some(EvDelay::D0),
            _ => None,
        }
    }
    #[doc = "Delay by 144 clock cycles"]
    #[inline(always)]
    pub fn is_d144(&self) -> bool {
        *self == EvDelay::D144
    }
    #[doc = "Delay by 128 clock cycles"]
    #[inline(always)]
    pub fn is_d128(&self) -> bool {
        *self == EvDelay::D128
    }
    #[doc = "Delay by 112 clock cycles"]
    #[inline(always)]
    pub fn is_d112(&self) -> bool {
        *self == EvDelay::D112
    }
    #[doc = "Delay by 96 clock cycles"]
    #[inline(always)]
    pub fn is_d96(&self) -> bool {
        *self == EvDelay::D96
    }
    #[doc = "Delay by 80 clock cycles"]
    #[inline(always)]
    pub fn is_d80(&self) -> bool {
        *self == EvDelay::D80
    }
    #[doc = "Delay by 64 clock cycles"]
    #[inline(always)]
    pub fn is_d64(&self) -> bool {
        *self == EvDelay::D64
    }
    #[doc = "Delay by 48 clock cycles"]
    #[inline(always)]
    pub fn is_d48(&self) -> bool {
        *self == EvDelay::D48
    }
    #[doc = "Delay by 32 clock cycles"]
    #[inline(always)]
    pub fn is_d32(&self) -> bool {
        *self == EvDelay::D32
    }
    #[doc = "Delay by 16 clock cycles"]
    #[inline(always)]
    pub fn is_d16(&self) -> bool {
        *self == EvDelay::D16
    }
    #[doc = "Delay by 8 clock cycles"]
    #[inline(always)]
    pub fn is_d8(&self) -> bool {
        *self == EvDelay::D8
    }
    #[doc = "Delay by 4 clock cycles"]
    #[inline(always)]
    pub fn is_d4(&self) -> bool {
        *self == EvDelay::D4
    }
    #[doc = "Delay by 2 clock cycles"]
    #[inline(always)]
    pub fn is_d2(&self) -> bool {
        *self == EvDelay::D2
    }
    #[doc = "Delay by 1 clock cycles"]
    #[inline(always)]
    pub fn is_d1(&self) -> bool {
        *self == EvDelay::D1
    }
    #[doc = "No delay on delayed event"]
    #[inline(always)]
    pub fn is_d0(&self) -> bool {
        *self == EvDelay::D0
    }
}
#[doc = "Field `EV_DELAY` writer - 11:8\\]
Number of SCLK_LF clock cycles waited before generating delayed events. (Common setting for all RTC cannels) the delayed event is delayed"]
pub type EvDelayW<'a, REG> = crate::FieldWriter<'a, REG, 4, EvDelay>;
impl<'a, REG> EvDelayW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
    REG::Ux: From<u8>,
{
    #[doc = "Delay by 144 clock cycles"]
    #[inline(always)]
    pub fn d144(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D144)
    }
    #[doc = "Delay by 128 clock cycles"]
    #[inline(always)]
    pub fn d128(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D128)
    }
    #[doc = "Delay by 112 clock cycles"]
    #[inline(always)]
    pub fn d112(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D112)
    }
    #[doc = "Delay by 96 clock cycles"]
    #[inline(always)]
    pub fn d96(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D96)
    }
    #[doc = "Delay by 80 clock cycles"]
    #[inline(always)]
    pub fn d80(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D80)
    }
    #[doc = "Delay by 64 clock cycles"]
    #[inline(always)]
    pub fn d64(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D64)
    }
    #[doc = "Delay by 48 clock cycles"]
    #[inline(always)]
    pub fn d48(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D48)
    }
    #[doc = "Delay by 32 clock cycles"]
    #[inline(always)]
    pub fn d32(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D32)
    }
    #[doc = "Delay by 16 clock cycles"]
    #[inline(always)]
    pub fn d16(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D16)
    }
    #[doc = "Delay by 8 clock cycles"]
    #[inline(always)]
    pub fn d8(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D8)
    }
    #[doc = "Delay by 4 clock cycles"]
    #[inline(always)]
    pub fn d4(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D4)
    }
    #[doc = "Delay by 2 clock cycles"]
    #[inline(always)]
    pub fn d2(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D2)
    }
    #[doc = "Delay by 1 clock cycles"]
    #[inline(always)]
    pub fn d1(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D1)
    }
    #[doc = "No delay on delayed event"]
    #[inline(always)]
    pub fn d0(self) -> &'a mut crate::W<REG> {
        self.variant(EvDelay::D0)
    }
}
#[doc = "Field `RESERVED12` reader - 15:12\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
pub type Reserved12R = crate::FieldReader;
#[doc = "Field `RESERVED12` writer - 15:12\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
pub type Reserved12W<'a, REG> = crate::FieldWriter<'a, REG, 4>;
#[doc = "18:16\\]
Eventmask selecting which delayed events that form the combined event.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(u8)]
pub enum CombEvMask {
    #[doc = "4: Use Channel 2 delayed event in combined event"]
    Ch2 = 4,
    #[doc = "2: Use Channel 1 delayed event in combined event"]
    Ch1 = 2,
    #[doc = "1: Use Channel 0 delayed event in combined event"]
    Ch0 = 1,
    #[doc = "0: No event is selected for combined event."]
    None = 0,
}
impl From<CombEvMask> for u8 {
    #[inline(always)]
    fn from(variant: CombEvMask) -> Self {
        variant as _
    }
}
impl crate::FieldSpec for CombEvMask {
    type Ux = u8;
}
impl crate::IsEnum for CombEvMask {}
#[doc = "Field `COMB_EV_MASK` reader - 18:16\\]
Eventmask selecting which delayed events that form the combined event."]
pub type CombEvMaskR = crate::FieldReader<CombEvMask>;
impl CombEvMaskR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Option<CombEvMask> {
        match self.bits {
            4 => Some(CombEvMask::Ch2),
            2 => Some(CombEvMask::Ch1),
            1 => Some(CombEvMask::Ch0),
            0 => Some(CombEvMask::None),
            _ => None,
        }
    }
    #[doc = "Use Channel 2 delayed event in combined event"]
    #[inline(always)]
    pub fn is_ch2(&self) -> bool {
        *self == CombEvMask::Ch2
    }
    #[doc = "Use Channel 1 delayed event in combined event"]
    #[inline(always)]
    pub fn is_ch1(&self) -> bool {
        *self == CombEvMask::Ch1
    }
    #[doc = "Use Channel 0 delayed event in combined event"]
    #[inline(always)]
    pub fn is_ch0(&self) -> bool {
        *self == CombEvMask::Ch0
    }
    #[doc = "No event is selected for combined event."]
    #[inline(always)]
    pub fn is_none(&self) -> bool {
        *self == CombEvMask::None
    }
}
#[doc = "Field `COMB_EV_MASK` writer - 18:16\\]
Eventmask selecting which delayed events that form the combined event."]
pub type CombEvMaskW<'a, REG> = crate::FieldWriter<'a, REG, 3, CombEvMask>;
impl<'a, REG> CombEvMaskW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
    REG::Ux: From<u8>,
{
    #[doc = "Use Channel 2 delayed event in combined event"]
    #[inline(always)]
    pub fn ch2(self) -> &'a mut crate::W<REG> {
        self.variant(CombEvMask::Ch2)
    }
    #[doc = "Use Channel 1 delayed event in combined event"]
    #[inline(always)]
    pub fn ch1(self) -> &'a mut crate::W<REG> {
        self.variant(CombEvMask::Ch1)
    }
    #[doc = "Use Channel 0 delayed event in combined event"]
    #[inline(always)]
    pub fn ch0(self) -> &'a mut crate::W<REG> {
        self.variant(CombEvMask::Ch0)
    }
    #[doc = "No event is selected for combined event."]
    #[inline(always)]
    pub fn none(self) -> &'a mut crate::W<REG> {
        self.variant(CombEvMask::None)
    }
}
#[doc = "Field `RESERVED19` reader - 31:19\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
pub type Reserved19R = crate::FieldReader<u16>;
#[doc = "Field `RESERVED19` writer - 31:19\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
pub type Reserved19W<'a, REG> = crate::FieldWriter<'a, REG, 13, u16>;
impl R {
    #[doc = "Bit 0 - 0:0\\]
Enable RTC counter 0: Halted (frozen) 1: Running"]
    #[inline(always)]
    pub fn en(&self) -> EnR {
        EnR::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - 1:1\\]
RTC_UPD is a 16 KHz signal used to sync up the radio timer. The 16 Khz is SCLK_LF divided by 2 0: RTC_UPD signal is forced to 0 1: RTC_UPD signal is toggling @16 kHz"]
    #[inline(always)]
    pub fn rtc_upd_en(&self) -> RtcUpdEnR {
        RtcUpdEnR::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - 2:2\\]
RTC_4KHZ is a 4 KHz reference output, tapped from SUBSEC.VALUE bit 19 which is used by AUX timer. 0: RTC_4KHZ signal is forced to 0 1: RTC_4KHZ is enabled ( provied that RTC is enabled EN)"]
    #[inline(always)]
    pub fn rtc_4khz_en(&self) -> Rtc4khzEnR {
        Rtc4khzEnR::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bits 3:6 - 6:3\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
    #[inline(always)]
    pub fn reserved3(&self) -> Reserved3R {
        Reserved3R::new(((self.bits >> 3) & 0x0f) as u8)
    }
    #[doc = "Bit 7 - 7:7\\]
RTC Counter reset. Writing 1 to this bit will reset the RTC counter. This bit is cleared when reset takes effect"]
    #[inline(always)]
    pub fn reset(&self) -> ResetR {
        ResetR::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bits 8:11 - 11:8\\]
Number of SCLK_LF clock cycles waited before generating delayed events. (Common setting for all RTC cannels) the delayed event is delayed"]
    #[inline(always)]
    pub fn ev_delay(&self) -> EvDelayR {
        EvDelayR::new(((self.bits >> 8) & 0x0f) as u8)
    }
    #[doc = "Bits 12:15 - 15:12\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
    #[inline(always)]
    pub fn reserved12(&self) -> Reserved12R {
        Reserved12R::new(((self.bits >> 12) & 0x0f) as u8)
    }
    #[doc = "Bits 16:18 - 18:16\\]
Eventmask selecting which delayed events that form the combined event."]
    #[inline(always)]
    pub fn comb_ev_mask(&self) -> CombEvMaskR {
        CombEvMaskR::new(((self.bits >> 16) & 7) as u8)
    }
    #[doc = "Bits 19:31 - 31:19\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
    #[inline(always)]
    pub fn reserved19(&self) -> Reserved19R {
        Reserved19R::new(((self.bits >> 19) & 0x1fff) as u16)
    }
}
impl W {
    #[doc = "Bit 0 - 0:0\\]
Enable RTC counter 0: Halted (frozen) 1: Running"]
    #[inline(always)]
    #[must_use]
    pub fn en(&mut self) -> EnW<CtlSpec> {
        EnW::new(self, 0)
    }
    #[doc = "Bit 1 - 1:1\\]
RTC_UPD is a 16 KHz signal used to sync up the radio timer. The 16 Khz is SCLK_LF divided by 2 0: RTC_UPD signal is forced to 0 1: RTC_UPD signal is toggling @16 kHz"]
    #[inline(always)]
    #[must_use]
    pub fn rtc_upd_en(&mut self) -> RtcUpdEnW<CtlSpec> {
        RtcUpdEnW::new(self, 1)
    }
    #[doc = "Bit 2 - 2:2\\]
RTC_4KHZ is a 4 KHz reference output, tapped from SUBSEC.VALUE bit 19 which is used by AUX timer. 0: RTC_4KHZ signal is forced to 0 1: RTC_4KHZ is enabled ( provied that RTC is enabled EN)"]
    #[inline(always)]
    #[must_use]
    pub fn rtc_4khz_en(&mut self) -> Rtc4khzEnW<CtlSpec> {
        Rtc4khzEnW::new(self, 2)
    }
    #[doc = "Bits 3:6 - 6:3\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
    #[inline(always)]
    #[must_use]
    pub fn reserved3(&mut self) -> Reserved3W<CtlSpec> {
        Reserved3W::new(self, 3)
    }
    #[doc = "Bit 7 - 7:7\\]
RTC Counter reset. Writing 1 to this bit will reset the RTC counter. This bit is cleared when reset takes effect"]
    #[inline(always)]
    #[must_use]
    pub fn reset(&mut self) -> ResetW<CtlSpec> {
        ResetW::new(self, 7)
    }
    #[doc = "Bits 8:11 - 11:8\\]
Number of SCLK_LF clock cycles waited before generating delayed events. (Common setting for all RTC cannels) the delayed event is delayed"]
    #[inline(always)]
    #[must_use]
    pub fn ev_delay(&mut self) -> EvDelayW<CtlSpec> {
        EvDelayW::new(self, 8)
    }
    #[doc = "Bits 12:15 - 15:12\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
    #[inline(always)]
    #[must_use]
    pub fn reserved12(&mut self) -> Reserved12W<CtlSpec> {
        Reserved12W::new(self, 12)
    }
    #[doc = "Bits 16:18 - 18:16\\]
Eventmask selecting which delayed events that form the combined event."]
    #[inline(always)]
    #[must_use]
    pub fn comb_ev_mask(&mut self) -> CombEvMaskW<CtlSpec> {
        CombEvMaskW::new(self, 16)
    }
    #[doc = "Bits 19:31 - 31:19\\]
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior."]
    #[inline(always)]
    #[must_use]
    pub fn reserved19(&mut self) -> Reserved19W<CtlSpec> {
        Reserved19W::new(self, 19)
    }
}
#[doc = "Control This register contains various bitfields for configuration of RTC\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ctl::R`](R).  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ctl::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct CtlSpec;
impl crate::RegisterSpec for CtlSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`ctl::R`](R) reader structure"]
impl crate::Readable for CtlSpec {}
#[doc = "`write(|w| ..)` method takes [`ctl::W`](W) writer structure"]
impl crate::Writable for CtlSpec {
    type Safety = crate::Unsafe;
    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets CTL to value 0"]
impl crate::Resettable for CtlSpec {
    const RESET_VALUE: u32 = 0;
}