mcxa-pac 0.4.0

Peripheral Access Crate for MCXA256 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
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
#[doc = "Register `ERREN` reader"]
pub type R = crate::R<ErrenSpec>;
#[doc = "Register `ERREN` writer"]
pub type W = crate::W<ErrenSpec>;
#[doc = "PIDERR Interrupt Enable\n\nValue on reset: 0"]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Piderren {
    #[doc = "0: Disable"]
    DisPiderrInt = 0,
    #[doc = "1: Enable"]
    EnPiderrInt = 1,
}
impl From<Piderren> for bool {
    #[inline(always)]
    fn from(variant: Piderren) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `PIDERREN` reader - PIDERR Interrupt Enable"]
pub type PiderrenR = crate::BitReader<Piderren>;
impl PiderrenR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Piderren {
        match self.bits {
            false => Piderren::DisPiderrInt,
            true => Piderren::EnPiderrInt,
        }
    }
    #[doc = "Disable"]
    #[inline(always)]
    pub fn is_dis_piderr_int(&self) -> bool {
        *self == Piderren::DisPiderrInt
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn is_en_piderr_int(&self) -> bool {
        *self == Piderren::EnPiderrInt
    }
}
#[doc = "Field `PIDERREN` writer - PIDERR Interrupt Enable"]
pub type PiderrenW<'a, REG> = crate::BitWriter<'a, REG, Piderren>;
impl<'a, REG> PiderrenW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Disable"]
    #[inline(always)]
    pub fn dis_piderr_int(self) -> &'a mut crate::W<REG> {
        self.variant(Piderren::DisPiderrInt)
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn en_piderr_int(self) -> &'a mut crate::W<REG> {
        self.variant(Piderren::EnPiderrInt)
    }
}
#[doc = "CRC5/EOF Interrupt Enable\n\nValue on reset: 0"]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Crc5eofen {
    #[doc = "0: Disable"]
    DisCrc5Int = 0,
    #[doc = "1: Enable"]
    EnCrc5Int = 1,
}
impl From<Crc5eofen> for bool {
    #[inline(always)]
    fn from(variant: Crc5eofen) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `CRC5EOFEN` reader - CRC5/EOF Interrupt Enable"]
pub type Crc5eofenR = crate::BitReader<Crc5eofen>;
impl Crc5eofenR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Crc5eofen {
        match self.bits {
            false => Crc5eofen::DisCrc5Int,
            true => Crc5eofen::EnCrc5Int,
        }
    }
    #[doc = "Disable"]
    #[inline(always)]
    pub fn is_dis_crc5_int(&self) -> bool {
        *self == Crc5eofen::DisCrc5Int
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn is_en_crc5_int(&self) -> bool {
        *self == Crc5eofen::EnCrc5Int
    }
}
#[doc = "Field `CRC5EOFEN` writer - CRC5/EOF Interrupt Enable"]
pub type Crc5eofenW<'a, REG> = crate::BitWriter<'a, REG, Crc5eofen>;
impl<'a, REG> Crc5eofenW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Disable"]
    #[inline(always)]
    pub fn dis_crc5_int(self) -> &'a mut crate::W<REG> {
        self.variant(Crc5eofen::DisCrc5Int)
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn en_crc5_int(self) -> &'a mut crate::W<REG> {
        self.variant(Crc5eofen::EnCrc5Int)
    }
}
#[doc = "CRC16 Interrupt Enable\n\nValue on reset: 0"]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Crc16en {
    #[doc = "0: Disable"]
    DisCrc16Int = 0,
    #[doc = "1: Enable"]
    EnCrc16Int = 1,
}
impl From<Crc16en> for bool {
    #[inline(always)]
    fn from(variant: Crc16en) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `CRC16EN` reader - CRC16 Interrupt Enable"]
pub type Crc16enR = crate::BitReader<Crc16en>;
impl Crc16enR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Crc16en {
        match self.bits {
            false => Crc16en::DisCrc16Int,
            true => Crc16en::EnCrc16Int,
        }
    }
    #[doc = "Disable"]
    #[inline(always)]
    pub fn is_dis_crc16_int(&self) -> bool {
        *self == Crc16en::DisCrc16Int
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn is_en_crc16_int(&self) -> bool {
        *self == Crc16en::EnCrc16Int
    }
}
#[doc = "Field `CRC16EN` writer - CRC16 Interrupt Enable"]
pub type Crc16enW<'a, REG> = crate::BitWriter<'a, REG, Crc16en>;
impl<'a, REG> Crc16enW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Disable"]
    #[inline(always)]
    pub fn dis_crc16_int(self) -> &'a mut crate::W<REG> {
        self.variant(Crc16en::DisCrc16Int)
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn en_crc16_int(self) -> &'a mut crate::W<REG> {
        self.variant(Crc16en::EnCrc16Int)
    }
}
#[doc = "DFN8 (Data Field Not Integer Number of Bytes) Interrupt Enable\n\nValue on reset: 0"]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Dfn8en {
    #[doc = "0: Disable"]
    DisDfn8Int = 0,
    #[doc = "1: Enable"]
    EnDfn8Int = 1,
}
impl From<Dfn8en> for bool {
    #[inline(always)]
    fn from(variant: Dfn8en) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `DFN8EN` reader - DFN8 (Data Field Not Integer Number of Bytes) Interrupt Enable"]
pub type Dfn8enR = crate::BitReader<Dfn8en>;
impl Dfn8enR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Dfn8en {
        match self.bits {
            false => Dfn8en::DisDfn8Int,
            true => Dfn8en::EnDfn8Int,
        }
    }
    #[doc = "Disable"]
    #[inline(always)]
    pub fn is_dis_dfn8_int(&self) -> bool {
        *self == Dfn8en::DisDfn8Int
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn is_en_dfn8_int(&self) -> bool {
        *self == Dfn8en::EnDfn8Int
    }
}
#[doc = "Field `DFN8EN` writer - DFN8 (Data Field Not Integer Number of Bytes) Interrupt Enable"]
pub type Dfn8enW<'a, REG> = crate::BitWriter<'a, REG, Dfn8en>;
impl<'a, REG> Dfn8enW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Disable"]
    #[inline(always)]
    pub fn dis_dfn8_int(self) -> &'a mut crate::W<REG> {
        self.variant(Dfn8en::DisDfn8Int)
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn en_dfn8_int(self) -> &'a mut crate::W<REG> {
        self.variant(Dfn8en::EnDfn8Int)
    }
}
#[doc = "BTOERR (Bus Timeout Error) Interrupt Enable\n\nValue on reset: 0"]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Btoerren {
    #[doc = "0: Disable"]
    DisBtoerrInt = 0,
    #[doc = "1: Enable"]
    EnBtoerrInt = 1,
}
impl From<Btoerren> for bool {
    #[inline(always)]
    fn from(variant: Btoerren) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `BTOERREN` reader - BTOERR (Bus Timeout Error) Interrupt Enable"]
pub type BtoerrenR = crate::BitReader<Btoerren>;
impl BtoerrenR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Btoerren {
        match self.bits {
            false => Btoerren::DisBtoerrInt,
            true => Btoerren::EnBtoerrInt,
        }
    }
    #[doc = "Disable"]
    #[inline(always)]
    pub fn is_dis_btoerr_int(&self) -> bool {
        *self == Btoerren::DisBtoerrInt
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn is_en_btoerr_int(&self) -> bool {
        *self == Btoerren::EnBtoerrInt
    }
}
#[doc = "Field `BTOERREN` writer - BTOERR (Bus Timeout Error) Interrupt Enable"]
pub type BtoerrenW<'a, REG> = crate::BitWriter<'a, REG, Btoerren>;
impl<'a, REG> BtoerrenW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Disable"]
    #[inline(always)]
    pub fn dis_btoerr_int(self) -> &'a mut crate::W<REG> {
        self.variant(Btoerren::DisBtoerrInt)
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn en_btoerr_int(self) -> &'a mut crate::W<REG> {
        self.variant(Btoerren::EnBtoerrInt)
    }
}
#[doc = "DMAERR Interrupt Enable\n\nValue on reset: 0"]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Dmaerren {
    #[doc = "0: Disable"]
    DisDmaerrInt = 0,
    #[doc = "1: Enable"]
    EnDmaerrInt = 1,
}
impl From<Dmaerren> for bool {
    #[inline(always)]
    fn from(variant: Dmaerren) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `DMAERREN` reader - DMAERR Interrupt Enable"]
pub type DmaerrenR = crate::BitReader<Dmaerren>;
impl DmaerrenR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Dmaerren {
        match self.bits {
            false => Dmaerren::DisDmaerrInt,
            true => Dmaerren::EnDmaerrInt,
        }
    }
    #[doc = "Disable"]
    #[inline(always)]
    pub fn is_dis_dmaerr_int(&self) -> bool {
        *self == Dmaerren::DisDmaerrInt
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn is_en_dmaerr_int(&self) -> bool {
        *self == Dmaerren::EnDmaerrInt
    }
}
#[doc = "Field `DMAERREN` writer - DMAERR Interrupt Enable"]
pub type DmaerrenW<'a, REG> = crate::BitWriter<'a, REG, Dmaerren>;
impl<'a, REG> DmaerrenW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Disable"]
    #[inline(always)]
    pub fn dis_dmaerr_int(self) -> &'a mut crate::W<REG> {
        self.variant(Dmaerren::DisDmaerrInt)
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn en_dmaerr_int(self) -> &'a mut crate::W<REG> {
        self.variant(Dmaerren::EnDmaerrInt)
    }
}
#[doc = "OWNERR Interrupt Enable\n\nValue on reset: 0"]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Ownerren {
    #[doc = "0: Disable"]
    DisOwnerrInt = 0,
    #[doc = "1: Enable"]
    EnOwnerrInt = 1,
}
impl From<Ownerren> for bool {
    #[inline(always)]
    fn from(variant: Ownerren) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `OWNERREN` reader - OWNERR Interrupt Enable"]
pub type OwnerrenR = crate::BitReader<Ownerren>;
impl OwnerrenR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Ownerren {
        match self.bits {
            false => Ownerren::DisOwnerrInt,
            true => Ownerren::EnOwnerrInt,
        }
    }
    #[doc = "Disable"]
    #[inline(always)]
    pub fn is_dis_ownerr_int(&self) -> bool {
        *self == Ownerren::DisOwnerrInt
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn is_en_ownerr_int(&self) -> bool {
        *self == Ownerren::EnOwnerrInt
    }
}
#[doc = "Field `OWNERREN` writer - OWNERR Interrupt Enable"]
pub type OwnerrenW<'a, REG> = crate::BitWriter<'a, REG, Ownerren>;
impl<'a, REG> OwnerrenW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Disable"]
    #[inline(always)]
    pub fn dis_ownerr_int(self) -> &'a mut crate::W<REG> {
        self.variant(Ownerren::DisOwnerrInt)
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn en_ownerr_int(self) -> &'a mut crate::W<REG> {
        self.variant(Ownerren::EnOwnerrInt)
    }
}
#[doc = "BTSERR (Bit Stuff Error) Interrupt Enable\n\nValue on reset: 0"]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Btserren {
    #[doc = "0: Disable"]
    DisBtserrenInt = 0,
    #[doc = "1: Enable"]
    EnBtserrenInt = 1,
}
impl From<Btserren> for bool {
    #[inline(always)]
    fn from(variant: Btserren) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `BTSERREN` reader - BTSERR (Bit Stuff Error) Interrupt Enable"]
pub type BtserrenR = crate::BitReader<Btserren>;
impl BtserrenR {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub const fn variant(&self) -> Btserren {
        match self.bits {
            false => Btserren::DisBtserrenInt,
            true => Btserren::EnBtserrenInt,
        }
    }
    #[doc = "Disable"]
    #[inline(always)]
    pub fn is_dis_btserren_int(&self) -> bool {
        *self == Btserren::DisBtserrenInt
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn is_en_btserren_int(&self) -> bool {
        *self == Btserren::EnBtserrenInt
    }
}
#[doc = "Field `BTSERREN` writer - BTSERR (Bit Stuff Error) Interrupt Enable"]
pub type BtserrenW<'a, REG> = crate::BitWriter<'a, REG, Btserren>;
impl<'a, REG> BtserrenW<'a, REG>
where
    REG: crate::Writable + crate::RegisterSpec,
{
    #[doc = "Disable"]
    #[inline(always)]
    pub fn dis_btserren_int(self) -> &'a mut crate::W<REG> {
        self.variant(Btserren::DisBtserrenInt)
    }
    #[doc = "Enable"]
    #[inline(always)]
    pub fn en_btserren_int(self) -> &'a mut crate::W<REG> {
        self.variant(Btserren::EnBtserrenInt)
    }
}
impl R {
    #[doc = "Bit 0 - PIDERR Interrupt Enable"]
    #[inline(always)]
    pub fn piderren(&self) -> PiderrenR {
        PiderrenR::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - CRC5/EOF Interrupt Enable"]
    #[inline(always)]
    pub fn crc5eofen(&self) -> Crc5eofenR {
        Crc5eofenR::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - CRC16 Interrupt Enable"]
    #[inline(always)]
    pub fn crc16en(&self) -> Crc16enR {
        Crc16enR::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - DFN8 (Data Field Not Integer Number of Bytes) Interrupt Enable"]
    #[inline(always)]
    pub fn dfn8en(&self) -> Dfn8enR {
        Dfn8enR::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - BTOERR (Bus Timeout Error) Interrupt Enable"]
    #[inline(always)]
    pub fn btoerren(&self) -> BtoerrenR {
        BtoerrenR::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - DMAERR Interrupt Enable"]
    #[inline(always)]
    pub fn dmaerren(&self) -> DmaerrenR {
        DmaerrenR::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - OWNERR Interrupt Enable"]
    #[inline(always)]
    pub fn ownerren(&self) -> OwnerrenR {
        OwnerrenR::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - BTSERR (Bit Stuff Error) Interrupt Enable"]
    #[inline(always)]
    pub fn btserren(&self) -> BtserrenR {
        BtserrenR::new(((self.bits >> 7) & 1) != 0)
    }
}
#[cfg(feature = "debug")]
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("ERREN")
            .field("piderren", &self.piderren())
            .field("crc5eofen", &self.crc5eofen())
            .field("crc16en", &self.crc16en())
            .field("dfn8en", &self.dfn8en())
            .field("btoerren", &self.btoerren())
            .field("dmaerren", &self.dmaerren())
            .field("ownerren", &self.ownerren())
            .field("btserren", &self.btserren())
            .finish()
    }
}
impl W {
    #[doc = "Bit 0 - PIDERR Interrupt Enable"]
    #[inline(always)]
    pub fn piderren(&mut self) -> PiderrenW<'_, ErrenSpec> {
        PiderrenW::new(self, 0)
    }
    #[doc = "Bit 1 - CRC5/EOF Interrupt Enable"]
    #[inline(always)]
    pub fn crc5eofen(&mut self) -> Crc5eofenW<'_, ErrenSpec> {
        Crc5eofenW::new(self, 1)
    }
    #[doc = "Bit 2 - CRC16 Interrupt Enable"]
    #[inline(always)]
    pub fn crc16en(&mut self) -> Crc16enW<'_, ErrenSpec> {
        Crc16enW::new(self, 2)
    }
    #[doc = "Bit 3 - DFN8 (Data Field Not Integer Number of Bytes) Interrupt Enable"]
    #[inline(always)]
    pub fn dfn8en(&mut self) -> Dfn8enW<'_, ErrenSpec> {
        Dfn8enW::new(self, 3)
    }
    #[doc = "Bit 4 - BTOERR (Bus Timeout Error) Interrupt Enable"]
    #[inline(always)]
    pub fn btoerren(&mut self) -> BtoerrenW<'_, ErrenSpec> {
        BtoerrenW::new(self, 4)
    }
    #[doc = "Bit 5 - DMAERR Interrupt Enable"]
    #[inline(always)]
    pub fn dmaerren(&mut self) -> DmaerrenW<'_, ErrenSpec> {
        DmaerrenW::new(self, 5)
    }
    #[doc = "Bit 6 - OWNERR Interrupt Enable"]
    #[inline(always)]
    pub fn ownerren(&mut self) -> OwnerrenW<'_, ErrenSpec> {
        OwnerrenW::new(self, 6)
    }
    #[doc = "Bit 7 - BTSERR (Bit Stuff Error) Interrupt Enable"]
    #[inline(always)]
    pub fn btserren(&mut self) -> BtserrenW<'_, ErrenSpec> {
        BtserrenW::new(self, 7)
    }
}
#[doc = "Error Interrupt Enable\n\nYou can [`read`](crate::Reg::read) this register and get [`erren::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`erren::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct ErrenSpec;
impl crate::RegisterSpec for ErrenSpec {
    type Ux = u8;
}
#[doc = "`read()` method returns [`erren::R`](R) reader structure"]
impl crate::Readable for ErrenSpec {}
#[doc = "`write(|w| ..)` method takes [`erren::W`](W) writer structure"]
impl crate::Writable for ErrenSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets ERREN to value 0"]
impl crate::Resettable for ErrenSpec {}