1#![allow(clippy::identity_op)]
21#![allow(clippy::module_inception)]
22#![allow(clippy::derivable_impls)]
23#[allow(unused_imports)]
24use crate::common::sealed;
25#[allow(unused_imports)]
26use crate::common::*;
27#[doc = r"Interrupt Controller"]
28unsafe impl ::core::marker::Send for super::Icu {}
29unsafe impl ::core::marker::Sync for super::Icu {}
30impl super::Icu {
31 #[allow(unused)]
32 #[inline(always)]
33 pub(crate) const fn _svd2pac_as_ptr(&self) -> *mut u8 {
34 self.ptr
35 }
36
37 #[doc = "IRQ Control Register %s"]
38 #[inline(always)]
39 pub const fn irqcr(
40 &self,
41 ) -> &'static crate::common::ClusterRegisterArray<
42 crate::common::Reg<self::Irqcr_SPEC, crate::common::RW>,
43 6,
44 0x1,
45 > {
46 unsafe {
47 crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x0usize))
48 }
49 }
50 #[inline(always)]
51 pub const fn irqcr0(&self) -> &'static crate::common::Reg<self::Irqcr_SPEC, crate::common::RW> {
52 unsafe {
53 crate::common::Reg::<self::Irqcr_SPEC, crate::common::RW>::from_ptr(
54 self._svd2pac_as_ptr().add(0x0usize),
55 )
56 }
57 }
58 #[inline(always)]
59 pub const fn irqcr1(&self) -> &'static crate::common::Reg<self::Irqcr_SPEC, crate::common::RW> {
60 unsafe {
61 crate::common::Reg::<self::Irqcr_SPEC, crate::common::RW>::from_ptr(
62 self._svd2pac_as_ptr().add(0x1usize),
63 )
64 }
65 }
66 #[inline(always)]
67 pub const fn irqcr2(&self) -> &'static crate::common::Reg<self::Irqcr_SPEC, crate::common::RW> {
68 unsafe {
69 crate::common::Reg::<self::Irqcr_SPEC, crate::common::RW>::from_ptr(
70 self._svd2pac_as_ptr().add(0x2usize),
71 )
72 }
73 }
74 #[inline(always)]
75 pub const fn irqcr3(&self) -> &'static crate::common::Reg<self::Irqcr_SPEC, crate::common::RW> {
76 unsafe {
77 crate::common::Reg::<self::Irqcr_SPEC, crate::common::RW>::from_ptr(
78 self._svd2pac_as_ptr().add(0x3usize),
79 )
80 }
81 }
82 #[inline(always)]
83 pub const fn irqcr4(&self) -> &'static crate::common::Reg<self::Irqcr_SPEC, crate::common::RW> {
84 unsafe {
85 crate::common::Reg::<self::Irqcr_SPEC, crate::common::RW>::from_ptr(
86 self._svd2pac_as_ptr().add(0x4usize),
87 )
88 }
89 }
90 #[inline(always)]
91 pub const fn irqcr5(&self) -> &'static crate::common::Reg<self::Irqcr_SPEC, crate::common::RW> {
92 unsafe {
93 crate::common::Reg::<self::Irqcr_SPEC, crate::common::RW>::from_ptr(
94 self._svd2pac_as_ptr().add(0x5usize),
95 )
96 }
97 }
98
99 #[doc = "NMI Pin Interrupt Control Register"]
100 #[inline(always)]
101 pub const fn nmicr(&self) -> &'static crate::common::Reg<self::Nmicr_SPEC, crate::common::RW> {
102 unsafe {
103 crate::common::Reg::<self::Nmicr_SPEC, crate::common::RW>::from_ptr(
104 self._svd2pac_as_ptr().add(256usize),
105 )
106 }
107 }
108
109 #[doc = "Non-maskable Interrupt Enable Register"]
110 #[inline(always)]
111 pub const fn nmier(&self) -> &'static crate::common::Reg<self::Nmier_SPEC, crate::common::RW> {
112 unsafe {
113 crate::common::Reg::<self::Nmier_SPEC, crate::common::RW>::from_ptr(
114 self._svd2pac_as_ptr().add(288usize),
115 )
116 }
117 }
118
119 #[doc = "Non-maskable Interrupt Status Clear Register"]
120 #[inline(always)]
121 pub const fn nmiclr(
122 &self,
123 ) -> &'static crate::common::Reg<self::Nmiclr_SPEC, crate::common::RW> {
124 unsafe {
125 crate::common::Reg::<self::Nmiclr_SPEC, crate::common::RW>::from_ptr(
126 self._svd2pac_as_ptr().add(304usize),
127 )
128 }
129 }
130
131 #[doc = "Non-maskable Interrupt Status Register"]
132 #[inline(always)]
133 pub const fn nmisr(&self) -> &'static crate::common::Reg<self::Nmisr_SPEC, crate::common::R> {
134 unsafe {
135 crate::common::Reg::<self::Nmisr_SPEC, crate::common::R>::from_ptr(
136 self._svd2pac_as_ptr().add(320usize),
137 )
138 }
139 }
140
141 #[doc = "DTC Enable Status Register 0"]
142 #[inline(always)]
143 pub const fn dtcenst0(
144 &self,
145 ) -> &'static crate::common::Reg<self::Dtcenst0_SPEC, crate::common::R> {
146 unsafe {
147 crate::common::Reg::<self::Dtcenst0_SPEC, crate::common::R>::from_ptr(
148 self._svd2pac_as_ptr().add(768usize),
149 )
150 }
151 }
152
153 #[doc = "DTC Enable Status Register 1"]
154 #[inline(always)]
155 pub const fn dtcenst1(
156 &self,
157 ) -> &'static crate::common::Reg<self::Dtcenst1_SPEC, crate::common::R> {
158 unsafe {
159 crate::common::Reg::<self::Dtcenst1_SPEC, crate::common::R>::from_ptr(
160 self._svd2pac_as_ptr().add(772usize),
161 )
162 }
163 }
164
165 #[doc = "DTC Enable Set Register 0"]
166 #[inline(always)]
167 pub const fn dtcenset0(
168 &self,
169 ) -> &'static crate::common::Reg<self::Dtcenset0_SPEC, crate::common::RW> {
170 unsafe {
171 crate::common::Reg::<self::Dtcenset0_SPEC, crate::common::RW>::from_ptr(
172 self._svd2pac_as_ptr().add(784usize),
173 )
174 }
175 }
176
177 #[doc = "DTC Enable Set Register 1"]
178 #[inline(always)]
179 pub const fn dtcenset1(
180 &self,
181 ) -> &'static crate::common::Reg<self::Dtcenset1_SPEC, crate::common::RW> {
182 unsafe {
183 crate::common::Reg::<self::Dtcenset1_SPEC, crate::common::RW>::from_ptr(
184 self._svd2pac_as_ptr().add(788usize),
185 )
186 }
187 }
188
189 #[doc = "DTC Enable Clear Register 0"]
190 #[inline(always)]
191 pub const fn dtcenclr0(
192 &self,
193 ) -> &'static crate::common::Reg<self::Dtcenclr0_SPEC, crate::common::RW> {
194 unsafe {
195 crate::common::Reg::<self::Dtcenclr0_SPEC, crate::common::RW>::from_ptr(
196 self._svd2pac_as_ptr().add(800usize),
197 )
198 }
199 }
200
201 #[doc = "DTC Enable Clear Register 1"]
202 #[inline(always)]
203 pub const fn dtcenclr1(
204 &self,
205 ) -> &'static crate::common::Reg<self::Dtcenclr1_SPEC, crate::common::RW> {
206 unsafe {
207 crate::common::Reg::<self::Dtcenclr1_SPEC, crate::common::RW>::from_ptr(
208 self._svd2pac_as_ptr().add(804usize),
209 )
210 }
211 }
212
213 #[doc = "Interrupt Request Flag Monitor Register 0"]
214 #[inline(always)]
215 pub const fn intflag0(
216 &self,
217 ) -> &'static crate::common::Reg<self::Intflag0_SPEC, crate::common::R> {
218 unsafe {
219 crate::common::Reg::<self::Intflag0_SPEC, crate::common::R>::from_ptr(
220 self._svd2pac_as_ptr().add(816usize),
221 )
222 }
223 }
224
225 #[doc = "Interrupt Request Flag Monitor Register 1"]
226 #[inline(always)]
227 pub const fn intflag1(
228 &self,
229 ) -> &'static crate::common::Reg<self::Intflag1_SPEC, crate::common::R> {
230 unsafe {
231 crate::common::Reg::<self::Intflag1_SPEC, crate::common::R>::from_ptr(
232 self._svd2pac_as_ptr().add(820usize),
233 )
234 }
235 }
236
237 #[doc = "Software Standby/Snooze End Control Register 0"]
238 #[inline(always)]
239 pub const fn sbyedcr0(
240 &self,
241 ) -> &'static crate::common::Reg<self::Sbyedcr0_SPEC, crate::common::RW> {
242 unsafe {
243 crate::common::Reg::<self::Sbyedcr0_SPEC, crate::common::RW>::from_ptr(
244 self._svd2pac_as_ptr().add(832usize),
245 )
246 }
247 }
248
249 #[doc = "Software Standby/Snooze End Control Register 1"]
250 #[inline(always)]
251 pub const fn sbyedcr1(
252 &self,
253 ) -> &'static crate::common::Reg<self::Sbyedcr1_SPEC, crate::common::RW> {
254 unsafe {
255 crate::common::Reg::<self::Sbyedcr1_SPEC, crate::common::RW>::from_ptr(
256 self._svd2pac_as_ptr().add(836usize),
257 )
258 }
259 }
260}
261#[doc(hidden)]
262#[derive(Copy, Clone, Eq, PartialEq)]
263pub struct Irqcr_SPEC;
264impl crate::sealed::RegSpec for Irqcr_SPEC {
265 type DataType = u8;
266}
267
268#[doc = "IRQ Control Register %s"]
269pub type Irqcr = crate::RegValueT<Irqcr_SPEC>;
270
271impl Irqcr {
272 #[doc = "IRQi Detection Sense Select"]
273 #[inline(always)]
274 pub fn irqmd(
275 self,
276 ) -> crate::common::RegisterField<
277 0,
278 0x3,
279 1,
280 0,
281 irqcr::Irqmd,
282 irqcr::Irqmd,
283 Irqcr_SPEC,
284 crate::common::RW,
285 > {
286 crate::common::RegisterField::<
287 0,
288 0x3,
289 1,
290 0,
291 irqcr::Irqmd,
292 irqcr::Irqmd,
293 Irqcr_SPEC,
294 crate::common::RW,
295 >::from_register(self, 0)
296 }
297}
298impl ::core::default::Default for Irqcr {
299 #[inline(always)]
300 fn default() -> Irqcr {
301 <crate::RegValueT<Irqcr_SPEC> as RegisterValue<_>>::new(0)
302 }
303}
304pub mod irqcr {
305
306 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
307 pub struct Irqmd_SPEC;
308 pub type Irqmd = crate::EnumBitfieldStruct<u8, Irqmd_SPEC>;
309 impl Irqmd {
310 #[doc = "Falling edge"]
311 pub const _00: Self = Self::new(0);
312
313 #[doc = "Rising edge"]
314 pub const _01: Self = Self::new(1);
315
316 #[doc = "Rising and falling edges"]
317 pub const _10: Self = Self::new(2);
318
319 #[doc = "Setting prohibited"]
320 pub const _11: Self = Self::new(3);
321 }
322}
323#[doc(hidden)]
324#[derive(Copy, Clone, Eq, PartialEq)]
325pub struct Nmicr_SPEC;
326impl crate::sealed::RegSpec for Nmicr_SPEC {
327 type DataType = u8;
328}
329
330#[doc = "NMI Pin Interrupt Control Register"]
331pub type Nmicr = crate::RegValueT<Nmicr_SPEC>;
332
333impl Nmicr {
334 #[doc = "NMI Detection Set"]
335 #[inline(always)]
336 pub fn nmimd(
337 self,
338 ) -> crate::common::RegisterField<
339 0,
340 0x1,
341 1,
342 0,
343 nmicr::Nmimd,
344 nmicr::Nmimd,
345 Nmicr_SPEC,
346 crate::common::RW,
347 > {
348 crate::common::RegisterField::<
349 0,
350 0x1,
351 1,
352 0,
353 nmicr::Nmimd,
354 nmicr::Nmimd,
355 Nmicr_SPEC,
356 crate::common::RW,
357 >::from_register(self, 0)
358 }
359}
360impl ::core::default::Default for Nmicr {
361 #[inline(always)]
362 fn default() -> Nmicr {
363 <crate::RegValueT<Nmicr_SPEC> as RegisterValue<_>>::new(0)
364 }
365}
366pub mod nmicr {
367
368 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
369 pub struct Nmimd_SPEC;
370 pub type Nmimd = crate::EnumBitfieldStruct<u8, Nmimd_SPEC>;
371 impl Nmimd {
372 #[doc = "Falling edge"]
373 pub const _0: Self = Self::new(0);
374
375 #[doc = "Rising edge"]
376 pub const _1: Self = Self::new(1);
377 }
378}
379#[doc(hidden)]
380#[derive(Copy, Clone, Eq, PartialEq)]
381pub struct Nmier_SPEC;
382impl crate::sealed::RegSpec for Nmier_SPEC {
383 type DataType = u16;
384}
385
386#[doc = "Non-maskable Interrupt Enable Register"]
387pub type Nmier = crate::RegValueT<Nmier_SPEC>;
388
389impl Nmier {
390 #[doc = "IWDT Underflow/Refresh Error Interrupt Enable"]
391 #[inline(always)]
392 pub fn iwdten(
393 self,
394 ) -> crate::common::RegisterField<
395 0,
396 0x1,
397 1,
398 0,
399 nmier::Iwdten,
400 nmier::Iwdten,
401 Nmier_SPEC,
402 crate::common::RW,
403 > {
404 crate::common::RegisterField::<
405 0,
406 0x1,
407 1,
408 0,
409 nmier::Iwdten,
410 nmier::Iwdten,
411 Nmier_SPEC,
412 crate::common::RW,
413 >::from_register(self, 0)
414 }
415
416 #[doc = "Voltage Monitor 1 Interrupt Enable"]
417 #[inline(always)]
418 pub fn lvd1en(
419 self,
420 ) -> crate::common::RegisterField<
421 2,
422 0x1,
423 1,
424 0,
425 nmier::Lvd1En,
426 nmier::Lvd1En,
427 Nmier_SPEC,
428 crate::common::RW,
429 > {
430 crate::common::RegisterField::<
431 2,
432 0x1,
433 1,
434 0,
435 nmier::Lvd1En,
436 nmier::Lvd1En,
437 Nmier_SPEC,
438 crate::common::RW,
439 >::from_register(self, 0)
440 }
441
442 #[doc = "NMI Pin Interrupt Enable"]
443 #[inline(always)]
444 pub fn nmien(
445 self,
446 ) -> crate::common::RegisterField<
447 7,
448 0x1,
449 1,
450 0,
451 nmier::Nmien,
452 nmier::Nmien,
453 Nmier_SPEC,
454 crate::common::RW,
455 > {
456 crate::common::RegisterField::<
457 7,
458 0x1,
459 1,
460 0,
461 nmier::Nmien,
462 nmier::Nmien,
463 Nmier_SPEC,
464 crate::common::RW,
465 >::from_register(self, 0)
466 }
467
468 #[doc = "SRAM Parity Error Interrupt Enable"]
469 #[inline(always)]
470 pub fn rpeen(
471 self,
472 ) -> crate::common::RegisterField<
473 8,
474 0x1,
475 1,
476 0,
477 nmier::Rpeen,
478 nmier::Rpeen,
479 Nmier_SPEC,
480 crate::common::RW,
481 > {
482 crate::common::RegisterField::<
483 8,
484 0x1,
485 1,
486 0,
487 nmier::Rpeen,
488 nmier::Rpeen,
489 Nmier_SPEC,
490 crate::common::RW,
491 >::from_register(self, 0)
492 }
493}
494impl ::core::default::Default for Nmier {
495 #[inline(always)]
496 fn default() -> Nmier {
497 <crate::RegValueT<Nmier_SPEC> as RegisterValue<_>>::new(0)
498 }
499}
500pub mod nmier {
501
502 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
503 pub struct Iwdten_SPEC;
504 pub type Iwdten = crate::EnumBitfieldStruct<u8, Iwdten_SPEC>;
505 impl Iwdten {
506 #[doc = "Disabled"]
507 pub const _0: Self = Self::new(0);
508
509 #[doc = "Enabled."]
510 pub const _1: Self = Self::new(1);
511 }
512 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
513 pub struct Lvd1En_SPEC;
514 pub type Lvd1En = crate::EnumBitfieldStruct<u8, Lvd1En_SPEC>;
515 impl Lvd1En {
516 #[doc = "Disabled"]
517 pub const _0: Self = Self::new(0);
518
519 #[doc = "Enabled"]
520 pub const _1: Self = Self::new(1);
521 }
522 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
523 pub struct Nmien_SPEC;
524 pub type Nmien = crate::EnumBitfieldStruct<u8, Nmien_SPEC>;
525 impl Nmien {
526 #[doc = "Disabled"]
527 pub const _0: Self = Self::new(0);
528
529 #[doc = "Enabled"]
530 pub const _1: Self = Self::new(1);
531 }
532 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
533 pub struct Rpeen_SPEC;
534 pub type Rpeen = crate::EnumBitfieldStruct<u8, Rpeen_SPEC>;
535 impl Rpeen {
536 #[doc = "Disabled"]
537 pub const _0: Self = Self::new(0);
538
539 #[doc = "Enabled"]
540 pub const _1: Self = Self::new(1);
541 }
542}
543#[doc(hidden)]
544#[derive(Copy, Clone, Eq, PartialEq)]
545pub struct Nmiclr_SPEC;
546impl crate::sealed::RegSpec for Nmiclr_SPEC {
547 type DataType = u16;
548}
549
550#[doc = "Non-maskable Interrupt Status Clear Register"]
551pub type Nmiclr = crate::RegValueT<Nmiclr_SPEC>;
552
553impl Nmiclr {
554 #[doc = "IWDT Underflow/Refresh Error Interrupt Status Flag Clear"]
555 #[inline(always)]
556 pub fn iwdtclr(
557 self,
558 ) -> crate::common::RegisterField<
559 0,
560 0x1,
561 1,
562 0,
563 nmiclr::Iwdtclr,
564 nmiclr::Iwdtclr,
565 Nmiclr_SPEC,
566 crate::common::RW,
567 > {
568 crate::common::RegisterField::<
569 0,
570 0x1,
571 1,
572 0,
573 nmiclr::Iwdtclr,
574 nmiclr::Iwdtclr,
575 Nmiclr_SPEC,
576 crate::common::RW,
577 >::from_register(self, 0)
578 }
579
580 #[doc = "Voltage Monitor 1 Interrupt Status Flag Clear"]
581 #[inline(always)]
582 pub fn lvd1clr(
583 self,
584 ) -> crate::common::RegisterField<
585 2,
586 0x1,
587 1,
588 0,
589 nmiclr::Lvd1Clr,
590 nmiclr::Lvd1Clr,
591 Nmiclr_SPEC,
592 crate::common::RW,
593 > {
594 crate::common::RegisterField::<
595 2,
596 0x1,
597 1,
598 0,
599 nmiclr::Lvd1Clr,
600 nmiclr::Lvd1Clr,
601 Nmiclr_SPEC,
602 crate::common::RW,
603 >::from_register(self, 0)
604 }
605
606 #[doc = "NMI Pin Interrupt Status Flag Clear"]
607 #[inline(always)]
608 pub fn nmiclr(
609 self,
610 ) -> crate::common::RegisterField<
611 7,
612 0x1,
613 1,
614 0,
615 nmiclr::Nmiclr,
616 nmiclr::Nmiclr,
617 Nmiclr_SPEC,
618 crate::common::RW,
619 > {
620 crate::common::RegisterField::<
621 7,
622 0x1,
623 1,
624 0,
625 nmiclr::Nmiclr,
626 nmiclr::Nmiclr,
627 Nmiclr_SPEC,
628 crate::common::RW,
629 >::from_register(self, 0)
630 }
631
632 #[doc = "SRAM Parity Error Interrupt Status Flag Clear"]
633 #[inline(always)]
634 pub fn rpeclr(
635 self,
636 ) -> crate::common::RegisterField<
637 8,
638 0x1,
639 1,
640 0,
641 nmiclr::Rpeclr,
642 nmiclr::Rpeclr,
643 Nmiclr_SPEC,
644 crate::common::RW,
645 > {
646 crate::common::RegisterField::<
647 8,
648 0x1,
649 1,
650 0,
651 nmiclr::Rpeclr,
652 nmiclr::Rpeclr,
653 Nmiclr_SPEC,
654 crate::common::RW,
655 >::from_register(self, 0)
656 }
657}
658impl ::core::default::Default for Nmiclr {
659 #[inline(always)]
660 fn default() -> Nmiclr {
661 <crate::RegValueT<Nmiclr_SPEC> as RegisterValue<_>>::new(0)
662 }
663}
664pub mod nmiclr {
665
666 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
667 pub struct Iwdtclr_SPEC;
668 pub type Iwdtclr = crate::EnumBitfieldStruct<u8, Iwdtclr_SPEC>;
669 impl Iwdtclr {
670 #[doc = "No effect"]
671 pub const _0: Self = Self::new(0);
672
673 #[doc = "Clear the NMISR.IWDTST flag"]
674 pub const _1: Self = Self::new(1);
675 }
676 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
677 pub struct Lvd1Clr_SPEC;
678 pub type Lvd1Clr = crate::EnumBitfieldStruct<u8, Lvd1Clr_SPEC>;
679 impl Lvd1Clr {
680 #[doc = "No effect"]
681 pub const _0: Self = Self::new(0);
682
683 #[doc = "Clear the NMISR.LVD1ST flag"]
684 pub const _1: Self = Self::new(1);
685 }
686 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
687 pub struct Nmiclr_SPEC;
688 pub type Nmiclr = crate::EnumBitfieldStruct<u8, Nmiclr_SPEC>;
689 impl Nmiclr {
690 #[doc = "No effect"]
691 pub const _0: Self = Self::new(0);
692
693 #[doc = "Clear the NMISR.NMIST flag"]
694 pub const _1: Self = Self::new(1);
695 }
696 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
697 pub struct Rpeclr_SPEC;
698 pub type Rpeclr = crate::EnumBitfieldStruct<u8, Rpeclr_SPEC>;
699 impl Rpeclr {
700 #[doc = "No effect"]
701 pub const _0: Self = Self::new(0);
702
703 #[doc = "Clear the NMISR.RPEST flag"]
704 pub const _1: Self = Self::new(1);
705 }
706}
707#[doc(hidden)]
708#[derive(Copy, Clone, Eq, PartialEq)]
709pub struct Nmisr_SPEC;
710impl crate::sealed::RegSpec for Nmisr_SPEC {
711 type DataType = u16;
712}
713
714#[doc = "Non-maskable Interrupt Status Register"]
715pub type Nmisr = crate::RegValueT<Nmisr_SPEC>;
716
717impl Nmisr {
718 #[doc = "IWDT Underflow/Refresh Error Interrupt Status Flag"]
719 #[inline(always)]
720 pub fn iwdtst(
721 self,
722 ) -> crate::common::RegisterField<
723 0,
724 0x1,
725 1,
726 0,
727 nmisr::Iwdtst,
728 nmisr::Iwdtst,
729 Nmisr_SPEC,
730 crate::common::R,
731 > {
732 crate::common::RegisterField::<
733 0,
734 0x1,
735 1,
736 0,
737 nmisr::Iwdtst,
738 nmisr::Iwdtst,
739 Nmisr_SPEC,
740 crate::common::R,
741 >::from_register(self, 0)
742 }
743
744 #[doc = "Voltage Monitor 1 Interrupt Status Flag"]
745 #[inline(always)]
746 pub fn lvd1st(
747 self,
748 ) -> crate::common::RegisterField<
749 2,
750 0x1,
751 1,
752 0,
753 nmisr::Lvd1St,
754 nmisr::Lvd1St,
755 Nmisr_SPEC,
756 crate::common::R,
757 > {
758 crate::common::RegisterField::<
759 2,
760 0x1,
761 1,
762 0,
763 nmisr::Lvd1St,
764 nmisr::Lvd1St,
765 Nmisr_SPEC,
766 crate::common::R,
767 >::from_register(self, 0)
768 }
769
770 #[doc = "NMI Pin Interrupt Status Flag"]
771 #[inline(always)]
772 pub fn nmist(
773 self,
774 ) -> crate::common::RegisterField<
775 7,
776 0x1,
777 1,
778 0,
779 nmisr::Nmist,
780 nmisr::Nmist,
781 Nmisr_SPEC,
782 crate::common::R,
783 > {
784 crate::common::RegisterField::<
785 7,
786 0x1,
787 1,
788 0,
789 nmisr::Nmist,
790 nmisr::Nmist,
791 Nmisr_SPEC,
792 crate::common::R,
793 >::from_register(self, 0)
794 }
795
796 #[doc = "SRAM Parity Error Interrupt Status Flag"]
797 #[inline(always)]
798 pub fn rpest(
799 self,
800 ) -> crate::common::RegisterField<
801 8,
802 0x1,
803 1,
804 0,
805 nmisr::Rpest,
806 nmisr::Rpest,
807 Nmisr_SPEC,
808 crate::common::R,
809 > {
810 crate::common::RegisterField::<
811 8,
812 0x1,
813 1,
814 0,
815 nmisr::Rpest,
816 nmisr::Rpest,
817 Nmisr_SPEC,
818 crate::common::R,
819 >::from_register(self, 0)
820 }
821}
822impl ::core::default::Default for Nmisr {
823 #[inline(always)]
824 fn default() -> Nmisr {
825 <crate::RegValueT<Nmisr_SPEC> as RegisterValue<_>>::new(0)
826 }
827}
828pub mod nmisr {
829
830 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
831 pub struct Iwdtst_SPEC;
832 pub type Iwdtst = crate::EnumBitfieldStruct<u8, Iwdtst_SPEC>;
833 impl Iwdtst {
834 #[doc = "Interrupt not requested"]
835 pub const _0: Self = Self::new(0);
836
837 #[doc = "Interrupt requested"]
838 pub const _1: Self = Self::new(1);
839 }
840 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
841 pub struct Lvd1St_SPEC;
842 pub type Lvd1St = crate::EnumBitfieldStruct<u8, Lvd1St_SPEC>;
843 impl Lvd1St {
844 #[doc = "Interrupt not requested"]
845 pub const _0: Self = Self::new(0);
846
847 #[doc = "Interrupt requested"]
848 pub const _1: Self = Self::new(1);
849 }
850 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
851 pub struct Nmist_SPEC;
852 pub type Nmist = crate::EnumBitfieldStruct<u8, Nmist_SPEC>;
853 impl Nmist {
854 #[doc = "Interrupt not requested"]
855 pub const _0: Self = Self::new(0);
856
857 #[doc = "Interrupt requested"]
858 pub const _1: Self = Self::new(1);
859 }
860 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
861 pub struct Rpest_SPEC;
862 pub type Rpest = crate::EnumBitfieldStruct<u8, Rpest_SPEC>;
863 impl Rpest {
864 #[doc = "Interrupt not requested"]
865 pub const _0: Self = Self::new(0);
866
867 #[doc = "Interrupt requested"]
868 pub const _1: Self = Self::new(1);
869 }
870}
871#[doc(hidden)]
872#[derive(Copy, Clone, Eq, PartialEq)]
873pub struct Dtcenst0_SPEC;
874impl crate::sealed::RegSpec for Dtcenst0_SPEC {
875 type DataType = u32;
876}
877
878#[doc = "DTC Enable Status Register 0"]
879pub type Dtcenst0 = crate::RegValueT<Dtcenst0_SPEC>;
880
881impl Dtcenst0 {
882 #[doc = "DTC Enable Status by Event Number i"]
883 #[inline(always)]
884 pub fn st1(
885 self,
886 ) -> crate::common::RegisterField<
887 1,
888 0x1,
889 1,
890 0,
891 dtcenst0::St1,
892 dtcenst0::St1,
893 Dtcenst0_SPEC,
894 crate::common::R,
895 > {
896 crate::common::RegisterField::<
897 1,
898 0x1,
899 1,
900 0,
901 dtcenst0::St1,
902 dtcenst0::St1,
903 Dtcenst0_SPEC,
904 crate::common::R,
905 >::from_register(self, 0)
906 }
907
908 #[doc = "DTC Enable Status by Event Number i"]
909 #[inline(always)]
910 pub fn st2(
911 self,
912 ) -> crate::common::RegisterField<
913 2,
914 0x1,
915 1,
916 0,
917 dtcenst0::St2,
918 dtcenst0::St2,
919 Dtcenst0_SPEC,
920 crate::common::R,
921 > {
922 crate::common::RegisterField::<
923 2,
924 0x1,
925 1,
926 0,
927 dtcenst0::St2,
928 dtcenst0::St2,
929 Dtcenst0_SPEC,
930 crate::common::R,
931 >::from_register(self, 0)
932 }
933
934 #[doc = "DTC Enable Status by Event Number i"]
935 #[inline(always)]
936 pub fn st3(
937 self,
938 ) -> crate::common::RegisterField<
939 3,
940 0x1,
941 1,
942 0,
943 dtcenst0::St3,
944 dtcenst0::St3,
945 Dtcenst0_SPEC,
946 crate::common::R,
947 > {
948 crate::common::RegisterField::<
949 3,
950 0x1,
951 1,
952 0,
953 dtcenst0::St3,
954 dtcenst0::St3,
955 Dtcenst0_SPEC,
956 crate::common::R,
957 >::from_register(self, 0)
958 }
959
960 #[doc = "DTC Enable Status by Event Number i"]
961 #[inline(always)]
962 pub fn st4(
963 self,
964 ) -> crate::common::RegisterField<
965 4,
966 0x1,
967 1,
968 0,
969 dtcenst0::St4,
970 dtcenst0::St4,
971 Dtcenst0_SPEC,
972 crate::common::R,
973 > {
974 crate::common::RegisterField::<
975 4,
976 0x1,
977 1,
978 0,
979 dtcenst0::St4,
980 dtcenst0::St4,
981 Dtcenst0_SPEC,
982 crate::common::R,
983 >::from_register(self, 0)
984 }
985
986 #[doc = "DTC Enable Status by Event Number i"]
987 #[inline(always)]
988 pub fn st5(
989 self,
990 ) -> crate::common::RegisterField<
991 5,
992 0x1,
993 1,
994 0,
995 dtcenst0::St5,
996 dtcenst0::St5,
997 Dtcenst0_SPEC,
998 crate::common::R,
999 > {
1000 crate::common::RegisterField::<
1001 5,
1002 0x1,
1003 1,
1004 0,
1005 dtcenst0::St5,
1006 dtcenst0::St5,
1007 Dtcenst0_SPEC,
1008 crate::common::R,
1009 >::from_register(self, 0)
1010 }
1011
1012 #[doc = "DTC Enable Status by Event Number i"]
1013 #[inline(always)]
1014 pub fn st6(
1015 self,
1016 ) -> crate::common::RegisterField<
1017 6,
1018 0x1,
1019 1,
1020 0,
1021 dtcenst0::St6,
1022 dtcenst0::St6,
1023 Dtcenst0_SPEC,
1024 crate::common::R,
1025 > {
1026 crate::common::RegisterField::<
1027 6,
1028 0x1,
1029 1,
1030 0,
1031 dtcenst0::St6,
1032 dtcenst0::St6,
1033 Dtcenst0_SPEC,
1034 crate::common::R,
1035 >::from_register(self, 0)
1036 }
1037
1038 #[doc = "DTC Enable Status by Event Number i"]
1039 #[inline(always)]
1040 pub fn st7(
1041 self,
1042 ) -> crate::common::RegisterField<
1043 7,
1044 0x1,
1045 1,
1046 0,
1047 dtcenst0::St7,
1048 dtcenst0::St7,
1049 Dtcenst0_SPEC,
1050 crate::common::R,
1051 > {
1052 crate::common::RegisterField::<
1053 7,
1054 0x1,
1055 1,
1056 0,
1057 dtcenst0::St7,
1058 dtcenst0::St7,
1059 Dtcenst0_SPEC,
1060 crate::common::R,
1061 >::from_register(self, 0)
1062 }
1063
1064 #[doc = "DTC Enable Status by Event Number i"]
1065 #[inline(always)]
1066 pub fn st12(
1067 self,
1068 ) -> crate::common::RegisterField<
1069 12,
1070 0x1,
1071 1,
1072 0,
1073 dtcenst0::St12,
1074 dtcenst0::St12,
1075 Dtcenst0_SPEC,
1076 crate::common::R,
1077 > {
1078 crate::common::RegisterField::<
1079 12,
1080 0x1,
1081 1,
1082 0,
1083 dtcenst0::St12,
1084 dtcenst0::St12,
1085 Dtcenst0_SPEC,
1086 crate::common::R,
1087 >::from_register(self, 0)
1088 }
1089
1090 #[doc = "DTC Enable Status by Event Number i"]
1091 #[inline(always)]
1092 pub fn st13(
1093 self,
1094 ) -> crate::common::RegisterField<
1095 13,
1096 0x1,
1097 1,
1098 0,
1099 dtcenst0::St13,
1100 dtcenst0::St13,
1101 Dtcenst0_SPEC,
1102 crate::common::R,
1103 > {
1104 crate::common::RegisterField::<
1105 13,
1106 0x1,
1107 1,
1108 0,
1109 dtcenst0::St13,
1110 dtcenst0::St13,
1111 Dtcenst0_SPEC,
1112 crate::common::R,
1113 >::from_register(self, 0)
1114 }
1115
1116 #[doc = "DTC Enable Status by Event Number i"]
1117 #[inline(always)]
1118 pub fn st15(
1119 self,
1120 ) -> crate::common::RegisterField<
1121 15,
1122 0x1,
1123 1,
1124 0,
1125 dtcenst0::St15,
1126 dtcenst0::St15,
1127 Dtcenst0_SPEC,
1128 crate::common::R,
1129 > {
1130 crate::common::RegisterField::<
1131 15,
1132 0x1,
1133 1,
1134 0,
1135 dtcenst0::St15,
1136 dtcenst0::St15,
1137 Dtcenst0_SPEC,
1138 crate::common::R,
1139 >::from_register(self, 0)
1140 }
1141
1142 #[doc = "DTC Enable Status by Event Number i"]
1143 #[inline(always)]
1144 pub fn st16(
1145 self,
1146 ) -> crate::common::RegisterField<
1147 16,
1148 0x1,
1149 1,
1150 0,
1151 dtcenst0::St16,
1152 dtcenst0::St16,
1153 Dtcenst0_SPEC,
1154 crate::common::R,
1155 > {
1156 crate::common::RegisterField::<
1157 16,
1158 0x1,
1159 1,
1160 0,
1161 dtcenst0::St16,
1162 dtcenst0::St16,
1163 Dtcenst0_SPEC,
1164 crate::common::R,
1165 >::from_register(self, 0)
1166 }
1167
1168 #[doc = "DTC Enable Status by Event Number i"]
1169 #[inline(always)]
1170 pub fn st18(
1171 self,
1172 ) -> crate::common::RegisterField<
1173 18,
1174 0x1,
1175 1,
1176 0,
1177 dtcenst0::St18,
1178 dtcenst0::St18,
1179 Dtcenst0_SPEC,
1180 crate::common::R,
1181 > {
1182 crate::common::RegisterField::<
1183 18,
1184 0x1,
1185 1,
1186 0,
1187 dtcenst0::St18,
1188 dtcenst0::St18,
1189 Dtcenst0_SPEC,
1190 crate::common::R,
1191 >::from_register(self, 0)
1192 }
1193
1194 #[doc = "DTC Enable Status by Event Number i"]
1195 #[inline(always)]
1196 pub fn st19(
1197 self,
1198 ) -> crate::common::RegisterField<
1199 19,
1200 0x1,
1201 1,
1202 0,
1203 dtcenst0::St19,
1204 dtcenst0::St19,
1205 Dtcenst0_SPEC,
1206 crate::common::R,
1207 > {
1208 crate::common::RegisterField::<
1209 19,
1210 0x1,
1211 1,
1212 0,
1213 dtcenst0::St19,
1214 dtcenst0::St19,
1215 Dtcenst0_SPEC,
1216 crate::common::R,
1217 >::from_register(self, 0)
1218 }
1219
1220 #[doc = "DTC Enable Status by Event Number i"]
1221 #[inline(always)]
1222 pub fn st22(
1223 self,
1224 ) -> crate::common::RegisterField<
1225 22,
1226 0x1,
1227 1,
1228 0,
1229 dtcenst0::St22,
1230 dtcenst0::St22,
1231 Dtcenst0_SPEC,
1232 crate::common::R,
1233 > {
1234 crate::common::RegisterField::<
1235 22,
1236 0x1,
1237 1,
1238 0,
1239 dtcenst0::St22,
1240 dtcenst0::St22,
1241 Dtcenst0_SPEC,
1242 crate::common::R,
1243 >::from_register(self, 0)
1244 }
1245
1246 #[doc = "DTC Enable Status by Event Number i"]
1247 #[inline(always)]
1248 pub fn st23(
1249 self,
1250 ) -> crate::common::RegisterField<
1251 23,
1252 0x1,
1253 1,
1254 0,
1255 dtcenst0::St23,
1256 dtcenst0::St23,
1257 Dtcenst0_SPEC,
1258 crate::common::R,
1259 > {
1260 crate::common::RegisterField::<
1261 23,
1262 0x1,
1263 1,
1264 0,
1265 dtcenst0::St23,
1266 dtcenst0::St23,
1267 Dtcenst0_SPEC,
1268 crate::common::R,
1269 >::from_register(self, 0)
1270 }
1271
1272 #[doc = "DTC Enable Status by Event Number i"]
1273 #[inline(always)]
1274 pub fn st27(
1275 self,
1276 ) -> crate::common::RegisterField<
1277 27,
1278 0x1,
1279 1,
1280 0,
1281 dtcenst0::St27,
1282 dtcenst0::St27,
1283 Dtcenst0_SPEC,
1284 crate::common::R,
1285 > {
1286 crate::common::RegisterField::<
1287 27,
1288 0x1,
1289 1,
1290 0,
1291 dtcenst0::St27,
1292 dtcenst0::St27,
1293 Dtcenst0_SPEC,
1294 crate::common::R,
1295 >::from_register(self, 0)
1296 }
1297
1298 #[doc = "DTC Enable Status by Event Number i"]
1299 #[inline(always)]
1300 pub fn st28(
1301 self,
1302 ) -> crate::common::RegisterField<
1303 28,
1304 0x1,
1305 1,
1306 0,
1307 dtcenst0::St28,
1308 dtcenst0::St28,
1309 Dtcenst0_SPEC,
1310 crate::common::R,
1311 > {
1312 crate::common::RegisterField::<
1313 28,
1314 0x1,
1315 1,
1316 0,
1317 dtcenst0::St28,
1318 dtcenst0::St28,
1319 Dtcenst0_SPEC,
1320 crate::common::R,
1321 >::from_register(self, 0)
1322 }
1323
1324 #[doc = "DTC Enable Status by Event Number i"]
1325 #[inline(always)]
1326 pub fn st29(
1327 self,
1328 ) -> crate::common::RegisterField<
1329 29,
1330 0x1,
1331 1,
1332 0,
1333 dtcenst0::St29,
1334 dtcenst0::St29,
1335 Dtcenst0_SPEC,
1336 crate::common::R,
1337 > {
1338 crate::common::RegisterField::<
1339 29,
1340 0x1,
1341 1,
1342 0,
1343 dtcenst0::St29,
1344 dtcenst0::St29,
1345 Dtcenst0_SPEC,
1346 crate::common::R,
1347 >::from_register(self, 0)
1348 }
1349
1350 #[doc = "DTC Enable Status by Event Number i"]
1351 #[inline(always)]
1352 pub fn st30(
1353 self,
1354 ) -> crate::common::RegisterField<
1355 30,
1356 0x1,
1357 1,
1358 0,
1359 dtcenst0::St30,
1360 dtcenst0::St30,
1361 Dtcenst0_SPEC,
1362 crate::common::R,
1363 > {
1364 crate::common::RegisterField::<
1365 30,
1366 0x1,
1367 1,
1368 0,
1369 dtcenst0::St30,
1370 dtcenst0::St30,
1371 Dtcenst0_SPEC,
1372 crate::common::R,
1373 >::from_register(self, 0)
1374 }
1375
1376 #[doc = "DTC Enable Status by Event Number i"]
1377 #[inline(always)]
1378 pub fn st31(
1379 self,
1380 ) -> crate::common::RegisterField<
1381 31,
1382 0x1,
1383 1,
1384 0,
1385 dtcenst0::St31,
1386 dtcenst0::St31,
1387 Dtcenst0_SPEC,
1388 crate::common::R,
1389 > {
1390 crate::common::RegisterField::<
1391 31,
1392 0x1,
1393 1,
1394 0,
1395 dtcenst0::St31,
1396 dtcenst0::St31,
1397 Dtcenst0_SPEC,
1398 crate::common::R,
1399 >::from_register(self, 0)
1400 }
1401}
1402impl ::core::default::Default for Dtcenst0 {
1403 #[inline(always)]
1404 fn default() -> Dtcenst0 {
1405 <crate::RegValueT<Dtcenst0_SPEC> as RegisterValue<_>>::new(0)
1406 }
1407}
1408pub mod dtcenst0 {
1409
1410 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1411 pub struct St1_SPEC;
1412 pub type St1 = crate::EnumBitfieldStruct<u8, St1_SPEC>;
1413 impl St1 {
1414 #[doc = "DTC Disable by Event number i"]
1415 pub const _0: Self = Self::new(0);
1416
1417 #[doc = "DTC Enable by Event number i"]
1418 pub const _1: Self = Self::new(1);
1419 }
1420 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1421 pub struct St2_SPEC;
1422 pub type St2 = crate::EnumBitfieldStruct<u8, St2_SPEC>;
1423 impl St2 {
1424 #[doc = "DTC Disable by Event number i"]
1425 pub const _0: Self = Self::new(0);
1426
1427 #[doc = "DTC Enable by Event number i"]
1428 pub const _1: Self = Self::new(1);
1429 }
1430 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1431 pub struct St3_SPEC;
1432 pub type St3 = crate::EnumBitfieldStruct<u8, St3_SPEC>;
1433 impl St3 {
1434 #[doc = "DTC Disable by Event number i"]
1435 pub const _0: Self = Self::new(0);
1436
1437 #[doc = "DTC Enable by Event number i"]
1438 pub const _1: Self = Self::new(1);
1439 }
1440 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1441 pub struct St4_SPEC;
1442 pub type St4 = crate::EnumBitfieldStruct<u8, St4_SPEC>;
1443 impl St4 {
1444 #[doc = "DTC Disable by Event number i"]
1445 pub const _0: Self = Self::new(0);
1446
1447 #[doc = "DTC Enable by Event number i"]
1448 pub const _1: Self = Self::new(1);
1449 }
1450 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1451 pub struct St5_SPEC;
1452 pub type St5 = crate::EnumBitfieldStruct<u8, St5_SPEC>;
1453 impl St5 {
1454 #[doc = "DTC Disable by Event number i"]
1455 pub const _0: Self = Self::new(0);
1456
1457 #[doc = "DTC Enable by Event number i"]
1458 pub const _1: Self = Self::new(1);
1459 }
1460 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1461 pub struct St6_SPEC;
1462 pub type St6 = crate::EnumBitfieldStruct<u8, St6_SPEC>;
1463 impl St6 {
1464 #[doc = "DTC Disable by Event number i"]
1465 pub const _0: Self = Self::new(0);
1466
1467 #[doc = "DTC Enable by Event number i"]
1468 pub const _1: Self = Self::new(1);
1469 }
1470 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1471 pub struct St7_SPEC;
1472 pub type St7 = crate::EnumBitfieldStruct<u8, St7_SPEC>;
1473 impl St7 {
1474 #[doc = "DTC Disable by Event number i"]
1475 pub const _0: Self = Self::new(0);
1476
1477 #[doc = "DTC Enable by Event number i"]
1478 pub const _1: Self = Self::new(1);
1479 }
1480 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1481 pub struct St12_SPEC;
1482 pub type St12 = crate::EnumBitfieldStruct<u8, St12_SPEC>;
1483 impl St12 {
1484 #[doc = "DTC Disable by Event number i"]
1485 pub const _0: Self = Self::new(0);
1486
1487 #[doc = "DTC Enable by Event number i"]
1488 pub const _1: Self = Self::new(1);
1489 }
1490 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1491 pub struct St13_SPEC;
1492 pub type St13 = crate::EnumBitfieldStruct<u8, St13_SPEC>;
1493 impl St13 {
1494 #[doc = "DTC Disable by Event number i"]
1495 pub const _0: Self = Self::new(0);
1496
1497 #[doc = "DTC Enable by Event number i"]
1498 pub const _1: Self = Self::new(1);
1499 }
1500 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1501 pub struct St15_SPEC;
1502 pub type St15 = crate::EnumBitfieldStruct<u8, St15_SPEC>;
1503 impl St15 {
1504 #[doc = "DTC Disable by Event number i"]
1505 pub const _0: Self = Self::new(0);
1506
1507 #[doc = "DTC Enable by Event number i"]
1508 pub const _1: Self = Self::new(1);
1509 }
1510 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1511 pub struct St16_SPEC;
1512 pub type St16 = crate::EnumBitfieldStruct<u8, St16_SPEC>;
1513 impl St16 {
1514 #[doc = "DTC Disable by Event number i"]
1515 pub const _0: Self = Self::new(0);
1516
1517 #[doc = "DTC Enable by Event number i"]
1518 pub const _1: Self = Self::new(1);
1519 }
1520 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1521 pub struct St18_SPEC;
1522 pub type St18 = crate::EnumBitfieldStruct<u8, St18_SPEC>;
1523 impl St18 {
1524 #[doc = "DTC Disable by Event number i"]
1525 pub const _0: Self = Self::new(0);
1526
1527 #[doc = "DTC Enable by Event number i"]
1528 pub const _1: Self = Self::new(1);
1529 }
1530 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1531 pub struct St19_SPEC;
1532 pub type St19 = crate::EnumBitfieldStruct<u8, St19_SPEC>;
1533 impl St19 {
1534 #[doc = "DTC Disable by Event number i"]
1535 pub const _0: Self = Self::new(0);
1536
1537 #[doc = "DTC Enable by Event number i"]
1538 pub const _1: Self = Self::new(1);
1539 }
1540 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1541 pub struct St22_SPEC;
1542 pub type St22 = crate::EnumBitfieldStruct<u8, St22_SPEC>;
1543 impl St22 {
1544 #[doc = "DTC Disable by Event number i"]
1545 pub const _0: Self = Self::new(0);
1546
1547 #[doc = "DTC Enable by Event number i"]
1548 pub const _1: Self = Self::new(1);
1549 }
1550 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1551 pub struct St23_SPEC;
1552 pub type St23 = crate::EnumBitfieldStruct<u8, St23_SPEC>;
1553 impl St23 {
1554 #[doc = "DTC Disable by Event number i"]
1555 pub const _0: Self = Self::new(0);
1556
1557 #[doc = "DTC Enable by Event number i"]
1558 pub const _1: Self = Self::new(1);
1559 }
1560 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1561 pub struct St27_SPEC;
1562 pub type St27 = crate::EnumBitfieldStruct<u8, St27_SPEC>;
1563 impl St27 {
1564 #[doc = "DTC Disable by Event number i"]
1565 pub const _0: Self = Self::new(0);
1566
1567 #[doc = "DTC Enable by Event number i"]
1568 pub const _1: Self = Self::new(1);
1569 }
1570 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1571 pub struct St28_SPEC;
1572 pub type St28 = crate::EnumBitfieldStruct<u8, St28_SPEC>;
1573 impl St28 {
1574 #[doc = "DTC Disable by Event number i"]
1575 pub const _0: Self = Self::new(0);
1576
1577 #[doc = "DTC Enable by Event number i"]
1578 pub const _1: Self = Self::new(1);
1579 }
1580 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1581 pub struct St29_SPEC;
1582 pub type St29 = crate::EnumBitfieldStruct<u8, St29_SPEC>;
1583 impl St29 {
1584 #[doc = "DTC Disable by Event number i"]
1585 pub const _0: Self = Self::new(0);
1586
1587 #[doc = "DTC Enable by Event number i"]
1588 pub const _1: Self = Self::new(1);
1589 }
1590 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1591 pub struct St30_SPEC;
1592 pub type St30 = crate::EnumBitfieldStruct<u8, St30_SPEC>;
1593 impl St30 {
1594 #[doc = "DTC Disable by Event number i"]
1595 pub const _0: Self = Self::new(0);
1596
1597 #[doc = "DTC Enable by Event number i"]
1598 pub const _1: Self = Self::new(1);
1599 }
1600 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1601 pub struct St31_SPEC;
1602 pub type St31 = crate::EnumBitfieldStruct<u8, St31_SPEC>;
1603 impl St31 {
1604 #[doc = "DTC Disable by Event number i"]
1605 pub const _0: Self = Self::new(0);
1606
1607 #[doc = "DTC Enable by Event number i"]
1608 pub const _1: Self = Self::new(1);
1609 }
1610}
1611#[doc(hidden)]
1612#[derive(Copy, Clone, Eq, PartialEq)]
1613pub struct Dtcenst1_SPEC;
1614impl crate::sealed::RegSpec for Dtcenst1_SPEC {
1615 type DataType = u32;
1616}
1617
1618#[doc = "DTC Enable Status Register 1"]
1619pub type Dtcenst1 = crate::RegValueT<Dtcenst1_SPEC>;
1620
1621impl Dtcenst1 {
1622 #[doc = "DTC Enable Status by Event Number i"]
1623 #[inline(always)]
1624 pub fn st32(
1625 self,
1626 ) -> crate::common::RegisterField<
1627 0,
1628 0x1,
1629 1,
1630 0,
1631 dtcenst1::St32,
1632 dtcenst1::St32,
1633 Dtcenst1_SPEC,
1634 crate::common::R,
1635 > {
1636 crate::common::RegisterField::<
1637 0,
1638 0x1,
1639 1,
1640 0,
1641 dtcenst1::St32,
1642 dtcenst1::St32,
1643 Dtcenst1_SPEC,
1644 crate::common::R,
1645 >::from_register(self, 0)
1646 }
1647
1648 #[doc = "DTC Enable Status by Event Number i"]
1649 #[inline(always)]
1650 pub fn st33(
1651 self,
1652 ) -> crate::common::RegisterField<
1653 1,
1654 0x1,
1655 1,
1656 0,
1657 dtcenst1::St33,
1658 dtcenst1::St33,
1659 Dtcenst1_SPEC,
1660 crate::common::R,
1661 > {
1662 crate::common::RegisterField::<
1663 1,
1664 0x1,
1665 1,
1666 0,
1667 dtcenst1::St33,
1668 dtcenst1::St33,
1669 Dtcenst1_SPEC,
1670 crate::common::R,
1671 >::from_register(self, 0)
1672 }
1673
1674 #[doc = "DTC Enable Status by Event Number i"]
1675 #[inline(always)]
1676 pub fn st34(
1677 self,
1678 ) -> crate::common::RegisterField<
1679 2,
1680 0x1,
1681 1,
1682 0,
1683 dtcenst1::St34,
1684 dtcenst1::St34,
1685 Dtcenst1_SPEC,
1686 crate::common::R,
1687 > {
1688 crate::common::RegisterField::<
1689 2,
1690 0x1,
1691 1,
1692 0,
1693 dtcenst1::St34,
1694 dtcenst1::St34,
1695 Dtcenst1_SPEC,
1696 crate::common::R,
1697 >::from_register(self, 0)
1698 }
1699
1700 #[doc = "DTC Enable Status by Event Number i"]
1701 #[inline(always)]
1702 pub fn st35(
1703 self,
1704 ) -> crate::common::RegisterField<
1705 3,
1706 0x1,
1707 1,
1708 0,
1709 dtcenst1::St35,
1710 dtcenst1::St35,
1711 Dtcenst1_SPEC,
1712 crate::common::R,
1713 > {
1714 crate::common::RegisterField::<
1715 3,
1716 0x1,
1717 1,
1718 0,
1719 dtcenst1::St35,
1720 dtcenst1::St35,
1721 Dtcenst1_SPEC,
1722 crate::common::R,
1723 >::from_register(self, 0)
1724 }
1725
1726 #[doc = "DTC Enable Status by Event Number i"]
1727 #[inline(always)]
1728 pub fn st36(
1729 self,
1730 ) -> crate::common::RegisterField<
1731 4,
1732 0x1,
1733 1,
1734 0,
1735 dtcenst1::St36,
1736 dtcenst1::St36,
1737 Dtcenst1_SPEC,
1738 crate::common::R,
1739 > {
1740 crate::common::RegisterField::<
1741 4,
1742 0x1,
1743 1,
1744 0,
1745 dtcenst1::St36,
1746 dtcenst1::St36,
1747 Dtcenst1_SPEC,
1748 crate::common::R,
1749 >::from_register(self, 0)
1750 }
1751
1752 #[doc = "DTC Enable Status by Event Number i"]
1753 #[inline(always)]
1754 pub fn st37(
1755 self,
1756 ) -> crate::common::RegisterField<
1757 5,
1758 0x1,
1759 1,
1760 0,
1761 dtcenst1::St37,
1762 dtcenst1::St37,
1763 Dtcenst1_SPEC,
1764 crate::common::R,
1765 > {
1766 crate::common::RegisterField::<
1767 5,
1768 0x1,
1769 1,
1770 0,
1771 dtcenst1::St37,
1772 dtcenst1::St37,
1773 Dtcenst1_SPEC,
1774 crate::common::R,
1775 >::from_register(self, 0)
1776 }
1777
1778 #[doc = "DTC Enable Status by Event Number i"]
1779 #[inline(always)]
1780 pub fn st38(
1781 self,
1782 ) -> crate::common::RegisterField<
1783 6,
1784 0x1,
1785 1,
1786 0,
1787 dtcenst1::St38,
1788 dtcenst1::St38,
1789 Dtcenst1_SPEC,
1790 crate::common::R,
1791 > {
1792 crate::common::RegisterField::<
1793 6,
1794 0x1,
1795 1,
1796 0,
1797 dtcenst1::St38,
1798 dtcenst1::St38,
1799 Dtcenst1_SPEC,
1800 crate::common::R,
1801 >::from_register(self, 0)
1802 }
1803
1804 #[doc = "DTC Enable Status by Event Number i"]
1805 #[inline(always)]
1806 pub fn st40(
1807 self,
1808 ) -> crate::common::RegisterField<
1809 8,
1810 0x1,
1811 1,
1812 0,
1813 dtcenst1::St40,
1814 dtcenst1::St40,
1815 Dtcenst1_SPEC,
1816 crate::common::R,
1817 > {
1818 crate::common::RegisterField::<
1819 8,
1820 0x1,
1821 1,
1822 0,
1823 dtcenst1::St40,
1824 dtcenst1::St40,
1825 Dtcenst1_SPEC,
1826 crate::common::R,
1827 >::from_register(self, 0)
1828 }
1829
1830 #[doc = "DTC Enable Status by Event Number i"]
1831 #[inline(always)]
1832 pub fn st41(
1833 self,
1834 ) -> crate::common::RegisterField<
1835 9,
1836 0x1,
1837 1,
1838 0,
1839 dtcenst1::St41,
1840 dtcenst1::St41,
1841 Dtcenst1_SPEC,
1842 crate::common::R,
1843 > {
1844 crate::common::RegisterField::<
1845 9,
1846 0x1,
1847 1,
1848 0,
1849 dtcenst1::St41,
1850 dtcenst1::St41,
1851 Dtcenst1_SPEC,
1852 crate::common::R,
1853 >::from_register(self, 0)
1854 }
1855}
1856impl ::core::default::Default for Dtcenst1 {
1857 #[inline(always)]
1858 fn default() -> Dtcenst1 {
1859 <crate::RegValueT<Dtcenst1_SPEC> as RegisterValue<_>>::new(0)
1860 }
1861}
1862pub mod dtcenst1 {
1863
1864 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1865 pub struct St32_SPEC;
1866 pub type St32 = crate::EnumBitfieldStruct<u8, St32_SPEC>;
1867 impl St32 {
1868 #[doc = "DTC Disable by Event number i"]
1869 pub const _0: Self = Self::new(0);
1870
1871 #[doc = "DTC Enable by Event number i"]
1872 pub const _1: Self = Self::new(1);
1873 }
1874 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1875 pub struct St33_SPEC;
1876 pub type St33 = crate::EnumBitfieldStruct<u8, St33_SPEC>;
1877 impl St33 {
1878 #[doc = "DTC Disable by Event number i"]
1879 pub const _0: Self = Self::new(0);
1880
1881 #[doc = "DTC Enable by Event number i"]
1882 pub const _1: Self = Self::new(1);
1883 }
1884 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1885 pub struct St34_SPEC;
1886 pub type St34 = crate::EnumBitfieldStruct<u8, St34_SPEC>;
1887 impl St34 {
1888 #[doc = "DTC Disable by Event number i"]
1889 pub const _0: Self = Self::new(0);
1890
1891 #[doc = "DTC Enable by Event number i"]
1892 pub const _1: Self = Self::new(1);
1893 }
1894 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1895 pub struct St35_SPEC;
1896 pub type St35 = crate::EnumBitfieldStruct<u8, St35_SPEC>;
1897 impl St35 {
1898 #[doc = "DTC Disable by Event number i"]
1899 pub const _0: Self = Self::new(0);
1900
1901 #[doc = "DTC Enable by Event number i"]
1902 pub const _1: Self = Self::new(1);
1903 }
1904 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1905 pub struct St36_SPEC;
1906 pub type St36 = crate::EnumBitfieldStruct<u8, St36_SPEC>;
1907 impl St36 {
1908 #[doc = "DTC Disable by Event number i"]
1909 pub const _0: Self = Self::new(0);
1910
1911 #[doc = "DTC Enable by Event number i"]
1912 pub const _1: Self = Self::new(1);
1913 }
1914 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1915 pub struct St37_SPEC;
1916 pub type St37 = crate::EnumBitfieldStruct<u8, St37_SPEC>;
1917 impl St37 {
1918 #[doc = "DTC Disable by Event number i"]
1919 pub const _0: Self = Self::new(0);
1920
1921 #[doc = "DTC Enable by Event number i"]
1922 pub const _1: Self = Self::new(1);
1923 }
1924 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1925 pub struct St38_SPEC;
1926 pub type St38 = crate::EnumBitfieldStruct<u8, St38_SPEC>;
1927 impl St38 {
1928 #[doc = "DTC Disable by Event number i"]
1929 pub const _0: Self = Self::new(0);
1930
1931 #[doc = "DTC Enable by Event number i"]
1932 pub const _1: Self = Self::new(1);
1933 }
1934 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1935 pub struct St40_SPEC;
1936 pub type St40 = crate::EnumBitfieldStruct<u8, St40_SPEC>;
1937 impl St40 {
1938 #[doc = "DTC Disable by Event number i"]
1939 pub const _0: Self = Self::new(0);
1940
1941 #[doc = "DTC Enable by Event number i"]
1942 pub const _1: Self = Self::new(1);
1943 }
1944 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1945 pub struct St41_SPEC;
1946 pub type St41 = crate::EnumBitfieldStruct<u8, St41_SPEC>;
1947 impl St41 {
1948 #[doc = "DTC Disable by Event number i"]
1949 pub const _0: Self = Self::new(0);
1950
1951 #[doc = "DTC Enable by Event number i"]
1952 pub const _1: Self = Self::new(1);
1953 }
1954}
1955#[doc(hidden)]
1956#[derive(Copy, Clone, Eq, PartialEq)]
1957pub struct Dtcenset0_SPEC;
1958impl crate::sealed::RegSpec for Dtcenset0_SPEC {
1959 type DataType = u32;
1960}
1961
1962#[doc = "DTC Enable Set Register 0"]
1963pub type Dtcenset0 = crate::RegValueT<Dtcenset0_SPEC>;
1964
1965impl Dtcenset0 {
1966 #[doc = "DTC Enable Set by Event Number i"]
1967 #[inline(always)]
1968 pub fn set1(
1969 self,
1970 ) -> crate::common::RegisterField<
1971 1,
1972 0x1,
1973 1,
1974 0,
1975 dtcenset0::Set1,
1976 dtcenset0::Set1,
1977 Dtcenset0_SPEC,
1978 crate::common::RW,
1979 > {
1980 crate::common::RegisterField::<
1981 1,
1982 0x1,
1983 1,
1984 0,
1985 dtcenset0::Set1,
1986 dtcenset0::Set1,
1987 Dtcenset0_SPEC,
1988 crate::common::RW,
1989 >::from_register(self, 0)
1990 }
1991
1992 #[doc = "DTC Enable Set by Event Number i"]
1993 #[inline(always)]
1994 pub fn set2(
1995 self,
1996 ) -> crate::common::RegisterField<
1997 2,
1998 0x1,
1999 1,
2000 0,
2001 dtcenset0::Set2,
2002 dtcenset0::Set2,
2003 Dtcenset0_SPEC,
2004 crate::common::RW,
2005 > {
2006 crate::common::RegisterField::<
2007 2,
2008 0x1,
2009 1,
2010 0,
2011 dtcenset0::Set2,
2012 dtcenset0::Set2,
2013 Dtcenset0_SPEC,
2014 crate::common::RW,
2015 >::from_register(self, 0)
2016 }
2017
2018 #[doc = "DTC Enable Set by Event Number i"]
2019 #[inline(always)]
2020 pub fn set3(
2021 self,
2022 ) -> crate::common::RegisterField<
2023 3,
2024 0x1,
2025 1,
2026 0,
2027 dtcenset0::Set3,
2028 dtcenset0::Set3,
2029 Dtcenset0_SPEC,
2030 crate::common::RW,
2031 > {
2032 crate::common::RegisterField::<
2033 3,
2034 0x1,
2035 1,
2036 0,
2037 dtcenset0::Set3,
2038 dtcenset0::Set3,
2039 Dtcenset0_SPEC,
2040 crate::common::RW,
2041 >::from_register(self, 0)
2042 }
2043
2044 #[doc = "DTC Enable Set by Event Number i"]
2045 #[inline(always)]
2046 pub fn set4(
2047 self,
2048 ) -> crate::common::RegisterField<
2049 4,
2050 0x1,
2051 1,
2052 0,
2053 dtcenset0::Set4,
2054 dtcenset0::Set4,
2055 Dtcenset0_SPEC,
2056 crate::common::RW,
2057 > {
2058 crate::common::RegisterField::<
2059 4,
2060 0x1,
2061 1,
2062 0,
2063 dtcenset0::Set4,
2064 dtcenset0::Set4,
2065 Dtcenset0_SPEC,
2066 crate::common::RW,
2067 >::from_register(self, 0)
2068 }
2069
2070 #[doc = "DTC Enable Set by Event Number i"]
2071 #[inline(always)]
2072 pub fn set5(
2073 self,
2074 ) -> crate::common::RegisterField<
2075 5,
2076 0x1,
2077 1,
2078 0,
2079 dtcenset0::Set5,
2080 dtcenset0::Set5,
2081 Dtcenset0_SPEC,
2082 crate::common::RW,
2083 > {
2084 crate::common::RegisterField::<
2085 5,
2086 0x1,
2087 1,
2088 0,
2089 dtcenset0::Set5,
2090 dtcenset0::Set5,
2091 Dtcenset0_SPEC,
2092 crate::common::RW,
2093 >::from_register(self, 0)
2094 }
2095
2096 #[doc = "DTC Enable Set by Event Number i"]
2097 #[inline(always)]
2098 pub fn set6(
2099 self,
2100 ) -> crate::common::RegisterField<
2101 6,
2102 0x1,
2103 1,
2104 0,
2105 dtcenset0::Set6,
2106 dtcenset0::Set6,
2107 Dtcenset0_SPEC,
2108 crate::common::RW,
2109 > {
2110 crate::common::RegisterField::<
2111 6,
2112 0x1,
2113 1,
2114 0,
2115 dtcenset0::Set6,
2116 dtcenset0::Set6,
2117 Dtcenset0_SPEC,
2118 crate::common::RW,
2119 >::from_register(self, 0)
2120 }
2121
2122 #[doc = "DTC Enable Set by Event Number i"]
2123 #[inline(always)]
2124 pub fn set7(
2125 self,
2126 ) -> crate::common::RegisterField<
2127 7,
2128 0x1,
2129 1,
2130 0,
2131 dtcenset0::Set7,
2132 dtcenset0::Set7,
2133 Dtcenset0_SPEC,
2134 crate::common::RW,
2135 > {
2136 crate::common::RegisterField::<
2137 7,
2138 0x1,
2139 1,
2140 0,
2141 dtcenset0::Set7,
2142 dtcenset0::Set7,
2143 Dtcenset0_SPEC,
2144 crate::common::RW,
2145 >::from_register(self, 0)
2146 }
2147
2148 #[doc = "DTC Enable Set by Event Number i"]
2149 #[inline(always)]
2150 pub fn set12(
2151 self,
2152 ) -> crate::common::RegisterField<
2153 12,
2154 0x1,
2155 1,
2156 0,
2157 dtcenset0::Set12,
2158 dtcenset0::Set12,
2159 Dtcenset0_SPEC,
2160 crate::common::RW,
2161 > {
2162 crate::common::RegisterField::<
2163 12,
2164 0x1,
2165 1,
2166 0,
2167 dtcenset0::Set12,
2168 dtcenset0::Set12,
2169 Dtcenset0_SPEC,
2170 crate::common::RW,
2171 >::from_register(self, 0)
2172 }
2173
2174 #[doc = "DTC Enable Set by Event Number i"]
2175 #[inline(always)]
2176 pub fn set13(
2177 self,
2178 ) -> crate::common::RegisterField<
2179 13,
2180 0x1,
2181 1,
2182 0,
2183 dtcenset0::Set13,
2184 dtcenset0::Set13,
2185 Dtcenset0_SPEC,
2186 crate::common::RW,
2187 > {
2188 crate::common::RegisterField::<
2189 13,
2190 0x1,
2191 1,
2192 0,
2193 dtcenset0::Set13,
2194 dtcenset0::Set13,
2195 Dtcenset0_SPEC,
2196 crate::common::RW,
2197 >::from_register(self, 0)
2198 }
2199
2200 #[doc = "DTC Enable Set by Event Number i"]
2201 #[inline(always)]
2202 pub fn set15(
2203 self,
2204 ) -> crate::common::RegisterField<
2205 15,
2206 0x1,
2207 1,
2208 0,
2209 dtcenset0::Set15,
2210 dtcenset0::Set15,
2211 Dtcenset0_SPEC,
2212 crate::common::RW,
2213 > {
2214 crate::common::RegisterField::<
2215 15,
2216 0x1,
2217 1,
2218 0,
2219 dtcenset0::Set15,
2220 dtcenset0::Set15,
2221 Dtcenset0_SPEC,
2222 crate::common::RW,
2223 >::from_register(self, 0)
2224 }
2225
2226 #[doc = "DTC Enable Set by Event Number i"]
2227 #[inline(always)]
2228 pub fn set16(
2229 self,
2230 ) -> crate::common::RegisterField<
2231 16,
2232 0x1,
2233 1,
2234 0,
2235 dtcenset0::Set16,
2236 dtcenset0::Set16,
2237 Dtcenset0_SPEC,
2238 crate::common::RW,
2239 > {
2240 crate::common::RegisterField::<
2241 16,
2242 0x1,
2243 1,
2244 0,
2245 dtcenset0::Set16,
2246 dtcenset0::Set16,
2247 Dtcenset0_SPEC,
2248 crate::common::RW,
2249 >::from_register(self, 0)
2250 }
2251
2252 #[doc = "DTC Enable Set by Event Number i"]
2253 #[inline(always)]
2254 pub fn set18(
2255 self,
2256 ) -> crate::common::RegisterField<
2257 18,
2258 0x1,
2259 1,
2260 0,
2261 dtcenset0::Set18,
2262 dtcenset0::Set18,
2263 Dtcenset0_SPEC,
2264 crate::common::RW,
2265 > {
2266 crate::common::RegisterField::<
2267 18,
2268 0x1,
2269 1,
2270 0,
2271 dtcenset0::Set18,
2272 dtcenset0::Set18,
2273 Dtcenset0_SPEC,
2274 crate::common::RW,
2275 >::from_register(self, 0)
2276 }
2277
2278 #[doc = "DTC Enable Set by Event Number i"]
2279 #[inline(always)]
2280 pub fn set19(
2281 self,
2282 ) -> crate::common::RegisterField<
2283 19,
2284 0x1,
2285 1,
2286 0,
2287 dtcenset0::Set19,
2288 dtcenset0::Set19,
2289 Dtcenset0_SPEC,
2290 crate::common::RW,
2291 > {
2292 crate::common::RegisterField::<
2293 19,
2294 0x1,
2295 1,
2296 0,
2297 dtcenset0::Set19,
2298 dtcenset0::Set19,
2299 Dtcenset0_SPEC,
2300 crate::common::RW,
2301 >::from_register(self, 0)
2302 }
2303
2304 #[doc = "DTC Enable Set by Event Number i"]
2305 #[inline(always)]
2306 pub fn set22(
2307 self,
2308 ) -> crate::common::RegisterField<
2309 22,
2310 0x1,
2311 1,
2312 0,
2313 dtcenset0::Set22,
2314 dtcenset0::Set22,
2315 Dtcenset0_SPEC,
2316 crate::common::RW,
2317 > {
2318 crate::common::RegisterField::<
2319 22,
2320 0x1,
2321 1,
2322 0,
2323 dtcenset0::Set22,
2324 dtcenset0::Set22,
2325 Dtcenset0_SPEC,
2326 crate::common::RW,
2327 >::from_register(self, 0)
2328 }
2329
2330 #[doc = "DTC Enable Set by Event Number i"]
2331 #[inline(always)]
2332 pub fn set23(
2333 self,
2334 ) -> crate::common::RegisterField<
2335 23,
2336 0x1,
2337 1,
2338 0,
2339 dtcenset0::Set23,
2340 dtcenset0::Set23,
2341 Dtcenset0_SPEC,
2342 crate::common::RW,
2343 > {
2344 crate::common::RegisterField::<
2345 23,
2346 0x1,
2347 1,
2348 0,
2349 dtcenset0::Set23,
2350 dtcenset0::Set23,
2351 Dtcenset0_SPEC,
2352 crate::common::RW,
2353 >::from_register(self, 0)
2354 }
2355
2356 #[doc = "DTC Enable Set by Event Number i"]
2357 #[inline(always)]
2358 pub fn set27(
2359 self,
2360 ) -> crate::common::RegisterField<
2361 27,
2362 0x1,
2363 1,
2364 0,
2365 dtcenset0::Set27,
2366 dtcenset0::Set27,
2367 Dtcenset0_SPEC,
2368 crate::common::RW,
2369 > {
2370 crate::common::RegisterField::<
2371 27,
2372 0x1,
2373 1,
2374 0,
2375 dtcenset0::Set27,
2376 dtcenset0::Set27,
2377 Dtcenset0_SPEC,
2378 crate::common::RW,
2379 >::from_register(self, 0)
2380 }
2381
2382 #[doc = "DTC Enable Set by Event Number i"]
2383 #[inline(always)]
2384 pub fn set28(
2385 self,
2386 ) -> crate::common::RegisterField<
2387 28,
2388 0x1,
2389 1,
2390 0,
2391 dtcenset0::Set28,
2392 dtcenset0::Set28,
2393 Dtcenset0_SPEC,
2394 crate::common::RW,
2395 > {
2396 crate::common::RegisterField::<
2397 28,
2398 0x1,
2399 1,
2400 0,
2401 dtcenset0::Set28,
2402 dtcenset0::Set28,
2403 Dtcenset0_SPEC,
2404 crate::common::RW,
2405 >::from_register(self, 0)
2406 }
2407
2408 #[doc = "DTC Enable Set by Event Number i"]
2409 #[inline(always)]
2410 pub fn set29(
2411 self,
2412 ) -> crate::common::RegisterField<
2413 29,
2414 0x1,
2415 1,
2416 0,
2417 dtcenset0::Set29,
2418 dtcenset0::Set29,
2419 Dtcenset0_SPEC,
2420 crate::common::RW,
2421 > {
2422 crate::common::RegisterField::<
2423 29,
2424 0x1,
2425 1,
2426 0,
2427 dtcenset0::Set29,
2428 dtcenset0::Set29,
2429 Dtcenset0_SPEC,
2430 crate::common::RW,
2431 >::from_register(self, 0)
2432 }
2433
2434 #[doc = "DTC Enable Set by Event Number i"]
2435 #[inline(always)]
2436 pub fn set30(
2437 self,
2438 ) -> crate::common::RegisterField<
2439 30,
2440 0x1,
2441 1,
2442 0,
2443 dtcenset0::Set30,
2444 dtcenset0::Set30,
2445 Dtcenset0_SPEC,
2446 crate::common::RW,
2447 > {
2448 crate::common::RegisterField::<
2449 30,
2450 0x1,
2451 1,
2452 0,
2453 dtcenset0::Set30,
2454 dtcenset0::Set30,
2455 Dtcenset0_SPEC,
2456 crate::common::RW,
2457 >::from_register(self, 0)
2458 }
2459
2460 #[doc = "DTC Enable Set by Event Number i"]
2461 #[inline(always)]
2462 pub fn set31(
2463 self,
2464 ) -> crate::common::RegisterField<
2465 31,
2466 0x1,
2467 1,
2468 0,
2469 dtcenset0::Set31,
2470 dtcenset0::Set31,
2471 Dtcenset0_SPEC,
2472 crate::common::RW,
2473 > {
2474 crate::common::RegisterField::<
2475 31,
2476 0x1,
2477 1,
2478 0,
2479 dtcenset0::Set31,
2480 dtcenset0::Set31,
2481 Dtcenset0_SPEC,
2482 crate::common::RW,
2483 >::from_register(self, 0)
2484 }
2485}
2486impl ::core::default::Default for Dtcenset0 {
2487 #[inline(always)]
2488 fn default() -> Dtcenset0 {
2489 <crate::RegValueT<Dtcenset0_SPEC> as RegisterValue<_>>::new(0)
2490 }
2491}
2492pub mod dtcenset0 {
2493
2494 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2495 pub struct Set1_SPEC;
2496 pub type Set1 = crate::EnumBitfieldStruct<u8, Set1_SPEC>;
2497 impl Set1 {
2498 #[doc = "No effect"]
2499 pub const _0: Self = Self::new(0);
2500
2501 #[doc = "DTC Enable by Event number i"]
2502 pub const _1: Self = Self::new(1);
2503 }
2504 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2505 pub struct Set2_SPEC;
2506 pub type Set2 = crate::EnumBitfieldStruct<u8, Set2_SPEC>;
2507 impl Set2 {
2508 #[doc = "No effect"]
2509 pub const _0: Self = Self::new(0);
2510
2511 #[doc = "DTC Enable by Event number i"]
2512 pub const _1: Self = Self::new(1);
2513 }
2514 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2515 pub struct Set3_SPEC;
2516 pub type Set3 = crate::EnumBitfieldStruct<u8, Set3_SPEC>;
2517 impl Set3 {
2518 #[doc = "No effect"]
2519 pub const _0: Self = Self::new(0);
2520
2521 #[doc = "DTC Enable by Event number i"]
2522 pub const _1: Self = Self::new(1);
2523 }
2524 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2525 pub struct Set4_SPEC;
2526 pub type Set4 = crate::EnumBitfieldStruct<u8, Set4_SPEC>;
2527 impl Set4 {
2528 #[doc = "No effect"]
2529 pub const _0: Self = Self::new(0);
2530
2531 #[doc = "DTC Enable by Event number i"]
2532 pub const _1: Self = Self::new(1);
2533 }
2534 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2535 pub struct Set5_SPEC;
2536 pub type Set5 = crate::EnumBitfieldStruct<u8, Set5_SPEC>;
2537 impl Set5 {
2538 #[doc = "No effect"]
2539 pub const _0: Self = Self::new(0);
2540
2541 #[doc = "DTC Enable by Event number i"]
2542 pub const _1: Self = Self::new(1);
2543 }
2544 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2545 pub struct Set6_SPEC;
2546 pub type Set6 = crate::EnumBitfieldStruct<u8, Set6_SPEC>;
2547 impl Set6 {
2548 #[doc = "No effect"]
2549 pub const _0: Self = Self::new(0);
2550
2551 #[doc = "DTC Enable by Event number i"]
2552 pub const _1: Self = Self::new(1);
2553 }
2554 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2555 pub struct Set7_SPEC;
2556 pub type Set7 = crate::EnumBitfieldStruct<u8, Set7_SPEC>;
2557 impl Set7 {
2558 #[doc = "No effect"]
2559 pub const _0: Self = Self::new(0);
2560
2561 #[doc = "DTC Enable by Event number i"]
2562 pub const _1: Self = Self::new(1);
2563 }
2564 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2565 pub struct Set12_SPEC;
2566 pub type Set12 = crate::EnumBitfieldStruct<u8, Set12_SPEC>;
2567 impl Set12 {
2568 #[doc = "No effect"]
2569 pub const _0: Self = Self::new(0);
2570
2571 #[doc = "DTC Enable by Event number i"]
2572 pub const _1: Self = Self::new(1);
2573 }
2574 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2575 pub struct Set13_SPEC;
2576 pub type Set13 = crate::EnumBitfieldStruct<u8, Set13_SPEC>;
2577 impl Set13 {
2578 #[doc = "No effect"]
2579 pub const _0: Self = Self::new(0);
2580
2581 #[doc = "DTC Enable by Event number i"]
2582 pub const _1: Self = Self::new(1);
2583 }
2584 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2585 pub struct Set15_SPEC;
2586 pub type Set15 = crate::EnumBitfieldStruct<u8, Set15_SPEC>;
2587 impl Set15 {
2588 #[doc = "No effect"]
2589 pub const _0: Self = Self::new(0);
2590
2591 #[doc = "DTC Enable by Event number i"]
2592 pub const _1: Self = Self::new(1);
2593 }
2594 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2595 pub struct Set16_SPEC;
2596 pub type Set16 = crate::EnumBitfieldStruct<u8, Set16_SPEC>;
2597 impl Set16 {
2598 #[doc = "No effect"]
2599 pub const _0: Self = Self::new(0);
2600
2601 #[doc = "DTC Enable by Event number i"]
2602 pub const _1: Self = Self::new(1);
2603 }
2604 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2605 pub struct Set18_SPEC;
2606 pub type Set18 = crate::EnumBitfieldStruct<u8, Set18_SPEC>;
2607 impl Set18 {
2608 #[doc = "No effect"]
2609 pub const _0: Self = Self::new(0);
2610
2611 #[doc = "DTC Enable by Event number i"]
2612 pub const _1: Self = Self::new(1);
2613 }
2614 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2615 pub struct Set19_SPEC;
2616 pub type Set19 = crate::EnumBitfieldStruct<u8, Set19_SPEC>;
2617 impl Set19 {
2618 #[doc = "No effect"]
2619 pub const _0: Self = Self::new(0);
2620
2621 #[doc = "DTC Enable by Event number i"]
2622 pub const _1: Self = Self::new(1);
2623 }
2624 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2625 pub struct Set22_SPEC;
2626 pub type Set22 = crate::EnumBitfieldStruct<u8, Set22_SPEC>;
2627 impl Set22 {
2628 #[doc = "No effect"]
2629 pub const _0: Self = Self::new(0);
2630
2631 #[doc = "DTC Enable by Event number i"]
2632 pub const _1: Self = Self::new(1);
2633 }
2634 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2635 pub struct Set23_SPEC;
2636 pub type Set23 = crate::EnumBitfieldStruct<u8, Set23_SPEC>;
2637 impl Set23 {
2638 #[doc = "No effect"]
2639 pub const _0: Self = Self::new(0);
2640
2641 #[doc = "DTC Enable by Event number i"]
2642 pub const _1: Self = Self::new(1);
2643 }
2644 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2645 pub struct Set27_SPEC;
2646 pub type Set27 = crate::EnumBitfieldStruct<u8, Set27_SPEC>;
2647 impl Set27 {
2648 #[doc = "No effect"]
2649 pub const _0: Self = Self::new(0);
2650
2651 #[doc = "DTC Enable by Event number i"]
2652 pub const _1: Self = Self::new(1);
2653 }
2654 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2655 pub struct Set28_SPEC;
2656 pub type Set28 = crate::EnumBitfieldStruct<u8, Set28_SPEC>;
2657 impl Set28 {
2658 #[doc = "No effect"]
2659 pub const _0: Self = Self::new(0);
2660
2661 #[doc = "DTC Enable by Event number i"]
2662 pub const _1: Self = Self::new(1);
2663 }
2664 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2665 pub struct Set29_SPEC;
2666 pub type Set29 = crate::EnumBitfieldStruct<u8, Set29_SPEC>;
2667 impl Set29 {
2668 #[doc = "No effect"]
2669 pub const _0: Self = Self::new(0);
2670
2671 #[doc = "DTC Enable by Event number i"]
2672 pub const _1: Self = Self::new(1);
2673 }
2674 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2675 pub struct Set30_SPEC;
2676 pub type Set30 = crate::EnumBitfieldStruct<u8, Set30_SPEC>;
2677 impl Set30 {
2678 #[doc = "No effect"]
2679 pub const _0: Self = Self::new(0);
2680
2681 #[doc = "DTC Enable by Event number i"]
2682 pub const _1: Self = Self::new(1);
2683 }
2684 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2685 pub struct Set31_SPEC;
2686 pub type Set31 = crate::EnumBitfieldStruct<u8, Set31_SPEC>;
2687 impl Set31 {
2688 #[doc = "No effect"]
2689 pub const _0: Self = Self::new(0);
2690
2691 #[doc = "DTC Enable by Event number i"]
2692 pub const _1: Self = Self::new(1);
2693 }
2694}
2695#[doc(hidden)]
2696#[derive(Copy, Clone, Eq, PartialEq)]
2697pub struct Dtcenset1_SPEC;
2698impl crate::sealed::RegSpec for Dtcenset1_SPEC {
2699 type DataType = u32;
2700}
2701
2702#[doc = "DTC Enable Set Register 1"]
2703pub type Dtcenset1 = crate::RegValueT<Dtcenset1_SPEC>;
2704
2705impl Dtcenset1 {
2706 #[doc = "DTC Enable Set by Event Number i"]
2707 #[inline(always)]
2708 pub fn set32(
2709 self,
2710 ) -> crate::common::RegisterField<
2711 0,
2712 0x1,
2713 1,
2714 0,
2715 dtcenset1::Set32,
2716 dtcenset1::Set32,
2717 Dtcenset1_SPEC,
2718 crate::common::RW,
2719 > {
2720 crate::common::RegisterField::<
2721 0,
2722 0x1,
2723 1,
2724 0,
2725 dtcenset1::Set32,
2726 dtcenset1::Set32,
2727 Dtcenset1_SPEC,
2728 crate::common::RW,
2729 >::from_register(self, 0)
2730 }
2731
2732 #[doc = "DTC Enable Set by Event Number i"]
2733 #[inline(always)]
2734 pub fn set33(
2735 self,
2736 ) -> crate::common::RegisterField<
2737 1,
2738 0x1,
2739 1,
2740 0,
2741 dtcenset1::Set33,
2742 dtcenset1::Set33,
2743 Dtcenset1_SPEC,
2744 crate::common::RW,
2745 > {
2746 crate::common::RegisterField::<
2747 1,
2748 0x1,
2749 1,
2750 0,
2751 dtcenset1::Set33,
2752 dtcenset1::Set33,
2753 Dtcenset1_SPEC,
2754 crate::common::RW,
2755 >::from_register(self, 0)
2756 }
2757
2758 #[doc = "DTC Enable Set by Event Number i"]
2759 #[inline(always)]
2760 pub fn set34(
2761 self,
2762 ) -> crate::common::RegisterField<
2763 2,
2764 0x1,
2765 1,
2766 0,
2767 dtcenset1::Set34,
2768 dtcenset1::Set34,
2769 Dtcenset1_SPEC,
2770 crate::common::RW,
2771 > {
2772 crate::common::RegisterField::<
2773 2,
2774 0x1,
2775 1,
2776 0,
2777 dtcenset1::Set34,
2778 dtcenset1::Set34,
2779 Dtcenset1_SPEC,
2780 crate::common::RW,
2781 >::from_register(self, 0)
2782 }
2783
2784 #[doc = "DTC Enable Set by Event Number i"]
2785 #[inline(always)]
2786 pub fn set35(
2787 self,
2788 ) -> crate::common::RegisterField<
2789 3,
2790 0x1,
2791 1,
2792 0,
2793 dtcenset1::Set35,
2794 dtcenset1::Set35,
2795 Dtcenset1_SPEC,
2796 crate::common::RW,
2797 > {
2798 crate::common::RegisterField::<
2799 3,
2800 0x1,
2801 1,
2802 0,
2803 dtcenset1::Set35,
2804 dtcenset1::Set35,
2805 Dtcenset1_SPEC,
2806 crate::common::RW,
2807 >::from_register(self, 0)
2808 }
2809
2810 #[doc = "DTC Enable Set by Event Number i"]
2811 #[inline(always)]
2812 pub fn set36(
2813 self,
2814 ) -> crate::common::RegisterField<
2815 4,
2816 0x1,
2817 1,
2818 0,
2819 dtcenset1::Set36,
2820 dtcenset1::Set36,
2821 Dtcenset1_SPEC,
2822 crate::common::RW,
2823 > {
2824 crate::common::RegisterField::<
2825 4,
2826 0x1,
2827 1,
2828 0,
2829 dtcenset1::Set36,
2830 dtcenset1::Set36,
2831 Dtcenset1_SPEC,
2832 crate::common::RW,
2833 >::from_register(self, 0)
2834 }
2835
2836 #[doc = "DTC Enable Set by Event Number i"]
2837 #[inline(always)]
2838 pub fn set37(
2839 self,
2840 ) -> crate::common::RegisterField<
2841 5,
2842 0x1,
2843 1,
2844 0,
2845 dtcenset1::Set37,
2846 dtcenset1::Set37,
2847 Dtcenset1_SPEC,
2848 crate::common::RW,
2849 > {
2850 crate::common::RegisterField::<
2851 5,
2852 0x1,
2853 1,
2854 0,
2855 dtcenset1::Set37,
2856 dtcenset1::Set37,
2857 Dtcenset1_SPEC,
2858 crate::common::RW,
2859 >::from_register(self, 0)
2860 }
2861
2862 #[doc = "DTC Enable Set by Event Number i"]
2863 #[inline(always)]
2864 pub fn set38(
2865 self,
2866 ) -> crate::common::RegisterField<
2867 6,
2868 0x1,
2869 1,
2870 0,
2871 dtcenset1::Set38,
2872 dtcenset1::Set38,
2873 Dtcenset1_SPEC,
2874 crate::common::RW,
2875 > {
2876 crate::common::RegisterField::<
2877 6,
2878 0x1,
2879 1,
2880 0,
2881 dtcenset1::Set38,
2882 dtcenset1::Set38,
2883 Dtcenset1_SPEC,
2884 crate::common::RW,
2885 >::from_register(self, 0)
2886 }
2887
2888 #[doc = "DTC Enable Set by Event Number i"]
2889 #[inline(always)]
2890 pub fn set40(
2891 self,
2892 ) -> crate::common::RegisterField<
2893 8,
2894 0x1,
2895 1,
2896 0,
2897 dtcenset1::Set40,
2898 dtcenset1::Set40,
2899 Dtcenset1_SPEC,
2900 crate::common::RW,
2901 > {
2902 crate::common::RegisterField::<
2903 8,
2904 0x1,
2905 1,
2906 0,
2907 dtcenset1::Set40,
2908 dtcenset1::Set40,
2909 Dtcenset1_SPEC,
2910 crate::common::RW,
2911 >::from_register(self, 0)
2912 }
2913
2914 #[doc = "DTC Enable Set by Event Number i"]
2915 #[inline(always)]
2916 pub fn set41(
2917 self,
2918 ) -> crate::common::RegisterField<
2919 9,
2920 0x1,
2921 1,
2922 0,
2923 dtcenset1::Set41,
2924 dtcenset1::Set41,
2925 Dtcenset1_SPEC,
2926 crate::common::RW,
2927 > {
2928 crate::common::RegisterField::<
2929 9,
2930 0x1,
2931 1,
2932 0,
2933 dtcenset1::Set41,
2934 dtcenset1::Set41,
2935 Dtcenset1_SPEC,
2936 crate::common::RW,
2937 >::from_register(self, 0)
2938 }
2939}
2940impl ::core::default::Default for Dtcenset1 {
2941 #[inline(always)]
2942 fn default() -> Dtcenset1 {
2943 <crate::RegValueT<Dtcenset1_SPEC> as RegisterValue<_>>::new(0)
2944 }
2945}
2946pub mod dtcenset1 {
2947
2948 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2949 pub struct Set32_SPEC;
2950 pub type Set32 = crate::EnumBitfieldStruct<u8, Set32_SPEC>;
2951 impl Set32 {
2952 #[doc = "No effect"]
2953 pub const _0: Self = Self::new(0);
2954
2955 #[doc = "DTC Enable by Event number i"]
2956 pub const _1: Self = Self::new(1);
2957 }
2958 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2959 pub struct Set33_SPEC;
2960 pub type Set33 = crate::EnumBitfieldStruct<u8, Set33_SPEC>;
2961 impl Set33 {
2962 #[doc = "No effect"]
2963 pub const _0: Self = Self::new(0);
2964
2965 #[doc = "DTC Enable by Event number i"]
2966 pub const _1: Self = Self::new(1);
2967 }
2968 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2969 pub struct Set34_SPEC;
2970 pub type Set34 = crate::EnumBitfieldStruct<u8, Set34_SPEC>;
2971 impl Set34 {
2972 #[doc = "No effect"]
2973 pub const _0: Self = Self::new(0);
2974
2975 #[doc = "DTC Enable by Event number i"]
2976 pub const _1: Self = Self::new(1);
2977 }
2978 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2979 pub struct Set35_SPEC;
2980 pub type Set35 = crate::EnumBitfieldStruct<u8, Set35_SPEC>;
2981 impl Set35 {
2982 #[doc = "No effect"]
2983 pub const _0: Self = Self::new(0);
2984
2985 #[doc = "DTC Enable by Event number i"]
2986 pub const _1: Self = Self::new(1);
2987 }
2988 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2989 pub struct Set36_SPEC;
2990 pub type Set36 = crate::EnumBitfieldStruct<u8, Set36_SPEC>;
2991 impl Set36 {
2992 #[doc = "No effect"]
2993 pub const _0: Self = Self::new(0);
2994
2995 #[doc = "DTC Enable by Event number i"]
2996 pub const _1: Self = Self::new(1);
2997 }
2998 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2999 pub struct Set37_SPEC;
3000 pub type Set37 = crate::EnumBitfieldStruct<u8, Set37_SPEC>;
3001 impl Set37 {
3002 #[doc = "No effect"]
3003 pub const _0: Self = Self::new(0);
3004
3005 #[doc = "DTC Enable by Event number i"]
3006 pub const _1: Self = Self::new(1);
3007 }
3008 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3009 pub struct Set38_SPEC;
3010 pub type Set38 = crate::EnumBitfieldStruct<u8, Set38_SPEC>;
3011 impl Set38 {
3012 #[doc = "No effect"]
3013 pub const _0: Self = Self::new(0);
3014
3015 #[doc = "DTC Enable by Event number i"]
3016 pub const _1: Self = Self::new(1);
3017 }
3018 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3019 pub struct Set40_SPEC;
3020 pub type Set40 = crate::EnumBitfieldStruct<u8, Set40_SPEC>;
3021 impl Set40 {
3022 #[doc = "No effect"]
3023 pub const _0: Self = Self::new(0);
3024
3025 #[doc = "DTC Enable by Event number i"]
3026 pub const _1: Self = Self::new(1);
3027 }
3028 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3029 pub struct Set41_SPEC;
3030 pub type Set41 = crate::EnumBitfieldStruct<u8, Set41_SPEC>;
3031 impl Set41 {
3032 #[doc = "No effect"]
3033 pub const _0: Self = Self::new(0);
3034
3035 #[doc = "DTC Enable by Event number i"]
3036 pub const _1: Self = Self::new(1);
3037 }
3038}
3039#[doc(hidden)]
3040#[derive(Copy, Clone, Eq, PartialEq)]
3041pub struct Dtcenclr0_SPEC;
3042impl crate::sealed::RegSpec for Dtcenclr0_SPEC {
3043 type DataType = u32;
3044}
3045
3046#[doc = "DTC Enable Clear Register 0"]
3047pub type Dtcenclr0 = crate::RegValueT<Dtcenclr0_SPEC>;
3048
3049impl Dtcenclr0 {
3050 #[doc = "DTC Enable Clear by Event Number i"]
3051 #[inline(always)]
3052 pub fn clr1(
3053 self,
3054 ) -> crate::common::RegisterField<
3055 1,
3056 0x1,
3057 1,
3058 0,
3059 dtcenclr0::Clr1,
3060 dtcenclr0::Clr1,
3061 Dtcenclr0_SPEC,
3062 crate::common::RW,
3063 > {
3064 crate::common::RegisterField::<
3065 1,
3066 0x1,
3067 1,
3068 0,
3069 dtcenclr0::Clr1,
3070 dtcenclr0::Clr1,
3071 Dtcenclr0_SPEC,
3072 crate::common::RW,
3073 >::from_register(self, 0)
3074 }
3075
3076 #[doc = "DTC Enable Clear by Event Number i"]
3077 #[inline(always)]
3078 pub fn clr2(
3079 self,
3080 ) -> crate::common::RegisterField<
3081 2,
3082 0x1,
3083 1,
3084 0,
3085 dtcenclr0::Clr2,
3086 dtcenclr0::Clr2,
3087 Dtcenclr0_SPEC,
3088 crate::common::RW,
3089 > {
3090 crate::common::RegisterField::<
3091 2,
3092 0x1,
3093 1,
3094 0,
3095 dtcenclr0::Clr2,
3096 dtcenclr0::Clr2,
3097 Dtcenclr0_SPEC,
3098 crate::common::RW,
3099 >::from_register(self, 0)
3100 }
3101
3102 #[doc = "DTC Enable Clear by Event Number i"]
3103 #[inline(always)]
3104 pub fn clr3(
3105 self,
3106 ) -> crate::common::RegisterField<
3107 3,
3108 0x1,
3109 1,
3110 0,
3111 dtcenclr0::Clr3,
3112 dtcenclr0::Clr3,
3113 Dtcenclr0_SPEC,
3114 crate::common::RW,
3115 > {
3116 crate::common::RegisterField::<
3117 3,
3118 0x1,
3119 1,
3120 0,
3121 dtcenclr0::Clr3,
3122 dtcenclr0::Clr3,
3123 Dtcenclr0_SPEC,
3124 crate::common::RW,
3125 >::from_register(self, 0)
3126 }
3127
3128 #[doc = "DTC Enable Clear by Event Number i"]
3129 #[inline(always)]
3130 pub fn clr4(
3131 self,
3132 ) -> crate::common::RegisterField<
3133 4,
3134 0x1,
3135 1,
3136 0,
3137 dtcenclr0::Clr4,
3138 dtcenclr0::Clr4,
3139 Dtcenclr0_SPEC,
3140 crate::common::RW,
3141 > {
3142 crate::common::RegisterField::<
3143 4,
3144 0x1,
3145 1,
3146 0,
3147 dtcenclr0::Clr4,
3148 dtcenclr0::Clr4,
3149 Dtcenclr0_SPEC,
3150 crate::common::RW,
3151 >::from_register(self, 0)
3152 }
3153
3154 #[doc = "DTC Enable Clear by Event Number i"]
3155 #[inline(always)]
3156 pub fn clr5(
3157 self,
3158 ) -> crate::common::RegisterField<
3159 5,
3160 0x1,
3161 1,
3162 0,
3163 dtcenclr0::Clr5,
3164 dtcenclr0::Clr5,
3165 Dtcenclr0_SPEC,
3166 crate::common::RW,
3167 > {
3168 crate::common::RegisterField::<
3169 5,
3170 0x1,
3171 1,
3172 0,
3173 dtcenclr0::Clr5,
3174 dtcenclr0::Clr5,
3175 Dtcenclr0_SPEC,
3176 crate::common::RW,
3177 >::from_register(self, 0)
3178 }
3179
3180 #[doc = "DTC Enable Clear by Event Number i"]
3181 #[inline(always)]
3182 pub fn clr6(
3183 self,
3184 ) -> crate::common::RegisterField<
3185 6,
3186 0x1,
3187 1,
3188 0,
3189 dtcenclr0::Clr6,
3190 dtcenclr0::Clr6,
3191 Dtcenclr0_SPEC,
3192 crate::common::RW,
3193 > {
3194 crate::common::RegisterField::<
3195 6,
3196 0x1,
3197 1,
3198 0,
3199 dtcenclr0::Clr6,
3200 dtcenclr0::Clr6,
3201 Dtcenclr0_SPEC,
3202 crate::common::RW,
3203 >::from_register(self, 0)
3204 }
3205
3206 #[doc = "DTC Enable Clear by Event Number i"]
3207 #[inline(always)]
3208 pub fn clr7(
3209 self,
3210 ) -> crate::common::RegisterField<
3211 7,
3212 0x1,
3213 1,
3214 0,
3215 dtcenclr0::Clr7,
3216 dtcenclr0::Clr7,
3217 Dtcenclr0_SPEC,
3218 crate::common::RW,
3219 > {
3220 crate::common::RegisterField::<
3221 7,
3222 0x1,
3223 1,
3224 0,
3225 dtcenclr0::Clr7,
3226 dtcenclr0::Clr7,
3227 Dtcenclr0_SPEC,
3228 crate::common::RW,
3229 >::from_register(self, 0)
3230 }
3231
3232 #[doc = "DTC Enable Clear by Event Number i"]
3233 #[inline(always)]
3234 pub fn clr12(
3235 self,
3236 ) -> crate::common::RegisterField<
3237 12,
3238 0x1,
3239 1,
3240 0,
3241 dtcenclr0::Clr12,
3242 dtcenclr0::Clr12,
3243 Dtcenclr0_SPEC,
3244 crate::common::RW,
3245 > {
3246 crate::common::RegisterField::<
3247 12,
3248 0x1,
3249 1,
3250 0,
3251 dtcenclr0::Clr12,
3252 dtcenclr0::Clr12,
3253 Dtcenclr0_SPEC,
3254 crate::common::RW,
3255 >::from_register(self, 0)
3256 }
3257
3258 #[doc = "DTC Enable Clear by Event Number i"]
3259 #[inline(always)]
3260 pub fn clr13(
3261 self,
3262 ) -> crate::common::RegisterField<
3263 13,
3264 0x1,
3265 1,
3266 0,
3267 dtcenclr0::Clr13,
3268 dtcenclr0::Clr13,
3269 Dtcenclr0_SPEC,
3270 crate::common::RW,
3271 > {
3272 crate::common::RegisterField::<
3273 13,
3274 0x1,
3275 1,
3276 0,
3277 dtcenclr0::Clr13,
3278 dtcenclr0::Clr13,
3279 Dtcenclr0_SPEC,
3280 crate::common::RW,
3281 >::from_register(self, 0)
3282 }
3283
3284 #[doc = "DTC Enable Clear by Event Number i"]
3285 #[inline(always)]
3286 pub fn clr15(
3287 self,
3288 ) -> crate::common::RegisterField<
3289 15,
3290 0x1,
3291 1,
3292 0,
3293 dtcenclr0::Clr15,
3294 dtcenclr0::Clr15,
3295 Dtcenclr0_SPEC,
3296 crate::common::RW,
3297 > {
3298 crate::common::RegisterField::<
3299 15,
3300 0x1,
3301 1,
3302 0,
3303 dtcenclr0::Clr15,
3304 dtcenclr0::Clr15,
3305 Dtcenclr0_SPEC,
3306 crate::common::RW,
3307 >::from_register(self, 0)
3308 }
3309
3310 #[doc = "DTC Enable Clear by Event Number i"]
3311 #[inline(always)]
3312 pub fn clr16(
3313 self,
3314 ) -> crate::common::RegisterField<
3315 16,
3316 0x1,
3317 1,
3318 0,
3319 dtcenclr0::Clr16,
3320 dtcenclr0::Clr16,
3321 Dtcenclr0_SPEC,
3322 crate::common::RW,
3323 > {
3324 crate::common::RegisterField::<
3325 16,
3326 0x1,
3327 1,
3328 0,
3329 dtcenclr0::Clr16,
3330 dtcenclr0::Clr16,
3331 Dtcenclr0_SPEC,
3332 crate::common::RW,
3333 >::from_register(self, 0)
3334 }
3335
3336 #[doc = "DTC Enable Clear by Event Number i"]
3337 #[inline(always)]
3338 pub fn clr18(
3339 self,
3340 ) -> crate::common::RegisterField<
3341 18,
3342 0x1,
3343 1,
3344 0,
3345 dtcenclr0::Clr18,
3346 dtcenclr0::Clr18,
3347 Dtcenclr0_SPEC,
3348 crate::common::RW,
3349 > {
3350 crate::common::RegisterField::<
3351 18,
3352 0x1,
3353 1,
3354 0,
3355 dtcenclr0::Clr18,
3356 dtcenclr0::Clr18,
3357 Dtcenclr0_SPEC,
3358 crate::common::RW,
3359 >::from_register(self, 0)
3360 }
3361
3362 #[doc = "DTC Enable Clear by Event Number i"]
3363 #[inline(always)]
3364 pub fn clr19(
3365 self,
3366 ) -> crate::common::RegisterField<
3367 19,
3368 0x1,
3369 1,
3370 0,
3371 dtcenclr0::Clr19,
3372 dtcenclr0::Clr19,
3373 Dtcenclr0_SPEC,
3374 crate::common::RW,
3375 > {
3376 crate::common::RegisterField::<
3377 19,
3378 0x1,
3379 1,
3380 0,
3381 dtcenclr0::Clr19,
3382 dtcenclr0::Clr19,
3383 Dtcenclr0_SPEC,
3384 crate::common::RW,
3385 >::from_register(self, 0)
3386 }
3387
3388 #[doc = "DTC Enable Clear by Event Number i"]
3389 #[inline(always)]
3390 pub fn clr22(
3391 self,
3392 ) -> crate::common::RegisterField<
3393 22,
3394 0x1,
3395 1,
3396 0,
3397 dtcenclr0::Clr22,
3398 dtcenclr0::Clr22,
3399 Dtcenclr0_SPEC,
3400 crate::common::RW,
3401 > {
3402 crate::common::RegisterField::<
3403 22,
3404 0x1,
3405 1,
3406 0,
3407 dtcenclr0::Clr22,
3408 dtcenclr0::Clr22,
3409 Dtcenclr0_SPEC,
3410 crate::common::RW,
3411 >::from_register(self, 0)
3412 }
3413
3414 #[doc = "DTC Enable Clear by Event Number i"]
3415 #[inline(always)]
3416 pub fn clr23(
3417 self,
3418 ) -> crate::common::RegisterField<
3419 23,
3420 0x1,
3421 1,
3422 0,
3423 dtcenclr0::Clr23,
3424 dtcenclr0::Clr23,
3425 Dtcenclr0_SPEC,
3426 crate::common::RW,
3427 > {
3428 crate::common::RegisterField::<
3429 23,
3430 0x1,
3431 1,
3432 0,
3433 dtcenclr0::Clr23,
3434 dtcenclr0::Clr23,
3435 Dtcenclr0_SPEC,
3436 crate::common::RW,
3437 >::from_register(self, 0)
3438 }
3439
3440 #[doc = "DTC Enable Clear by Event Number i"]
3441 #[inline(always)]
3442 pub fn clr27(
3443 self,
3444 ) -> crate::common::RegisterField<
3445 27,
3446 0x1,
3447 1,
3448 0,
3449 dtcenclr0::Clr27,
3450 dtcenclr0::Clr27,
3451 Dtcenclr0_SPEC,
3452 crate::common::RW,
3453 > {
3454 crate::common::RegisterField::<
3455 27,
3456 0x1,
3457 1,
3458 0,
3459 dtcenclr0::Clr27,
3460 dtcenclr0::Clr27,
3461 Dtcenclr0_SPEC,
3462 crate::common::RW,
3463 >::from_register(self, 0)
3464 }
3465
3466 #[doc = "DTC Enable Clear by Event Number i"]
3467 #[inline(always)]
3468 pub fn clr28(
3469 self,
3470 ) -> crate::common::RegisterField<
3471 28,
3472 0x1,
3473 1,
3474 0,
3475 dtcenclr0::Clr28,
3476 dtcenclr0::Clr28,
3477 Dtcenclr0_SPEC,
3478 crate::common::RW,
3479 > {
3480 crate::common::RegisterField::<
3481 28,
3482 0x1,
3483 1,
3484 0,
3485 dtcenclr0::Clr28,
3486 dtcenclr0::Clr28,
3487 Dtcenclr0_SPEC,
3488 crate::common::RW,
3489 >::from_register(self, 0)
3490 }
3491
3492 #[doc = "DTC Enable Clear by Event Number i"]
3493 #[inline(always)]
3494 pub fn clr29(
3495 self,
3496 ) -> crate::common::RegisterField<
3497 29,
3498 0x1,
3499 1,
3500 0,
3501 dtcenclr0::Clr29,
3502 dtcenclr0::Clr29,
3503 Dtcenclr0_SPEC,
3504 crate::common::RW,
3505 > {
3506 crate::common::RegisterField::<
3507 29,
3508 0x1,
3509 1,
3510 0,
3511 dtcenclr0::Clr29,
3512 dtcenclr0::Clr29,
3513 Dtcenclr0_SPEC,
3514 crate::common::RW,
3515 >::from_register(self, 0)
3516 }
3517
3518 #[doc = "DTC Enable Clear by Event Number i"]
3519 #[inline(always)]
3520 pub fn clr30(
3521 self,
3522 ) -> crate::common::RegisterField<
3523 30,
3524 0x1,
3525 1,
3526 0,
3527 dtcenclr0::Clr30,
3528 dtcenclr0::Clr30,
3529 Dtcenclr0_SPEC,
3530 crate::common::RW,
3531 > {
3532 crate::common::RegisterField::<
3533 30,
3534 0x1,
3535 1,
3536 0,
3537 dtcenclr0::Clr30,
3538 dtcenclr0::Clr30,
3539 Dtcenclr0_SPEC,
3540 crate::common::RW,
3541 >::from_register(self, 0)
3542 }
3543
3544 #[doc = "DTC Enable Clear by Event Number i"]
3545 #[inline(always)]
3546 pub fn clr31(
3547 self,
3548 ) -> crate::common::RegisterField<
3549 31,
3550 0x1,
3551 1,
3552 0,
3553 dtcenclr0::Clr31,
3554 dtcenclr0::Clr31,
3555 Dtcenclr0_SPEC,
3556 crate::common::RW,
3557 > {
3558 crate::common::RegisterField::<
3559 31,
3560 0x1,
3561 1,
3562 0,
3563 dtcenclr0::Clr31,
3564 dtcenclr0::Clr31,
3565 Dtcenclr0_SPEC,
3566 crate::common::RW,
3567 >::from_register(self, 0)
3568 }
3569}
3570impl ::core::default::Default for Dtcenclr0 {
3571 #[inline(always)]
3572 fn default() -> Dtcenclr0 {
3573 <crate::RegValueT<Dtcenclr0_SPEC> as RegisterValue<_>>::new(0)
3574 }
3575}
3576pub mod dtcenclr0 {
3577
3578 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3579 pub struct Clr1_SPEC;
3580 pub type Clr1 = crate::EnumBitfieldStruct<u8, Clr1_SPEC>;
3581 impl Clr1 {
3582 #[doc = "No effect"]
3583 pub const _0: Self = Self::new(0);
3584
3585 #[doc = "DTC Disable by Event number i"]
3586 pub const _1: Self = Self::new(1);
3587 }
3588 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3589 pub struct Clr2_SPEC;
3590 pub type Clr2 = crate::EnumBitfieldStruct<u8, Clr2_SPEC>;
3591 impl Clr2 {
3592 #[doc = "No effect"]
3593 pub const _0: Self = Self::new(0);
3594
3595 #[doc = "DTC Disable by Event number i"]
3596 pub const _1: Self = Self::new(1);
3597 }
3598 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3599 pub struct Clr3_SPEC;
3600 pub type Clr3 = crate::EnumBitfieldStruct<u8, Clr3_SPEC>;
3601 impl Clr3 {
3602 #[doc = "No effect"]
3603 pub const _0: Self = Self::new(0);
3604
3605 #[doc = "DTC Disable by Event number i"]
3606 pub const _1: Self = Self::new(1);
3607 }
3608 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3609 pub struct Clr4_SPEC;
3610 pub type Clr4 = crate::EnumBitfieldStruct<u8, Clr4_SPEC>;
3611 impl Clr4 {
3612 #[doc = "No effect"]
3613 pub const _0: Self = Self::new(0);
3614
3615 #[doc = "DTC Disable by Event number i"]
3616 pub const _1: Self = Self::new(1);
3617 }
3618 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3619 pub struct Clr5_SPEC;
3620 pub type Clr5 = crate::EnumBitfieldStruct<u8, Clr5_SPEC>;
3621 impl Clr5 {
3622 #[doc = "No effect"]
3623 pub const _0: Self = Self::new(0);
3624
3625 #[doc = "DTC Disable by Event number i"]
3626 pub const _1: Self = Self::new(1);
3627 }
3628 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3629 pub struct Clr6_SPEC;
3630 pub type Clr6 = crate::EnumBitfieldStruct<u8, Clr6_SPEC>;
3631 impl Clr6 {
3632 #[doc = "No effect"]
3633 pub const _0: Self = Self::new(0);
3634
3635 #[doc = "DTC Disable by Event number i"]
3636 pub const _1: Self = Self::new(1);
3637 }
3638 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3639 pub struct Clr7_SPEC;
3640 pub type Clr7 = crate::EnumBitfieldStruct<u8, Clr7_SPEC>;
3641 impl Clr7 {
3642 #[doc = "No effect"]
3643 pub const _0: Self = Self::new(0);
3644
3645 #[doc = "DTC Disable by Event number i"]
3646 pub const _1: Self = Self::new(1);
3647 }
3648 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3649 pub struct Clr12_SPEC;
3650 pub type Clr12 = crate::EnumBitfieldStruct<u8, Clr12_SPEC>;
3651 impl Clr12 {
3652 #[doc = "No effect"]
3653 pub const _0: Self = Self::new(0);
3654
3655 #[doc = "DTC Disable by Event number i"]
3656 pub const _1: Self = Self::new(1);
3657 }
3658 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3659 pub struct Clr13_SPEC;
3660 pub type Clr13 = crate::EnumBitfieldStruct<u8, Clr13_SPEC>;
3661 impl Clr13 {
3662 #[doc = "No effect"]
3663 pub const _0: Self = Self::new(0);
3664
3665 #[doc = "DTC Disable by Event number i"]
3666 pub const _1: Self = Self::new(1);
3667 }
3668 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3669 pub struct Clr15_SPEC;
3670 pub type Clr15 = crate::EnumBitfieldStruct<u8, Clr15_SPEC>;
3671 impl Clr15 {
3672 #[doc = "No effect"]
3673 pub const _0: Self = Self::new(0);
3674
3675 #[doc = "DTC Disable by Event number i"]
3676 pub const _1: Self = Self::new(1);
3677 }
3678 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3679 pub struct Clr16_SPEC;
3680 pub type Clr16 = crate::EnumBitfieldStruct<u8, Clr16_SPEC>;
3681 impl Clr16 {
3682 #[doc = "No effect"]
3683 pub const _0: Self = Self::new(0);
3684
3685 #[doc = "DTC Disable by Event number i"]
3686 pub const _1: Self = Self::new(1);
3687 }
3688 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3689 pub struct Clr18_SPEC;
3690 pub type Clr18 = crate::EnumBitfieldStruct<u8, Clr18_SPEC>;
3691 impl Clr18 {
3692 #[doc = "No effect"]
3693 pub const _0: Self = Self::new(0);
3694
3695 #[doc = "DTC Disable by Event number i"]
3696 pub const _1: Self = Self::new(1);
3697 }
3698 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3699 pub struct Clr19_SPEC;
3700 pub type Clr19 = crate::EnumBitfieldStruct<u8, Clr19_SPEC>;
3701 impl Clr19 {
3702 #[doc = "No effect"]
3703 pub const _0: Self = Self::new(0);
3704
3705 #[doc = "DTC Disable by Event number i"]
3706 pub const _1: Self = Self::new(1);
3707 }
3708 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3709 pub struct Clr22_SPEC;
3710 pub type Clr22 = crate::EnumBitfieldStruct<u8, Clr22_SPEC>;
3711 impl Clr22 {
3712 #[doc = "No effect"]
3713 pub const _0: Self = Self::new(0);
3714
3715 #[doc = "DTC Disable by Event number i"]
3716 pub const _1: Self = Self::new(1);
3717 }
3718 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3719 pub struct Clr23_SPEC;
3720 pub type Clr23 = crate::EnumBitfieldStruct<u8, Clr23_SPEC>;
3721 impl Clr23 {
3722 #[doc = "No effect"]
3723 pub const _0: Self = Self::new(0);
3724
3725 #[doc = "DTC Disable by Event number i"]
3726 pub const _1: Self = Self::new(1);
3727 }
3728 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3729 pub struct Clr27_SPEC;
3730 pub type Clr27 = crate::EnumBitfieldStruct<u8, Clr27_SPEC>;
3731 impl Clr27 {
3732 #[doc = "No effect"]
3733 pub const _0: Self = Self::new(0);
3734
3735 #[doc = "DTC Disable by Event number i"]
3736 pub const _1: Self = Self::new(1);
3737 }
3738 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3739 pub struct Clr28_SPEC;
3740 pub type Clr28 = crate::EnumBitfieldStruct<u8, Clr28_SPEC>;
3741 impl Clr28 {
3742 #[doc = "No effect"]
3743 pub const _0: Self = Self::new(0);
3744
3745 #[doc = "DTC Disable by Event number i"]
3746 pub const _1: Self = Self::new(1);
3747 }
3748 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3749 pub struct Clr29_SPEC;
3750 pub type Clr29 = crate::EnumBitfieldStruct<u8, Clr29_SPEC>;
3751 impl Clr29 {
3752 #[doc = "No effect"]
3753 pub const _0: Self = Self::new(0);
3754
3755 #[doc = "DTC Disable by Event number i"]
3756 pub const _1: Self = Self::new(1);
3757 }
3758 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3759 pub struct Clr30_SPEC;
3760 pub type Clr30 = crate::EnumBitfieldStruct<u8, Clr30_SPEC>;
3761 impl Clr30 {
3762 #[doc = "No effect"]
3763 pub const _0: Self = Self::new(0);
3764
3765 #[doc = "DTC Disable by Event number i"]
3766 pub const _1: Self = Self::new(1);
3767 }
3768 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3769 pub struct Clr31_SPEC;
3770 pub type Clr31 = crate::EnumBitfieldStruct<u8, Clr31_SPEC>;
3771 impl Clr31 {
3772 #[doc = "No effect"]
3773 pub const _0: Self = Self::new(0);
3774
3775 #[doc = "DTC Disable by Event number i"]
3776 pub const _1: Self = Self::new(1);
3777 }
3778}
3779#[doc(hidden)]
3780#[derive(Copy, Clone, Eq, PartialEq)]
3781pub struct Dtcenclr1_SPEC;
3782impl crate::sealed::RegSpec for Dtcenclr1_SPEC {
3783 type DataType = u32;
3784}
3785
3786#[doc = "DTC Enable Clear Register 1"]
3787pub type Dtcenclr1 = crate::RegValueT<Dtcenclr1_SPEC>;
3788
3789impl Dtcenclr1 {
3790 #[doc = "DTC Enable Clear by Event Number i"]
3791 #[inline(always)]
3792 pub fn clr32(
3793 self,
3794 ) -> crate::common::RegisterField<
3795 0,
3796 0x1,
3797 1,
3798 0,
3799 dtcenclr1::Clr32,
3800 dtcenclr1::Clr32,
3801 Dtcenclr1_SPEC,
3802 crate::common::RW,
3803 > {
3804 crate::common::RegisterField::<
3805 0,
3806 0x1,
3807 1,
3808 0,
3809 dtcenclr1::Clr32,
3810 dtcenclr1::Clr32,
3811 Dtcenclr1_SPEC,
3812 crate::common::RW,
3813 >::from_register(self, 0)
3814 }
3815
3816 #[doc = "DTC Enable Clear by Event Number i"]
3817 #[inline(always)]
3818 pub fn clr33(
3819 self,
3820 ) -> crate::common::RegisterField<
3821 1,
3822 0x1,
3823 1,
3824 0,
3825 dtcenclr1::Clr33,
3826 dtcenclr1::Clr33,
3827 Dtcenclr1_SPEC,
3828 crate::common::RW,
3829 > {
3830 crate::common::RegisterField::<
3831 1,
3832 0x1,
3833 1,
3834 0,
3835 dtcenclr1::Clr33,
3836 dtcenclr1::Clr33,
3837 Dtcenclr1_SPEC,
3838 crate::common::RW,
3839 >::from_register(self, 0)
3840 }
3841
3842 #[doc = "DTC Enable Clear by Event Number i"]
3843 #[inline(always)]
3844 pub fn clr34(
3845 self,
3846 ) -> crate::common::RegisterField<
3847 2,
3848 0x1,
3849 1,
3850 0,
3851 dtcenclr1::Clr34,
3852 dtcenclr1::Clr34,
3853 Dtcenclr1_SPEC,
3854 crate::common::RW,
3855 > {
3856 crate::common::RegisterField::<
3857 2,
3858 0x1,
3859 1,
3860 0,
3861 dtcenclr1::Clr34,
3862 dtcenclr1::Clr34,
3863 Dtcenclr1_SPEC,
3864 crate::common::RW,
3865 >::from_register(self, 0)
3866 }
3867
3868 #[doc = "DTC Enable Clear by Event Number i"]
3869 #[inline(always)]
3870 pub fn clr35(
3871 self,
3872 ) -> crate::common::RegisterField<
3873 3,
3874 0x1,
3875 1,
3876 0,
3877 dtcenclr1::Clr35,
3878 dtcenclr1::Clr35,
3879 Dtcenclr1_SPEC,
3880 crate::common::RW,
3881 > {
3882 crate::common::RegisterField::<
3883 3,
3884 0x1,
3885 1,
3886 0,
3887 dtcenclr1::Clr35,
3888 dtcenclr1::Clr35,
3889 Dtcenclr1_SPEC,
3890 crate::common::RW,
3891 >::from_register(self, 0)
3892 }
3893
3894 #[doc = "DTC Enable Clear by Event Number i"]
3895 #[inline(always)]
3896 pub fn clr36(
3897 self,
3898 ) -> crate::common::RegisterField<
3899 4,
3900 0x1,
3901 1,
3902 0,
3903 dtcenclr1::Clr36,
3904 dtcenclr1::Clr36,
3905 Dtcenclr1_SPEC,
3906 crate::common::RW,
3907 > {
3908 crate::common::RegisterField::<
3909 4,
3910 0x1,
3911 1,
3912 0,
3913 dtcenclr1::Clr36,
3914 dtcenclr1::Clr36,
3915 Dtcenclr1_SPEC,
3916 crate::common::RW,
3917 >::from_register(self, 0)
3918 }
3919
3920 #[doc = "DTC Enable Clear by Event Number i"]
3921 #[inline(always)]
3922 pub fn clr37(
3923 self,
3924 ) -> crate::common::RegisterField<
3925 5,
3926 0x1,
3927 1,
3928 0,
3929 dtcenclr1::Clr37,
3930 dtcenclr1::Clr37,
3931 Dtcenclr1_SPEC,
3932 crate::common::RW,
3933 > {
3934 crate::common::RegisterField::<
3935 5,
3936 0x1,
3937 1,
3938 0,
3939 dtcenclr1::Clr37,
3940 dtcenclr1::Clr37,
3941 Dtcenclr1_SPEC,
3942 crate::common::RW,
3943 >::from_register(self, 0)
3944 }
3945
3946 #[doc = "DTC Enable Clear by Event Number i"]
3947 #[inline(always)]
3948 pub fn clr38(
3949 self,
3950 ) -> crate::common::RegisterField<
3951 6,
3952 0x1,
3953 1,
3954 0,
3955 dtcenclr1::Clr38,
3956 dtcenclr1::Clr38,
3957 Dtcenclr1_SPEC,
3958 crate::common::RW,
3959 > {
3960 crate::common::RegisterField::<
3961 6,
3962 0x1,
3963 1,
3964 0,
3965 dtcenclr1::Clr38,
3966 dtcenclr1::Clr38,
3967 Dtcenclr1_SPEC,
3968 crate::common::RW,
3969 >::from_register(self, 0)
3970 }
3971
3972 #[doc = "DTC Enable Clear by Event Number i"]
3973 #[inline(always)]
3974 pub fn clr40(
3975 self,
3976 ) -> crate::common::RegisterField<
3977 8,
3978 0x1,
3979 1,
3980 0,
3981 dtcenclr1::Clr40,
3982 dtcenclr1::Clr40,
3983 Dtcenclr1_SPEC,
3984 crate::common::RW,
3985 > {
3986 crate::common::RegisterField::<
3987 8,
3988 0x1,
3989 1,
3990 0,
3991 dtcenclr1::Clr40,
3992 dtcenclr1::Clr40,
3993 Dtcenclr1_SPEC,
3994 crate::common::RW,
3995 >::from_register(self, 0)
3996 }
3997
3998 #[doc = "DTC Enable Clear by Event Number i"]
3999 #[inline(always)]
4000 pub fn clr41(
4001 self,
4002 ) -> crate::common::RegisterField<
4003 9,
4004 0x1,
4005 1,
4006 0,
4007 dtcenclr1::Clr41,
4008 dtcenclr1::Clr41,
4009 Dtcenclr1_SPEC,
4010 crate::common::RW,
4011 > {
4012 crate::common::RegisterField::<
4013 9,
4014 0x1,
4015 1,
4016 0,
4017 dtcenclr1::Clr41,
4018 dtcenclr1::Clr41,
4019 Dtcenclr1_SPEC,
4020 crate::common::RW,
4021 >::from_register(self, 0)
4022 }
4023}
4024impl ::core::default::Default for Dtcenclr1 {
4025 #[inline(always)]
4026 fn default() -> Dtcenclr1 {
4027 <crate::RegValueT<Dtcenclr1_SPEC> as RegisterValue<_>>::new(0)
4028 }
4029}
4030pub mod dtcenclr1 {
4031
4032 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4033 pub struct Clr32_SPEC;
4034 pub type Clr32 = crate::EnumBitfieldStruct<u8, Clr32_SPEC>;
4035 impl Clr32 {
4036 #[doc = "No effect"]
4037 pub const _0: Self = Self::new(0);
4038
4039 #[doc = "DTC Disable by Event number i"]
4040 pub const _1: Self = Self::new(1);
4041 }
4042 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4043 pub struct Clr33_SPEC;
4044 pub type Clr33 = crate::EnumBitfieldStruct<u8, Clr33_SPEC>;
4045 impl Clr33 {
4046 #[doc = "No effect"]
4047 pub const _0: Self = Self::new(0);
4048
4049 #[doc = "DTC Disable by Event number i"]
4050 pub const _1: Self = Self::new(1);
4051 }
4052 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4053 pub struct Clr34_SPEC;
4054 pub type Clr34 = crate::EnumBitfieldStruct<u8, Clr34_SPEC>;
4055 impl Clr34 {
4056 #[doc = "No effect"]
4057 pub const _0: Self = Self::new(0);
4058
4059 #[doc = "DTC Disable by Event number i"]
4060 pub const _1: Self = Self::new(1);
4061 }
4062 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4063 pub struct Clr35_SPEC;
4064 pub type Clr35 = crate::EnumBitfieldStruct<u8, Clr35_SPEC>;
4065 impl Clr35 {
4066 #[doc = "No effect"]
4067 pub const _0: Self = Self::new(0);
4068
4069 #[doc = "DTC Disable by Event number i"]
4070 pub const _1: Self = Self::new(1);
4071 }
4072 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4073 pub struct Clr36_SPEC;
4074 pub type Clr36 = crate::EnumBitfieldStruct<u8, Clr36_SPEC>;
4075 impl Clr36 {
4076 #[doc = "No effect"]
4077 pub const _0: Self = Self::new(0);
4078
4079 #[doc = "DTC Disable by Event number i"]
4080 pub const _1: Self = Self::new(1);
4081 }
4082 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4083 pub struct Clr37_SPEC;
4084 pub type Clr37 = crate::EnumBitfieldStruct<u8, Clr37_SPEC>;
4085 impl Clr37 {
4086 #[doc = "No effect"]
4087 pub const _0: Self = Self::new(0);
4088
4089 #[doc = "DTC Disable by Event number i"]
4090 pub const _1: Self = Self::new(1);
4091 }
4092 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4093 pub struct Clr38_SPEC;
4094 pub type Clr38 = crate::EnumBitfieldStruct<u8, Clr38_SPEC>;
4095 impl Clr38 {
4096 #[doc = "No effect"]
4097 pub const _0: Self = Self::new(0);
4098
4099 #[doc = "DTC Disable by Event number i"]
4100 pub const _1: Self = Self::new(1);
4101 }
4102 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4103 pub struct Clr40_SPEC;
4104 pub type Clr40 = crate::EnumBitfieldStruct<u8, Clr40_SPEC>;
4105 impl Clr40 {
4106 #[doc = "No effect"]
4107 pub const _0: Self = Self::new(0);
4108
4109 #[doc = "DTC Disable by Event number i"]
4110 pub const _1: Self = Self::new(1);
4111 }
4112 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4113 pub struct Clr41_SPEC;
4114 pub type Clr41 = crate::EnumBitfieldStruct<u8, Clr41_SPEC>;
4115 impl Clr41 {
4116 #[doc = "No effect"]
4117 pub const _0: Self = Self::new(0);
4118
4119 #[doc = "DTC Disable by Event number i"]
4120 pub const _1: Self = Self::new(1);
4121 }
4122}
4123#[doc(hidden)]
4124#[derive(Copy, Clone, Eq, PartialEq)]
4125pub struct Intflag0_SPEC;
4126impl crate::sealed::RegSpec for Intflag0_SPEC {
4127 type DataType = u32;
4128}
4129
4130#[doc = "Interrupt Request Flag Monitor Register 0"]
4131pub type Intflag0 = crate::RegValueT<Intflag0_SPEC>;
4132
4133impl Intflag0 {
4134 #[doc = "Interrupt Request Flag Monitor"]
4135 #[inline(always)]
4136 pub fn if0(
4137 self,
4138 ) -> crate::common::RegisterField<
4139 0,
4140 0x1,
4141 1,
4142 0,
4143 intflag0::If0,
4144 intflag0::If0,
4145 Intflag0_SPEC,
4146 crate::common::R,
4147 > {
4148 crate::common::RegisterField::<
4149 0,
4150 0x1,
4151 1,
4152 0,
4153 intflag0::If0,
4154 intflag0::If0,
4155 Intflag0_SPEC,
4156 crate::common::R,
4157 >::from_register(self, 0)
4158 }
4159
4160 #[doc = "Interrupt Request Flag Monitor"]
4161 #[inline(always)]
4162 pub fn if1(
4163 self,
4164 ) -> crate::common::RegisterField<
4165 1,
4166 0x1,
4167 1,
4168 0,
4169 intflag0::If1,
4170 intflag0::If1,
4171 Intflag0_SPEC,
4172 crate::common::R,
4173 > {
4174 crate::common::RegisterField::<
4175 1,
4176 0x1,
4177 1,
4178 0,
4179 intflag0::If1,
4180 intflag0::If1,
4181 Intflag0_SPEC,
4182 crate::common::R,
4183 >::from_register(self, 0)
4184 }
4185
4186 #[doc = "Interrupt Request Flag Monitor"]
4187 #[inline(always)]
4188 pub fn if2(
4189 self,
4190 ) -> crate::common::RegisterField<
4191 2,
4192 0x1,
4193 1,
4194 0,
4195 intflag0::If2,
4196 intflag0::If2,
4197 Intflag0_SPEC,
4198 crate::common::R,
4199 > {
4200 crate::common::RegisterField::<
4201 2,
4202 0x1,
4203 1,
4204 0,
4205 intflag0::If2,
4206 intflag0::If2,
4207 Intflag0_SPEC,
4208 crate::common::R,
4209 >::from_register(self, 0)
4210 }
4211
4212 #[doc = "Interrupt Request Flag Monitor"]
4213 #[inline(always)]
4214 pub fn if3(
4215 self,
4216 ) -> crate::common::RegisterField<
4217 3,
4218 0x1,
4219 1,
4220 0,
4221 intflag0::If3,
4222 intflag0::If3,
4223 Intflag0_SPEC,
4224 crate::common::R,
4225 > {
4226 crate::common::RegisterField::<
4227 3,
4228 0x1,
4229 1,
4230 0,
4231 intflag0::If3,
4232 intflag0::If3,
4233 Intflag0_SPEC,
4234 crate::common::R,
4235 >::from_register(self, 0)
4236 }
4237
4238 #[doc = "Interrupt Request Flag Monitor"]
4239 #[inline(always)]
4240 pub fn if4(
4241 self,
4242 ) -> crate::common::RegisterField<
4243 4,
4244 0x1,
4245 1,
4246 0,
4247 intflag0::If4,
4248 intflag0::If4,
4249 Intflag0_SPEC,
4250 crate::common::R,
4251 > {
4252 crate::common::RegisterField::<
4253 4,
4254 0x1,
4255 1,
4256 0,
4257 intflag0::If4,
4258 intflag0::If4,
4259 Intflag0_SPEC,
4260 crate::common::R,
4261 >::from_register(self, 0)
4262 }
4263
4264 #[doc = "Interrupt Request Flag Monitor"]
4265 #[inline(always)]
4266 pub fn if5(
4267 self,
4268 ) -> crate::common::RegisterField<
4269 5,
4270 0x1,
4271 1,
4272 0,
4273 intflag0::If5,
4274 intflag0::If5,
4275 Intflag0_SPEC,
4276 crate::common::R,
4277 > {
4278 crate::common::RegisterField::<
4279 5,
4280 0x1,
4281 1,
4282 0,
4283 intflag0::If5,
4284 intflag0::If5,
4285 Intflag0_SPEC,
4286 crate::common::R,
4287 >::from_register(self, 0)
4288 }
4289
4290 #[doc = "Interrupt Request Flag Monitor"]
4291 #[inline(always)]
4292 pub fn if6(
4293 self,
4294 ) -> crate::common::RegisterField<
4295 6,
4296 0x1,
4297 1,
4298 0,
4299 intflag0::If6,
4300 intflag0::If6,
4301 Intflag0_SPEC,
4302 crate::common::R,
4303 > {
4304 crate::common::RegisterField::<
4305 6,
4306 0x1,
4307 1,
4308 0,
4309 intflag0::If6,
4310 intflag0::If6,
4311 Intflag0_SPEC,
4312 crate::common::R,
4313 >::from_register(self, 0)
4314 }
4315
4316 #[doc = "Interrupt Request Flag Monitor"]
4317 #[inline(always)]
4318 pub fn if7(
4319 self,
4320 ) -> crate::common::RegisterField<
4321 7,
4322 0x1,
4323 1,
4324 0,
4325 intflag0::If7,
4326 intflag0::If7,
4327 Intflag0_SPEC,
4328 crate::common::R,
4329 > {
4330 crate::common::RegisterField::<
4331 7,
4332 0x1,
4333 1,
4334 0,
4335 intflag0::If7,
4336 intflag0::If7,
4337 Intflag0_SPEC,
4338 crate::common::R,
4339 >::from_register(self, 0)
4340 }
4341
4342 #[doc = "Interrupt Request Flag Monitor"]
4343 #[inline(always)]
4344 pub fn if10(
4345 self,
4346 ) -> crate::common::RegisterField<
4347 10,
4348 0x1,
4349 1,
4350 0,
4351 intflag0::If10,
4352 intflag0::If10,
4353 Intflag0_SPEC,
4354 crate::common::R,
4355 > {
4356 crate::common::RegisterField::<
4357 10,
4358 0x1,
4359 1,
4360 0,
4361 intflag0::If10,
4362 intflag0::If10,
4363 Intflag0_SPEC,
4364 crate::common::R,
4365 >::from_register(self, 0)
4366 }
4367
4368 #[doc = "Interrupt Request Flag Monitor"]
4369 #[inline(always)]
4370 pub fn if11(
4371 self,
4372 ) -> crate::common::RegisterField<
4373 11,
4374 0x1,
4375 1,
4376 0,
4377 intflag0::If11,
4378 intflag0::If11,
4379 Intflag0_SPEC,
4380 crate::common::R,
4381 > {
4382 crate::common::RegisterField::<
4383 11,
4384 0x1,
4385 1,
4386 0,
4387 intflag0::If11,
4388 intflag0::If11,
4389 Intflag0_SPEC,
4390 crate::common::R,
4391 >::from_register(self, 0)
4392 }
4393
4394 #[doc = "Interrupt Request Flag Monitor"]
4395 #[inline(always)]
4396 pub fn if12(
4397 self,
4398 ) -> crate::common::RegisterField<
4399 12,
4400 0x1,
4401 1,
4402 0,
4403 intflag0::If12,
4404 intflag0::If12,
4405 Intflag0_SPEC,
4406 crate::common::R,
4407 > {
4408 crate::common::RegisterField::<
4409 12,
4410 0x1,
4411 1,
4412 0,
4413 intflag0::If12,
4414 intflag0::If12,
4415 Intflag0_SPEC,
4416 crate::common::R,
4417 >::from_register(self, 0)
4418 }
4419
4420 #[doc = "Interrupt Request Flag Monitor"]
4421 #[inline(always)]
4422 pub fn if13(
4423 self,
4424 ) -> crate::common::RegisterField<
4425 13,
4426 0x1,
4427 1,
4428 0,
4429 intflag0::If13,
4430 intflag0::If13,
4431 Intflag0_SPEC,
4432 crate::common::R,
4433 > {
4434 crate::common::RegisterField::<
4435 13,
4436 0x1,
4437 1,
4438 0,
4439 intflag0::If13,
4440 intflag0::If13,
4441 Intflag0_SPEC,
4442 crate::common::R,
4443 >::from_register(self, 0)
4444 }
4445
4446 #[doc = "Interrupt Request Flag Monitor"]
4447 #[inline(always)]
4448 pub fn if14(
4449 self,
4450 ) -> crate::common::RegisterField<
4451 14,
4452 0x1,
4453 1,
4454 0,
4455 intflag0::If14,
4456 intflag0::If14,
4457 Intflag0_SPEC,
4458 crate::common::R,
4459 > {
4460 crate::common::RegisterField::<
4461 14,
4462 0x1,
4463 1,
4464 0,
4465 intflag0::If14,
4466 intflag0::If14,
4467 Intflag0_SPEC,
4468 crate::common::R,
4469 >::from_register(self, 0)
4470 }
4471
4472 #[doc = "Interrupt Request Flag Monitor"]
4473 #[inline(always)]
4474 pub fn if15(
4475 self,
4476 ) -> crate::common::RegisterField<
4477 15,
4478 0x1,
4479 1,
4480 0,
4481 intflag0::If15,
4482 intflag0::If15,
4483 Intflag0_SPEC,
4484 crate::common::R,
4485 > {
4486 crate::common::RegisterField::<
4487 15,
4488 0x1,
4489 1,
4490 0,
4491 intflag0::If15,
4492 intflag0::If15,
4493 Intflag0_SPEC,
4494 crate::common::R,
4495 >::from_register(self, 0)
4496 }
4497
4498 #[doc = "Interrupt Request Flag Monitor"]
4499 #[inline(always)]
4500 pub fn if16(
4501 self,
4502 ) -> crate::common::RegisterField<
4503 16,
4504 0x1,
4505 1,
4506 0,
4507 intflag0::If16,
4508 intflag0::If16,
4509 Intflag0_SPEC,
4510 crate::common::R,
4511 > {
4512 crate::common::RegisterField::<
4513 16,
4514 0x1,
4515 1,
4516 0,
4517 intflag0::If16,
4518 intflag0::If16,
4519 Intflag0_SPEC,
4520 crate::common::R,
4521 >::from_register(self, 0)
4522 }
4523
4524 #[doc = "Interrupt Request Flag Monitor"]
4525 #[inline(always)]
4526 pub fn if17(
4527 self,
4528 ) -> crate::common::RegisterField<
4529 17,
4530 0x1,
4531 1,
4532 0,
4533 intflag0::If17,
4534 intflag0::If17,
4535 Intflag0_SPEC,
4536 crate::common::R,
4537 > {
4538 crate::common::RegisterField::<
4539 17,
4540 0x1,
4541 1,
4542 0,
4543 intflag0::If17,
4544 intflag0::If17,
4545 Intflag0_SPEC,
4546 crate::common::R,
4547 >::from_register(self, 0)
4548 }
4549
4550 #[doc = "Interrupt Request Flag Monitor"]
4551 #[inline(always)]
4552 pub fn if18(
4553 self,
4554 ) -> crate::common::RegisterField<
4555 18,
4556 0x1,
4557 1,
4558 0,
4559 intflag0::If18,
4560 intflag0::If18,
4561 Intflag0_SPEC,
4562 crate::common::R,
4563 > {
4564 crate::common::RegisterField::<
4565 18,
4566 0x1,
4567 1,
4568 0,
4569 intflag0::If18,
4570 intflag0::If18,
4571 Intflag0_SPEC,
4572 crate::common::R,
4573 >::from_register(self, 0)
4574 }
4575
4576 #[doc = "Interrupt Request Flag Monitor"]
4577 #[inline(always)]
4578 pub fn if19(
4579 self,
4580 ) -> crate::common::RegisterField<
4581 19,
4582 0x1,
4583 1,
4584 0,
4585 intflag0::If19,
4586 intflag0::If19,
4587 Intflag0_SPEC,
4588 crate::common::R,
4589 > {
4590 crate::common::RegisterField::<
4591 19,
4592 0x1,
4593 1,
4594 0,
4595 intflag0::If19,
4596 intflag0::If19,
4597 Intflag0_SPEC,
4598 crate::common::R,
4599 >::from_register(self, 0)
4600 }
4601
4602 #[doc = "Interrupt Request Flag Monitor"]
4603 #[inline(always)]
4604 pub fn if20(
4605 self,
4606 ) -> crate::common::RegisterField<
4607 20,
4608 0x1,
4609 1,
4610 0,
4611 intflag0::If20,
4612 intflag0::If20,
4613 Intflag0_SPEC,
4614 crate::common::R,
4615 > {
4616 crate::common::RegisterField::<
4617 20,
4618 0x1,
4619 1,
4620 0,
4621 intflag0::If20,
4622 intflag0::If20,
4623 Intflag0_SPEC,
4624 crate::common::R,
4625 >::from_register(self, 0)
4626 }
4627
4628 #[doc = "Interrupt Request Flag Monitor"]
4629 #[inline(always)]
4630 pub fn if21(
4631 self,
4632 ) -> crate::common::RegisterField<
4633 21,
4634 0x1,
4635 1,
4636 0,
4637 intflag0::If21,
4638 intflag0::If21,
4639 Intflag0_SPEC,
4640 crate::common::R,
4641 > {
4642 crate::common::RegisterField::<
4643 21,
4644 0x1,
4645 1,
4646 0,
4647 intflag0::If21,
4648 intflag0::If21,
4649 Intflag0_SPEC,
4650 crate::common::R,
4651 >::from_register(self, 0)
4652 }
4653
4654 #[doc = "Interrupt Request Flag Monitor"]
4655 #[inline(always)]
4656 pub fn if22(
4657 self,
4658 ) -> crate::common::RegisterField<
4659 22,
4660 0x1,
4661 1,
4662 0,
4663 intflag0::If22,
4664 intflag0::If22,
4665 Intflag0_SPEC,
4666 crate::common::R,
4667 > {
4668 crate::common::RegisterField::<
4669 22,
4670 0x1,
4671 1,
4672 0,
4673 intflag0::If22,
4674 intflag0::If22,
4675 Intflag0_SPEC,
4676 crate::common::R,
4677 >::from_register(self, 0)
4678 }
4679
4680 #[doc = "Interrupt Request Flag Monitor"]
4681 #[inline(always)]
4682 pub fn if23(
4683 self,
4684 ) -> crate::common::RegisterField<
4685 23,
4686 0x1,
4687 1,
4688 0,
4689 intflag0::If23,
4690 intflag0::If23,
4691 Intflag0_SPEC,
4692 crate::common::R,
4693 > {
4694 crate::common::RegisterField::<
4695 23,
4696 0x1,
4697 1,
4698 0,
4699 intflag0::If23,
4700 intflag0::If23,
4701 Intflag0_SPEC,
4702 crate::common::R,
4703 >::from_register(self, 0)
4704 }
4705
4706 #[doc = "Interrupt Request Flag Monitor"]
4707 #[inline(always)]
4708 pub fn if24(
4709 self,
4710 ) -> crate::common::RegisterField<
4711 24,
4712 0x1,
4713 1,
4714 0,
4715 intflag0::If24,
4716 intflag0::If24,
4717 Intflag0_SPEC,
4718 crate::common::R,
4719 > {
4720 crate::common::RegisterField::<
4721 24,
4722 0x1,
4723 1,
4724 0,
4725 intflag0::If24,
4726 intflag0::If24,
4727 Intflag0_SPEC,
4728 crate::common::R,
4729 >::from_register(self, 0)
4730 }
4731
4732 #[doc = "Interrupt Request Flag Monitor"]
4733 #[inline(always)]
4734 pub fn if25(
4735 self,
4736 ) -> crate::common::RegisterField<
4737 25,
4738 0x1,
4739 1,
4740 0,
4741 intflag0::If25,
4742 intflag0::If25,
4743 Intflag0_SPEC,
4744 crate::common::R,
4745 > {
4746 crate::common::RegisterField::<
4747 25,
4748 0x1,
4749 1,
4750 0,
4751 intflag0::If25,
4752 intflag0::If25,
4753 Intflag0_SPEC,
4754 crate::common::R,
4755 >::from_register(self, 0)
4756 }
4757
4758 #[doc = "Interrupt Request Flag Monitor"]
4759 #[inline(always)]
4760 pub fn if26(
4761 self,
4762 ) -> crate::common::RegisterField<
4763 26,
4764 0x1,
4765 1,
4766 0,
4767 intflag0::If26,
4768 intflag0::If26,
4769 Intflag0_SPEC,
4770 crate::common::R,
4771 > {
4772 crate::common::RegisterField::<
4773 26,
4774 0x1,
4775 1,
4776 0,
4777 intflag0::If26,
4778 intflag0::If26,
4779 Intflag0_SPEC,
4780 crate::common::R,
4781 >::from_register(self, 0)
4782 }
4783
4784 #[doc = "Interrupt Request Flag Monitor"]
4785 #[inline(always)]
4786 pub fn if27(
4787 self,
4788 ) -> crate::common::RegisterField<
4789 27,
4790 0x1,
4791 1,
4792 0,
4793 intflag0::If27,
4794 intflag0::If27,
4795 Intflag0_SPEC,
4796 crate::common::R,
4797 > {
4798 crate::common::RegisterField::<
4799 27,
4800 0x1,
4801 1,
4802 0,
4803 intflag0::If27,
4804 intflag0::If27,
4805 Intflag0_SPEC,
4806 crate::common::R,
4807 >::from_register(self, 0)
4808 }
4809
4810 #[doc = "Interrupt Request Flag Monitor"]
4811 #[inline(always)]
4812 pub fn if28(
4813 self,
4814 ) -> crate::common::RegisterField<
4815 28,
4816 0x1,
4817 1,
4818 0,
4819 intflag0::If28,
4820 intflag0::If28,
4821 Intflag0_SPEC,
4822 crate::common::R,
4823 > {
4824 crate::common::RegisterField::<
4825 28,
4826 0x1,
4827 1,
4828 0,
4829 intflag0::If28,
4830 intflag0::If28,
4831 Intflag0_SPEC,
4832 crate::common::R,
4833 >::from_register(self, 0)
4834 }
4835
4836 #[doc = "Interrupt Request Flag Monitor"]
4837 #[inline(always)]
4838 pub fn if29(
4839 self,
4840 ) -> crate::common::RegisterField<
4841 29,
4842 0x1,
4843 1,
4844 0,
4845 intflag0::If29,
4846 intflag0::If29,
4847 Intflag0_SPEC,
4848 crate::common::R,
4849 > {
4850 crate::common::RegisterField::<
4851 29,
4852 0x1,
4853 1,
4854 0,
4855 intflag0::If29,
4856 intflag0::If29,
4857 Intflag0_SPEC,
4858 crate::common::R,
4859 >::from_register(self, 0)
4860 }
4861
4862 #[doc = "Interrupt Request Flag Monitor"]
4863 #[inline(always)]
4864 pub fn if30(
4865 self,
4866 ) -> crate::common::RegisterField<
4867 30,
4868 0x1,
4869 1,
4870 0,
4871 intflag0::If30,
4872 intflag0::If30,
4873 Intflag0_SPEC,
4874 crate::common::R,
4875 > {
4876 crate::common::RegisterField::<
4877 30,
4878 0x1,
4879 1,
4880 0,
4881 intflag0::If30,
4882 intflag0::If30,
4883 Intflag0_SPEC,
4884 crate::common::R,
4885 >::from_register(self, 0)
4886 }
4887
4888 #[doc = "Interrupt Request Flag Monitor"]
4889 #[inline(always)]
4890 pub fn if31(
4891 self,
4892 ) -> crate::common::RegisterField<
4893 31,
4894 0x1,
4895 1,
4896 0,
4897 intflag0::If31,
4898 intflag0::If31,
4899 Intflag0_SPEC,
4900 crate::common::R,
4901 > {
4902 crate::common::RegisterField::<
4903 31,
4904 0x1,
4905 1,
4906 0,
4907 intflag0::If31,
4908 intflag0::If31,
4909 Intflag0_SPEC,
4910 crate::common::R,
4911 >::from_register(self, 0)
4912 }
4913}
4914impl ::core::default::Default for Intflag0 {
4915 #[inline(always)]
4916 fn default() -> Intflag0 {
4917 <crate::RegValueT<Intflag0_SPEC> as RegisterValue<_>>::new(0)
4918 }
4919}
4920pub mod intflag0 {
4921
4922 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4923 pub struct If0_SPEC;
4924 pub type If0 = crate::EnumBitfieldStruct<u8, If0_SPEC>;
4925 impl If0 {
4926 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
4927 pub const _0: Self = Self::new(0);
4928
4929 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
4930 pub const _1: Self = Self::new(1);
4931 }
4932 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4933 pub struct If1_SPEC;
4934 pub type If1 = crate::EnumBitfieldStruct<u8, If1_SPEC>;
4935 impl If1 {
4936 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
4937 pub const _0: Self = Self::new(0);
4938
4939 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
4940 pub const _1: Self = Self::new(1);
4941 }
4942 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4943 pub struct If2_SPEC;
4944 pub type If2 = crate::EnumBitfieldStruct<u8, If2_SPEC>;
4945 impl If2 {
4946 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
4947 pub const _0: Self = Self::new(0);
4948
4949 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
4950 pub const _1: Self = Self::new(1);
4951 }
4952 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4953 pub struct If3_SPEC;
4954 pub type If3 = crate::EnumBitfieldStruct<u8, If3_SPEC>;
4955 impl If3 {
4956 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
4957 pub const _0: Self = Self::new(0);
4958
4959 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
4960 pub const _1: Self = Self::new(1);
4961 }
4962 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4963 pub struct If4_SPEC;
4964 pub type If4 = crate::EnumBitfieldStruct<u8, If4_SPEC>;
4965 impl If4 {
4966 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
4967 pub const _0: Self = Self::new(0);
4968
4969 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
4970 pub const _1: Self = Self::new(1);
4971 }
4972 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4973 pub struct If5_SPEC;
4974 pub type If5 = crate::EnumBitfieldStruct<u8, If5_SPEC>;
4975 impl If5 {
4976 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
4977 pub const _0: Self = Self::new(0);
4978
4979 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
4980 pub const _1: Self = Self::new(1);
4981 }
4982 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4983 pub struct If6_SPEC;
4984 pub type If6 = crate::EnumBitfieldStruct<u8, If6_SPEC>;
4985 impl If6 {
4986 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
4987 pub const _0: Self = Self::new(0);
4988
4989 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
4990 pub const _1: Self = Self::new(1);
4991 }
4992 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4993 pub struct If7_SPEC;
4994 pub type If7 = crate::EnumBitfieldStruct<u8, If7_SPEC>;
4995 impl If7 {
4996 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
4997 pub const _0: Self = Self::new(0);
4998
4999 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5000 pub const _1: Self = Self::new(1);
5001 }
5002 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5003 pub struct If10_SPEC;
5004 pub type If10 = crate::EnumBitfieldStruct<u8, If10_SPEC>;
5005 impl If10 {
5006 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5007 pub const _0: Self = Self::new(0);
5008
5009 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5010 pub const _1: Self = Self::new(1);
5011 }
5012 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5013 pub struct If11_SPEC;
5014 pub type If11 = crate::EnumBitfieldStruct<u8, If11_SPEC>;
5015 impl If11 {
5016 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5017 pub const _0: Self = Self::new(0);
5018
5019 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5020 pub const _1: Self = Self::new(1);
5021 }
5022 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5023 pub struct If12_SPEC;
5024 pub type If12 = crate::EnumBitfieldStruct<u8, If12_SPEC>;
5025 impl If12 {
5026 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5027 pub const _0: Self = Self::new(0);
5028
5029 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5030 pub const _1: Self = Self::new(1);
5031 }
5032 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5033 pub struct If13_SPEC;
5034 pub type If13 = crate::EnumBitfieldStruct<u8, If13_SPEC>;
5035 impl If13 {
5036 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5037 pub const _0: Self = Self::new(0);
5038
5039 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5040 pub const _1: Self = Self::new(1);
5041 }
5042 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5043 pub struct If14_SPEC;
5044 pub type If14 = crate::EnumBitfieldStruct<u8, If14_SPEC>;
5045 impl If14 {
5046 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5047 pub const _0: Self = Self::new(0);
5048
5049 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5050 pub const _1: Self = Self::new(1);
5051 }
5052 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5053 pub struct If15_SPEC;
5054 pub type If15 = crate::EnumBitfieldStruct<u8, If15_SPEC>;
5055 impl If15 {
5056 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5057 pub const _0: Self = Self::new(0);
5058
5059 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5060 pub const _1: Self = Self::new(1);
5061 }
5062 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5063 pub struct If16_SPEC;
5064 pub type If16 = crate::EnumBitfieldStruct<u8, If16_SPEC>;
5065 impl If16 {
5066 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5067 pub const _0: Self = Self::new(0);
5068
5069 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5070 pub const _1: Self = Self::new(1);
5071 }
5072 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5073 pub struct If17_SPEC;
5074 pub type If17 = crate::EnumBitfieldStruct<u8, If17_SPEC>;
5075 impl If17 {
5076 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5077 pub const _0: Self = Self::new(0);
5078
5079 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5080 pub const _1: Self = Self::new(1);
5081 }
5082 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5083 pub struct If18_SPEC;
5084 pub type If18 = crate::EnumBitfieldStruct<u8, If18_SPEC>;
5085 impl If18 {
5086 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5087 pub const _0: Self = Self::new(0);
5088
5089 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5090 pub const _1: Self = Self::new(1);
5091 }
5092 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5093 pub struct If19_SPEC;
5094 pub type If19 = crate::EnumBitfieldStruct<u8, If19_SPEC>;
5095 impl If19 {
5096 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5097 pub const _0: Self = Self::new(0);
5098
5099 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5100 pub const _1: Self = Self::new(1);
5101 }
5102 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5103 pub struct If20_SPEC;
5104 pub type If20 = crate::EnumBitfieldStruct<u8, If20_SPEC>;
5105 impl If20 {
5106 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5107 pub const _0: Self = Self::new(0);
5108
5109 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5110 pub const _1: Self = Self::new(1);
5111 }
5112 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5113 pub struct If21_SPEC;
5114 pub type If21 = crate::EnumBitfieldStruct<u8, If21_SPEC>;
5115 impl If21 {
5116 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5117 pub const _0: Self = Self::new(0);
5118
5119 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5120 pub const _1: Self = Self::new(1);
5121 }
5122 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5123 pub struct If22_SPEC;
5124 pub type If22 = crate::EnumBitfieldStruct<u8, If22_SPEC>;
5125 impl If22 {
5126 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5127 pub const _0: Self = Self::new(0);
5128
5129 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5130 pub const _1: Self = Self::new(1);
5131 }
5132 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5133 pub struct If23_SPEC;
5134 pub type If23 = crate::EnumBitfieldStruct<u8, If23_SPEC>;
5135 impl If23 {
5136 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5137 pub const _0: Self = Self::new(0);
5138
5139 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5140 pub const _1: Self = Self::new(1);
5141 }
5142 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5143 pub struct If24_SPEC;
5144 pub type If24 = crate::EnumBitfieldStruct<u8, If24_SPEC>;
5145 impl If24 {
5146 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5147 pub const _0: Self = Self::new(0);
5148
5149 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5150 pub const _1: Self = Self::new(1);
5151 }
5152 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5153 pub struct If25_SPEC;
5154 pub type If25 = crate::EnumBitfieldStruct<u8, If25_SPEC>;
5155 impl If25 {
5156 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5157 pub const _0: Self = Self::new(0);
5158
5159 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5160 pub const _1: Self = Self::new(1);
5161 }
5162 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5163 pub struct If26_SPEC;
5164 pub type If26 = crate::EnumBitfieldStruct<u8, If26_SPEC>;
5165 impl If26 {
5166 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5167 pub const _0: Self = Self::new(0);
5168
5169 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5170 pub const _1: Self = Self::new(1);
5171 }
5172 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5173 pub struct If27_SPEC;
5174 pub type If27 = crate::EnumBitfieldStruct<u8, If27_SPEC>;
5175 impl If27 {
5176 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5177 pub const _0: Self = Self::new(0);
5178
5179 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5180 pub const _1: Self = Self::new(1);
5181 }
5182 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5183 pub struct If28_SPEC;
5184 pub type If28 = crate::EnumBitfieldStruct<u8, If28_SPEC>;
5185 impl If28 {
5186 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5187 pub const _0: Self = Self::new(0);
5188
5189 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5190 pub const _1: Self = Self::new(1);
5191 }
5192 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5193 pub struct If29_SPEC;
5194 pub type If29 = crate::EnumBitfieldStruct<u8, If29_SPEC>;
5195 impl If29 {
5196 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5197 pub const _0: Self = Self::new(0);
5198
5199 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5200 pub const _1: Self = Self::new(1);
5201 }
5202 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5203 pub struct If30_SPEC;
5204 pub type If30 = crate::EnumBitfieldStruct<u8, If30_SPEC>;
5205 impl If30 {
5206 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5207 pub const _0: Self = Self::new(0);
5208
5209 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5210 pub const _1: Self = Self::new(1);
5211 }
5212 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5213 pub struct If31_SPEC;
5214 pub type If31 = crate::EnumBitfieldStruct<u8, If31_SPEC>;
5215 impl If31 {
5216 #[doc = "Interrupt request of event number i is not being accepted by the ICU"]
5217 pub const _0: Self = Self::new(0);
5218
5219 #[doc = "Interrupt request of event number i is being accepted by the ICU"]
5220 pub const _1: Self = Self::new(1);
5221 }
5222}
5223#[doc(hidden)]
5224#[derive(Copy, Clone, Eq, PartialEq)]
5225pub struct Intflag1_SPEC;
5226impl crate::sealed::RegSpec for Intflag1_SPEC {
5227 type DataType = u32;
5228}
5229
5230#[doc = "Interrupt Request Flag Monitor Register 1"]
5231pub type Intflag1 = crate::RegValueT<Intflag1_SPEC>;
5232
5233impl Intflag1 {
5234 #[doc = "Interrupt Request Flag Monitor"]
5235 #[inline(always)]
5236 pub fn if32(
5237 self,
5238 ) -> crate::common::RegisterField<
5239 0,
5240 0x1,
5241 1,
5242 0,
5243 intflag1::If32,
5244 intflag1::If32,
5245 Intflag1_SPEC,
5246 crate::common::R,
5247 > {
5248 crate::common::RegisterField::<
5249 0,
5250 0x1,
5251 1,
5252 0,
5253 intflag1::If32,
5254 intflag1::If32,
5255 Intflag1_SPEC,
5256 crate::common::R,
5257 >::from_register(self, 0)
5258 }
5259
5260 #[doc = "Interrupt Request Flag Monitor"]
5261 #[inline(always)]
5262 pub fn if33(
5263 self,
5264 ) -> crate::common::RegisterField<
5265 1,
5266 0x1,
5267 1,
5268 0,
5269 intflag1::If33,
5270 intflag1::If33,
5271 Intflag1_SPEC,
5272 crate::common::R,
5273 > {
5274 crate::common::RegisterField::<
5275 1,
5276 0x1,
5277 1,
5278 0,
5279 intflag1::If33,
5280 intflag1::If33,
5281 Intflag1_SPEC,
5282 crate::common::R,
5283 >::from_register(self, 0)
5284 }
5285
5286 #[doc = "Interrupt Request Flag Monitor"]
5287 #[inline(always)]
5288 pub fn if34(
5289 self,
5290 ) -> crate::common::RegisterField<
5291 2,
5292 0x1,
5293 1,
5294 0,
5295 intflag1::If34,
5296 intflag1::If34,
5297 Intflag1_SPEC,
5298 crate::common::R,
5299 > {
5300 crate::common::RegisterField::<
5301 2,
5302 0x1,
5303 1,
5304 0,
5305 intflag1::If34,
5306 intflag1::If34,
5307 Intflag1_SPEC,
5308 crate::common::R,
5309 >::from_register(self, 0)
5310 }
5311
5312 #[doc = "Interrupt Request Flag Monitor"]
5313 #[inline(always)]
5314 pub fn if35(
5315 self,
5316 ) -> crate::common::RegisterField<
5317 3,
5318 0x1,
5319 1,
5320 0,
5321 intflag1::If35,
5322 intflag1::If35,
5323 Intflag1_SPEC,
5324 crate::common::R,
5325 > {
5326 crate::common::RegisterField::<
5327 3,
5328 0x1,
5329 1,
5330 0,
5331 intflag1::If35,
5332 intflag1::If35,
5333 Intflag1_SPEC,
5334 crate::common::R,
5335 >::from_register(self, 0)
5336 }
5337
5338 #[doc = "Interrupt Request Flag Monitor"]
5339 #[inline(always)]
5340 pub fn if36(
5341 self,
5342 ) -> crate::common::RegisterField<
5343 4,
5344 0x1,
5345 1,
5346 0,
5347 intflag1::If36,
5348 intflag1::If36,
5349 Intflag1_SPEC,
5350 crate::common::R,
5351 > {
5352 crate::common::RegisterField::<
5353 4,
5354 0x1,
5355 1,
5356 0,
5357 intflag1::If36,
5358 intflag1::If36,
5359 Intflag1_SPEC,
5360 crate::common::R,
5361 >::from_register(self, 0)
5362 }
5363
5364 #[doc = "Interrupt Request Flag Monitor"]
5365 #[inline(always)]
5366 pub fn if37(
5367 self,
5368 ) -> crate::common::RegisterField<
5369 5,
5370 0x1,
5371 1,
5372 0,
5373 intflag1::If37,
5374 intflag1::If37,
5375 Intflag1_SPEC,
5376 crate::common::R,
5377 > {
5378 crate::common::RegisterField::<
5379 5,
5380 0x1,
5381 1,
5382 0,
5383 intflag1::If37,
5384 intflag1::If37,
5385 Intflag1_SPEC,
5386 crate::common::R,
5387 >::from_register(self, 0)
5388 }
5389
5390 #[doc = "Interrupt Request Flag Monitor"]
5391 #[inline(always)]
5392 pub fn if38(
5393 self,
5394 ) -> crate::common::RegisterField<
5395 6,
5396 0x1,
5397 1,
5398 0,
5399 intflag1::If38,
5400 intflag1::If38,
5401 Intflag1_SPEC,
5402 crate::common::R,
5403 > {
5404 crate::common::RegisterField::<
5405 6,
5406 0x1,
5407 1,
5408 0,
5409 intflag1::If38,
5410 intflag1::If38,
5411 Intflag1_SPEC,
5412 crate::common::R,
5413 >::from_register(self, 0)
5414 }
5415
5416 #[doc = "Interrupt Request Flag Monitor"]
5417 #[inline(always)]
5418 pub fn if39(
5419 self,
5420 ) -> crate::common::RegisterField<
5421 7,
5422 0x1,
5423 1,
5424 0,
5425 intflag1::If39,
5426 intflag1::If39,
5427 Intflag1_SPEC,
5428 crate::common::R,
5429 > {
5430 crate::common::RegisterField::<
5431 7,
5432 0x1,
5433 1,
5434 0,
5435 intflag1::If39,
5436 intflag1::If39,
5437 Intflag1_SPEC,
5438 crate::common::R,
5439 >::from_register(self, 0)
5440 }
5441
5442 #[doc = "Interrupt Request Flag Monitor"]
5443 #[inline(always)]
5444 pub fn if40(
5445 self,
5446 ) -> crate::common::RegisterField<
5447 8,
5448 0x1,
5449 1,
5450 0,
5451 intflag1::If40,
5452 intflag1::If40,
5453 Intflag1_SPEC,
5454 crate::common::R,
5455 > {
5456 crate::common::RegisterField::<
5457 8,
5458 0x1,
5459 1,
5460 0,
5461 intflag1::If40,
5462 intflag1::If40,
5463 Intflag1_SPEC,
5464 crate::common::R,
5465 >::from_register(self, 0)
5466 }
5467
5468 #[doc = "Interrupt Request Flag Monitor"]
5469 #[inline(always)]
5470 pub fn if41(
5471 self,
5472 ) -> crate::common::RegisterField<
5473 9,
5474 0x1,
5475 1,
5476 0,
5477 intflag1::If41,
5478 intflag1::If41,
5479 Intflag1_SPEC,
5480 crate::common::R,
5481 > {
5482 crate::common::RegisterField::<
5483 9,
5484 0x1,
5485 1,
5486 0,
5487 intflag1::If41,
5488 intflag1::If41,
5489 Intflag1_SPEC,
5490 crate::common::R,
5491 >::from_register(self, 0)
5492 }
5493}
5494impl ::core::default::Default for Intflag1 {
5495 #[inline(always)]
5496 fn default() -> Intflag1 {
5497 <crate::RegValueT<Intflag1_SPEC> as RegisterValue<_>>::new(0)
5498 }
5499}
5500pub mod intflag1 {
5501
5502 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5503 pub struct If32_SPEC;
5504 pub type If32 = crate::EnumBitfieldStruct<u8, If32_SPEC>;
5505 impl If32 {
5506 #[doc = "Interrupt source of event number i is not accepted by the ICU"]
5507 pub const _0: Self = Self::new(0);
5508
5509 #[doc = "Interrupt source of event number i is accepted by the ICU"]
5510 pub const _1: Self = Self::new(1);
5511 }
5512 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5513 pub struct If33_SPEC;
5514 pub type If33 = crate::EnumBitfieldStruct<u8, If33_SPEC>;
5515 impl If33 {
5516 #[doc = "Interrupt source of event number i is not accepted by the ICU"]
5517 pub const _0: Self = Self::new(0);
5518
5519 #[doc = "Interrupt source of event number i is accepted by the ICU"]
5520 pub const _1: Self = Self::new(1);
5521 }
5522 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5523 pub struct If34_SPEC;
5524 pub type If34 = crate::EnumBitfieldStruct<u8, If34_SPEC>;
5525 impl If34 {
5526 #[doc = "Interrupt source of event number i is not accepted by the ICU"]
5527 pub const _0: Self = Self::new(0);
5528
5529 #[doc = "Interrupt source of event number i is accepted by the ICU"]
5530 pub const _1: Self = Self::new(1);
5531 }
5532 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5533 pub struct If35_SPEC;
5534 pub type If35 = crate::EnumBitfieldStruct<u8, If35_SPEC>;
5535 impl If35 {
5536 #[doc = "Interrupt source of event number i is not accepted by the ICU"]
5537 pub const _0: Self = Self::new(0);
5538
5539 #[doc = "Interrupt source of event number i is accepted by the ICU"]
5540 pub const _1: Self = Self::new(1);
5541 }
5542 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5543 pub struct If36_SPEC;
5544 pub type If36 = crate::EnumBitfieldStruct<u8, If36_SPEC>;
5545 impl If36 {
5546 #[doc = "Interrupt source of event number i is not accepted by the ICU"]
5547 pub const _0: Self = Self::new(0);
5548
5549 #[doc = "Interrupt source of event number i is accepted by the ICU"]
5550 pub const _1: Self = Self::new(1);
5551 }
5552 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5553 pub struct If37_SPEC;
5554 pub type If37 = crate::EnumBitfieldStruct<u8, If37_SPEC>;
5555 impl If37 {
5556 #[doc = "Interrupt source of event number i is not accepted by the ICU"]
5557 pub const _0: Self = Self::new(0);
5558
5559 #[doc = "Interrupt source of event number i is accepted by the ICU"]
5560 pub const _1: Self = Self::new(1);
5561 }
5562 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5563 pub struct If38_SPEC;
5564 pub type If38 = crate::EnumBitfieldStruct<u8, If38_SPEC>;
5565 impl If38 {
5566 #[doc = "Interrupt source of event number i is not accepted by the ICU"]
5567 pub const _0: Self = Self::new(0);
5568
5569 #[doc = "Interrupt source of event number i is accepted by the ICU"]
5570 pub const _1: Self = Self::new(1);
5571 }
5572 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5573 pub struct If39_SPEC;
5574 pub type If39 = crate::EnumBitfieldStruct<u8, If39_SPEC>;
5575 impl If39 {
5576 #[doc = "Interrupt source of event number i is not accepted by the ICU"]
5577 pub const _0: Self = Self::new(0);
5578
5579 #[doc = "Interrupt source of event number i is accepted by the ICU"]
5580 pub const _1: Self = Self::new(1);
5581 }
5582 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5583 pub struct If40_SPEC;
5584 pub type If40 = crate::EnumBitfieldStruct<u8, If40_SPEC>;
5585 impl If40 {
5586 #[doc = "Interrupt source of event number i is not accepted by the ICU"]
5587 pub const _0: Self = Self::new(0);
5588
5589 #[doc = "Interrupt source of event number i is accepted by the ICU"]
5590 pub const _1: Self = Self::new(1);
5591 }
5592 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5593 pub struct If41_SPEC;
5594 pub type If41 = crate::EnumBitfieldStruct<u8, If41_SPEC>;
5595 impl If41 {
5596 #[doc = "Interrupt source of event number i is not accepted by the ICU"]
5597 pub const _0: Self = Self::new(0);
5598
5599 #[doc = "Interrupt source of event number i is accepted by the ICU"]
5600 pub const _1: Self = Self::new(1);
5601 }
5602}
5603#[doc(hidden)]
5604#[derive(Copy, Clone, Eq, PartialEq)]
5605pub struct Sbyedcr0_SPEC;
5606impl crate::sealed::RegSpec for Sbyedcr0_SPEC {
5607 type DataType = u32;
5608}
5609
5610#[doc = "Software Standby/Snooze End Control Register 0"]
5611pub type Sbyedcr0 = crate::RegValueT<Sbyedcr0_SPEC>;
5612
5613impl Sbyedcr0 {
5614 #[doc = "IWDT Interrupt Software Standby/Snooze Mode Returns Enable"]
5615 #[inline(always)]
5616 pub fn iwdted(
5617 self,
5618 ) -> crate::common::RegisterField<
5619 0,
5620 0x1,
5621 1,
5622 0,
5623 sbyedcr0::Iwdted,
5624 sbyedcr0::Iwdted,
5625 Sbyedcr0_SPEC,
5626 crate::common::RW,
5627 > {
5628 crate::common::RegisterField::<
5629 0,
5630 0x1,
5631 1,
5632 0,
5633 sbyedcr0::Iwdted,
5634 sbyedcr0::Iwdted,
5635 Sbyedcr0_SPEC,
5636 crate::common::RW,
5637 >::from_register(self, 0)
5638 }
5639
5640 #[doc = "LVD1 Interrupt Software Standby/Snooze Mode Returns Enable"]
5641 #[inline(always)]
5642 pub fn lvd1ed(
5643 self,
5644 ) -> crate::common::RegisterField<
5645 1,
5646 0x1,
5647 1,
5648 0,
5649 sbyedcr0::Lvd1Ed,
5650 sbyedcr0::Lvd1Ed,
5651 Sbyedcr0_SPEC,
5652 crate::common::RW,
5653 > {
5654 crate::common::RegisterField::<
5655 1,
5656 0x1,
5657 1,
5658 0,
5659 sbyedcr0::Lvd1Ed,
5660 sbyedcr0::Lvd1Ed,
5661 Sbyedcr0_SPEC,
5662 crate::common::RW,
5663 >::from_register(self, 0)
5664 }
5665
5666 #[inline(always)]
5667 pub fn irq0ed(
5668 self,
5669 ) -> crate::common::RegisterField<
5670 2,
5671 0x1,
5672 1,
5673 0,
5674 sbyedcr0::Irq0Ed,
5675 sbyedcr0::Irq0Ed,
5676 Sbyedcr0_SPEC,
5677 crate::common::RW,
5678 > {
5679 crate::common::RegisterField::<
5680 2,
5681 0x1,
5682 1,
5683 0,
5684 sbyedcr0::Irq0Ed,
5685 sbyedcr0::Irq0Ed,
5686 Sbyedcr0_SPEC,
5687 crate::common::RW,
5688 >::from_register(self, 0)
5689 }
5690
5691 #[inline(always)]
5692 pub fn irq1ed(
5693 self,
5694 ) -> crate::common::RegisterField<
5695 3,
5696 0x1,
5697 1,
5698 0,
5699 sbyedcr0::Irq1Ed,
5700 sbyedcr0::Irq1Ed,
5701 Sbyedcr0_SPEC,
5702 crate::common::RW,
5703 > {
5704 crate::common::RegisterField::<
5705 3,
5706 0x1,
5707 1,
5708 0,
5709 sbyedcr0::Irq1Ed,
5710 sbyedcr0::Irq1Ed,
5711 Sbyedcr0_SPEC,
5712 crate::common::RW,
5713 >::from_register(self, 0)
5714 }
5715
5716 #[inline(always)]
5717 pub fn irq2ed(
5718 self,
5719 ) -> crate::common::RegisterField<
5720 4,
5721 0x1,
5722 1,
5723 0,
5724 sbyedcr0::Irq2Ed,
5725 sbyedcr0::Irq2Ed,
5726 Sbyedcr0_SPEC,
5727 crate::common::RW,
5728 > {
5729 crate::common::RegisterField::<
5730 4,
5731 0x1,
5732 1,
5733 0,
5734 sbyedcr0::Irq2Ed,
5735 sbyedcr0::Irq2Ed,
5736 Sbyedcr0_SPEC,
5737 crate::common::RW,
5738 >::from_register(self, 0)
5739 }
5740
5741 #[inline(always)]
5742 pub fn irq3ed(
5743 self,
5744 ) -> crate::common::RegisterField<
5745 5,
5746 0x1,
5747 1,
5748 0,
5749 sbyedcr0::Irq3Ed,
5750 sbyedcr0::Irq3Ed,
5751 Sbyedcr0_SPEC,
5752 crate::common::RW,
5753 > {
5754 crate::common::RegisterField::<
5755 5,
5756 0x1,
5757 1,
5758 0,
5759 sbyedcr0::Irq3Ed,
5760 sbyedcr0::Irq3Ed,
5761 Sbyedcr0_SPEC,
5762 crate::common::RW,
5763 >::from_register(self, 0)
5764 }
5765
5766 #[inline(always)]
5767 pub fn irq4ed(
5768 self,
5769 ) -> crate::common::RegisterField<
5770 6,
5771 0x1,
5772 1,
5773 0,
5774 sbyedcr0::Irq4Ed,
5775 sbyedcr0::Irq4Ed,
5776 Sbyedcr0_SPEC,
5777 crate::common::RW,
5778 > {
5779 crate::common::RegisterField::<
5780 6,
5781 0x1,
5782 1,
5783 0,
5784 sbyedcr0::Irq4Ed,
5785 sbyedcr0::Irq4Ed,
5786 Sbyedcr0_SPEC,
5787 crate::common::RW,
5788 >::from_register(self, 0)
5789 }
5790
5791 #[inline(always)]
5792 pub fn irq5ed(
5793 self,
5794 ) -> crate::common::RegisterField<
5795 7,
5796 0x1,
5797 1,
5798 0,
5799 sbyedcr0::Irq5Ed,
5800 sbyedcr0::Irq5Ed,
5801 Sbyedcr0_SPEC,
5802 crate::common::RW,
5803 > {
5804 crate::common::RegisterField::<
5805 7,
5806 0x1,
5807 1,
5808 0,
5809 sbyedcr0::Irq5Ed,
5810 sbyedcr0::Irq5Ed,
5811 Sbyedcr0_SPEC,
5812 crate::common::RW,
5813 >::from_register(self, 0)
5814 }
5815
5816 #[doc = "DTC Transfer Complete Interrupt Snooze Mode Returns Enable"]
5817 #[inline(always)]
5818 pub fn dtced(
5819 self,
5820 ) -> crate::common::RegisterField<
5821 10,
5822 0x1,
5823 1,
5824 0,
5825 sbyedcr0::Dtced,
5826 sbyedcr0::Dtced,
5827 Sbyedcr0_SPEC,
5828 crate::common::RW,
5829 > {
5830 crate::common::RegisterField::<
5831 10,
5832 0x1,
5833 1,
5834 0,
5835 sbyedcr0::Dtced,
5836 sbyedcr0::Dtced,
5837 Sbyedcr0_SPEC,
5838 crate::common::RW,
5839 >::from_register(self, 0)
5840 }
5841
5842 #[doc = "SPI00 Transfer End or Buffer Empty Interrupt Snooze Mode Returns Enable"]
5843 #[inline(always)]
5844 pub fn spi00rxed(
5845 self,
5846 ) -> crate::common::RegisterField<
5847 18,
5848 0x1,
5849 1,
5850 0,
5851 sbyedcr0::Spi00Rxed,
5852 sbyedcr0::Spi00Rxed,
5853 Sbyedcr0_SPEC,
5854 crate::common::RW,
5855 > {
5856 crate::common::RegisterField::<
5857 18,
5858 0x1,
5859 1,
5860 0,
5861 sbyedcr0::Spi00Rxed,
5862 sbyedcr0::Spi00Rxed,
5863 Sbyedcr0_SPEC,
5864 crate::common::RW,
5865 >::from_register(self, 0)
5866 }
5867
5868 #[doc = "UART0 Reception Communication Error Occurrence Interrupt Snooze Mode Returns Enable"]
5869 #[inline(always)]
5870 pub fn uart0erred(
5871 self,
5872 ) -> crate::common::RegisterField<
5873 20,
5874 0x1,
5875 1,
5876 0,
5877 sbyedcr0::Uart0Erred,
5878 sbyedcr0::Uart0Erred,
5879 Sbyedcr0_SPEC,
5880 crate::common::RW,
5881 > {
5882 crate::common::RegisterField::<
5883 20,
5884 0x1,
5885 1,
5886 0,
5887 sbyedcr0::Uart0Erred,
5888 sbyedcr0::Uart0Erred,
5889 Sbyedcr0_SPEC,
5890 crate::common::RW,
5891 >::from_register(self, 0)
5892 }
5893
5894 #[doc = "IICA0 Address Match Interrupt Software Standby/Snooze Mode Returns Enable"]
5895 #[inline(always)]
5896 pub fn iica0ed(
5897 self,
5898 ) -> crate::common::RegisterField<
5899 26,
5900 0x1,
5901 1,
5902 0,
5903 sbyedcr0::Iica0Ed,
5904 sbyedcr0::Iica0Ed,
5905 Sbyedcr0_SPEC,
5906 crate::common::RW,
5907 > {
5908 crate::common::RegisterField::<
5909 26,
5910 0x1,
5911 1,
5912 0,
5913 sbyedcr0::Iica0Ed,
5914 sbyedcr0::Iica0Ed,
5915 Sbyedcr0_SPEC,
5916 crate::common::RW,
5917 >::from_register(self, 0)
5918 }
5919
5920 #[doc = "UART0 Reception Transfer End Interrupt Snooze Mode Returns Enable"]
5921 #[inline(always)]
5922 pub fn uart0rxed(
5923 self,
5924 ) -> crate::common::RegisterField<
5925 27,
5926 0x1,
5927 1,
5928 0,
5929 sbyedcr0::Uart0Rxed,
5930 sbyedcr0::Uart0Rxed,
5931 Sbyedcr0_SPEC,
5932 crate::common::RW,
5933 > {
5934 crate::common::RegisterField::<
5935 27,
5936 0x1,
5937 1,
5938 0,
5939 sbyedcr0::Uart0Rxed,
5940 sbyedcr0::Uart0Rxed,
5941 Sbyedcr0_SPEC,
5942 crate::common::RW,
5943 >::from_register(self, 0)
5944 }
5945
5946 #[doc = "End of A/D Conversion Interrupt Snooze Mode Returns Enable"]
5947 #[inline(always)]
5948 pub fn adc12ed(
5949 self,
5950 ) -> crate::common::RegisterField<
5951 31,
5952 0x1,
5953 1,
5954 0,
5955 sbyedcr0::Adc12Ed,
5956 sbyedcr0::Adc12Ed,
5957 Sbyedcr0_SPEC,
5958 crate::common::RW,
5959 > {
5960 crate::common::RegisterField::<
5961 31,
5962 0x1,
5963 1,
5964 0,
5965 sbyedcr0::Adc12Ed,
5966 sbyedcr0::Adc12Ed,
5967 Sbyedcr0_SPEC,
5968 crate::common::RW,
5969 >::from_register(self, 0)
5970 }
5971}
5972impl ::core::default::Default for Sbyedcr0 {
5973 #[inline(always)]
5974 fn default() -> Sbyedcr0 {
5975 <crate::RegValueT<Sbyedcr0_SPEC> as RegisterValue<_>>::new(0)
5976 }
5977}
5978pub mod sbyedcr0 {
5979
5980 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5981 pub struct Iwdted_SPEC;
5982 pub type Iwdted = crate::EnumBitfieldStruct<u8, Iwdted_SPEC>;
5983 impl Iwdted {
5984 #[doc = "Software Standby/Snooze Mode returns by IWDT interrupt disabled"]
5985 pub const _0: Self = Self::new(0);
5986
5987 #[doc = "Software Standby/Snooze Mode returns by IWDT interrupt enabled"]
5988 pub const _1: Self = Self::new(1);
5989 }
5990 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5991 pub struct Lvd1Ed_SPEC;
5992 pub type Lvd1Ed = crate::EnumBitfieldStruct<u8, Lvd1Ed_SPEC>;
5993 impl Lvd1Ed {
5994 #[doc = "Software Standby/Snooze Mode returns by LVD1 interrupt disabled"]
5995 pub const _0: Self = Self::new(0);
5996
5997 #[doc = "Software Standby/Snooze Mode returns by LVD1 interrupt enabled"]
5998 pub const _1: Self = Self::new(1);
5999 }
6000 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6001 pub struct Irq0Ed_SPEC;
6002 pub type Irq0Ed = crate::EnumBitfieldStruct<u8, Irq0Ed_SPEC>;
6003 impl Irq0Ed {
6004 #[doc = "Software Standby/Snooze mode returns by IRQ0 interrupt disabled"]
6005 pub const _0: Self = Self::new(0);
6006
6007 #[doc = "Software Standby/Snooze mode returns by IRQ0 interrupt enabled"]
6008 pub const _1: Self = Self::new(1);
6009 }
6010 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6011 pub struct Irq1Ed_SPEC;
6012 pub type Irq1Ed = crate::EnumBitfieldStruct<u8, Irq1Ed_SPEC>;
6013 impl Irq1Ed {
6014 #[doc = "Software Standby/Snooze mode returns by IRQ1 interrupt disabled"]
6015 pub const _0: Self = Self::new(0);
6016
6017 #[doc = "Software Standby/Snooze mode returns by IRQ1 interrupt enabled"]
6018 pub const _1: Self = Self::new(1);
6019 }
6020 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6021 pub struct Irq2Ed_SPEC;
6022 pub type Irq2Ed = crate::EnumBitfieldStruct<u8, Irq2Ed_SPEC>;
6023 impl Irq2Ed {
6024 #[doc = "Software Standby/Snooze mode returns by IRQ2 interrupt disabled"]
6025 pub const _0: Self = Self::new(0);
6026
6027 #[doc = "Software Standby/Snooze mode returns by IRQ2 interrupt enabled"]
6028 pub const _1: Self = Self::new(1);
6029 }
6030 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6031 pub struct Irq3Ed_SPEC;
6032 pub type Irq3Ed = crate::EnumBitfieldStruct<u8, Irq3Ed_SPEC>;
6033 impl Irq3Ed {
6034 #[doc = "Software Standby/Snooze mode returns by IRQ3 interrupt disabled"]
6035 pub const _0: Self = Self::new(0);
6036
6037 #[doc = "Software Standby/Snooze mode returns by IRQ3 interrupt enabled"]
6038 pub const _1: Self = Self::new(1);
6039 }
6040 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6041 pub struct Irq4Ed_SPEC;
6042 pub type Irq4Ed = crate::EnumBitfieldStruct<u8, Irq4Ed_SPEC>;
6043 impl Irq4Ed {
6044 #[doc = "Software Standby/Snooze mode returns by IRQ4 interrupt disabled"]
6045 pub const _0: Self = Self::new(0);
6046
6047 #[doc = "Software Standby/Snooze mode returns by IRQ4 interrupt enabled"]
6048 pub const _1: Self = Self::new(1);
6049 }
6050 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6051 pub struct Irq5Ed_SPEC;
6052 pub type Irq5Ed = crate::EnumBitfieldStruct<u8, Irq5Ed_SPEC>;
6053 impl Irq5Ed {
6054 #[doc = "Software Standby/Snooze mode returns by IRQ5 interrupt disabled"]
6055 pub const _0: Self = Self::new(0);
6056
6057 #[doc = "Software Standby/Snooze mode returns by IRQ5 interrupt enabled"]
6058 pub const _1: Self = Self::new(1);
6059 }
6060 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6061 pub struct Dtced_SPEC;
6062 pub type Dtced = crate::EnumBitfieldStruct<u8, Dtced_SPEC>;
6063 impl Dtced {
6064 #[doc = "Snooze Mode returns by DTC transfer complete interrupt disabled"]
6065 pub const _0: Self = Self::new(0);
6066
6067 #[doc = "Snooze Mode returns by DTC transfer complete interrupt enabled"]
6068 pub const _1: Self = Self::new(1);
6069 }
6070 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6071 pub struct Spi00Rxed_SPEC;
6072 pub type Spi00Rxed = crate::EnumBitfieldStruct<u8, Spi00Rxed_SPEC>;
6073 impl Spi00Rxed {
6074 #[doc = "Snooze Mode returns by SPI00 transfer end or buffer empty interrupt disabled"]
6075 pub const _0: Self = Self::new(0);
6076
6077 #[doc = "Snooze Mode returns by SPI00 transfer end or buffer empty interrupt enabled"]
6078 pub const _1: Self = Self::new(1);
6079 }
6080 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6081 pub struct Uart0Erred_SPEC;
6082 pub type Uart0Erred = crate::EnumBitfieldStruct<u8, Uart0Erred_SPEC>;
6083 impl Uart0Erred {
6084 #[doc = "Snooze Mode returns by UART0 reception communication error occurrence interrupt disabled"]
6085 pub const _0: Self = Self::new(0);
6086
6087 #[doc = "Snooze Mode returns by UART0 reception communication error occurrence interrupt enabled"]
6088 pub const _1: Self = Self::new(1);
6089 }
6090 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6091 pub struct Iica0Ed_SPEC;
6092 pub type Iica0Ed = crate::EnumBitfieldStruct<u8, Iica0Ed_SPEC>;
6093 impl Iica0Ed {
6094 #[doc = "Software Standby/Snooze Mode returns by IICA0 address match interrupt disabled"]
6095 pub const _0: Self = Self::new(0);
6096
6097 #[doc = "Software Standby/Snooze Mode returns by IICA0 address match interrupt enabled"]
6098 pub const _1: Self = Self::new(1);
6099 }
6100 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6101 pub struct Uart0Rxed_SPEC;
6102 pub type Uart0Rxed = crate::EnumBitfieldStruct<u8, Uart0Rxed_SPEC>;
6103 impl Uart0Rxed {
6104 #[doc = "Snooze Mode returns by UART0 reception transfer end interrupt disabled"]
6105 pub const _0: Self = Self::new(0);
6106
6107 #[doc = "Snooze Mode returns by UART0 reception transfer end interrupt enabled"]
6108 pub const _1: Self = Self::new(1);
6109 }
6110 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6111 pub struct Adc12Ed_SPEC;
6112 pub type Adc12Ed = crate::EnumBitfieldStruct<u8, Adc12Ed_SPEC>;
6113 impl Adc12Ed {
6114 #[doc = "Snooze Mode returns by End of A/D conversion interrupt disabled"]
6115 pub const _0: Self = Self::new(0);
6116
6117 #[doc = "Snooze Mode returns by End of A/D conversion interrupt enabled"]
6118 pub const _1: Self = Self::new(1);
6119 }
6120}
6121#[doc(hidden)]
6122#[derive(Copy, Clone, Eq, PartialEq)]
6123pub struct Sbyedcr1_SPEC;
6124impl crate::sealed::RegSpec for Sbyedcr1_SPEC {
6125 type DataType = u32;
6126}
6127
6128#[doc = "Software Standby/Snooze End Control Register 1"]
6129pub type Sbyedcr1 = crate::RegValueT<Sbyedcr1_SPEC>;
6130
6131impl Sbyedcr1 {
6132 #[doc = "RTC Interrupt Software Standby/Snooze Mode Returns Enable"]
6133 #[inline(always)]
6134 pub fn rtced(
6135 self,
6136 ) -> crate::common::RegisterField<
6137 0,
6138 0x1,
6139 1,
6140 0,
6141 sbyedcr1::Rtced,
6142 sbyedcr1::Rtced,
6143 Sbyedcr1_SPEC,
6144 crate::common::RW,
6145 > {
6146 crate::common::RegisterField::<
6147 0,
6148 0x1,
6149 1,
6150 0,
6151 sbyedcr1::Rtced,
6152 sbyedcr1::Rtced,
6153 Sbyedcr1_SPEC,
6154 crate::common::RW,
6155 >::from_register(self, 0)
6156 }
6157
6158 #[doc = "Interval Signal of 32-bit Interval Timer Interrupt Software Standby/Snooze Mode Returns Enable"]
6159 #[inline(always)]
6160 pub fn itled(
6161 self,
6162 ) -> crate::common::RegisterField<
6163 1,
6164 0x1,
6165 1,
6166 0,
6167 sbyedcr1::Itled,
6168 sbyedcr1::Itled,
6169 Sbyedcr1_SPEC,
6170 crate::common::RW,
6171 > {
6172 crate::common::RegisterField::<
6173 1,
6174 0x1,
6175 1,
6176 0,
6177 sbyedcr1::Itled,
6178 sbyedcr1::Itled,
6179 Sbyedcr1_SPEC,
6180 crate::common::RW,
6181 >::from_register(self, 0)
6182 }
6183
6184 #[doc = "UARTA0 Reception Communication Error Interrupt Software Standby/Snooze Mode Returns Enable"]
6185 #[inline(always)]
6186 pub fn ure0ed(
6187 self,
6188 ) -> crate::common::RegisterField<
6189 7,
6190 0x1,
6191 1,
6192 0,
6193 sbyedcr1::Ure0Ed,
6194 sbyedcr1::Ure0Ed,
6195 Sbyedcr1_SPEC,
6196 crate::common::RW,
6197 > {
6198 crate::common::RegisterField::<
6199 7,
6200 0x1,
6201 1,
6202 0,
6203 sbyedcr1::Ure0Ed,
6204 sbyedcr1::Ure0Ed,
6205 Sbyedcr1_SPEC,
6206 crate::common::RW,
6207 >::from_register(self, 0)
6208 }
6209
6210 #[doc = "UARTA0 Transmission Transfer End or Buffer Empty Interrupt Software Standby/Snooze Mode Returns Enable"]
6211 #[inline(always)]
6212 pub fn ut0ed(
6213 self,
6214 ) -> crate::common::RegisterField<
6215 8,
6216 0x1,
6217 1,
6218 0,
6219 sbyedcr1::Ut0Ed,
6220 sbyedcr1::Ut0Ed,
6221 Sbyedcr1_SPEC,
6222 crate::common::RW,
6223 > {
6224 crate::common::RegisterField::<
6225 8,
6226 0x1,
6227 1,
6228 0,
6229 sbyedcr1::Ut0Ed,
6230 sbyedcr1::Ut0Ed,
6231 Sbyedcr1_SPEC,
6232 crate::common::RW,
6233 >::from_register(self, 0)
6234 }
6235
6236 #[doc = "UARTA0 Reception Transfer End Interrupt Software Standby/Snooze Mode Returns Enable"]
6237 #[inline(always)]
6238 pub fn ur0ed(
6239 self,
6240 ) -> crate::common::RegisterField<
6241 9,
6242 0x1,
6243 1,
6244 0,
6245 sbyedcr1::Ur0Ed,
6246 sbyedcr1::Ur0Ed,
6247 Sbyedcr1_SPEC,
6248 crate::common::RW,
6249 > {
6250 crate::common::RegisterField::<
6251 9,
6252 0x1,
6253 1,
6254 0,
6255 sbyedcr1::Ur0Ed,
6256 sbyedcr1::Ur0Ed,
6257 Sbyedcr1_SPEC,
6258 crate::common::RW,
6259 >::from_register(self, 0)
6260 }
6261}
6262impl ::core::default::Default for Sbyedcr1 {
6263 #[inline(always)]
6264 fn default() -> Sbyedcr1 {
6265 <crate::RegValueT<Sbyedcr1_SPEC> as RegisterValue<_>>::new(0)
6266 }
6267}
6268pub mod sbyedcr1 {
6269
6270 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6271 pub struct Rtced_SPEC;
6272 pub type Rtced = crate::EnumBitfieldStruct<u8, Rtced_SPEC>;
6273 impl Rtced {
6274 #[doc = "Software Standby/Snooze Mode returns by RTC interrupt disabled"]
6275 pub const _0: Self = Self::new(0);
6276
6277 #[doc = "Software Standby/Snooze Mode returns by RTC interrupt enabled"]
6278 pub const _1: Self = Self::new(1);
6279 }
6280 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6281 pub struct Itled_SPEC;
6282 pub type Itled = crate::EnumBitfieldStruct<u8, Itled_SPEC>;
6283 impl Itled {
6284 #[doc = "Software Standby/Snooze Mode returns by Interval signal of 32-bit interval timer interrupt disabled"]
6285 pub const _0: Self = Self::new(0);
6286
6287 #[doc = "Software Standby/Snooze Mode returns by Interval signal of 32-bit interval timer interrupt enabled"]
6288 pub const _1: Self = Self::new(1);
6289 }
6290 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6291 pub struct Ure0Ed_SPEC;
6292 pub type Ure0Ed = crate::EnumBitfieldStruct<u8, Ure0Ed_SPEC>;
6293 impl Ure0Ed {
6294 #[doc = "Software Standby/Snooze Mode returns by UARTA0 reception communication error interrupt disabled"]
6295 pub const _0: Self = Self::new(0);
6296
6297 #[doc = "Software Standby/Snooze Mode returns by UARTA0 reception communication error interrupt enabled"]
6298 pub const _1: Self = Self::new(1);
6299 }
6300 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6301 pub struct Ut0Ed_SPEC;
6302 pub type Ut0Ed = crate::EnumBitfieldStruct<u8, Ut0Ed_SPEC>;
6303 impl Ut0Ed {
6304 #[doc = "Software Standby/Snooze Mode returns by UARTA0 transmission transfer end or buffer empty interrupt disabled"]
6305 pub const _0: Self = Self::new(0);
6306
6307 #[doc = "Software Standby/Snooze Mode returns by UARTA0 transmission transfer end or buffer empty interrupt enabled"]
6308 pub const _1: Self = Self::new(1);
6309 }
6310 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6311 pub struct Ur0Ed_SPEC;
6312 pub type Ur0Ed = crate::EnumBitfieldStruct<u8, Ur0Ed_SPEC>;
6313 impl Ur0Ed {
6314 #[doc = "Software Standby/Snooze Mode returns by UARTA0 reception transfer end interrupt disabled"]
6315 pub const _0: Self = Self::new(0);
6316
6317 #[doc = "Software Standby/Snooze Mode returns by UARTA0 reception transfer end interrupt enabled"]
6318 pub const _1: Self = Self::new(1);
6319 }
6320}