atsamd51n 0.14.2

Peripheral access API for ATSAMD51N microcontrollers (generated using svd2rust)
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
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
#[doc = "Register `CA0R` reader"]
pub type R = crate::R<Ca0rSpec>;
#[doc = "Timeout Clock Frequency\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(u8)]
pub enum Teoclkfselect {
    #[doc = "0: Get information via another method"]
    Other = 0,
}
impl From<Teoclkfselect> for u8 {
    #[inline(always)]
    fn from(variant: Teoclkfselect) -> Self {
        variant as _
    }
}
impl crate::FieldSpec for Teoclkfselect {
    type Ux = u8;
}
impl crate::IsEnum for Teoclkfselect {}
#[doc = "Field `TEOCLKF` reader - Timeout Clock Frequency"]
pub type TeoclkfR = crate::FieldReader<Teoclkfselect>;
impl TeoclkfR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Option<Teoclkfselect> {
        match self.bits {
            0 => Some(Teoclkfselect::Other),
            _ => None,
        }
    }
    #[doc = "Get information via another method"]
    #[inline(always)]
    pub fn is_other(&self) -> bool {
        *self == Teoclkfselect::Other
    }
}
#[doc = "Timeout Clock Unit\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Teoclkuselect {
    #[doc = "0: KHz"]
    Khz = 0,
    #[doc = "1: MHz"]
    Mhz = 1,
}
impl From<Teoclkuselect> for bool {
    #[inline(always)]
    fn from(variant: Teoclkuselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `TEOCLKU` reader - Timeout Clock Unit"]
pub type TeoclkuR = crate::BitReader<Teoclkuselect>;
impl TeoclkuR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Teoclkuselect {
        match self.bits {
            false => Teoclkuselect::Khz,
            true => Teoclkuselect::Mhz,
        }
    }
    #[doc = "KHz"]
    #[inline(always)]
    pub fn is_khz(&self) -> bool {
        *self == Teoclkuselect::Khz
    }
    #[doc = "MHz"]
    #[inline(always)]
    pub fn is_mhz(&self) -> bool {
        *self == Teoclkuselect::Mhz
    }
}
#[doc = "Base Clock Frequency\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(u8)]
pub enum Baseclkfselect {
    #[doc = "0: Get information via another method"]
    Other = 0,
}
impl From<Baseclkfselect> for u8 {
    #[inline(always)]
    fn from(variant: Baseclkfselect) -> Self {
        variant as _
    }
}
impl crate::FieldSpec for Baseclkfselect {
    type Ux = u8;
}
impl crate::IsEnum for Baseclkfselect {}
#[doc = "Field `BASECLKF` reader - Base Clock Frequency"]
pub type BaseclkfR = crate::FieldReader<Baseclkfselect>;
impl BaseclkfR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Option<Baseclkfselect> {
        match self.bits {
            0 => Some(Baseclkfselect::Other),
            _ => None,
        }
    }
    #[doc = "Get information via another method"]
    #[inline(always)]
    pub fn is_other(&self) -> bool {
        *self == Baseclkfselect::Other
    }
}
#[doc = "Max Block Length\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(u8)]
pub enum Maxblklselect {
    #[doc = "0: 512 bytes"]
    _512 = 0,
}
impl From<Maxblklselect> for u8 {
    #[inline(always)]
    fn from(variant: Maxblklselect) -> Self {
        variant as _
    }
}
impl crate::FieldSpec for Maxblklselect {
    type Ux = u8;
}
impl crate::IsEnum for Maxblklselect {}
#[doc = "Field `MAXBLKL` reader - Max Block Length"]
pub type MaxblklR = crate::FieldReader<Maxblklselect>;
impl MaxblklR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Option<Maxblklselect> {
        match self.bits {
            0 => Some(Maxblklselect::_512),
            _ => None,
        }
    }
    #[doc = "512 bytes"]
    #[inline(always)]
    pub fn is_512(&self) -> bool {
        *self == Maxblklselect::_512
    }
}
#[doc = "8-bit Support for Embedded Device\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Ed8supselect {
    #[doc = "0: 8-bit Bus Width not Supported"]
    No = 0,
    #[doc = "1: 8-bit Bus Width Supported"]
    Yes = 1,
}
impl From<Ed8supselect> for bool {
    #[inline(always)]
    fn from(variant: Ed8supselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `ED8SUP` reader - 8-bit Support for Embedded Device"]
pub type Ed8supR = crate::BitReader<Ed8supselect>;
impl Ed8supR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Ed8supselect {
        match self.bits {
            false => Ed8supselect::No,
            true => Ed8supselect::Yes,
        }
    }
    #[doc = "8-bit Bus Width not Supported"]
    #[inline(always)]
    pub fn is_no(&self) -> bool {
        *self == Ed8supselect::No
    }
    #[doc = "8-bit Bus Width Supported"]
    #[inline(always)]
    pub fn is_yes(&self) -> bool {
        *self == Ed8supselect::Yes
    }
}
#[doc = "ADMA2 Support\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Adma2supselect {
    #[doc = "0: ADMA2 not Supported"]
    No = 0,
    #[doc = "1: ADMA2 Supported"]
    Yes = 1,
}
impl From<Adma2supselect> for bool {
    #[inline(always)]
    fn from(variant: Adma2supselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `ADMA2SUP` reader - ADMA2 Support"]
pub type Adma2supR = crate::BitReader<Adma2supselect>;
impl Adma2supR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Adma2supselect {
        match self.bits {
            false => Adma2supselect::No,
            true => Adma2supselect::Yes,
        }
    }
    #[doc = "ADMA2 not Supported"]
    #[inline(always)]
    pub fn is_no(&self) -> bool {
        *self == Adma2supselect::No
    }
    #[doc = "ADMA2 Supported"]
    #[inline(always)]
    pub fn is_yes(&self) -> bool {
        *self == Adma2supselect::Yes
    }
}
#[doc = "High Speed Support\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Hssupselect {
    #[doc = "0: High Speed not Supported"]
    No = 0,
    #[doc = "1: High Speed Supported"]
    Yes = 1,
}
impl From<Hssupselect> for bool {
    #[inline(always)]
    fn from(variant: Hssupselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `HSSUP` reader - High Speed Support"]
pub type HssupR = crate::BitReader<Hssupselect>;
impl HssupR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Hssupselect {
        match self.bits {
            false => Hssupselect::No,
            true => Hssupselect::Yes,
        }
    }
    #[doc = "High Speed not Supported"]
    #[inline(always)]
    pub fn is_no(&self) -> bool {
        *self == Hssupselect::No
    }
    #[doc = "High Speed Supported"]
    #[inline(always)]
    pub fn is_yes(&self) -> bool {
        *self == Hssupselect::Yes
    }
}
#[doc = "SDMA Support\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Sdmasupselect {
    #[doc = "0: SDMA not Supported"]
    No = 0,
    #[doc = "1: SDMA Supported"]
    Yes = 1,
}
impl From<Sdmasupselect> for bool {
    #[inline(always)]
    fn from(variant: Sdmasupselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `SDMASUP` reader - SDMA Support"]
pub type SdmasupR = crate::BitReader<Sdmasupselect>;
impl SdmasupR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Sdmasupselect {
        match self.bits {
            false => Sdmasupselect::No,
            true => Sdmasupselect::Yes,
        }
    }
    #[doc = "SDMA not Supported"]
    #[inline(always)]
    pub fn is_no(&self) -> bool {
        *self == Sdmasupselect::No
    }
    #[doc = "SDMA Supported"]
    #[inline(always)]
    pub fn is_yes(&self) -> bool {
        *self == Sdmasupselect::Yes
    }
}
#[doc = "Suspend/Resume Support\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Srsupselect {
    #[doc = "0: Suspend/Resume not Supported"]
    No = 0,
    #[doc = "1: Suspend/Resume Supported"]
    Yes = 1,
}
impl From<Srsupselect> for bool {
    #[inline(always)]
    fn from(variant: Srsupselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `SRSUP` reader - Suspend/Resume Support"]
pub type SrsupR = crate::BitReader<Srsupselect>;
impl SrsupR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Srsupselect {
        match self.bits {
            false => Srsupselect::No,
            true => Srsupselect::Yes,
        }
    }
    #[doc = "Suspend/Resume not Supported"]
    #[inline(always)]
    pub fn is_no(&self) -> bool {
        *self == Srsupselect::No
    }
    #[doc = "Suspend/Resume Supported"]
    #[inline(always)]
    pub fn is_yes(&self) -> bool {
        *self == Srsupselect::Yes
    }
}
#[doc = "Voltage Support 3.3V\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum V33vsupselect {
    #[doc = "0: 3.3V Not Supported"]
    No = 0,
    #[doc = "1: 3.3V Supported"]
    Yes = 1,
}
impl From<V33vsupselect> for bool {
    #[inline(always)]
    fn from(variant: V33vsupselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `V33VSUP` reader - Voltage Support 3.3V"]
pub type V33vsupR = crate::BitReader<V33vsupselect>;
impl V33vsupR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> V33vsupselect {
        match self.bits {
            false => V33vsupselect::No,
            true => V33vsupselect::Yes,
        }
    }
    #[doc = "3.3V Not Supported"]
    #[inline(always)]
    pub fn is_no(&self) -> bool {
        *self == V33vsupselect::No
    }
    #[doc = "3.3V Supported"]
    #[inline(always)]
    pub fn is_yes(&self) -> bool {
        *self == V33vsupselect::Yes
    }
}
#[doc = "Voltage Support 3.0V\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum V30vsupselect {
    #[doc = "0: 3.0V Not Supported"]
    No = 0,
    #[doc = "1: 3.0V Supported"]
    Yes = 1,
}
impl From<V30vsupselect> for bool {
    #[inline(always)]
    fn from(variant: V30vsupselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `V30VSUP` reader - Voltage Support 3.0V"]
pub type V30vsupR = crate::BitReader<V30vsupselect>;
impl V30vsupR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> V30vsupselect {
        match self.bits {
            false => V30vsupselect::No,
            true => V30vsupselect::Yes,
        }
    }
    #[doc = "3.0V Not Supported"]
    #[inline(always)]
    pub fn is_no(&self) -> bool {
        *self == V30vsupselect::No
    }
    #[doc = "3.0V Supported"]
    #[inline(always)]
    pub fn is_yes(&self) -> bool {
        *self == V30vsupselect::Yes
    }
}
#[doc = "Voltage Support 1.8V\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum V18vsupselect {
    #[doc = "0: 1.8V Not Supported"]
    No = 0,
    #[doc = "1: 1.8V Supported"]
    Yes = 1,
}
impl From<V18vsupselect> for bool {
    #[inline(always)]
    fn from(variant: V18vsupselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `V18VSUP` reader - Voltage Support 1.8V"]
pub type V18vsupR = crate::BitReader<V18vsupselect>;
impl V18vsupR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> V18vsupselect {
        match self.bits {
            false => V18vsupselect::No,
            true => V18vsupselect::Yes,
        }
    }
    #[doc = "1.8V Not Supported"]
    #[inline(always)]
    pub fn is_no(&self) -> bool {
        *self == V18vsupselect::No
    }
    #[doc = "1.8V Supported"]
    #[inline(always)]
    pub fn is_yes(&self) -> bool {
        *self == V18vsupselect::Yes
    }
}
#[doc = "64-Bit System Bus Support\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Sb64supselect {
    #[doc = "0: 32-bit Address Descriptors and System Bus"]
    No = 0,
    #[doc = "1: 64-bit Address Descriptors and System Bus"]
    Yes = 1,
}
impl From<Sb64supselect> for bool {
    #[inline(always)]
    fn from(variant: Sb64supselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `SB64SUP` reader - 64-Bit System Bus Support"]
pub type Sb64supR = crate::BitReader<Sb64supselect>;
impl Sb64supR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Sb64supselect {
        match self.bits {
            false => Sb64supselect::No,
            true => Sb64supselect::Yes,
        }
    }
    #[doc = "32-bit Address Descriptors and System Bus"]
    #[inline(always)]
    pub fn is_no(&self) -> bool {
        *self == Sb64supselect::No
    }
    #[doc = "64-bit Address Descriptors and System Bus"]
    #[inline(always)]
    pub fn is_yes(&self) -> bool {
        *self == Sb64supselect::Yes
    }
}
#[doc = "Asynchronous Interrupt Support\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Asintsupselect {
    #[doc = "0: Asynchronous Interrupt not Supported"]
    No = 0,
    #[doc = "1: Asynchronous Interrupt supported"]
    Yes = 1,
}
impl From<Asintsupselect> for bool {
    #[inline(always)]
    fn from(variant: Asintsupselect) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `ASINTSUP` reader - Asynchronous Interrupt Support"]
pub type AsintsupR = crate::BitReader<Asintsupselect>;
impl AsintsupR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Asintsupselect {
        match self.bits {
            false => Asintsupselect::No,
            true => Asintsupselect::Yes,
        }
    }
    #[doc = "Asynchronous Interrupt not Supported"]
    #[inline(always)]
    pub fn is_no(&self) -> bool {
        *self == Asintsupselect::No
    }
    #[doc = "Asynchronous Interrupt supported"]
    #[inline(always)]
    pub fn is_yes(&self) -> bool {
        *self == Asintsupselect::Yes
    }
}
#[doc = "Slot Type\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(u8)]
pub enum Sltypeselect {
    #[doc = "0: Removable Card Slot"]
    Removable = 0,
    #[doc = "1: Embedded Slot for One Device"]
    Embedded = 1,
}
impl From<Sltypeselect> for u8 {
    #[inline(always)]
    fn from(variant: Sltypeselect) -> Self {
        variant as _
    }
}
impl crate::FieldSpec for Sltypeselect {
    type Ux = u8;
}
impl crate::IsEnum for Sltypeselect {}
#[doc = "Field `SLTYPE` reader - Slot Type"]
pub type SltypeR = crate::FieldReader<Sltypeselect>;
impl SltypeR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Option<Sltypeselect> {
        match self.bits {
            0 => Some(Sltypeselect::Removable),
            1 => Some(Sltypeselect::Embedded),
            _ => None,
        }
    }
    #[doc = "Removable Card Slot"]
    #[inline(always)]
    pub fn is_removable(&self) -> bool {
        *self == Sltypeselect::Removable
    }
    #[doc = "Embedded Slot for One Device"]
    #[inline(always)]
    pub fn is_embedded(&self) -> bool {
        *self == Sltypeselect::Embedded
    }
}
impl R {
    #[doc = "Bits 0:5 - Timeout Clock Frequency"]
    #[inline(always)]
    pub fn teoclkf(&self) -> TeoclkfR {
        TeoclkfR::new((self.bits & 0x3f) as u8)
    }
    #[doc = "Bit 7 - Timeout Clock Unit"]
    #[inline(always)]
    pub fn teoclku(&self) -> TeoclkuR {
        TeoclkuR::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bits 8:15 - Base Clock Frequency"]
    #[inline(always)]
    pub fn baseclkf(&self) -> BaseclkfR {
        BaseclkfR::new(((self.bits >> 8) & 0xff) as u8)
    }
    #[doc = "Bits 16:17 - Max Block Length"]
    #[inline(always)]
    pub fn maxblkl(&self) -> MaxblklR {
        MaxblklR::new(((self.bits >> 16) & 3) as u8)
    }
    #[doc = "Bit 18 - 8-bit Support for Embedded Device"]
    #[inline(always)]
    pub fn ed8sup(&self) -> Ed8supR {
        Ed8supR::new(((self.bits >> 18) & 1) != 0)
    }
    #[doc = "Bit 19 - ADMA2 Support"]
    #[inline(always)]
    pub fn adma2sup(&self) -> Adma2supR {
        Adma2supR::new(((self.bits >> 19) & 1) != 0)
    }
    #[doc = "Bit 21 - High Speed Support"]
    #[inline(always)]
    pub fn hssup(&self) -> HssupR {
        HssupR::new(((self.bits >> 21) & 1) != 0)
    }
    #[doc = "Bit 22 - SDMA Support"]
    #[inline(always)]
    pub fn sdmasup(&self) -> SdmasupR {
        SdmasupR::new(((self.bits >> 22) & 1) != 0)
    }
    #[doc = "Bit 23 - Suspend/Resume Support"]
    #[inline(always)]
    pub fn srsup(&self) -> SrsupR {
        SrsupR::new(((self.bits >> 23) & 1) != 0)
    }
    #[doc = "Bit 24 - Voltage Support 3.3V"]
    #[inline(always)]
    pub fn v33vsup(&self) -> V33vsupR {
        V33vsupR::new(((self.bits >> 24) & 1) != 0)
    }
    #[doc = "Bit 25 - Voltage Support 3.0V"]
    #[inline(always)]
    pub fn v30vsup(&self) -> V30vsupR {
        V30vsupR::new(((self.bits >> 25) & 1) != 0)
    }
    #[doc = "Bit 26 - Voltage Support 1.8V"]
    #[inline(always)]
    pub fn v18vsup(&self) -> V18vsupR {
        V18vsupR::new(((self.bits >> 26) & 1) != 0)
    }
    #[doc = "Bit 28 - 64-Bit System Bus Support"]
    #[inline(always)]
    pub fn sb64sup(&self) -> Sb64supR {
        Sb64supR::new(((self.bits >> 28) & 1) != 0)
    }
    #[doc = "Bit 29 - Asynchronous Interrupt Support"]
    #[inline(always)]
    pub fn asintsup(&self) -> AsintsupR {
        AsintsupR::new(((self.bits >> 29) & 1) != 0)
    }
    #[doc = "Bits 30:31 - Slot Type"]
    #[inline(always)]
    pub fn sltype(&self) -> SltypeR {
        SltypeR::new(((self.bits >> 30) & 3) as u8)
    }
}
#[doc = "Capabilities 0\n\nYou can [`read`](crate::Reg::read) this register and get [`ca0r::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct Ca0rSpec;
impl crate::RegisterSpec for Ca0rSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`ca0r::R`](R) reader structure"]
impl crate::Readable for Ca0rSpec {}
#[doc = "`reset()` method sets CA0R to value 0x27e8_0080"]
impl crate::Resettable for Ca0rSpec {
    const RESET_VALUE: u32 = 0x27e8_0080;
}