ra6e1_pac/
mstp.rs

1/*
2DISCLAIMER
3This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products.
4No other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all
5applicable laws, including copyright laws.
6THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING THIS SOFTWARE, WHETHER EXPRESS, IMPLIED
7OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
8NON-INFRINGEMENT.  ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY
9LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE FOR ANY DIRECT,
10INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR
11ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
12Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability
13of this software. By using this software, you agree to the additional terms and conditions found by accessing the
14following link:
15http://www.renesas.com/disclaimer
16
17*/
18// Generated from SVD 1.20.00, with svd2pac 0.6.0 on Thu, 24 Jul 2025 04:50:30 +0000
19
20#![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 = "ETHERC0 and EDMAC0 Module Stop"]
367    #[inline(always)]
368    pub fn mstpb15(
369        self,
370    ) -> crate::common::RegisterField<
371        15,
372        0x1,
373        1,
374        0,
375        mstpcrb::Mstpb15,
376        mstpcrb::Mstpb15,
377        Mstpcrb_SPEC,
378        crate::common::RW,
379    > {
380        crate::common::RegisterField::<
381            15,
382            0x1,
383            1,
384            0,
385            mstpcrb::Mstpb15,
386            mstpcrb::Mstpb15,
387            Mstpcrb_SPEC,
388            crate::common::RW,
389        >::from_register(self, 0)
390    }
391
392    #[doc = "Serial Peripheral Interface 1 Module Stop"]
393    #[inline(always)]
394    pub fn mstpb18(
395        self,
396    ) -> crate::common::RegisterField<
397        18,
398        0x1,
399        1,
400        0,
401        mstpcrb::Mstpb18,
402        mstpcrb::Mstpb18,
403        Mstpcrb_SPEC,
404        crate::common::RW,
405    > {
406        crate::common::RegisterField::<
407            18,
408            0x1,
409            1,
410            0,
411            mstpcrb::Mstpb18,
412            mstpcrb::Mstpb18,
413            Mstpcrb_SPEC,
414            crate::common::RW,
415        >::from_register(self, 0)
416    }
417
418    #[doc = "Serial Peripheral Interface 0 Module Stop"]
419    #[inline(always)]
420    pub fn mstpb19(
421        self,
422    ) -> crate::common::RegisterField<
423        19,
424        0x1,
425        1,
426        0,
427        mstpcrb::Mstpb19,
428        mstpcrb::Mstpb19,
429        Mstpcrb_SPEC,
430        crate::common::RW,
431    > {
432        crate::common::RegisterField::<
433            19,
434            0x1,
435            1,
436            0,
437            mstpcrb::Mstpb19,
438            mstpcrb::Mstpb19,
439            Mstpcrb_SPEC,
440            crate::common::RW,
441        >::from_register(self, 0)
442    }
443
444    #[doc = "Serial Communication Interface 9 Module Stop"]
445    #[inline(always)]
446    pub fn mstpb22(
447        self,
448    ) -> crate::common::RegisterField<
449        22,
450        0x1,
451        1,
452        0,
453        mstpcrb::Mstpb22,
454        mstpcrb::Mstpb22,
455        Mstpcrb_SPEC,
456        crate::common::RW,
457    > {
458        crate::common::RegisterField::<
459            22,
460            0x1,
461            1,
462            0,
463            mstpcrb::Mstpb22,
464            mstpcrb::Mstpb22,
465            Mstpcrb_SPEC,
466            crate::common::RW,
467        >::from_register(self, 0)
468    }
469
470    #[doc = "Serial Communication Interface 4 Module Stop"]
471    #[inline(always)]
472    pub fn mstpb27(
473        self,
474    ) -> crate::common::RegisterField<
475        27,
476        0x1,
477        1,
478        0,
479        mstpcrb::Mstpb27,
480        mstpcrb::Mstpb27,
481        Mstpcrb_SPEC,
482        crate::common::RW,
483    > {
484        crate::common::RegisterField::<
485            27,
486            0x1,
487            1,
488            0,
489            mstpcrb::Mstpb27,
490            mstpcrb::Mstpb27,
491            Mstpcrb_SPEC,
492            crate::common::RW,
493        >::from_register(self, 0)
494    }
495
496    #[doc = "Serial Communication Interface 3 Module Stop"]
497    #[inline(always)]
498    pub fn mstpb28(
499        self,
500    ) -> crate::common::RegisterField<
501        28,
502        0x1,
503        1,
504        0,
505        mstpcrb::Mstpb28,
506        mstpcrb::Mstpb28,
507        Mstpcrb_SPEC,
508        crate::common::RW,
509    > {
510        crate::common::RegisterField::<
511            28,
512            0x1,
513            1,
514            0,
515            mstpcrb::Mstpb28,
516            mstpcrb::Mstpb28,
517            Mstpcrb_SPEC,
518            crate::common::RW,
519        >::from_register(self, 0)
520    }
521
522    #[doc = "Serial Communication Interface 2 Module Stop"]
523    #[inline(always)]
524    pub fn mstpb29(
525        self,
526    ) -> crate::common::RegisterField<
527        29,
528        0x1,
529        1,
530        0,
531        mstpcrb::Mstpb29,
532        mstpcrb::Mstpb29,
533        Mstpcrb_SPEC,
534        crate::common::RW,
535    > {
536        crate::common::RegisterField::<
537            29,
538            0x1,
539            1,
540            0,
541            mstpcrb::Mstpb29,
542            mstpcrb::Mstpb29,
543            Mstpcrb_SPEC,
544            crate::common::RW,
545        >::from_register(self, 0)
546    }
547
548    #[doc = "Serial Communication Interface 1 Module Stop"]
549    #[inline(always)]
550    pub fn mstpb30(
551        self,
552    ) -> crate::common::RegisterField<
553        30,
554        0x1,
555        1,
556        0,
557        mstpcrb::Mstpb30,
558        mstpcrb::Mstpb30,
559        Mstpcrb_SPEC,
560        crate::common::RW,
561    > {
562        crate::common::RegisterField::<
563            30,
564            0x1,
565            1,
566            0,
567            mstpcrb::Mstpb30,
568            mstpcrb::Mstpb30,
569            Mstpcrb_SPEC,
570            crate::common::RW,
571        >::from_register(self, 0)
572    }
573
574    #[doc = "Serial Communication Interface 0 Module Stop"]
575    #[inline(always)]
576    pub fn mstpb31(
577        self,
578    ) -> crate::common::RegisterField<
579        31,
580        0x1,
581        1,
582        0,
583        mstpcrb::Mstpb31,
584        mstpcrb::Mstpb31,
585        Mstpcrb_SPEC,
586        crate::common::RW,
587    > {
588        crate::common::RegisterField::<
589            31,
590            0x1,
591            1,
592            0,
593            mstpcrb::Mstpb31,
594            mstpcrb::Mstpb31,
595            Mstpcrb_SPEC,
596            crate::common::RW,
597        >::from_register(self, 0)
598    }
599}
600impl ::core::default::Default for Mstpcrb {
601    #[inline(always)]
602    fn default() -> Mstpcrb {
603        <crate::RegValueT<Mstpcrb_SPEC> as RegisterValue<_>>::new(4294967295)
604    }
605}
606pub mod mstpcrb {
607
608    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
609    pub struct Mstpb2_SPEC;
610    pub type Mstpb2 = crate::EnumBitfieldStruct<u8, Mstpb2_SPEC>;
611    impl Mstpb2 {
612        #[doc = "Cancel the module-stop state"]
613        pub const _0: Self = Self::new(0);
614
615        #[doc = "Enter the module-stop state"]
616        pub const _1: Self = Self::new(1);
617    }
618    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
619    pub struct Mstpb6_SPEC;
620    pub type Mstpb6 = crate::EnumBitfieldStruct<u8, Mstpb6_SPEC>;
621    impl Mstpb6 {
622        #[doc = "Cancel the module-stop state"]
623        pub const _0: Self = Self::new(0);
624
625        #[doc = "Enter the module-stop state"]
626        pub const _1: Self = Self::new(1);
627    }
628    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
629    pub struct Mstpb8_SPEC;
630    pub type Mstpb8 = crate::EnumBitfieldStruct<u8, Mstpb8_SPEC>;
631    impl Mstpb8 {
632        #[doc = "Cancel the module-stop state"]
633        pub const _0: Self = Self::new(0);
634
635        #[doc = "Enter the module-stop state"]
636        pub const _1: Self = Self::new(1);
637    }
638    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
639    pub struct Mstpb9_SPEC;
640    pub type Mstpb9 = crate::EnumBitfieldStruct<u8, Mstpb9_SPEC>;
641    impl Mstpb9 {
642        #[doc = "Cancel the module-stop state"]
643        pub const _0: Self = Self::new(0);
644
645        #[doc = "Enter the module-stop state"]
646        pub const _1: Self = Self::new(1);
647    }
648    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
649    pub struct Mstpb11_SPEC;
650    pub type Mstpb11 = crate::EnumBitfieldStruct<u8, Mstpb11_SPEC>;
651    impl Mstpb11 {
652        #[doc = "Cancel the module-stop state"]
653        pub const _0: Self = Self::new(0);
654
655        #[doc = "Enter the module-stop state"]
656        pub const _1: Self = Self::new(1);
657    }
658    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
659    pub struct Mstpb15_SPEC;
660    pub type Mstpb15 = crate::EnumBitfieldStruct<u8, Mstpb15_SPEC>;
661    impl Mstpb15 {
662        #[doc = "Cancel the module-stop state"]
663        pub const _0: Self = Self::new(0);
664
665        #[doc = "Enter the module-stop state"]
666        pub const _1: Self = Self::new(1);
667    }
668    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
669    pub struct Mstpb18_SPEC;
670    pub type Mstpb18 = crate::EnumBitfieldStruct<u8, Mstpb18_SPEC>;
671    impl Mstpb18 {
672        #[doc = "Cancel the module-stop state"]
673        pub const _0: Self = Self::new(0);
674
675        #[doc = "Enter the module-stop state"]
676        pub const _1: Self = Self::new(1);
677    }
678    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
679    pub struct Mstpb19_SPEC;
680    pub type Mstpb19 = crate::EnumBitfieldStruct<u8, Mstpb19_SPEC>;
681    impl Mstpb19 {
682        #[doc = "Cancel the module-stop state"]
683        pub const _0: Self = Self::new(0);
684
685        #[doc = "Enter the module-stop state"]
686        pub const _1: Self = Self::new(1);
687    }
688    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
689    pub struct Mstpb22_SPEC;
690    pub type Mstpb22 = crate::EnumBitfieldStruct<u8, Mstpb22_SPEC>;
691    impl Mstpb22 {
692        #[doc = "Cancel the module-stop state"]
693        pub const _0: Self = Self::new(0);
694
695        #[doc = "Enter the module-stop state"]
696        pub const _1: Self = Self::new(1);
697    }
698    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
699    pub struct Mstpb27_SPEC;
700    pub type Mstpb27 = crate::EnumBitfieldStruct<u8, Mstpb27_SPEC>;
701    impl Mstpb27 {
702        #[doc = "Cancel the module-stop state"]
703        pub const _0: Self = Self::new(0);
704
705        #[doc = "Enter the module-stop state"]
706        pub const _1: Self = Self::new(1);
707    }
708    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
709    pub struct Mstpb28_SPEC;
710    pub type Mstpb28 = crate::EnumBitfieldStruct<u8, Mstpb28_SPEC>;
711    impl Mstpb28 {
712        #[doc = "Cancel the module-stop state"]
713        pub const _0: Self = Self::new(0);
714
715        #[doc = "Enter the module-stop state"]
716        pub const _1: Self = Self::new(1);
717    }
718    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
719    pub struct Mstpb29_SPEC;
720    pub type Mstpb29 = crate::EnumBitfieldStruct<u8, Mstpb29_SPEC>;
721    impl Mstpb29 {
722        #[doc = "Cancel the module-stop state"]
723        pub const _0: Self = Self::new(0);
724
725        #[doc = "Enter the module-stop state"]
726        pub const _1: Self = Self::new(1);
727    }
728    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
729    pub struct Mstpb30_SPEC;
730    pub type Mstpb30 = crate::EnumBitfieldStruct<u8, Mstpb30_SPEC>;
731    impl Mstpb30 {
732        #[doc = "Cancel the module-stop state"]
733        pub const _0: Self = Self::new(0);
734
735        #[doc = "Enter the module-stop state"]
736        pub const _1: Self = Self::new(1);
737    }
738    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
739    pub struct Mstpb31_SPEC;
740    pub type Mstpb31 = crate::EnumBitfieldStruct<u8, Mstpb31_SPEC>;
741    impl Mstpb31 {
742        #[doc = "Cancel the module-stop state"]
743        pub const _0: Self = Self::new(0);
744
745        #[doc = "Enter the module-stop state"]
746        pub const _1: Self = Self::new(1);
747    }
748}
749#[doc(hidden)]
750#[derive(Copy, Clone, Eq, PartialEq)]
751pub struct Mstpcrc_SPEC;
752impl crate::sealed::RegSpec for Mstpcrc_SPEC {
753    type DataType = u32;
754}
755
756#[doc = "Module Stop Control Register C"]
757pub type Mstpcrc = crate::RegValueT<Mstpcrc_SPEC>;
758
759impl Mstpcrc {
760    #[doc = "Clock Frequency Accuracy Measurement Circuit Module Stop"]
761    #[inline(always)]
762    pub fn mstpc0(
763        self,
764    ) -> crate::common::RegisterField<
765        0,
766        0x1,
767        1,
768        0,
769        mstpcrc::Mstpc0,
770        mstpcrc::Mstpc0,
771        Mstpcrc_SPEC,
772        crate::common::RW,
773    > {
774        crate::common::RegisterField::<
775            0,
776            0x1,
777            1,
778            0,
779            mstpcrc::Mstpc0,
780            mstpcrc::Mstpc0,
781            Mstpcrc_SPEC,
782            crate::common::RW,
783        >::from_register(self, 0)
784    }
785
786    #[doc = "Cyclic Redundancy Check Calculator Module Stop"]
787    #[inline(always)]
788    pub fn mstpc1(
789        self,
790    ) -> crate::common::RegisterField<
791        1,
792        0x1,
793        1,
794        0,
795        mstpcrc::Mstpc1,
796        mstpcrc::Mstpc1,
797        Mstpcrc_SPEC,
798        crate::common::RW,
799    > {
800        crate::common::RegisterField::<
801            1,
802            0x1,
803            1,
804            0,
805            mstpcrc::Mstpc1,
806            mstpcrc::Mstpc1,
807            Mstpcrc_SPEC,
808            crate::common::RW,
809        >::from_register(self, 0)
810    }
811
812    #[doc = "Serial Sound Interface Enhanced Module Stop"]
813    #[inline(always)]
814    pub fn mstpc8(
815        self,
816    ) -> crate::common::RegisterField<
817        8,
818        0x1,
819        1,
820        0,
821        mstpcrc::Mstpc8,
822        mstpcrc::Mstpc8,
823        Mstpcrc_SPEC,
824        crate::common::RW,
825    > {
826        crate::common::RegisterField::<
827            8,
828            0x1,
829            1,
830            0,
831            mstpcrc::Mstpc8,
832            mstpcrc::Mstpc8,
833            Mstpcrc_SPEC,
834            crate::common::RW,
835        >::from_register(self, 0)
836    }
837
838    #[doc = "Secure Digital HOST IF / Multi Media Card 0 Module Stop"]
839    #[inline(always)]
840    pub fn mstpc12(
841        self,
842    ) -> crate::common::RegisterField<
843        12,
844        0x1,
845        1,
846        0,
847        mstpcrc::Mstpc12,
848        mstpcrc::Mstpc12,
849        Mstpcrc_SPEC,
850        crate::common::RW,
851    > {
852        crate::common::RegisterField::<
853            12,
854            0x1,
855            1,
856            0,
857            mstpcrc::Mstpc12,
858            mstpcrc::Mstpc12,
859            Mstpcrc_SPEC,
860            crate::common::RW,
861        >::from_register(self, 0)
862    }
863
864    #[doc = "Data Operation Circuit Module Stop"]
865    #[inline(always)]
866    pub fn mstpc13(
867        self,
868    ) -> crate::common::RegisterField<
869        13,
870        0x1,
871        1,
872        0,
873        mstpcrc::Mstpc13,
874        mstpcrc::Mstpc13,
875        Mstpcrc_SPEC,
876        crate::common::RW,
877    > {
878        crate::common::RegisterField::<
879            13,
880            0x1,
881            1,
882            0,
883            mstpcrc::Mstpc13,
884            mstpcrc::Mstpc13,
885            Mstpcrc_SPEC,
886            crate::common::RW,
887        >::from_register(self, 0)
888    }
889
890    #[doc = "Event Link Controller Module Stop"]
891    #[inline(always)]
892    pub fn mstpc14(
893        self,
894    ) -> crate::common::RegisterField<
895        14,
896        0x1,
897        1,
898        0,
899        mstpcrc::Mstpc14,
900        mstpcrc::Mstpc14,
901        Mstpcrc_SPEC,
902        crate::common::RW,
903    > {
904        crate::common::RegisterField::<
905            14,
906            0x1,
907            1,
908            0,
909            mstpcrc::Mstpc14,
910            mstpcrc::Mstpc14,
911            Mstpcrc_SPEC,
912            crate::common::RW,
913        >::from_register(self, 0)
914    }
915
916    #[doc = "SCE9 Module Stop"]
917    #[inline(always)]
918    pub fn mstpc31(
919        self,
920    ) -> crate::common::RegisterField<
921        31,
922        0x1,
923        1,
924        0,
925        mstpcrc::Mstpc31,
926        mstpcrc::Mstpc31,
927        Mstpcrc_SPEC,
928        crate::common::RW,
929    > {
930        crate::common::RegisterField::<
931            31,
932            0x1,
933            1,
934            0,
935            mstpcrc::Mstpc31,
936            mstpcrc::Mstpc31,
937            Mstpcrc_SPEC,
938            crate::common::RW,
939        >::from_register(self, 0)
940    }
941}
942impl ::core::default::Default for Mstpcrc {
943    #[inline(always)]
944    fn default() -> Mstpcrc {
945        <crate::RegValueT<Mstpcrc_SPEC> as RegisterValue<_>>::new(4294967295)
946    }
947}
948pub mod mstpcrc {
949
950    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
951    pub struct Mstpc0_SPEC;
952    pub type Mstpc0 = crate::EnumBitfieldStruct<u8, Mstpc0_SPEC>;
953    impl Mstpc0 {
954        #[doc = "Cancel the module-stop state"]
955        pub const _0: Self = Self::new(0);
956
957        #[doc = "Enter the module-stop state"]
958        pub const _1: Self = Self::new(1);
959    }
960    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
961    pub struct Mstpc1_SPEC;
962    pub type Mstpc1 = crate::EnumBitfieldStruct<u8, Mstpc1_SPEC>;
963    impl Mstpc1 {
964        #[doc = "Cancel the module-stop state"]
965        pub const _0: Self = Self::new(0);
966
967        #[doc = "Enter the module-stop state"]
968        pub const _1: Self = Self::new(1);
969    }
970    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
971    pub struct Mstpc8_SPEC;
972    pub type Mstpc8 = crate::EnumBitfieldStruct<u8, Mstpc8_SPEC>;
973    impl Mstpc8 {
974        #[doc = "Cancel the module-stop state"]
975        pub const _0: Self = Self::new(0);
976
977        #[doc = "Enter the module-stop state"]
978        pub const _1: Self = Self::new(1);
979    }
980    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
981    pub struct Mstpc12_SPEC;
982    pub type Mstpc12 = crate::EnumBitfieldStruct<u8, Mstpc12_SPEC>;
983    impl Mstpc12 {
984        #[doc = "Cancel the module-stop state"]
985        pub const _0: Self = Self::new(0);
986
987        #[doc = "Enter the module-stop state"]
988        pub const _1: Self = Self::new(1);
989    }
990    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
991    pub struct Mstpc13_SPEC;
992    pub type Mstpc13 = crate::EnumBitfieldStruct<u8, Mstpc13_SPEC>;
993    impl Mstpc13 {
994        #[doc = "Cancel the module-stop state"]
995        pub const _0: Self = Self::new(0);
996
997        #[doc = "Enter the module-stop state"]
998        pub const _1: Self = Self::new(1);
999    }
1000    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1001    pub struct Mstpc14_SPEC;
1002    pub type Mstpc14 = crate::EnumBitfieldStruct<u8, Mstpc14_SPEC>;
1003    impl Mstpc14 {
1004        #[doc = "Cancel the module-stop state"]
1005        pub const _0: Self = Self::new(0);
1006
1007        #[doc = "Enter the module-stop state"]
1008        pub const _1: Self = Self::new(1);
1009    }
1010    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1011    pub struct Mstpc31_SPEC;
1012    pub type Mstpc31 = crate::EnumBitfieldStruct<u8, Mstpc31_SPEC>;
1013    impl Mstpc31 {
1014        #[doc = "Cancel the module-stop state"]
1015        pub const _0: Self = Self::new(0);
1016
1017        #[doc = "Enter the module-stop state"]
1018        pub const _1: Self = Self::new(1);
1019    }
1020}
1021#[doc(hidden)]
1022#[derive(Copy, Clone, Eq, PartialEq)]
1023pub struct Mstpcrd_SPEC;
1024impl crate::sealed::RegSpec for Mstpcrd_SPEC {
1025    type DataType = u32;
1026}
1027
1028#[doc = "Module Stop Control Register D"]
1029pub type Mstpcrd = crate::RegValueT<Mstpcrd_SPEC>;
1030
1031impl Mstpcrd {
1032    #[doc = "Low Power Asynchronous General Purpose Timer 3 Module Stop"]
1033    #[inline(always)]
1034    pub fn mstpd0(
1035        self,
1036    ) -> crate::common::RegisterField<
1037        0,
1038        0x1,
1039        1,
1040        0,
1041        mstpcrd::Mstpd0,
1042        mstpcrd::Mstpd0,
1043        Mstpcrd_SPEC,
1044        crate::common::RW,
1045    > {
1046        crate::common::RegisterField::<
1047            0,
1048            0x1,
1049            1,
1050            0,
1051            mstpcrd::Mstpd0,
1052            mstpcrd::Mstpd0,
1053            Mstpcrd_SPEC,
1054            crate::common::RW,
1055        >::from_register(self, 0)
1056    }
1057
1058    #[doc = "Low Power Asynchronous General Purpose Timer 2 Module Stop"]
1059    #[inline(always)]
1060    pub fn mstpd1(
1061        self,
1062    ) -> crate::common::RegisterField<
1063        1,
1064        0x1,
1065        1,
1066        0,
1067        mstpcrd::Mstpd1,
1068        mstpcrd::Mstpd1,
1069        Mstpcrd_SPEC,
1070        crate::common::RW,
1071    > {
1072        crate::common::RegisterField::<
1073            1,
1074            0x1,
1075            1,
1076            0,
1077            mstpcrd::Mstpd1,
1078            mstpcrd::Mstpd1,
1079            Mstpcrd_SPEC,
1080            crate::common::RW,
1081        >::from_register(self, 0)
1082    }
1083
1084    #[doc = "Low Power Asynchronous General Purpose Timer 1 Module Stop"]
1085    #[inline(always)]
1086    pub fn mstpd2(
1087        self,
1088    ) -> crate::common::RegisterField<
1089        2,
1090        0x1,
1091        1,
1092        0,
1093        mstpcrd::Mstpd2,
1094        mstpcrd::Mstpd2,
1095        Mstpcrd_SPEC,
1096        crate::common::RW,
1097    > {
1098        crate::common::RegisterField::<
1099            2,
1100            0x1,
1101            1,
1102            0,
1103            mstpcrd::Mstpd2,
1104            mstpcrd::Mstpd2,
1105            Mstpcrd_SPEC,
1106            crate::common::RW,
1107        >::from_register(self, 0)
1108    }
1109
1110    #[doc = "Low Power Asynchronous General Purpose Timer 0 Module Stop"]
1111    #[inline(always)]
1112    pub fn mstpd3(
1113        self,
1114    ) -> crate::common::RegisterField<
1115        3,
1116        0x1,
1117        1,
1118        0,
1119        mstpcrd::Mstpd3,
1120        mstpcrd::Mstpd3,
1121        Mstpcrd_SPEC,
1122        crate::common::RW,
1123    > {
1124        crate::common::RegisterField::<
1125            3,
1126            0x1,
1127            1,
1128            0,
1129            mstpcrd::Mstpd3,
1130            mstpcrd::Mstpd3,
1131            Mstpcrd_SPEC,
1132            crate::common::RW,
1133        >::from_register(self, 0)
1134    }
1135
1136    #[doc = "Port Output Enable for GPT Group D Module Stop"]
1137    #[inline(always)]
1138    pub fn mstpd11(
1139        self,
1140    ) -> crate::common::RegisterField<
1141        11,
1142        0x1,
1143        1,
1144        0,
1145        mstpcrd::Mstpd11,
1146        mstpcrd::Mstpd11,
1147        Mstpcrd_SPEC,
1148        crate::common::RW,
1149    > {
1150        crate::common::RegisterField::<
1151            11,
1152            0x1,
1153            1,
1154            0,
1155            mstpcrd::Mstpd11,
1156            mstpcrd::Mstpd11,
1157            Mstpcrd_SPEC,
1158            crate::common::RW,
1159        >::from_register(self, 0)
1160    }
1161
1162    #[doc = "Port Output Enable for GPT Group C Module Stop"]
1163    #[inline(always)]
1164    pub fn mstpd12(
1165        self,
1166    ) -> crate::common::RegisterField<
1167        12,
1168        0x1,
1169        1,
1170        0,
1171        mstpcrd::Mstpd12,
1172        mstpcrd::Mstpd12,
1173        Mstpcrd_SPEC,
1174        crate::common::RW,
1175    > {
1176        crate::common::RegisterField::<
1177            12,
1178            0x1,
1179            1,
1180            0,
1181            mstpcrd::Mstpd12,
1182            mstpcrd::Mstpd12,
1183            Mstpcrd_SPEC,
1184            crate::common::RW,
1185        >::from_register(self, 0)
1186    }
1187
1188    #[doc = "Port Output Enable for GPT Group B Module Stop"]
1189    #[inline(always)]
1190    pub fn mstpd13(
1191        self,
1192    ) -> crate::common::RegisterField<
1193        13,
1194        0x1,
1195        1,
1196        0,
1197        mstpcrd::Mstpd13,
1198        mstpcrd::Mstpd13,
1199        Mstpcrd_SPEC,
1200        crate::common::RW,
1201    > {
1202        crate::common::RegisterField::<
1203            13,
1204            0x1,
1205            1,
1206            0,
1207            mstpcrd::Mstpd13,
1208            mstpcrd::Mstpd13,
1209            Mstpcrd_SPEC,
1210            crate::common::RW,
1211        >::from_register(self, 0)
1212    }
1213
1214    #[doc = "Port Output Enable for GPT Group A Module Stop"]
1215    #[inline(always)]
1216    pub fn mstpd14(
1217        self,
1218    ) -> crate::common::RegisterField<
1219        14,
1220        0x1,
1221        1,
1222        0,
1223        mstpcrd::Mstpd14,
1224        mstpcrd::Mstpd14,
1225        Mstpcrd_SPEC,
1226        crate::common::RW,
1227    > {
1228        crate::common::RegisterField::<
1229            14,
1230            0x1,
1231            1,
1232            0,
1233            mstpcrd::Mstpd14,
1234            mstpcrd::Mstpd14,
1235            Mstpcrd_SPEC,
1236            crate::common::RW,
1237        >::from_register(self, 0)
1238    }
1239
1240    #[doc = "12-bit A/D Converter 0 Module Stop"]
1241    #[inline(always)]
1242    pub fn mstpd16(
1243        self,
1244    ) -> crate::common::RegisterField<
1245        16,
1246        0x1,
1247        1,
1248        0,
1249        mstpcrd::Mstpd16,
1250        mstpcrd::Mstpd16,
1251        Mstpcrd_SPEC,
1252        crate::common::RW,
1253    > {
1254        crate::common::RegisterField::<
1255            16,
1256            0x1,
1257            1,
1258            0,
1259            mstpcrd::Mstpd16,
1260            mstpcrd::Mstpd16,
1261            Mstpcrd_SPEC,
1262            crate::common::RW,
1263        >::from_register(self, 0)
1264    }
1265
1266    #[doc = "12-bit D/A Converter Module Stop"]
1267    #[inline(always)]
1268    pub fn mstpd20(
1269        self,
1270    ) -> crate::common::RegisterField<
1271        20,
1272        0x1,
1273        1,
1274        0,
1275        mstpcrd::Mstpd20,
1276        mstpcrd::Mstpd20,
1277        Mstpcrd_SPEC,
1278        crate::common::RW,
1279    > {
1280        crate::common::RegisterField::<
1281            20,
1282            0x1,
1283            1,
1284            0,
1285            mstpcrd::Mstpd20,
1286            mstpcrd::Mstpd20,
1287            Mstpcrd_SPEC,
1288            crate::common::RW,
1289        >::from_register(self, 0)
1290    }
1291}
1292impl ::core::default::Default for Mstpcrd {
1293    #[inline(always)]
1294    fn default() -> Mstpcrd {
1295        <crate::RegValueT<Mstpcrd_SPEC> as RegisterValue<_>>::new(4294967295)
1296    }
1297}
1298pub mod mstpcrd {
1299
1300    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1301    pub struct Mstpd0_SPEC;
1302    pub type Mstpd0 = crate::EnumBitfieldStruct<u8, Mstpd0_SPEC>;
1303    impl Mstpd0 {
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 Mstpd1_SPEC;
1312    pub type Mstpd1 = crate::EnumBitfieldStruct<u8, Mstpd1_SPEC>;
1313    impl Mstpd1 {
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 Mstpd2_SPEC;
1322    pub type Mstpd2 = crate::EnumBitfieldStruct<u8, Mstpd2_SPEC>;
1323    impl Mstpd2 {
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 Mstpd3_SPEC;
1332    pub type Mstpd3 = crate::EnumBitfieldStruct<u8, Mstpd3_SPEC>;
1333    impl Mstpd3 {
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 Mstpd11_SPEC;
1342    pub type Mstpd11 = crate::EnumBitfieldStruct<u8, Mstpd11_SPEC>;
1343    impl Mstpd11 {
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 Mstpd12_SPEC;
1352    pub type Mstpd12 = crate::EnumBitfieldStruct<u8, Mstpd12_SPEC>;
1353    impl Mstpd12 {
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 Mstpd13_SPEC;
1362    pub type Mstpd13 = crate::EnumBitfieldStruct<u8, Mstpd13_SPEC>;
1363    impl Mstpd13 {
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 Mstpd14_SPEC;
1372    pub type Mstpd14 = crate::EnumBitfieldStruct<u8, Mstpd14_SPEC>;
1373    impl Mstpd14 {
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 Mstpd16_SPEC;
1382    pub type Mstpd16 = crate::EnumBitfieldStruct<u8, Mstpd16_SPEC>;
1383    impl Mstpd16 {
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 Mstpd20_SPEC;
1392    pub type Mstpd20 = crate::EnumBitfieldStruct<u8, Mstpd20_SPEC>;
1393    impl Mstpd20 {
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 = "GPT2 Module Stop"]
1569    #[inline(always)]
1570    pub fn mstpe29(
1571        self,
1572    ) -> crate::common::RegisterField<
1573        29,
1574        0x1,
1575        1,
1576        0,
1577        mstpcre::Mstpe29,
1578        mstpcre::Mstpe29,
1579        Mstpcre_SPEC,
1580        crate::common::RW,
1581    > {
1582        crate::common::RegisterField::<
1583            29,
1584            0x1,
1585            1,
1586            0,
1587            mstpcre::Mstpe29,
1588            mstpcre::Mstpe29,
1589            Mstpcre_SPEC,
1590            crate::common::RW,
1591        >::from_register(self, 0)
1592    }
1593
1594    #[doc = "GPT1 Module Stop"]
1595    #[inline(always)]
1596    pub fn mstpe30(
1597        self,
1598    ) -> crate::common::RegisterField<
1599        30,
1600        0x1,
1601        1,
1602        0,
1603        mstpcre::Mstpe30,
1604        mstpcre::Mstpe30,
1605        Mstpcre_SPEC,
1606        crate::common::RW,
1607    > {
1608        crate::common::RegisterField::<
1609            30,
1610            0x1,
1611            1,
1612            0,
1613            mstpcre::Mstpe30,
1614            mstpcre::Mstpe30,
1615            Mstpcre_SPEC,
1616            crate::common::RW,
1617        >::from_register(self, 0)
1618    }
1619}
1620impl ::core::default::Default for Mstpcre {
1621    #[inline(always)]
1622    fn default() -> Mstpcre {
1623        <crate::RegValueT<Mstpcre_SPEC> as RegisterValue<_>>::new(4294967295)
1624    }
1625}
1626pub mod mstpcre {
1627
1628    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1629    pub struct Mstpe14_SPEC;
1630    pub type Mstpe14 = crate::EnumBitfieldStruct<u8, Mstpe14_SPEC>;
1631    impl Mstpe14 {
1632        #[doc = "Cancel the module-stop state"]
1633        pub const _0: Self = Self::new(0);
1634
1635        #[doc = "Enter the module-stop state"]
1636        pub const _1: Self = Self::new(1);
1637    }
1638    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1639    pub struct Mstpe15_SPEC;
1640    pub type Mstpe15 = crate::EnumBitfieldStruct<u8, Mstpe15_SPEC>;
1641    impl Mstpe15 {
1642        #[doc = "Cancel the module-stop state"]
1643        pub const _0: Self = Self::new(0);
1644
1645        #[doc = "Enter the module-stop state"]
1646        pub const _1: Self = Self::new(1);
1647    }
1648    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1649    pub struct Mstpe24_SPEC;
1650    pub type Mstpe24 = crate::EnumBitfieldStruct<u8, Mstpe24_SPEC>;
1651    impl Mstpe24 {
1652        #[doc = "Cancel the module-stop state"]
1653        pub const _0: Self = Self::new(0);
1654
1655        #[doc = "Enter the module-stop state"]
1656        pub const _1: Self = Self::new(1);
1657    }
1658    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1659    pub struct Mstpe25_SPEC;
1660    pub type Mstpe25 = crate::EnumBitfieldStruct<u8, Mstpe25_SPEC>;
1661    impl Mstpe25 {
1662        #[doc = "Cancel the module-stop state"]
1663        pub const _0: Self = Self::new(0);
1664
1665        #[doc = "Enter the module-stop state"]
1666        pub const _1: Self = Self::new(1);
1667    }
1668    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1669    pub struct Mstpe26_SPEC;
1670    pub type Mstpe26 = crate::EnumBitfieldStruct<u8, Mstpe26_SPEC>;
1671    impl Mstpe26 {
1672        #[doc = "Cancel the module-stop state"]
1673        pub const _0: Self = Self::new(0);
1674
1675        #[doc = "Enter the module-stop state"]
1676        pub const _1: Self = Self::new(1);
1677    }
1678    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1679    pub struct Mstpe27_SPEC;
1680    pub type Mstpe27 = crate::EnumBitfieldStruct<u8, Mstpe27_SPEC>;
1681    impl Mstpe27 {
1682        #[doc = "Cancel the module-stop state"]
1683        pub const _0: Self = Self::new(0);
1684
1685        #[doc = "Enter the module-stop state"]
1686        pub const _1: Self = Self::new(1);
1687    }
1688    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1689    pub struct Mstpe29_SPEC;
1690    pub type Mstpe29 = crate::EnumBitfieldStruct<u8, Mstpe29_SPEC>;
1691    impl Mstpe29 {
1692        #[doc = "Cancel the module-stop state"]
1693        pub const _0: Self = Self::new(0);
1694
1695        #[doc = "Enter the module-stop state"]
1696        pub const _1: Self = Self::new(1);
1697    }
1698    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1699    pub struct Mstpe30_SPEC;
1700    pub type Mstpe30 = crate::EnumBitfieldStruct<u8, Mstpe30_SPEC>;
1701    impl Mstpe30 {
1702        #[doc = "Cancel the module-stop state"]
1703        pub const _0: Self = Self::new(0);
1704
1705        #[doc = "Enter the module-stop state"]
1706        pub const _1: Self = Self::new(1);
1707    }
1708}