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"Module Stop Control"]
28unsafe impl ::core::marker::Send for super::Mstp {}
29unsafe impl ::core::marker::Sync for super::Mstp {}
30impl super::Mstp {
31 #[allow(unused)]
32 #[inline(always)]
33 pub(crate) const fn _svd2pac_as_ptr(&self) -> *mut u8 {
34 self.ptr
35 }
36
37 #[doc = "Module Stop Control Register A"]
38 #[inline(always)]
39 pub const fn mstpcra(
40 &self,
41 ) -> &'static crate::common::Reg<self::Mstpcra_SPEC, crate::common::RW> {
42 unsafe {
43 crate::common::Reg::<self::Mstpcra_SPEC, crate::common::RW>::from_ptr(
44 self._svd2pac_as_ptr().add(0usize),
45 )
46 }
47 }
48
49 #[doc = "Module Stop Control Register B"]
50 #[inline(always)]
51 pub const fn mstpcrb(
52 &self,
53 ) -> &'static crate::common::Reg<self::Mstpcrb_SPEC, crate::common::RW> {
54 unsafe {
55 crate::common::Reg::<self::Mstpcrb_SPEC, crate::common::RW>::from_ptr(
56 self._svd2pac_as_ptr().add(4usize),
57 )
58 }
59 }
60
61 #[doc = "Module Stop Control Register C"]
62 #[inline(always)]
63 pub const fn mstpcrc(
64 &self,
65 ) -> &'static crate::common::Reg<self::Mstpcrc_SPEC, crate::common::RW> {
66 unsafe {
67 crate::common::Reg::<self::Mstpcrc_SPEC, crate::common::RW>::from_ptr(
68 self._svd2pac_as_ptr().add(8usize),
69 )
70 }
71 }
72
73 #[doc = "Module Stop Control Register D"]
74 #[inline(always)]
75 pub const fn mstpcrd(
76 &self,
77 ) -> &'static crate::common::Reg<self::Mstpcrd_SPEC, crate::common::RW> {
78 unsafe {
79 crate::common::Reg::<self::Mstpcrd_SPEC, crate::common::RW>::from_ptr(
80 self._svd2pac_as_ptr().add(12usize),
81 )
82 }
83 }
84
85 #[doc = "Module Stop Control Register E"]
86 #[inline(always)]
87 pub const fn mstpcre(
88 &self,
89 ) -> &'static crate::common::Reg<self::Mstpcre_SPEC, crate::common::RW> {
90 unsafe {
91 crate::common::Reg::<self::Mstpcre_SPEC, crate::common::RW>::from_ptr(
92 self._svd2pac_as_ptr().add(16usize),
93 )
94 }
95 }
96}
97#[doc(hidden)]
98#[derive(Copy, Clone, Eq, PartialEq)]
99pub struct Mstpcra_SPEC;
100impl crate::sealed::RegSpec for Mstpcra_SPEC {
101 type DataType = u32;
102}
103
104#[doc = "Module Stop Control Register A"]
105pub type Mstpcra = crate::RegValueT<Mstpcra_SPEC>;
106
107impl Mstpcra {
108 #[doc = "SRAM0 Module Stop"]
109 #[inline(always)]
110 pub fn mstpa0(
111 self,
112 ) -> crate::common::RegisterField<
113 0,
114 0x1,
115 1,
116 0,
117 mstpcra::Mstpa0,
118 mstpcra::Mstpa0,
119 Mstpcra_SPEC,
120 crate::common::RW,
121 > {
122 crate::common::RegisterField::<
123 0,
124 0x1,
125 1,
126 0,
127 mstpcra::Mstpa0,
128 mstpcra::Mstpa0,
129 Mstpcra_SPEC,
130 crate::common::RW,
131 >::from_register(self, 0)
132 }
133
134 #[doc = "Standby SRAM Module Stop"]
135 #[inline(always)]
136 pub fn mstpa7(
137 self,
138 ) -> crate::common::RegisterField<
139 7,
140 0x1,
141 1,
142 0,
143 mstpcra::Mstpa7,
144 mstpcra::Mstpa7,
145 Mstpcra_SPEC,
146 crate::common::RW,
147 > {
148 crate::common::RegisterField::<
149 7,
150 0x1,
151 1,
152 0,
153 mstpcra::Mstpa7,
154 mstpcra::Mstpa7,
155 Mstpcra_SPEC,
156 crate::common::RW,
157 >::from_register(self, 0)
158 }
159
160 #[doc = "DMA Controller/Data Transfer Controller Module Stop"]
161 #[inline(always)]
162 pub fn mstpa22(
163 self,
164 ) -> crate::common::RegisterField<
165 22,
166 0x1,
167 1,
168 0,
169 mstpcra::Mstpa22,
170 mstpcra::Mstpa22,
171 Mstpcra_SPEC,
172 crate::common::RW,
173 > {
174 crate::common::RegisterField::<
175 22,
176 0x1,
177 1,
178 0,
179 mstpcra::Mstpa22,
180 mstpcra::Mstpa22,
181 Mstpcra_SPEC,
182 crate::common::RW,
183 >::from_register(self, 0)
184 }
185}
186impl ::core::default::Default for Mstpcra {
187 #[inline(always)]
188 fn default() -> Mstpcra {
189 <crate::RegValueT<Mstpcra_SPEC> as RegisterValue<_>>::new(4290772862)
190 }
191}
192pub mod mstpcra {
193
194 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
195 pub struct Mstpa0_SPEC;
196 pub type Mstpa0 = crate::EnumBitfieldStruct<u8, Mstpa0_SPEC>;
197 impl Mstpa0 {
198 #[doc = "Cancel the module-stop state"]
199 pub const _0: Self = Self::new(0);
200
201 #[doc = "Enter the module-stop state"]
202 pub const _1: Self = Self::new(1);
203 }
204 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
205 pub struct Mstpa7_SPEC;
206 pub type Mstpa7 = crate::EnumBitfieldStruct<u8, Mstpa7_SPEC>;
207 impl Mstpa7 {
208 #[doc = "Cancel the module-stop state"]
209 pub const _0: Self = Self::new(0);
210
211 #[doc = "Enter the module-stop state"]
212 pub const _1: Self = Self::new(1);
213 }
214 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
215 pub struct Mstpa22_SPEC;
216 pub type Mstpa22 = crate::EnumBitfieldStruct<u8, Mstpa22_SPEC>;
217 impl Mstpa22 {
218 #[doc = "Cancel the module-stop state"]
219 pub const _0: Self = Self::new(0);
220
221 #[doc = "Enter the module-stop state"]
222 pub const _1: Self = Self::new(1);
223 }
224}
225#[doc(hidden)]
226#[derive(Copy, Clone, Eq, PartialEq)]
227pub struct Mstpcrb_SPEC;
228impl crate::sealed::RegSpec for Mstpcrb_SPEC {
229 type DataType = u32;
230}
231
232#[doc = "Module Stop Control Register B"]
233pub type Mstpcrb = crate::RegValueT<Mstpcrb_SPEC>;
234
235impl Mstpcrb {
236 #[doc = "Controller Area Network 0 Module Stop"]
237 #[inline(always)]
238 pub fn mstpb2(
239 self,
240 ) -> crate::common::RegisterField<
241 2,
242 0x1,
243 1,
244 0,
245 mstpcrb::Mstpb2,
246 mstpcrb::Mstpb2,
247 Mstpcrb_SPEC,
248 crate::common::RW,
249 > {
250 crate::common::RegisterField::<
251 2,
252 0x1,
253 1,
254 0,
255 mstpcrb::Mstpb2,
256 mstpcrb::Mstpb2,
257 Mstpcrb_SPEC,
258 crate::common::RW,
259 >::from_register(self, 0)
260 }
261
262 #[doc = "Quad Serial Peripheral Interface Module Stop"]
263 #[inline(always)]
264 pub fn mstpb6(
265 self,
266 ) -> crate::common::RegisterField<
267 6,
268 0x1,
269 1,
270 0,
271 mstpcrb::Mstpb6,
272 mstpcrb::Mstpb6,
273 Mstpcrb_SPEC,
274 crate::common::RW,
275 > {
276 crate::common::RegisterField::<
277 6,
278 0x1,
279 1,
280 0,
281 mstpcrb::Mstpb6,
282 mstpcrb::Mstpb6,
283 Mstpcrb_SPEC,
284 crate::common::RW,
285 >::from_register(self, 0)
286 }
287
288 #[doc = "I2C Bus Interface 1 Module Stop"]
289 #[inline(always)]
290 pub fn mstpb8(
291 self,
292 ) -> crate::common::RegisterField<
293 8,
294 0x1,
295 1,
296 0,
297 mstpcrb::Mstpb8,
298 mstpcrb::Mstpb8,
299 Mstpcrb_SPEC,
300 crate::common::RW,
301 > {
302 crate::common::RegisterField::<
303 8,
304 0x1,
305 1,
306 0,
307 mstpcrb::Mstpb8,
308 mstpcrb::Mstpb8,
309 Mstpcrb_SPEC,
310 crate::common::RW,
311 >::from_register(self, 0)
312 }
313
314 #[doc = "I2C Bus Interface 0 Module Stop"]
315 #[inline(always)]
316 pub fn mstpb9(
317 self,
318 ) -> crate::common::RegisterField<
319 9,
320 0x1,
321 1,
322 0,
323 mstpcrb::Mstpb9,
324 mstpcrb::Mstpb9,
325 Mstpcrb_SPEC,
326 crate::common::RW,
327 > {
328 crate::common::RegisterField::<
329 9,
330 0x1,
331 1,
332 0,
333 mstpcrb::Mstpb9,
334 mstpcrb::Mstpb9,
335 Mstpcrb_SPEC,
336 crate::common::RW,
337 >::from_register(self, 0)
338 }
339
340 #[doc = "Universal Serial Bus 2.0 FS Interface 0 Module Stop"]
341 #[inline(always)]
342 pub fn mstpb11(
343 self,
344 ) -> crate::common::RegisterField<
345 11,
346 0x1,
347 1,
348 0,
349 mstpcrb::Mstpb11,
350 mstpcrb::Mstpb11,
351 Mstpcrb_SPEC,
352 crate::common::RW,
353 > {
354 crate::common::RegisterField::<
355 11,
356 0x1,
357 1,
358 0,
359 mstpcrb::Mstpb11,
360 mstpcrb::Mstpb11,
361 Mstpcrb_SPEC,
362 crate::common::RW,
363 >::from_register(self, 0)
364 }
365
366 #[doc = "Serial Peripheral Interface 0 Module Stop"]
367 #[inline(always)]
368 pub fn mstpb19(
369 self,
370 ) -> crate::common::RegisterField<
371 19,
372 0x1,
373 1,
374 0,
375 mstpcrb::Mstpb19,
376 mstpcrb::Mstpb19,
377 Mstpcrb_SPEC,
378 crate::common::RW,
379 > {
380 crate::common::RegisterField::<
381 19,
382 0x1,
383 1,
384 0,
385 mstpcrb::Mstpb19,
386 mstpcrb::Mstpb19,
387 Mstpcrb_SPEC,
388 crate::common::RW,
389 >::from_register(self, 0)
390 }
391
392 #[doc = "Serial Communication Interface 9 Module Stop"]
393 #[inline(always)]
394 pub fn mstpb22(
395 self,
396 ) -> crate::common::RegisterField<
397 22,
398 0x1,
399 1,
400 0,
401 mstpcrb::Mstpb22,
402 mstpcrb::Mstpb22,
403 Mstpcrb_SPEC,
404 crate::common::RW,
405 > {
406 crate::common::RegisterField::<
407 22,
408 0x1,
409 1,
410 0,
411 mstpcrb::Mstpb22,
412 mstpcrb::Mstpb22,
413 Mstpcrb_SPEC,
414 crate::common::RW,
415 >::from_register(self, 0)
416 }
417
418 #[doc = "Serial Communication Interface 4 Module Stop"]
419 #[inline(always)]
420 pub fn mstpb27(
421 self,
422 ) -> crate::common::RegisterField<
423 27,
424 0x1,
425 1,
426 0,
427 mstpcrb::Mstpb27,
428 mstpcrb::Mstpb27,
429 Mstpcrb_SPEC,
430 crate::common::RW,
431 > {
432 crate::common::RegisterField::<
433 27,
434 0x1,
435 1,
436 0,
437 mstpcrb::Mstpb27,
438 mstpcrb::Mstpb27,
439 Mstpcrb_SPEC,
440 crate::common::RW,
441 >::from_register(self, 0)
442 }
443
444 #[doc = "Serial Communication Interface 3 Module Stop"]
445 #[inline(always)]
446 pub fn mstpb28(
447 self,
448 ) -> crate::common::RegisterField<
449 28,
450 0x1,
451 1,
452 0,
453 mstpcrb::Mstpb28,
454 mstpcrb::Mstpb28,
455 Mstpcrb_SPEC,
456 crate::common::RW,
457 > {
458 crate::common::RegisterField::<
459 28,
460 0x1,
461 1,
462 0,
463 mstpcrb::Mstpb28,
464 mstpcrb::Mstpb28,
465 Mstpcrb_SPEC,
466 crate::common::RW,
467 >::from_register(self, 0)
468 }
469
470 #[doc = "Serial Communication Interface 2 Module Stop"]
471 #[inline(always)]
472 pub fn mstpb29(
473 self,
474 ) -> crate::common::RegisterField<
475 29,
476 0x1,
477 1,
478 0,
479 mstpcrb::Mstpb29,
480 mstpcrb::Mstpb29,
481 Mstpcrb_SPEC,
482 crate::common::RW,
483 > {
484 crate::common::RegisterField::<
485 29,
486 0x1,
487 1,
488 0,
489 mstpcrb::Mstpb29,
490 mstpcrb::Mstpb29,
491 Mstpcrb_SPEC,
492 crate::common::RW,
493 >::from_register(self, 0)
494 }
495
496 #[doc = "Serial Communication Interface 1 Module Stop"]
497 #[inline(always)]
498 pub fn mstpb30(
499 self,
500 ) -> crate::common::RegisterField<
501 30,
502 0x1,
503 1,
504 0,
505 mstpcrb::Mstpb30,
506 mstpcrb::Mstpb30,
507 Mstpcrb_SPEC,
508 crate::common::RW,
509 > {
510 crate::common::RegisterField::<
511 30,
512 0x1,
513 1,
514 0,
515 mstpcrb::Mstpb30,
516 mstpcrb::Mstpb30,
517 Mstpcrb_SPEC,
518 crate::common::RW,
519 >::from_register(self, 0)
520 }
521
522 #[doc = "Serial Communication Interface 0 Module Stop"]
523 #[inline(always)]
524 pub fn mstpb31(
525 self,
526 ) -> crate::common::RegisterField<
527 31,
528 0x1,
529 1,
530 0,
531 mstpcrb::Mstpb31,
532 mstpcrb::Mstpb31,
533 Mstpcrb_SPEC,
534 crate::common::RW,
535 > {
536 crate::common::RegisterField::<
537 31,
538 0x1,
539 1,
540 0,
541 mstpcrb::Mstpb31,
542 mstpcrb::Mstpb31,
543 Mstpcrb_SPEC,
544 crate::common::RW,
545 >::from_register(self, 0)
546 }
547}
548impl ::core::default::Default for Mstpcrb {
549 #[inline(always)]
550 fn default() -> Mstpcrb {
551 <crate::RegValueT<Mstpcrb_SPEC> as RegisterValue<_>>::new(4294967295)
552 }
553}
554pub mod mstpcrb {
555
556 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
557 pub struct Mstpb2_SPEC;
558 pub type Mstpb2 = crate::EnumBitfieldStruct<u8, Mstpb2_SPEC>;
559 impl Mstpb2 {
560 #[doc = "Cancel the module-stop state"]
561 pub const _0: Self = Self::new(0);
562
563 #[doc = "Enter the module-stop state"]
564 pub const _1: Self = Self::new(1);
565 }
566 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
567 pub struct Mstpb6_SPEC;
568 pub type Mstpb6 = crate::EnumBitfieldStruct<u8, Mstpb6_SPEC>;
569 impl Mstpb6 {
570 #[doc = "Cancel the module-stop state"]
571 pub const _0: Self = Self::new(0);
572
573 #[doc = "Enter the module-stop state"]
574 pub const _1: Self = Self::new(1);
575 }
576 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
577 pub struct Mstpb8_SPEC;
578 pub type Mstpb8 = crate::EnumBitfieldStruct<u8, Mstpb8_SPEC>;
579 impl Mstpb8 {
580 #[doc = "Cancel the module-stop state"]
581 pub const _0: Self = Self::new(0);
582
583 #[doc = "Enter the module-stop state"]
584 pub const _1: Self = Self::new(1);
585 }
586 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
587 pub struct Mstpb9_SPEC;
588 pub type Mstpb9 = crate::EnumBitfieldStruct<u8, Mstpb9_SPEC>;
589 impl Mstpb9 {
590 #[doc = "Cancel the module-stop state"]
591 pub const _0: Self = Self::new(0);
592
593 #[doc = "Enter the module-stop state"]
594 pub const _1: Self = Self::new(1);
595 }
596 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
597 pub struct Mstpb11_SPEC;
598 pub type Mstpb11 = crate::EnumBitfieldStruct<u8, Mstpb11_SPEC>;
599 impl Mstpb11 {
600 #[doc = "Cancel the module-stop state"]
601 pub const _0: Self = Self::new(0);
602
603 #[doc = "Enter the module-stop state"]
604 pub const _1: Self = Self::new(1);
605 }
606 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
607 pub struct Mstpb19_SPEC;
608 pub type Mstpb19 = crate::EnumBitfieldStruct<u8, Mstpb19_SPEC>;
609 impl Mstpb19 {
610 #[doc = "Cancel the module-stop state"]
611 pub const _0: Self = Self::new(0);
612
613 #[doc = "Enter the module-stop state"]
614 pub const _1: Self = Self::new(1);
615 }
616 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
617 pub struct Mstpb22_SPEC;
618 pub type Mstpb22 = crate::EnumBitfieldStruct<u8, Mstpb22_SPEC>;
619 impl Mstpb22 {
620 #[doc = "Cancel the module-stop state"]
621 pub const _0: Self = Self::new(0);
622
623 #[doc = "Enter the module-stop state"]
624 pub const _1: Self = Self::new(1);
625 }
626 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
627 pub struct Mstpb27_SPEC;
628 pub type Mstpb27 = crate::EnumBitfieldStruct<u8, Mstpb27_SPEC>;
629 impl Mstpb27 {
630 #[doc = "Cancel the module-stop state"]
631 pub const _0: Self = Self::new(0);
632
633 #[doc = "Enter the module-stop state"]
634 pub const _1: Self = Self::new(1);
635 }
636 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
637 pub struct Mstpb28_SPEC;
638 pub type Mstpb28 = crate::EnumBitfieldStruct<u8, Mstpb28_SPEC>;
639 impl Mstpb28 {
640 #[doc = "Cancel the module-stop state"]
641 pub const _0: Self = Self::new(0);
642
643 #[doc = "Enter the module-stop state"]
644 pub const _1: Self = Self::new(1);
645 }
646 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
647 pub struct Mstpb29_SPEC;
648 pub type Mstpb29 = crate::EnumBitfieldStruct<u8, Mstpb29_SPEC>;
649 impl Mstpb29 {
650 #[doc = "Cancel the module-stop state"]
651 pub const _0: Self = Self::new(0);
652
653 #[doc = "Enter the module-stop state"]
654 pub const _1: Self = Self::new(1);
655 }
656 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
657 pub struct Mstpb30_SPEC;
658 pub type Mstpb30 = crate::EnumBitfieldStruct<u8, Mstpb30_SPEC>;
659 impl Mstpb30 {
660 #[doc = "Cancel the module-stop state"]
661 pub const _0: Self = Self::new(0);
662
663 #[doc = "Enter the module-stop state"]
664 pub const _1: Self = Self::new(1);
665 }
666 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
667 pub struct Mstpb31_SPEC;
668 pub type Mstpb31 = crate::EnumBitfieldStruct<u8, Mstpb31_SPEC>;
669 impl Mstpb31 {
670 #[doc = "Cancel the module-stop state"]
671 pub const _0: Self = Self::new(0);
672
673 #[doc = "Enter the module-stop state"]
674 pub const _1: Self = Self::new(1);
675 }
676}
677#[doc(hidden)]
678#[derive(Copy, Clone, Eq, PartialEq)]
679pub struct Mstpcrc_SPEC;
680impl crate::sealed::RegSpec for Mstpcrc_SPEC {
681 type DataType = u32;
682}
683
684#[doc = "Module Stop Control Register C"]
685pub type Mstpcrc = crate::RegValueT<Mstpcrc_SPEC>;
686
687impl Mstpcrc {
688 #[doc = "Clock Frequency Accuracy Measurement Circuit Module Stop"]
689 #[inline(always)]
690 pub fn mstpc0(
691 self,
692 ) -> crate::common::RegisterField<
693 0,
694 0x1,
695 1,
696 0,
697 mstpcrc::Mstpc0,
698 mstpcrc::Mstpc0,
699 Mstpcrc_SPEC,
700 crate::common::RW,
701 > {
702 crate::common::RegisterField::<
703 0,
704 0x1,
705 1,
706 0,
707 mstpcrc::Mstpc0,
708 mstpcrc::Mstpc0,
709 Mstpcrc_SPEC,
710 crate::common::RW,
711 >::from_register(self, 0)
712 }
713
714 #[doc = "Cyclic Redundancy Check Calculator Module Stop"]
715 #[inline(always)]
716 pub fn mstpc1(
717 self,
718 ) -> crate::common::RegisterField<
719 1,
720 0x1,
721 1,
722 0,
723 mstpcrc::Mstpc1,
724 mstpcrc::Mstpc1,
725 Mstpcrc_SPEC,
726 crate::common::RW,
727 > {
728 crate::common::RegisterField::<
729 1,
730 0x1,
731 1,
732 0,
733 mstpcrc::Mstpc1,
734 mstpcrc::Mstpc1,
735 Mstpcrc_SPEC,
736 crate::common::RW,
737 >::from_register(self, 0)
738 }
739
740 #[doc = "Capacitive Touch Sensing Unit Module Stop"]
741 #[inline(always)]
742 pub fn mstpc3(
743 self,
744 ) -> crate::common::RegisterField<
745 3,
746 0x1,
747 1,
748 0,
749 mstpcrc::Mstpc3,
750 mstpcrc::Mstpc3,
751 Mstpcrc_SPEC,
752 crate::common::RW,
753 > {
754 crate::common::RegisterField::<
755 3,
756 0x1,
757 1,
758 0,
759 mstpcrc::Mstpc3,
760 mstpcrc::Mstpc3,
761 Mstpcrc_SPEC,
762 crate::common::RW,
763 >::from_register(self, 0)
764 }
765
766 #[doc = "Serial Sound Interface Enhanced Module Stop"]
767 #[inline(always)]
768 pub fn mstpc8(
769 self,
770 ) -> crate::common::RegisterField<
771 8,
772 0x1,
773 1,
774 0,
775 mstpcrc::Mstpc8,
776 mstpcrc::Mstpc8,
777 Mstpcrc_SPEC,
778 crate::common::RW,
779 > {
780 crate::common::RegisterField::<
781 8,
782 0x1,
783 1,
784 0,
785 mstpcrc::Mstpc8,
786 mstpcrc::Mstpc8,
787 Mstpcrc_SPEC,
788 crate::common::RW,
789 >::from_register(self, 0)
790 }
791
792 #[doc = "Secure Digital HOST IF / Multi Media Card 0 Module Stop"]
793 #[inline(always)]
794 pub fn mstpc12(
795 self,
796 ) -> crate::common::RegisterField<
797 12,
798 0x1,
799 1,
800 0,
801 mstpcrc::Mstpc12,
802 mstpcrc::Mstpc12,
803 Mstpcrc_SPEC,
804 crate::common::RW,
805 > {
806 crate::common::RegisterField::<
807 12,
808 0x1,
809 1,
810 0,
811 mstpcrc::Mstpc12,
812 mstpcrc::Mstpc12,
813 Mstpcrc_SPEC,
814 crate::common::RW,
815 >::from_register(self, 0)
816 }
817
818 #[doc = "Data Operation Circuit Module Stop"]
819 #[inline(always)]
820 pub fn mstpc13(
821 self,
822 ) -> crate::common::RegisterField<
823 13,
824 0x1,
825 1,
826 0,
827 mstpcrc::Mstpc13,
828 mstpcrc::Mstpc13,
829 Mstpcrc_SPEC,
830 crate::common::RW,
831 > {
832 crate::common::RegisterField::<
833 13,
834 0x1,
835 1,
836 0,
837 mstpcrc::Mstpc13,
838 mstpcrc::Mstpc13,
839 Mstpcrc_SPEC,
840 crate::common::RW,
841 >::from_register(self, 0)
842 }
843
844 #[doc = "Event Link Controller Module Stop"]
845 #[inline(always)]
846 pub fn mstpc14(
847 self,
848 ) -> crate::common::RegisterField<
849 14,
850 0x1,
851 1,
852 0,
853 mstpcrc::Mstpc14,
854 mstpcrc::Mstpc14,
855 Mstpcrc_SPEC,
856 crate::common::RW,
857 > {
858 crate::common::RegisterField::<
859 14,
860 0x1,
861 1,
862 0,
863 mstpcrc::Mstpc14,
864 mstpcrc::Mstpc14,
865 Mstpcrc_SPEC,
866 crate::common::RW,
867 >::from_register(self, 0)
868 }
869
870 #[doc = "SCE9 Module Stop"]
871 #[inline(always)]
872 pub fn mstpc31(
873 self,
874 ) -> crate::common::RegisterField<
875 31,
876 0x1,
877 1,
878 0,
879 mstpcrc::Mstpc31,
880 mstpcrc::Mstpc31,
881 Mstpcrc_SPEC,
882 crate::common::RW,
883 > {
884 crate::common::RegisterField::<
885 31,
886 0x1,
887 1,
888 0,
889 mstpcrc::Mstpc31,
890 mstpcrc::Mstpc31,
891 Mstpcrc_SPEC,
892 crate::common::RW,
893 >::from_register(self, 0)
894 }
895}
896impl ::core::default::Default for Mstpcrc {
897 #[inline(always)]
898 fn default() -> Mstpcrc {
899 <crate::RegValueT<Mstpcrc_SPEC> as RegisterValue<_>>::new(4294967295)
900 }
901}
902pub mod mstpcrc {
903
904 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
905 pub struct Mstpc0_SPEC;
906 pub type Mstpc0 = crate::EnumBitfieldStruct<u8, Mstpc0_SPEC>;
907 impl Mstpc0 {
908 #[doc = "Cancel the module-stop state"]
909 pub const _0: Self = Self::new(0);
910
911 #[doc = "Enter the module-stop state"]
912 pub const _1: Self = Self::new(1);
913 }
914 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
915 pub struct Mstpc1_SPEC;
916 pub type Mstpc1 = crate::EnumBitfieldStruct<u8, Mstpc1_SPEC>;
917 impl Mstpc1 {
918 #[doc = "Cancel the module-stop state"]
919 pub const _0: Self = Self::new(0);
920
921 #[doc = "Enter the module-stop state"]
922 pub const _1: Self = Self::new(1);
923 }
924 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
925 pub struct Mstpc3_SPEC;
926 pub type Mstpc3 = crate::EnumBitfieldStruct<u8, Mstpc3_SPEC>;
927 impl Mstpc3 {
928 #[doc = "Cancel the module-stop state"]
929 pub const _0: Self = Self::new(0);
930
931 #[doc = "Enter the module-stop state"]
932 pub const _1: Self = Self::new(1);
933 }
934 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
935 pub struct Mstpc8_SPEC;
936 pub type Mstpc8 = crate::EnumBitfieldStruct<u8, Mstpc8_SPEC>;
937 impl Mstpc8 {
938 #[doc = "Cancel the module-stop state"]
939 pub const _0: Self = Self::new(0);
940
941 #[doc = "Enter the module-stop state"]
942 pub const _1: Self = Self::new(1);
943 }
944 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
945 pub struct Mstpc12_SPEC;
946 pub type Mstpc12 = crate::EnumBitfieldStruct<u8, Mstpc12_SPEC>;
947 impl Mstpc12 {
948 #[doc = "Cancel the module-stop state"]
949 pub const _0: Self = Self::new(0);
950
951 #[doc = "Enter the module-stop state"]
952 pub const _1: Self = Self::new(1);
953 }
954 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
955 pub struct Mstpc13_SPEC;
956 pub type Mstpc13 = crate::EnumBitfieldStruct<u8, Mstpc13_SPEC>;
957 impl Mstpc13 {
958 #[doc = "Cancel the module-stop state"]
959 pub const _0: Self = Self::new(0);
960
961 #[doc = "Enter the module-stop state"]
962 pub const _1: Self = Self::new(1);
963 }
964 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
965 pub struct Mstpc14_SPEC;
966 pub type Mstpc14 = crate::EnumBitfieldStruct<u8, Mstpc14_SPEC>;
967 impl Mstpc14 {
968 #[doc = "Cancel the module-stop state"]
969 pub const _0: Self = Self::new(0);
970
971 #[doc = "Enter the module-stop state"]
972 pub const _1: Self = Self::new(1);
973 }
974 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
975 pub struct Mstpc31_SPEC;
976 pub type Mstpc31 = crate::EnumBitfieldStruct<u8, Mstpc31_SPEC>;
977 impl Mstpc31 {
978 #[doc = "Cancel the module-stop state"]
979 pub const _0: Self = Self::new(0);
980
981 #[doc = "Enter the module-stop state"]
982 pub const _1: Self = Self::new(1);
983 }
984}
985#[doc(hidden)]
986#[derive(Copy, Clone, Eq, PartialEq)]
987pub struct Mstpcrd_SPEC;
988impl crate::sealed::RegSpec for Mstpcrd_SPEC {
989 type DataType = u32;
990}
991
992#[doc = "Module Stop Control Register D"]
993pub type Mstpcrd = crate::RegValueT<Mstpcrd_SPEC>;
994
995impl Mstpcrd {
996 #[doc = "Low Power Asynchronous General Purpose Timer 3 Module Stop"]
997 #[inline(always)]
998 pub fn mstpd0(
999 self,
1000 ) -> crate::common::RegisterField<
1001 0,
1002 0x1,
1003 1,
1004 0,
1005 mstpcrd::Mstpd0,
1006 mstpcrd::Mstpd0,
1007 Mstpcrd_SPEC,
1008 crate::common::RW,
1009 > {
1010 crate::common::RegisterField::<
1011 0,
1012 0x1,
1013 1,
1014 0,
1015 mstpcrd::Mstpd0,
1016 mstpcrd::Mstpd0,
1017 Mstpcrd_SPEC,
1018 crate::common::RW,
1019 >::from_register(self, 0)
1020 }
1021
1022 #[doc = "Low Power Asynchronous General Purpose Timer 2 Module Stop"]
1023 #[inline(always)]
1024 pub fn mstpd1(
1025 self,
1026 ) -> crate::common::RegisterField<
1027 1,
1028 0x1,
1029 1,
1030 0,
1031 mstpcrd::Mstpd1,
1032 mstpcrd::Mstpd1,
1033 Mstpcrd_SPEC,
1034 crate::common::RW,
1035 > {
1036 crate::common::RegisterField::<
1037 1,
1038 0x1,
1039 1,
1040 0,
1041 mstpcrd::Mstpd1,
1042 mstpcrd::Mstpd1,
1043 Mstpcrd_SPEC,
1044 crate::common::RW,
1045 >::from_register(self, 0)
1046 }
1047
1048 #[doc = "Low Power Asynchronous General Purpose Timer 1 Module Stop"]
1049 #[inline(always)]
1050 pub fn mstpd2(
1051 self,
1052 ) -> crate::common::RegisterField<
1053 2,
1054 0x1,
1055 1,
1056 0,
1057 mstpcrd::Mstpd2,
1058 mstpcrd::Mstpd2,
1059 Mstpcrd_SPEC,
1060 crate::common::RW,
1061 > {
1062 crate::common::RegisterField::<
1063 2,
1064 0x1,
1065 1,
1066 0,
1067 mstpcrd::Mstpd2,
1068 mstpcrd::Mstpd2,
1069 Mstpcrd_SPEC,
1070 crate::common::RW,
1071 >::from_register(self, 0)
1072 }
1073
1074 #[doc = "Low Power Asynchronous General Purpose Timer 0 Module Stop"]
1075 #[inline(always)]
1076 pub fn mstpd3(
1077 self,
1078 ) -> crate::common::RegisterField<
1079 3,
1080 0x1,
1081 1,
1082 0,
1083 mstpcrd::Mstpd3,
1084 mstpcrd::Mstpd3,
1085 Mstpcrd_SPEC,
1086 crate::common::RW,
1087 > {
1088 crate::common::RegisterField::<
1089 3,
1090 0x1,
1091 1,
1092 0,
1093 mstpcrd::Mstpd3,
1094 mstpcrd::Mstpd3,
1095 Mstpcrd_SPEC,
1096 crate::common::RW,
1097 >::from_register(self, 0)
1098 }
1099
1100 #[doc = "Port Output Enable for GPT Group D Module Stop"]
1101 #[inline(always)]
1102 pub fn mstpd11(
1103 self,
1104 ) -> crate::common::RegisterField<
1105 11,
1106 0x1,
1107 1,
1108 0,
1109 mstpcrd::Mstpd11,
1110 mstpcrd::Mstpd11,
1111 Mstpcrd_SPEC,
1112 crate::common::RW,
1113 > {
1114 crate::common::RegisterField::<
1115 11,
1116 0x1,
1117 1,
1118 0,
1119 mstpcrd::Mstpd11,
1120 mstpcrd::Mstpd11,
1121 Mstpcrd_SPEC,
1122 crate::common::RW,
1123 >::from_register(self, 0)
1124 }
1125
1126 #[doc = "Port Output Enable for GPT Group C Module Stop"]
1127 #[inline(always)]
1128 pub fn mstpd12(
1129 self,
1130 ) -> crate::common::RegisterField<
1131 12,
1132 0x1,
1133 1,
1134 0,
1135 mstpcrd::Mstpd12,
1136 mstpcrd::Mstpd12,
1137 Mstpcrd_SPEC,
1138 crate::common::RW,
1139 > {
1140 crate::common::RegisterField::<
1141 12,
1142 0x1,
1143 1,
1144 0,
1145 mstpcrd::Mstpd12,
1146 mstpcrd::Mstpd12,
1147 Mstpcrd_SPEC,
1148 crate::common::RW,
1149 >::from_register(self, 0)
1150 }
1151
1152 #[doc = "Port Output Enable for GPT Group B Module Stop"]
1153 #[inline(always)]
1154 pub fn mstpd13(
1155 self,
1156 ) -> crate::common::RegisterField<
1157 13,
1158 0x1,
1159 1,
1160 0,
1161 mstpcrd::Mstpd13,
1162 mstpcrd::Mstpd13,
1163 Mstpcrd_SPEC,
1164 crate::common::RW,
1165 > {
1166 crate::common::RegisterField::<
1167 13,
1168 0x1,
1169 1,
1170 0,
1171 mstpcrd::Mstpd13,
1172 mstpcrd::Mstpd13,
1173 Mstpcrd_SPEC,
1174 crate::common::RW,
1175 >::from_register(self, 0)
1176 }
1177
1178 #[doc = "Port Output Enable for GPT Group A Module Stop"]
1179 #[inline(always)]
1180 pub fn mstpd14(
1181 self,
1182 ) -> crate::common::RegisterField<
1183 14,
1184 0x1,
1185 1,
1186 0,
1187 mstpcrd::Mstpd14,
1188 mstpcrd::Mstpd14,
1189 Mstpcrd_SPEC,
1190 crate::common::RW,
1191 > {
1192 crate::common::RegisterField::<
1193 14,
1194 0x1,
1195 1,
1196 0,
1197 mstpcrd::Mstpd14,
1198 mstpcrd::Mstpd14,
1199 Mstpcrd_SPEC,
1200 crate::common::RW,
1201 >::from_register(self, 0)
1202 }
1203
1204 #[doc = "12-bit A/D Converter 0 Module Stop"]
1205 #[inline(always)]
1206 pub fn mstpd16(
1207 self,
1208 ) -> crate::common::RegisterField<
1209 16,
1210 0x1,
1211 1,
1212 0,
1213 mstpcrd::Mstpd16,
1214 mstpcrd::Mstpd16,
1215 Mstpcrd_SPEC,
1216 crate::common::RW,
1217 > {
1218 crate::common::RegisterField::<
1219 16,
1220 0x1,
1221 1,
1222 0,
1223 mstpcrd::Mstpd16,
1224 mstpcrd::Mstpd16,
1225 Mstpcrd_SPEC,
1226 crate::common::RW,
1227 >::from_register(self, 0)
1228 }
1229
1230 #[doc = "12-bit D/A Converter Module Stop"]
1231 #[inline(always)]
1232 pub fn mstpd20(
1233 self,
1234 ) -> crate::common::RegisterField<
1235 20,
1236 0x1,
1237 1,
1238 0,
1239 mstpcrd::Mstpd20,
1240 mstpcrd::Mstpd20,
1241 Mstpcrd_SPEC,
1242 crate::common::RW,
1243 > {
1244 crate::common::RegisterField::<
1245 20,
1246 0x1,
1247 1,
1248 0,
1249 mstpcrd::Mstpd20,
1250 mstpcrd::Mstpd20,
1251 Mstpcrd_SPEC,
1252 crate::common::RW,
1253 >::from_register(self, 0)
1254 }
1255
1256 #[doc = "Temperature Sensor Module Stop"]
1257 #[inline(always)]
1258 pub fn mstpd22(
1259 self,
1260 ) -> crate::common::RegisterField<
1261 22,
1262 0x1,
1263 1,
1264 0,
1265 mstpcrd::Mstpd22,
1266 mstpcrd::Mstpd22,
1267 Mstpcrd_SPEC,
1268 crate::common::RW,
1269 > {
1270 crate::common::RegisterField::<
1271 22,
1272 0x1,
1273 1,
1274 0,
1275 mstpcrd::Mstpd22,
1276 mstpcrd::Mstpd22,
1277 Mstpcrd_SPEC,
1278 crate::common::RW,
1279 >::from_register(self, 0)
1280 }
1281}
1282impl ::core::default::Default for Mstpcrd {
1283 #[inline(always)]
1284 fn default() -> Mstpcrd {
1285 <crate::RegValueT<Mstpcrd_SPEC> as RegisterValue<_>>::new(4294967295)
1286 }
1287}
1288pub mod mstpcrd {
1289
1290 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1291 pub struct Mstpd0_SPEC;
1292 pub type Mstpd0 = crate::EnumBitfieldStruct<u8, Mstpd0_SPEC>;
1293 impl Mstpd0 {
1294 #[doc = "Cancel the module-stop state"]
1295 pub const _0: Self = Self::new(0);
1296
1297 #[doc = "Enter the module-stop state"]
1298 pub const _1: Self = Self::new(1);
1299 }
1300 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1301 pub struct Mstpd1_SPEC;
1302 pub type Mstpd1 = crate::EnumBitfieldStruct<u8, Mstpd1_SPEC>;
1303 impl Mstpd1 {
1304 #[doc = "Cancel the module-stop state"]
1305 pub const _0: Self = Self::new(0);
1306
1307 #[doc = "Enter the module-stop state"]
1308 pub const _1: Self = Self::new(1);
1309 }
1310 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1311 pub struct Mstpd2_SPEC;
1312 pub type Mstpd2 = crate::EnumBitfieldStruct<u8, Mstpd2_SPEC>;
1313 impl Mstpd2 {
1314 #[doc = "Cancel the module-stop state"]
1315 pub const _0: Self = Self::new(0);
1316
1317 #[doc = "Enter the module-stop state"]
1318 pub const _1: Self = Self::new(1);
1319 }
1320 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1321 pub struct Mstpd3_SPEC;
1322 pub type Mstpd3 = crate::EnumBitfieldStruct<u8, Mstpd3_SPEC>;
1323 impl Mstpd3 {
1324 #[doc = "Cancel the module-stop state"]
1325 pub const _0: Self = Self::new(0);
1326
1327 #[doc = "Enter the module-stop state"]
1328 pub const _1: Self = Self::new(1);
1329 }
1330 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1331 pub struct Mstpd11_SPEC;
1332 pub type Mstpd11 = crate::EnumBitfieldStruct<u8, Mstpd11_SPEC>;
1333 impl Mstpd11 {
1334 #[doc = "Cancel the module-stop state"]
1335 pub const _0: Self = Self::new(0);
1336
1337 #[doc = "Enter the module-stop state"]
1338 pub const _1: Self = Self::new(1);
1339 }
1340 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1341 pub struct Mstpd12_SPEC;
1342 pub type Mstpd12 = crate::EnumBitfieldStruct<u8, Mstpd12_SPEC>;
1343 impl Mstpd12 {
1344 #[doc = "Cancel the module-stop state"]
1345 pub const _0: Self = Self::new(0);
1346
1347 #[doc = "Enter the module-stop state"]
1348 pub const _1: Self = Self::new(1);
1349 }
1350 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1351 pub struct Mstpd13_SPEC;
1352 pub type Mstpd13 = crate::EnumBitfieldStruct<u8, Mstpd13_SPEC>;
1353 impl Mstpd13 {
1354 #[doc = "Cancel the module-stop state"]
1355 pub const _0: Self = Self::new(0);
1356
1357 #[doc = "Enter the module-stop state"]
1358 pub const _1: Self = Self::new(1);
1359 }
1360 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1361 pub struct Mstpd14_SPEC;
1362 pub type Mstpd14 = crate::EnumBitfieldStruct<u8, Mstpd14_SPEC>;
1363 impl Mstpd14 {
1364 #[doc = "Cancel the module-stop state"]
1365 pub const _0: Self = Self::new(0);
1366
1367 #[doc = "Enter the module-stop state"]
1368 pub const _1: Self = Self::new(1);
1369 }
1370 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1371 pub struct Mstpd16_SPEC;
1372 pub type Mstpd16 = crate::EnumBitfieldStruct<u8, Mstpd16_SPEC>;
1373 impl Mstpd16 {
1374 #[doc = "Cancel the module-stop state"]
1375 pub const _0: Self = Self::new(0);
1376
1377 #[doc = "Enter the module-stop state"]
1378 pub const _1: Self = Self::new(1);
1379 }
1380 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1381 pub struct Mstpd20_SPEC;
1382 pub type Mstpd20 = crate::EnumBitfieldStruct<u8, Mstpd20_SPEC>;
1383 impl Mstpd20 {
1384 #[doc = "Cancel the module-stop state"]
1385 pub const _0: Self = Self::new(0);
1386
1387 #[doc = "Enter the module-stop state"]
1388 pub const _1: Self = Self::new(1);
1389 }
1390 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1391 pub struct Mstpd22_SPEC;
1392 pub type Mstpd22 = crate::EnumBitfieldStruct<u8, Mstpd22_SPEC>;
1393 impl Mstpd22 {
1394 #[doc = "Cancel the module-stop state"]
1395 pub const _0: Self = Self::new(0);
1396
1397 #[doc = "Enter the module-stop state"]
1398 pub const _1: Self = Self::new(1);
1399 }
1400}
1401#[doc(hidden)]
1402#[derive(Copy, Clone, Eq, PartialEq)]
1403pub struct Mstpcre_SPEC;
1404impl crate::sealed::RegSpec for Mstpcre_SPEC {
1405 type DataType = u32;
1406}
1407
1408#[doc = "Module Stop Control Register E"]
1409pub type Mstpcre = crate::RegValueT<Mstpcre_SPEC>;
1410
1411impl Mstpcre {
1412 #[doc = "Low Power Asynchronous General Purpose Timer 5 Module Stop"]
1413 #[inline(always)]
1414 pub fn mstpe14(
1415 self,
1416 ) -> crate::common::RegisterField<
1417 14,
1418 0x1,
1419 1,
1420 0,
1421 mstpcre::Mstpe14,
1422 mstpcre::Mstpe14,
1423 Mstpcre_SPEC,
1424 crate::common::RW,
1425 > {
1426 crate::common::RegisterField::<
1427 14,
1428 0x1,
1429 1,
1430 0,
1431 mstpcre::Mstpe14,
1432 mstpcre::Mstpe14,
1433 Mstpcre_SPEC,
1434 crate::common::RW,
1435 >::from_register(self, 0)
1436 }
1437
1438 #[doc = "Low Power Asynchronous General Purpose Timer 4 Module Stop"]
1439 #[inline(always)]
1440 pub fn mstpe15(
1441 self,
1442 ) -> crate::common::RegisterField<
1443 15,
1444 0x1,
1445 1,
1446 0,
1447 mstpcre::Mstpe15,
1448 mstpcre::Mstpe15,
1449 Mstpcre_SPEC,
1450 crate::common::RW,
1451 > {
1452 crate::common::RegisterField::<
1453 15,
1454 0x1,
1455 1,
1456 0,
1457 mstpcre::Mstpe15,
1458 mstpcre::Mstpe15,
1459 Mstpcre_SPEC,
1460 crate::common::RW,
1461 >::from_register(self, 0)
1462 }
1463
1464 #[doc = "GPT7 Module Stop"]
1465 #[inline(always)]
1466 pub fn mstpe24(
1467 self,
1468 ) -> crate::common::RegisterField<
1469 24,
1470 0x1,
1471 1,
1472 0,
1473 mstpcre::Mstpe24,
1474 mstpcre::Mstpe24,
1475 Mstpcre_SPEC,
1476 crate::common::RW,
1477 > {
1478 crate::common::RegisterField::<
1479 24,
1480 0x1,
1481 1,
1482 0,
1483 mstpcre::Mstpe24,
1484 mstpcre::Mstpe24,
1485 Mstpcre_SPEC,
1486 crate::common::RW,
1487 >::from_register(self, 0)
1488 }
1489
1490 #[doc = "GPT6 Module Stop"]
1491 #[inline(always)]
1492 pub fn mstpe25(
1493 self,
1494 ) -> crate::common::RegisterField<
1495 25,
1496 0x1,
1497 1,
1498 0,
1499 mstpcre::Mstpe25,
1500 mstpcre::Mstpe25,
1501 Mstpcre_SPEC,
1502 crate::common::RW,
1503 > {
1504 crate::common::RegisterField::<
1505 25,
1506 0x1,
1507 1,
1508 0,
1509 mstpcre::Mstpe25,
1510 mstpcre::Mstpe25,
1511 Mstpcre_SPEC,
1512 crate::common::RW,
1513 >::from_register(self, 0)
1514 }
1515
1516 #[doc = "GPT5 Module Stop"]
1517 #[inline(always)]
1518 pub fn mstpe26(
1519 self,
1520 ) -> crate::common::RegisterField<
1521 26,
1522 0x1,
1523 1,
1524 0,
1525 mstpcre::Mstpe26,
1526 mstpcre::Mstpe26,
1527 Mstpcre_SPEC,
1528 crate::common::RW,
1529 > {
1530 crate::common::RegisterField::<
1531 26,
1532 0x1,
1533 1,
1534 0,
1535 mstpcre::Mstpe26,
1536 mstpcre::Mstpe26,
1537 Mstpcre_SPEC,
1538 crate::common::RW,
1539 >::from_register(self, 0)
1540 }
1541
1542 #[doc = "GPT4 Module Stop"]
1543 #[inline(always)]
1544 pub fn mstpe27(
1545 self,
1546 ) -> crate::common::RegisterField<
1547 27,
1548 0x1,
1549 1,
1550 0,
1551 mstpcre::Mstpe27,
1552 mstpcre::Mstpe27,
1553 Mstpcre_SPEC,
1554 crate::common::RW,
1555 > {
1556 crate::common::RegisterField::<
1557 27,
1558 0x1,
1559 1,
1560 0,
1561 mstpcre::Mstpe27,
1562 mstpcre::Mstpe27,
1563 Mstpcre_SPEC,
1564 crate::common::RW,
1565 >::from_register(self, 0)
1566 }
1567
1568 #[doc = "GPT3 Module Stop"]
1569 #[inline(always)]
1570 pub fn mstpe28(
1571 self,
1572 ) -> crate::common::RegisterField<
1573 28,
1574 0x1,
1575 1,
1576 0,
1577 mstpcre::Mstpe28,
1578 mstpcre::Mstpe28,
1579 Mstpcre_SPEC,
1580 crate::common::RW,
1581 > {
1582 crate::common::RegisterField::<
1583 28,
1584 0x1,
1585 1,
1586 0,
1587 mstpcre::Mstpe28,
1588 mstpcre::Mstpe28,
1589 Mstpcre_SPEC,
1590 crate::common::RW,
1591 >::from_register(self, 0)
1592 }
1593
1594 #[doc = "GPT2 Module Stop"]
1595 #[inline(always)]
1596 pub fn mstpe29(
1597 self,
1598 ) -> crate::common::RegisterField<
1599 29,
1600 0x1,
1601 1,
1602 0,
1603 mstpcre::Mstpe29,
1604 mstpcre::Mstpe29,
1605 Mstpcre_SPEC,
1606 crate::common::RW,
1607 > {
1608 crate::common::RegisterField::<
1609 29,
1610 0x1,
1611 1,
1612 0,
1613 mstpcre::Mstpe29,
1614 mstpcre::Mstpe29,
1615 Mstpcre_SPEC,
1616 crate::common::RW,
1617 >::from_register(self, 0)
1618 }
1619
1620 #[doc = "GPT1 Module Stop"]
1621 #[inline(always)]
1622 pub fn mstpe30(
1623 self,
1624 ) -> crate::common::RegisterField<
1625 30,
1626 0x1,
1627 1,
1628 0,
1629 mstpcre::Mstpe30,
1630 mstpcre::Mstpe30,
1631 Mstpcre_SPEC,
1632 crate::common::RW,
1633 > {
1634 crate::common::RegisterField::<
1635 30,
1636 0x1,
1637 1,
1638 0,
1639 mstpcre::Mstpe30,
1640 mstpcre::Mstpe30,
1641 Mstpcre_SPEC,
1642 crate::common::RW,
1643 >::from_register(self, 0)
1644 }
1645
1646 #[doc = "GPT0 Module Stop"]
1647 #[inline(always)]
1648 pub fn mstpe31(
1649 self,
1650 ) -> crate::common::RegisterField<
1651 31,
1652 0x1,
1653 1,
1654 0,
1655 mstpcre::Mstpe31,
1656 mstpcre::Mstpe31,
1657 Mstpcre_SPEC,
1658 crate::common::RW,
1659 > {
1660 crate::common::RegisterField::<
1661 31,
1662 0x1,
1663 1,
1664 0,
1665 mstpcre::Mstpe31,
1666 mstpcre::Mstpe31,
1667 Mstpcre_SPEC,
1668 crate::common::RW,
1669 >::from_register(self, 0)
1670 }
1671}
1672impl ::core::default::Default for Mstpcre {
1673 #[inline(always)]
1674 fn default() -> Mstpcre {
1675 <crate::RegValueT<Mstpcre_SPEC> as RegisterValue<_>>::new(4294967295)
1676 }
1677}
1678pub mod mstpcre {
1679
1680 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1681 pub struct Mstpe14_SPEC;
1682 pub type Mstpe14 = crate::EnumBitfieldStruct<u8, Mstpe14_SPEC>;
1683 impl Mstpe14 {
1684 #[doc = "Cancel the module-stop state"]
1685 pub const _0: Self = Self::new(0);
1686
1687 #[doc = "Enter the module-stop state"]
1688 pub const _1: Self = Self::new(1);
1689 }
1690 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1691 pub struct Mstpe15_SPEC;
1692 pub type Mstpe15 = crate::EnumBitfieldStruct<u8, Mstpe15_SPEC>;
1693 impl Mstpe15 {
1694 #[doc = "Cancel the module-stop state"]
1695 pub const _0: Self = Self::new(0);
1696
1697 #[doc = "Enter the module-stop state"]
1698 pub const _1: Self = Self::new(1);
1699 }
1700 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1701 pub struct Mstpe24_SPEC;
1702 pub type Mstpe24 = crate::EnumBitfieldStruct<u8, Mstpe24_SPEC>;
1703 impl Mstpe24 {
1704 #[doc = "Cancel the module-stop state"]
1705 pub const _0: Self = Self::new(0);
1706
1707 #[doc = "Enter the module-stop state"]
1708 pub const _1: Self = Self::new(1);
1709 }
1710 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1711 pub struct Mstpe25_SPEC;
1712 pub type Mstpe25 = crate::EnumBitfieldStruct<u8, Mstpe25_SPEC>;
1713 impl Mstpe25 {
1714 #[doc = "Cancel the module-stop state"]
1715 pub const _0: Self = Self::new(0);
1716
1717 #[doc = "Enter the module-stop state"]
1718 pub const _1: Self = Self::new(1);
1719 }
1720 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1721 pub struct Mstpe26_SPEC;
1722 pub type Mstpe26 = crate::EnumBitfieldStruct<u8, Mstpe26_SPEC>;
1723 impl Mstpe26 {
1724 #[doc = "Cancel the module-stop state"]
1725 pub const _0: Self = Self::new(0);
1726
1727 #[doc = "Enter the module-stop state"]
1728 pub const _1: Self = Self::new(1);
1729 }
1730 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1731 pub struct Mstpe27_SPEC;
1732 pub type Mstpe27 = crate::EnumBitfieldStruct<u8, Mstpe27_SPEC>;
1733 impl Mstpe27 {
1734 #[doc = "Cancel the module-stop state"]
1735 pub const _0: Self = Self::new(0);
1736
1737 #[doc = "Enter the module-stop state"]
1738 pub const _1: Self = Self::new(1);
1739 }
1740 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1741 pub struct Mstpe28_SPEC;
1742 pub type Mstpe28 = crate::EnumBitfieldStruct<u8, Mstpe28_SPEC>;
1743 impl Mstpe28 {
1744 #[doc = "Cancel the module-stop state"]
1745 pub const _0: Self = Self::new(0);
1746
1747 #[doc = "Enter the module-stop state"]
1748 pub const _1: Self = Self::new(1);
1749 }
1750 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1751 pub struct Mstpe29_SPEC;
1752 pub type Mstpe29 = crate::EnumBitfieldStruct<u8, Mstpe29_SPEC>;
1753 impl Mstpe29 {
1754 #[doc = "Cancel the module-stop state"]
1755 pub const _0: Self = Self::new(0);
1756
1757 #[doc = "Enter the module-stop state"]
1758 pub const _1: Self = Self::new(1);
1759 }
1760 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1761 pub struct Mstpe30_SPEC;
1762 pub type Mstpe30 = crate::EnumBitfieldStruct<u8, Mstpe30_SPEC>;
1763 impl Mstpe30 {
1764 #[doc = "Cancel the module-stop state"]
1765 pub const _0: Self = Self::new(0);
1766
1767 #[doc = "Enter the module-stop state"]
1768 pub const _1: Self = Self::new(1);
1769 }
1770 #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1771 pub struct Mstpe31_SPEC;
1772 pub type Mstpe31 = crate::EnumBitfieldStruct<u8, Mstpe31_SPEC>;
1773 impl Mstpe31 {
1774 #[doc = "Cancel the module-stop state"]
1775 pub const _0: Self = Self::new(0);
1776
1777 #[doc = "Enter the module-stop state"]
1778 pub const _1: Self = Self::new(1);
1779 }
1780}