ra6e1_pac/
port1.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"Pmn Pin FunctionPort 1 Control RegistersPmn Pin Function Control Register"]
28unsafe impl ::core::marker::Send for super::Port1 {}
29unsafe impl ::core::marker::Sync for super::Port1 {}
30impl super::Port1 {
31    #[allow(unused)]
32    #[inline(always)]
33    pub(crate) const fn _svd2pac_as_ptr(&self) -> *mut u8 {
34        self.ptr
35    }
36
37    #[doc = "Port Control Register 1"]
38    #[inline(always)]
39    pub const fn pcntr1(
40        &self,
41    ) -> &'static crate::common::Reg<self::Pcntr1_SPEC, crate::common::RW> {
42        unsafe {
43            crate::common::Reg::<self::Pcntr1_SPEC, crate::common::RW>::from_ptr(
44                self._svd2pac_as_ptr().add(0usize),
45            )
46        }
47    }
48
49    #[doc = "Port Control Register 1"]
50    #[inline(always)]
51    pub const fn podr(&self) -> &'static crate::common::Reg<self::Podr_SPEC, crate::common::RW> {
52        unsafe {
53            crate::common::Reg::<self::Podr_SPEC, crate::common::RW>::from_ptr(
54                self._svd2pac_as_ptr().add(0usize),
55            )
56        }
57    }
58
59    #[doc = "Port Control Register 1"]
60    #[inline(always)]
61    pub const fn pdr(&self) -> &'static crate::common::Reg<self::Pdr_SPEC, crate::common::RW> {
62        unsafe {
63            crate::common::Reg::<self::Pdr_SPEC, crate::common::RW>::from_ptr(
64                self._svd2pac_as_ptr().add(2usize),
65            )
66        }
67    }
68
69    #[doc = "Port Control Register 2"]
70    #[inline(always)]
71    pub const fn pcntr2(&self) -> &'static crate::common::Reg<self::Pcntr2_SPEC, crate::common::R> {
72        unsafe {
73            crate::common::Reg::<self::Pcntr2_SPEC, crate::common::R>::from_ptr(
74                self._svd2pac_as_ptr().add(4usize),
75            )
76        }
77    }
78
79    #[doc = "Port Control Register 2"]
80    #[inline(always)]
81    pub const fn eidr(&self) -> &'static crate::common::Reg<self::Eidr_SPEC, crate::common::R> {
82        unsafe {
83            crate::common::Reg::<self::Eidr_SPEC, crate::common::R>::from_ptr(
84                self._svd2pac_as_ptr().add(4usize),
85            )
86        }
87    }
88
89    #[doc = "Port Control Register 2"]
90    #[inline(always)]
91    pub const fn pidr(&self) -> &'static crate::common::Reg<self::Pidr_SPEC, crate::common::R> {
92        unsafe {
93            crate::common::Reg::<self::Pidr_SPEC, crate::common::R>::from_ptr(
94                self._svd2pac_as_ptr().add(6usize),
95            )
96        }
97    }
98
99    #[doc = "Port Control Register 3"]
100    #[inline(always)]
101    pub const fn pcntr3(&self) -> &'static crate::common::Reg<self::Pcntr3_SPEC, crate::common::W> {
102        unsafe {
103            crate::common::Reg::<self::Pcntr3_SPEC, crate::common::W>::from_ptr(
104                self._svd2pac_as_ptr().add(8usize),
105            )
106        }
107    }
108
109    #[doc = "Port Control Register 3"]
110    #[inline(always)]
111    pub const fn porr(&self) -> &'static crate::common::Reg<self::Porr_SPEC, crate::common::W> {
112        unsafe {
113            crate::common::Reg::<self::Porr_SPEC, crate::common::W>::from_ptr(
114                self._svd2pac_as_ptr().add(8usize),
115            )
116        }
117    }
118
119    #[doc = "Port Control Register 3"]
120    #[inline(always)]
121    pub const fn posr(&self) -> &'static crate::common::Reg<self::Posr_SPEC, crate::common::W> {
122        unsafe {
123            crate::common::Reg::<self::Posr_SPEC, crate::common::W>::from_ptr(
124                self._svd2pac_as_ptr().add(10usize),
125            )
126        }
127    }
128
129    #[doc = "Port Control Register 4"]
130    #[inline(always)]
131    pub const fn pcntr4(
132        &self,
133    ) -> &'static crate::common::Reg<self::Pcntr4_SPEC, crate::common::RW> {
134        unsafe {
135            crate::common::Reg::<self::Pcntr4_SPEC, crate::common::RW>::from_ptr(
136                self._svd2pac_as_ptr().add(12usize),
137            )
138        }
139    }
140
141    #[doc = "Port Control Register 4"]
142    #[inline(always)]
143    pub const fn eorr(&self) -> &'static crate::common::Reg<self::Eorr_SPEC, crate::common::RW> {
144        unsafe {
145            crate::common::Reg::<self::Eorr_SPEC, crate::common::RW>::from_ptr(
146                self._svd2pac_as_ptr().add(12usize),
147            )
148        }
149    }
150
151    #[doc = "Port Control Register 4"]
152    #[inline(always)]
153    pub const fn eosr(&self) -> &'static crate::common::Reg<self::Eosr_SPEC, crate::common::RW> {
154        unsafe {
155            crate::common::Reg::<self::Eosr_SPEC, crate::common::RW>::from_ptr(
156                self._svd2pac_as_ptr().add(14usize),
157            )
158        }
159    }
160}
161#[doc(hidden)]
162#[derive(Copy, Clone, Eq, PartialEq)]
163pub struct Pcntr1_SPEC;
164impl crate::sealed::RegSpec for Pcntr1_SPEC {
165    type DataType = u32;
166}
167
168#[doc = "Port Control Register 1"]
169pub type Pcntr1 = crate::RegValueT<Pcntr1_SPEC>;
170
171impl Pcntr1 {
172    #[doc = "Pmn Direction"]
173    #[inline(always)]
174    pub fn pdr00(
175        self,
176    ) -> crate::common::RegisterField<
177        0,
178        0x1,
179        1,
180        0,
181        pcntr1::Pdr00,
182        pcntr1::Pdr00,
183        Pcntr1_SPEC,
184        crate::common::RW,
185    > {
186        crate::common::RegisterField::<
187            0,
188            0x1,
189            1,
190            0,
191            pcntr1::Pdr00,
192            pcntr1::Pdr00,
193            Pcntr1_SPEC,
194            crate::common::RW,
195        >::from_register(self, 0)
196    }
197
198    #[doc = "Pmn Direction"]
199    #[inline(always)]
200    pub fn pdr01(
201        self,
202    ) -> crate::common::RegisterField<
203        1,
204        0x1,
205        1,
206        0,
207        pcntr1::Pdr01,
208        pcntr1::Pdr01,
209        Pcntr1_SPEC,
210        crate::common::RW,
211    > {
212        crate::common::RegisterField::<
213            1,
214            0x1,
215            1,
216            0,
217            pcntr1::Pdr01,
218            pcntr1::Pdr01,
219            Pcntr1_SPEC,
220            crate::common::RW,
221        >::from_register(self, 0)
222    }
223
224    #[doc = "Pmn Direction"]
225    #[inline(always)]
226    pub fn pdr02(
227        self,
228    ) -> crate::common::RegisterField<
229        2,
230        0x1,
231        1,
232        0,
233        pcntr1::Pdr02,
234        pcntr1::Pdr02,
235        Pcntr1_SPEC,
236        crate::common::RW,
237    > {
238        crate::common::RegisterField::<
239            2,
240            0x1,
241            1,
242            0,
243            pcntr1::Pdr02,
244            pcntr1::Pdr02,
245            Pcntr1_SPEC,
246            crate::common::RW,
247        >::from_register(self, 0)
248    }
249
250    #[doc = "Pmn Direction"]
251    #[inline(always)]
252    pub fn pdr03(
253        self,
254    ) -> crate::common::RegisterField<
255        3,
256        0x1,
257        1,
258        0,
259        pcntr1::Pdr03,
260        pcntr1::Pdr03,
261        Pcntr1_SPEC,
262        crate::common::RW,
263    > {
264        crate::common::RegisterField::<
265            3,
266            0x1,
267            1,
268            0,
269            pcntr1::Pdr03,
270            pcntr1::Pdr03,
271            Pcntr1_SPEC,
272            crate::common::RW,
273        >::from_register(self, 0)
274    }
275
276    #[doc = "Pmn Direction"]
277    #[inline(always)]
278    pub fn pdr04(
279        self,
280    ) -> crate::common::RegisterField<
281        4,
282        0x1,
283        1,
284        0,
285        pcntr1::Pdr04,
286        pcntr1::Pdr04,
287        Pcntr1_SPEC,
288        crate::common::RW,
289    > {
290        crate::common::RegisterField::<
291            4,
292            0x1,
293            1,
294            0,
295            pcntr1::Pdr04,
296            pcntr1::Pdr04,
297            Pcntr1_SPEC,
298            crate::common::RW,
299        >::from_register(self, 0)
300    }
301
302    #[doc = "Pmn Direction"]
303    #[inline(always)]
304    pub fn pdr05(
305        self,
306    ) -> crate::common::RegisterField<
307        5,
308        0x1,
309        1,
310        0,
311        pcntr1::Pdr05,
312        pcntr1::Pdr05,
313        Pcntr1_SPEC,
314        crate::common::RW,
315    > {
316        crate::common::RegisterField::<
317            5,
318            0x1,
319            1,
320            0,
321            pcntr1::Pdr05,
322            pcntr1::Pdr05,
323            Pcntr1_SPEC,
324            crate::common::RW,
325        >::from_register(self, 0)
326    }
327
328    #[doc = "Pmn Direction"]
329    #[inline(always)]
330    pub fn pdr06(
331        self,
332    ) -> crate::common::RegisterField<
333        6,
334        0x1,
335        1,
336        0,
337        pcntr1::Pdr06,
338        pcntr1::Pdr06,
339        Pcntr1_SPEC,
340        crate::common::RW,
341    > {
342        crate::common::RegisterField::<
343            6,
344            0x1,
345            1,
346            0,
347            pcntr1::Pdr06,
348            pcntr1::Pdr06,
349            Pcntr1_SPEC,
350            crate::common::RW,
351        >::from_register(self, 0)
352    }
353
354    #[doc = "Pmn Direction"]
355    #[inline(always)]
356    pub fn pdr07(
357        self,
358    ) -> crate::common::RegisterField<
359        7,
360        0x1,
361        1,
362        0,
363        pcntr1::Pdr07,
364        pcntr1::Pdr07,
365        Pcntr1_SPEC,
366        crate::common::RW,
367    > {
368        crate::common::RegisterField::<
369            7,
370            0x1,
371            1,
372            0,
373            pcntr1::Pdr07,
374            pcntr1::Pdr07,
375            Pcntr1_SPEC,
376            crate::common::RW,
377        >::from_register(self, 0)
378    }
379
380    #[doc = "Pmn Direction"]
381    #[inline(always)]
382    pub fn pdr08(
383        self,
384    ) -> crate::common::RegisterField<
385        8,
386        0x1,
387        1,
388        0,
389        pcntr1::Pdr08,
390        pcntr1::Pdr08,
391        Pcntr1_SPEC,
392        crate::common::RW,
393    > {
394        crate::common::RegisterField::<
395            8,
396            0x1,
397            1,
398            0,
399            pcntr1::Pdr08,
400            pcntr1::Pdr08,
401            Pcntr1_SPEC,
402            crate::common::RW,
403        >::from_register(self, 0)
404    }
405
406    #[doc = "Pmn Direction"]
407    #[inline(always)]
408    pub fn pdr09(
409        self,
410    ) -> crate::common::RegisterField<
411        9,
412        0x1,
413        1,
414        0,
415        pcntr1::Pdr09,
416        pcntr1::Pdr09,
417        Pcntr1_SPEC,
418        crate::common::RW,
419    > {
420        crate::common::RegisterField::<
421            9,
422            0x1,
423            1,
424            0,
425            pcntr1::Pdr09,
426            pcntr1::Pdr09,
427            Pcntr1_SPEC,
428            crate::common::RW,
429        >::from_register(self, 0)
430    }
431
432    #[doc = "Pmn Direction"]
433    #[inline(always)]
434    pub fn pdr10(
435        self,
436    ) -> crate::common::RegisterField<
437        10,
438        0x1,
439        1,
440        0,
441        pcntr1::Pdr10,
442        pcntr1::Pdr10,
443        Pcntr1_SPEC,
444        crate::common::RW,
445    > {
446        crate::common::RegisterField::<
447            10,
448            0x1,
449            1,
450            0,
451            pcntr1::Pdr10,
452            pcntr1::Pdr10,
453            Pcntr1_SPEC,
454            crate::common::RW,
455        >::from_register(self, 0)
456    }
457
458    #[doc = "Pmn Direction"]
459    #[inline(always)]
460    pub fn pdr11(
461        self,
462    ) -> crate::common::RegisterField<
463        11,
464        0x1,
465        1,
466        0,
467        pcntr1::Pdr11,
468        pcntr1::Pdr11,
469        Pcntr1_SPEC,
470        crate::common::RW,
471    > {
472        crate::common::RegisterField::<
473            11,
474            0x1,
475            1,
476            0,
477            pcntr1::Pdr11,
478            pcntr1::Pdr11,
479            Pcntr1_SPEC,
480            crate::common::RW,
481        >::from_register(self, 0)
482    }
483
484    #[doc = "Pmn Direction"]
485    #[inline(always)]
486    pub fn pdr12(
487        self,
488    ) -> crate::common::RegisterField<
489        12,
490        0x1,
491        1,
492        0,
493        pcntr1::Pdr12,
494        pcntr1::Pdr12,
495        Pcntr1_SPEC,
496        crate::common::RW,
497    > {
498        crate::common::RegisterField::<
499            12,
500            0x1,
501            1,
502            0,
503            pcntr1::Pdr12,
504            pcntr1::Pdr12,
505            Pcntr1_SPEC,
506            crate::common::RW,
507        >::from_register(self, 0)
508    }
509
510    #[doc = "Pmn Direction"]
511    #[inline(always)]
512    pub fn pdr13(
513        self,
514    ) -> crate::common::RegisterField<
515        13,
516        0x1,
517        1,
518        0,
519        pcntr1::Pdr13,
520        pcntr1::Pdr13,
521        Pcntr1_SPEC,
522        crate::common::RW,
523    > {
524        crate::common::RegisterField::<
525            13,
526            0x1,
527            1,
528            0,
529            pcntr1::Pdr13,
530            pcntr1::Pdr13,
531            Pcntr1_SPEC,
532            crate::common::RW,
533        >::from_register(self, 0)
534    }
535
536    #[doc = "Pmn Direction"]
537    #[inline(always)]
538    pub fn pdr14(
539        self,
540    ) -> crate::common::RegisterField<
541        14,
542        0x1,
543        1,
544        0,
545        pcntr1::Pdr14,
546        pcntr1::Pdr14,
547        Pcntr1_SPEC,
548        crate::common::RW,
549    > {
550        crate::common::RegisterField::<
551            14,
552            0x1,
553            1,
554            0,
555            pcntr1::Pdr14,
556            pcntr1::Pdr14,
557            Pcntr1_SPEC,
558            crate::common::RW,
559        >::from_register(self, 0)
560    }
561
562    #[doc = "Pmn Direction"]
563    #[inline(always)]
564    pub fn pdr15(
565        self,
566    ) -> crate::common::RegisterField<
567        15,
568        0x1,
569        1,
570        0,
571        pcntr1::Pdr15,
572        pcntr1::Pdr15,
573        Pcntr1_SPEC,
574        crate::common::RW,
575    > {
576        crate::common::RegisterField::<
577            15,
578            0x1,
579            1,
580            0,
581            pcntr1::Pdr15,
582            pcntr1::Pdr15,
583            Pcntr1_SPEC,
584            crate::common::RW,
585        >::from_register(self, 0)
586    }
587
588    #[doc = "Pmn Output Data"]
589    #[inline(always)]
590    pub fn podr00(
591        self,
592    ) -> crate::common::RegisterField<
593        16,
594        0x1,
595        1,
596        0,
597        pcntr1::Podr00,
598        pcntr1::Podr00,
599        Pcntr1_SPEC,
600        crate::common::RW,
601    > {
602        crate::common::RegisterField::<
603            16,
604            0x1,
605            1,
606            0,
607            pcntr1::Podr00,
608            pcntr1::Podr00,
609            Pcntr1_SPEC,
610            crate::common::RW,
611        >::from_register(self, 0)
612    }
613
614    #[doc = "Pmn Output Data"]
615    #[inline(always)]
616    pub fn podr01(
617        self,
618    ) -> crate::common::RegisterField<
619        17,
620        0x1,
621        1,
622        0,
623        pcntr1::Podr01,
624        pcntr1::Podr01,
625        Pcntr1_SPEC,
626        crate::common::RW,
627    > {
628        crate::common::RegisterField::<
629            17,
630            0x1,
631            1,
632            0,
633            pcntr1::Podr01,
634            pcntr1::Podr01,
635            Pcntr1_SPEC,
636            crate::common::RW,
637        >::from_register(self, 0)
638    }
639
640    #[doc = "Pmn Output Data"]
641    #[inline(always)]
642    pub fn podr02(
643        self,
644    ) -> crate::common::RegisterField<
645        18,
646        0x1,
647        1,
648        0,
649        pcntr1::Podr02,
650        pcntr1::Podr02,
651        Pcntr1_SPEC,
652        crate::common::RW,
653    > {
654        crate::common::RegisterField::<
655            18,
656            0x1,
657            1,
658            0,
659            pcntr1::Podr02,
660            pcntr1::Podr02,
661            Pcntr1_SPEC,
662            crate::common::RW,
663        >::from_register(self, 0)
664    }
665
666    #[doc = "Pmn Output Data"]
667    #[inline(always)]
668    pub fn podr03(
669        self,
670    ) -> crate::common::RegisterField<
671        19,
672        0x1,
673        1,
674        0,
675        pcntr1::Podr03,
676        pcntr1::Podr03,
677        Pcntr1_SPEC,
678        crate::common::RW,
679    > {
680        crate::common::RegisterField::<
681            19,
682            0x1,
683            1,
684            0,
685            pcntr1::Podr03,
686            pcntr1::Podr03,
687            Pcntr1_SPEC,
688            crate::common::RW,
689        >::from_register(self, 0)
690    }
691
692    #[doc = "Pmn Output Data"]
693    #[inline(always)]
694    pub fn podr04(
695        self,
696    ) -> crate::common::RegisterField<
697        20,
698        0x1,
699        1,
700        0,
701        pcntr1::Podr04,
702        pcntr1::Podr04,
703        Pcntr1_SPEC,
704        crate::common::RW,
705    > {
706        crate::common::RegisterField::<
707            20,
708            0x1,
709            1,
710            0,
711            pcntr1::Podr04,
712            pcntr1::Podr04,
713            Pcntr1_SPEC,
714            crate::common::RW,
715        >::from_register(self, 0)
716    }
717
718    #[doc = "Pmn Output Data"]
719    #[inline(always)]
720    pub fn podr05(
721        self,
722    ) -> crate::common::RegisterField<
723        21,
724        0x1,
725        1,
726        0,
727        pcntr1::Podr05,
728        pcntr1::Podr05,
729        Pcntr1_SPEC,
730        crate::common::RW,
731    > {
732        crate::common::RegisterField::<
733            21,
734            0x1,
735            1,
736            0,
737            pcntr1::Podr05,
738            pcntr1::Podr05,
739            Pcntr1_SPEC,
740            crate::common::RW,
741        >::from_register(self, 0)
742    }
743
744    #[doc = "Pmn Output Data"]
745    #[inline(always)]
746    pub fn podr06(
747        self,
748    ) -> crate::common::RegisterField<
749        22,
750        0x1,
751        1,
752        0,
753        pcntr1::Podr06,
754        pcntr1::Podr06,
755        Pcntr1_SPEC,
756        crate::common::RW,
757    > {
758        crate::common::RegisterField::<
759            22,
760            0x1,
761            1,
762            0,
763            pcntr1::Podr06,
764            pcntr1::Podr06,
765            Pcntr1_SPEC,
766            crate::common::RW,
767        >::from_register(self, 0)
768    }
769
770    #[doc = "Pmn Output Data"]
771    #[inline(always)]
772    pub fn podr07(
773        self,
774    ) -> crate::common::RegisterField<
775        23,
776        0x1,
777        1,
778        0,
779        pcntr1::Podr07,
780        pcntr1::Podr07,
781        Pcntr1_SPEC,
782        crate::common::RW,
783    > {
784        crate::common::RegisterField::<
785            23,
786            0x1,
787            1,
788            0,
789            pcntr1::Podr07,
790            pcntr1::Podr07,
791            Pcntr1_SPEC,
792            crate::common::RW,
793        >::from_register(self, 0)
794    }
795
796    #[doc = "Pmn Output Data"]
797    #[inline(always)]
798    pub fn podr08(
799        self,
800    ) -> crate::common::RegisterField<
801        24,
802        0x1,
803        1,
804        0,
805        pcntr1::Podr08,
806        pcntr1::Podr08,
807        Pcntr1_SPEC,
808        crate::common::RW,
809    > {
810        crate::common::RegisterField::<
811            24,
812            0x1,
813            1,
814            0,
815            pcntr1::Podr08,
816            pcntr1::Podr08,
817            Pcntr1_SPEC,
818            crate::common::RW,
819        >::from_register(self, 0)
820    }
821
822    #[doc = "Pmn Output Data"]
823    #[inline(always)]
824    pub fn podr09(
825        self,
826    ) -> crate::common::RegisterField<
827        25,
828        0x1,
829        1,
830        0,
831        pcntr1::Podr09,
832        pcntr1::Podr09,
833        Pcntr1_SPEC,
834        crate::common::RW,
835    > {
836        crate::common::RegisterField::<
837            25,
838            0x1,
839            1,
840            0,
841            pcntr1::Podr09,
842            pcntr1::Podr09,
843            Pcntr1_SPEC,
844            crate::common::RW,
845        >::from_register(self, 0)
846    }
847
848    #[doc = "Pmn Output Data"]
849    #[inline(always)]
850    pub fn podr10(
851        self,
852    ) -> crate::common::RegisterField<
853        26,
854        0x1,
855        1,
856        0,
857        pcntr1::Podr10,
858        pcntr1::Podr10,
859        Pcntr1_SPEC,
860        crate::common::RW,
861    > {
862        crate::common::RegisterField::<
863            26,
864            0x1,
865            1,
866            0,
867            pcntr1::Podr10,
868            pcntr1::Podr10,
869            Pcntr1_SPEC,
870            crate::common::RW,
871        >::from_register(self, 0)
872    }
873
874    #[doc = "Pmn Output Data"]
875    #[inline(always)]
876    pub fn podr11(
877        self,
878    ) -> crate::common::RegisterField<
879        27,
880        0x1,
881        1,
882        0,
883        pcntr1::Podr11,
884        pcntr1::Podr11,
885        Pcntr1_SPEC,
886        crate::common::RW,
887    > {
888        crate::common::RegisterField::<
889            27,
890            0x1,
891            1,
892            0,
893            pcntr1::Podr11,
894            pcntr1::Podr11,
895            Pcntr1_SPEC,
896            crate::common::RW,
897        >::from_register(self, 0)
898    }
899
900    #[doc = "Pmn Output Data"]
901    #[inline(always)]
902    pub fn podr12(
903        self,
904    ) -> crate::common::RegisterField<
905        28,
906        0x1,
907        1,
908        0,
909        pcntr1::Podr12,
910        pcntr1::Podr12,
911        Pcntr1_SPEC,
912        crate::common::RW,
913    > {
914        crate::common::RegisterField::<
915            28,
916            0x1,
917            1,
918            0,
919            pcntr1::Podr12,
920            pcntr1::Podr12,
921            Pcntr1_SPEC,
922            crate::common::RW,
923        >::from_register(self, 0)
924    }
925
926    #[doc = "Pmn Output Data"]
927    #[inline(always)]
928    pub fn podr13(
929        self,
930    ) -> crate::common::RegisterField<
931        29,
932        0x1,
933        1,
934        0,
935        pcntr1::Podr13,
936        pcntr1::Podr13,
937        Pcntr1_SPEC,
938        crate::common::RW,
939    > {
940        crate::common::RegisterField::<
941            29,
942            0x1,
943            1,
944            0,
945            pcntr1::Podr13,
946            pcntr1::Podr13,
947            Pcntr1_SPEC,
948            crate::common::RW,
949        >::from_register(self, 0)
950    }
951
952    #[doc = "Pmn Output Data"]
953    #[inline(always)]
954    pub fn podr14(
955        self,
956    ) -> crate::common::RegisterField<
957        30,
958        0x1,
959        1,
960        0,
961        pcntr1::Podr14,
962        pcntr1::Podr14,
963        Pcntr1_SPEC,
964        crate::common::RW,
965    > {
966        crate::common::RegisterField::<
967            30,
968            0x1,
969            1,
970            0,
971            pcntr1::Podr14,
972            pcntr1::Podr14,
973            Pcntr1_SPEC,
974            crate::common::RW,
975        >::from_register(self, 0)
976    }
977
978    #[doc = "Pmn Output Data"]
979    #[inline(always)]
980    pub fn podr15(
981        self,
982    ) -> crate::common::RegisterField<
983        31,
984        0x1,
985        1,
986        0,
987        pcntr1::Podr15,
988        pcntr1::Podr15,
989        Pcntr1_SPEC,
990        crate::common::RW,
991    > {
992        crate::common::RegisterField::<
993            31,
994            0x1,
995            1,
996            0,
997            pcntr1::Podr15,
998            pcntr1::Podr15,
999            Pcntr1_SPEC,
1000            crate::common::RW,
1001        >::from_register(self, 0)
1002    }
1003}
1004impl ::core::default::Default for Pcntr1 {
1005    #[inline(always)]
1006    fn default() -> Pcntr1 {
1007        <crate::RegValueT<Pcntr1_SPEC> as RegisterValue<_>>::new(0)
1008    }
1009}
1010pub mod pcntr1 {
1011
1012    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1013    pub struct Pdr00_SPEC;
1014    pub type Pdr00 = crate::EnumBitfieldStruct<u8, Pdr00_SPEC>;
1015    impl Pdr00 {
1016        #[doc = "Input (functions as an input pin)"]
1017        pub const _0: Self = Self::new(0);
1018
1019        #[doc = "Output (functions as an output pin)"]
1020        pub const _1: Self = Self::new(1);
1021    }
1022    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1023    pub struct Pdr01_SPEC;
1024    pub type Pdr01 = crate::EnumBitfieldStruct<u8, Pdr01_SPEC>;
1025    impl Pdr01 {
1026        #[doc = "Input (functions as an input pin)"]
1027        pub const _0: Self = Self::new(0);
1028
1029        #[doc = "Output (functions as an output pin)"]
1030        pub const _1: Self = Self::new(1);
1031    }
1032    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1033    pub struct Pdr02_SPEC;
1034    pub type Pdr02 = crate::EnumBitfieldStruct<u8, Pdr02_SPEC>;
1035    impl Pdr02 {
1036        #[doc = "Input (functions as an input pin)"]
1037        pub const _0: Self = Self::new(0);
1038
1039        #[doc = "Output (functions as an output pin)"]
1040        pub const _1: Self = Self::new(1);
1041    }
1042    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1043    pub struct Pdr03_SPEC;
1044    pub type Pdr03 = crate::EnumBitfieldStruct<u8, Pdr03_SPEC>;
1045    impl Pdr03 {
1046        #[doc = "Input (functions as an input pin)"]
1047        pub const _0: Self = Self::new(0);
1048
1049        #[doc = "Output (functions as an output pin)"]
1050        pub const _1: Self = Self::new(1);
1051    }
1052    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1053    pub struct Pdr04_SPEC;
1054    pub type Pdr04 = crate::EnumBitfieldStruct<u8, Pdr04_SPEC>;
1055    impl Pdr04 {
1056        #[doc = "Input (functions as an input pin)"]
1057        pub const _0: Self = Self::new(0);
1058
1059        #[doc = "Output (functions as an output pin)"]
1060        pub const _1: Self = Self::new(1);
1061    }
1062    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1063    pub struct Pdr05_SPEC;
1064    pub type Pdr05 = crate::EnumBitfieldStruct<u8, Pdr05_SPEC>;
1065    impl Pdr05 {
1066        #[doc = "Input (functions as an input pin)"]
1067        pub const _0: Self = Self::new(0);
1068
1069        #[doc = "Output (functions as an output pin)"]
1070        pub const _1: Self = Self::new(1);
1071    }
1072    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1073    pub struct Pdr06_SPEC;
1074    pub type Pdr06 = crate::EnumBitfieldStruct<u8, Pdr06_SPEC>;
1075    impl Pdr06 {
1076        #[doc = "Input (functions as an input pin)"]
1077        pub const _0: Self = Self::new(0);
1078
1079        #[doc = "Output (functions as an output pin)"]
1080        pub const _1: Self = Self::new(1);
1081    }
1082    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1083    pub struct Pdr07_SPEC;
1084    pub type Pdr07 = crate::EnumBitfieldStruct<u8, Pdr07_SPEC>;
1085    impl Pdr07 {
1086        #[doc = "Input (functions as an input pin)"]
1087        pub const _0: Self = Self::new(0);
1088
1089        #[doc = "Output (functions as an output pin)"]
1090        pub const _1: Self = Self::new(1);
1091    }
1092    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1093    pub struct Pdr08_SPEC;
1094    pub type Pdr08 = crate::EnumBitfieldStruct<u8, Pdr08_SPEC>;
1095    impl Pdr08 {
1096        #[doc = "Input (functions as an input pin)"]
1097        pub const _0: Self = Self::new(0);
1098
1099        #[doc = "Output (functions as an output pin)"]
1100        pub const _1: Self = Self::new(1);
1101    }
1102    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1103    pub struct Pdr09_SPEC;
1104    pub type Pdr09 = crate::EnumBitfieldStruct<u8, Pdr09_SPEC>;
1105    impl Pdr09 {
1106        #[doc = "Input (functions as an input pin)"]
1107        pub const _0: Self = Self::new(0);
1108
1109        #[doc = "Output (functions as an output pin)"]
1110        pub const _1: Self = Self::new(1);
1111    }
1112    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1113    pub struct Pdr10_SPEC;
1114    pub type Pdr10 = crate::EnumBitfieldStruct<u8, Pdr10_SPEC>;
1115    impl Pdr10 {
1116        #[doc = "Input (functions as an input pin)"]
1117        pub const _0: Self = Self::new(0);
1118
1119        #[doc = "Output (functions as an output pin)"]
1120        pub const _1: Self = Self::new(1);
1121    }
1122    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1123    pub struct Pdr11_SPEC;
1124    pub type Pdr11 = crate::EnumBitfieldStruct<u8, Pdr11_SPEC>;
1125    impl Pdr11 {
1126        #[doc = "Input (functions as an input pin)"]
1127        pub const _0: Self = Self::new(0);
1128
1129        #[doc = "Output (functions as an output pin)"]
1130        pub const _1: Self = Self::new(1);
1131    }
1132    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1133    pub struct Pdr12_SPEC;
1134    pub type Pdr12 = crate::EnumBitfieldStruct<u8, Pdr12_SPEC>;
1135    impl Pdr12 {
1136        #[doc = "Input (functions as an input pin)"]
1137        pub const _0: Self = Self::new(0);
1138
1139        #[doc = "Output (functions as an output pin)"]
1140        pub const _1: Self = Self::new(1);
1141    }
1142    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1143    pub struct Pdr13_SPEC;
1144    pub type Pdr13 = crate::EnumBitfieldStruct<u8, Pdr13_SPEC>;
1145    impl Pdr13 {
1146        #[doc = "Input (functions as an input pin)"]
1147        pub const _0: Self = Self::new(0);
1148
1149        #[doc = "Output (functions as an output pin)"]
1150        pub const _1: Self = Self::new(1);
1151    }
1152    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1153    pub struct Pdr14_SPEC;
1154    pub type Pdr14 = crate::EnumBitfieldStruct<u8, Pdr14_SPEC>;
1155    impl Pdr14 {
1156        #[doc = "Input (functions as an input pin)"]
1157        pub const _0: Self = Self::new(0);
1158
1159        #[doc = "Output (functions as an output pin)"]
1160        pub const _1: Self = Self::new(1);
1161    }
1162    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1163    pub struct Pdr15_SPEC;
1164    pub type Pdr15 = crate::EnumBitfieldStruct<u8, Pdr15_SPEC>;
1165    impl Pdr15 {
1166        #[doc = "Input (functions as an input pin)"]
1167        pub const _0: Self = Self::new(0);
1168
1169        #[doc = "Output (functions as an output pin)"]
1170        pub const _1: Self = Self::new(1);
1171    }
1172    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1173    pub struct Podr00_SPEC;
1174    pub type Podr00 = crate::EnumBitfieldStruct<u8, Podr00_SPEC>;
1175    impl Podr00 {
1176        #[doc = "Low output"]
1177        pub const _0: Self = Self::new(0);
1178
1179        #[doc = "High output"]
1180        pub const _1: Self = Self::new(1);
1181    }
1182    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1183    pub struct Podr01_SPEC;
1184    pub type Podr01 = crate::EnumBitfieldStruct<u8, Podr01_SPEC>;
1185    impl Podr01 {
1186        #[doc = "Low output"]
1187        pub const _0: Self = Self::new(0);
1188
1189        #[doc = "High output"]
1190        pub const _1: Self = Self::new(1);
1191    }
1192    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1193    pub struct Podr02_SPEC;
1194    pub type Podr02 = crate::EnumBitfieldStruct<u8, Podr02_SPEC>;
1195    impl Podr02 {
1196        #[doc = "Low output"]
1197        pub const _0: Self = Self::new(0);
1198
1199        #[doc = "High output"]
1200        pub const _1: Self = Self::new(1);
1201    }
1202    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1203    pub struct Podr03_SPEC;
1204    pub type Podr03 = crate::EnumBitfieldStruct<u8, Podr03_SPEC>;
1205    impl Podr03 {
1206        #[doc = "Low output"]
1207        pub const _0: Self = Self::new(0);
1208
1209        #[doc = "High output"]
1210        pub const _1: Self = Self::new(1);
1211    }
1212    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1213    pub struct Podr04_SPEC;
1214    pub type Podr04 = crate::EnumBitfieldStruct<u8, Podr04_SPEC>;
1215    impl Podr04 {
1216        #[doc = "Low output"]
1217        pub const _0: Self = Self::new(0);
1218
1219        #[doc = "High output"]
1220        pub const _1: Self = Self::new(1);
1221    }
1222    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1223    pub struct Podr05_SPEC;
1224    pub type Podr05 = crate::EnumBitfieldStruct<u8, Podr05_SPEC>;
1225    impl Podr05 {
1226        #[doc = "Low output"]
1227        pub const _0: Self = Self::new(0);
1228
1229        #[doc = "High output"]
1230        pub const _1: Self = Self::new(1);
1231    }
1232    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1233    pub struct Podr06_SPEC;
1234    pub type Podr06 = crate::EnumBitfieldStruct<u8, Podr06_SPEC>;
1235    impl Podr06 {
1236        #[doc = "Low output"]
1237        pub const _0: Self = Self::new(0);
1238
1239        #[doc = "High output"]
1240        pub const _1: Self = Self::new(1);
1241    }
1242    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1243    pub struct Podr07_SPEC;
1244    pub type Podr07 = crate::EnumBitfieldStruct<u8, Podr07_SPEC>;
1245    impl Podr07 {
1246        #[doc = "Low output"]
1247        pub const _0: Self = Self::new(0);
1248
1249        #[doc = "High output"]
1250        pub const _1: Self = Self::new(1);
1251    }
1252    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1253    pub struct Podr08_SPEC;
1254    pub type Podr08 = crate::EnumBitfieldStruct<u8, Podr08_SPEC>;
1255    impl Podr08 {
1256        #[doc = "Low output"]
1257        pub const _0: Self = Self::new(0);
1258
1259        #[doc = "High output"]
1260        pub const _1: Self = Self::new(1);
1261    }
1262    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1263    pub struct Podr09_SPEC;
1264    pub type Podr09 = crate::EnumBitfieldStruct<u8, Podr09_SPEC>;
1265    impl Podr09 {
1266        #[doc = "Low output"]
1267        pub const _0: Self = Self::new(0);
1268
1269        #[doc = "High output"]
1270        pub const _1: Self = Self::new(1);
1271    }
1272    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1273    pub struct Podr10_SPEC;
1274    pub type Podr10 = crate::EnumBitfieldStruct<u8, Podr10_SPEC>;
1275    impl Podr10 {
1276        #[doc = "Low output"]
1277        pub const _0: Self = Self::new(0);
1278
1279        #[doc = "High output"]
1280        pub const _1: Self = Self::new(1);
1281    }
1282    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1283    pub struct Podr11_SPEC;
1284    pub type Podr11 = crate::EnumBitfieldStruct<u8, Podr11_SPEC>;
1285    impl Podr11 {
1286        #[doc = "Low output"]
1287        pub const _0: Self = Self::new(0);
1288
1289        #[doc = "High output"]
1290        pub const _1: Self = Self::new(1);
1291    }
1292    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1293    pub struct Podr12_SPEC;
1294    pub type Podr12 = crate::EnumBitfieldStruct<u8, Podr12_SPEC>;
1295    impl Podr12 {
1296        #[doc = "Low output"]
1297        pub const _0: Self = Self::new(0);
1298
1299        #[doc = "High output"]
1300        pub const _1: Self = Self::new(1);
1301    }
1302    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1303    pub struct Podr13_SPEC;
1304    pub type Podr13 = crate::EnumBitfieldStruct<u8, Podr13_SPEC>;
1305    impl Podr13 {
1306        #[doc = "Low output"]
1307        pub const _0: Self = Self::new(0);
1308
1309        #[doc = "High output"]
1310        pub const _1: Self = Self::new(1);
1311    }
1312    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1313    pub struct Podr14_SPEC;
1314    pub type Podr14 = crate::EnumBitfieldStruct<u8, Podr14_SPEC>;
1315    impl Podr14 {
1316        #[doc = "Low output"]
1317        pub const _0: Self = Self::new(0);
1318
1319        #[doc = "High output"]
1320        pub const _1: Self = Self::new(1);
1321    }
1322    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1323    pub struct Podr15_SPEC;
1324    pub type Podr15 = crate::EnumBitfieldStruct<u8, Podr15_SPEC>;
1325    impl Podr15 {
1326        #[doc = "Low output"]
1327        pub const _0: Self = Self::new(0);
1328
1329        #[doc = "High output"]
1330        pub const _1: Self = Self::new(1);
1331    }
1332}
1333#[doc(hidden)]
1334#[derive(Copy, Clone, Eq, PartialEq)]
1335pub struct Podr_SPEC;
1336impl crate::sealed::RegSpec for Podr_SPEC {
1337    type DataType = u16;
1338}
1339
1340#[doc = "Port Control Register 1"]
1341pub type Podr = crate::RegValueT<Podr_SPEC>;
1342
1343impl Podr {
1344    #[doc = "Pmn Output Data"]
1345    #[inline(always)]
1346    pub fn podr00(
1347        self,
1348    ) -> crate::common::RegisterField<
1349        0,
1350        0x1,
1351        1,
1352        0,
1353        podr::Podr00,
1354        podr::Podr00,
1355        Podr_SPEC,
1356        crate::common::RW,
1357    > {
1358        crate::common::RegisterField::<
1359            0,
1360            0x1,
1361            1,
1362            0,
1363            podr::Podr00,
1364            podr::Podr00,
1365            Podr_SPEC,
1366            crate::common::RW,
1367        >::from_register(self, 0)
1368    }
1369
1370    #[doc = "Pmn Output Data"]
1371    #[inline(always)]
1372    pub fn podr01(
1373        self,
1374    ) -> crate::common::RegisterField<
1375        1,
1376        0x1,
1377        1,
1378        0,
1379        podr::Podr01,
1380        podr::Podr01,
1381        Podr_SPEC,
1382        crate::common::RW,
1383    > {
1384        crate::common::RegisterField::<
1385            1,
1386            0x1,
1387            1,
1388            0,
1389            podr::Podr01,
1390            podr::Podr01,
1391            Podr_SPEC,
1392            crate::common::RW,
1393        >::from_register(self, 0)
1394    }
1395
1396    #[doc = "Pmn Output Data"]
1397    #[inline(always)]
1398    pub fn podr02(
1399        self,
1400    ) -> crate::common::RegisterField<
1401        2,
1402        0x1,
1403        1,
1404        0,
1405        podr::Podr02,
1406        podr::Podr02,
1407        Podr_SPEC,
1408        crate::common::RW,
1409    > {
1410        crate::common::RegisterField::<
1411            2,
1412            0x1,
1413            1,
1414            0,
1415            podr::Podr02,
1416            podr::Podr02,
1417            Podr_SPEC,
1418            crate::common::RW,
1419        >::from_register(self, 0)
1420    }
1421
1422    #[doc = "Pmn Output Data"]
1423    #[inline(always)]
1424    pub fn podr03(
1425        self,
1426    ) -> crate::common::RegisterField<
1427        3,
1428        0x1,
1429        1,
1430        0,
1431        podr::Podr03,
1432        podr::Podr03,
1433        Podr_SPEC,
1434        crate::common::RW,
1435    > {
1436        crate::common::RegisterField::<
1437            3,
1438            0x1,
1439            1,
1440            0,
1441            podr::Podr03,
1442            podr::Podr03,
1443            Podr_SPEC,
1444            crate::common::RW,
1445        >::from_register(self, 0)
1446    }
1447
1448    #[doc = "Pmn Output Data"]
1449    #[inline(always)]
1450    pub fn podr04(
1451        self,
1452    ) -> crate::common::RegisterField<
1453        4,
1454        0x1,
1455        1,
1456        0,
1457        podr::Podr04,
1458        podr::Podr04,
1459        Podr_SPEC,
1460        crate::common::RW,
1461    > {
1462        crate::common::RegisterField::<
1463            4,
1464            0x1,
1465            1,
1466            0,
1467            podr::Podr04,
1468            podr::Podr04,
1469            Podr_SPEC,
1470            crate::common::RW,
1471        >::from_register(self, 0)
1472    }
1473
1474    #[doc = "Pmn Output Data"]
1475    #[inline(always)]
1476    pub fn podr05(
1477        self,
1478    ) -> crate::common::RegisterField<
1479        5,
1480        0x1,
1481        1,
1482        0,
1483        podr::Podr05,
1484        podr::Podr05,
1485        Podr_SPEC,
1486        crate::common::RW,
1487    > {
1488        crate::common::RegisterField::<
1489            5,
1490            0x1,
1491            1,
1492            0,
1493            podr::Podr05,
1494            podr::Podr05,
1495            Podr_SPEC,
1496            crate::common::RW,
1497        >::from_register(self, 0)
1498    }
1499
1500    #[doc = "Pmn Output Data"]
1501    #[inline(always)]
1502    pub fn podr06(
1503        self,
1504    ) -> crate::common::RegisterField<
1505        6,
1506        0x1,
1507        1,
1508        0,
1509        podr::Podr06,
1510        podr::Podr06,
1511        Podr_SPEC,
1512        crate::common::RW,
1513    > {
1514        crate::common::RegisterField::<
1515            6,
1516            0x1,
1517            1,
1518            0,
1519            podr::Podr06,
1520            podr::Podr06,
1521            Podr_SPEC,
1522            crate::common::RW,
1523        >::from_register(self, 0)
1524    }
1525
1526    #[doc = "Pmn Output Data"]
1527    #[inline(always)]
1528    pub fn podr07(
1529        self,
1530    ) -> crate::common::RegisterField<
1531        7,
1532        0x1,
1533        1,
1534        0,
1535        podr::Podr07,
1536        podr::Podr07,
1537        Podr_SPEC,
1538        crate::common::RW,
1539    > {
1540        crate::common::RegisterField::<
1541            7,
1542            0x1,
1543            1,
1544            0,
1545            podr::Podr07,
1546            podr::Podr07,
1547            Podr_SPEC,
1548            crate::common::RW,
1549        >::from_register(self, 0)
1550    }
1551
1552    #[doc = "Pmn Output Data"]
1553    #[inline(always)]
1554    pub fn podr08(
1555        self,
1556    ) -> crate::common::RegisterField<
1557        8,
1558        0x1,
1559        1,
1560        0,
1561        podr::Podr08,
1562        podr::Podr08,
1563        Podr_SPEC,
1564        crate::common::RW,
1565    > {
1566        crate::common::RegisterField::<
1567            8,
1568            0x1,
1569            1,
1570            0,
1571            podr::Podr08,
1572            podr::Podr08,
1573            Podr_SPEC,
1574            crate::common::RW,
1575        >::from_register(self, 0)
1576    }
1577
1578    #[doc = "Pmn Output Data"]
1579    #[inline(always)]
1580    pub fn podr09(
1581        self,
1582    ) -> crate::common::RegisterField<
1583        9,
1584        0x1,
1585        1,
1586        0,
1587        podr::Podr09,
1588        podr::Podr09,
1589        Podr_SPEC,
1590        crate::common::RW,
1591    > {
1592        crate::common::RegisterField::<
1593            9,
1594            0x1,
1595            1,
1596            0,
1597            podr::Podr09,
1598            podr::Podr09,
1599            Podr_SPEC,
1600            crate::common::RW,
1601        >::from_register(self, 0)
1602    }
1603
1604    #[doc = "Pmn Output Data"]
1605    #[inline(always)]
1606    pub fn podr10(
1607        self,
1608    ) -> crate::common::RegisterField<
1609        10,
1610        0x1,
1611        1,
1612        0,
1613        podr::Podr10,
1614        podr::Podr10,
1615        Podr_SPEC,
1616        crate::common::RW,
1617    > {
1618        crate::common::RegisterField::<
1619            10,
1620            0x1,
1621            1,
1622            0,
1623            podr::Podr10,
1624            podr::Podr10,
1625            Podr_SPEC,
1626            crate::common::RW,
1627        >::from_register(self, 0)
1628    }
1629
1630    #[doc = "Pmn Output Data"]
1631    #[inline(always)]
1632    pub fn podr11(
1633        self,
1634    ) -> crate::common::RegisterField<
1635        11,
1636        0x1,
1637        1,
1638        0,
1639        podr::Podr11,
1640        podr::Podr11,
1641        Podr_SPEC,
1642        crate::common::RW,
1643    > {
1644        crate::common::RegisterField::<
1645            11,
1646            0x1,
1647            1,
1648            0,
1649            podr::Podr11,
1650            podr::Podr11,
1651            Podr_SPEC,
1652            crate::common::RW,
1653        >::from_register(self, 0)
1654    }
1655
1656    #[doc = "Pmn Output Data"]
1657    #[inline(always)]
1658    pub fn podr12(
1659        self,
1660    ) -> crate::common::RegisterField<
1661        12,
1662        0x1,
1663        1,
1664        0,
1665        podr::Podr12,
1666        podr::Podr12,
1667        Podr_SPEC,
1668        crate::common::RW,
1669    > {
1670        crate::common::RegisterField::<
1671            12,
1672            0x1,
1673            1,
1674            0,
1675            podr::Podr12,
1676            podr::Podr12,
1677            Podr_SPEC,
1678            crate::common::RW,
1679        >::from_register(self, 0)
1680    }
1681
1682    #[doc = "Pmn Output Data"]
1683    #[inline(always)]
1684    pub fn podr13(
1685        self,
1686    ) -> crate::common::RegisterField<
1687        13,
1688        0x1,
1689        1,
1690        0,
1691        podr::Podr13,
1692        podr::Podr13,
1693        Podr_SPEC,
1694        crate::common::RW,
1695    > {
1696        crate::common::RegisterField::<
1697            13,
1698            0x1,
1699            1,
1700            0,
1701            podr::Podr13,
1702            podr::Podr13,
1703            Podr_SPEC,
1704            crate::common::RW,
1705        >::from_register(self, 0)
1706    }
1707
1708    #[doc = "Pmn Output Data"]
1709    #[inline(always)]
1710    pub fn podr14(
1711        self,
1712    ) -> crate::common::RegisterField<
1713        14,
1714        0x1,
1715        1,
1716        0,
1717        podr::Podr14,
1718        podr::Podr14,
1719        Podr_SPEC,
1720        crate::common::RW,
1721    > {
1722        crate::common::RegisterField::<
1723            14,
1724            0x1,
1725            1,
1726            0,
1727            podr::Podr14,
1728            podr::Podr14,
1729            Podr_SPEC,
1730            crate::common::RW,
1731        >::from_register(self, 0)
1732    }
1733
1734    #[doc = "Pmn Output Data"]
1735    #[inline(always)]
1736    pub fn podr15(
1737        self,
1738    ) -> crate::common::RegisterField<
1739        15,
1740        0x1,
1741        1,
1742        0,
1743        podr::Podr15,
1744        podr::Podr15,
1745        Podr_SPEC,
1746        crate::common::RW,
1747    > {
1748        crate::common::RegisterField::<
1749            15,
1750            0x1,
1751            1,
1752            0,
1753            podr::Podr15,
1754            podr::Podr15,
1755            Podr_SPEC,
1756            crate::common::RW,
1757        >::from_register(self, 0)
1758    }
1759}
1760impl ::core::default::Default for Podr {
1761    #[inline(always)]
1762    fn default() -> Podr {
1763        <crate::RegValueT<Podr_SPEC> as RegisterValue<_>>::new(0)
1764    }
1765}
1766pub mod podr {
1767
1768    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1769    pub struct Podr00_SPEC;
1770    pub type Podr00 = crate::EnumBitfieldStruct<u8, Podr00_SPEC>;
1771    impl Podr00 {
1772        #[doc = "Low output"]
1773        pub const _0: Self = Self::new(0);
1774
1775        #[doc = "High output"]
1776        pub const _1: Self = Self::new(1);
1777    }
1778    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1779    pub struct Podr01_SPEC;
1780    pub type Podr01 = crate::EnumBitfieldStruct<u8, Podr01_SPEC>;
1781    impl Podr01 {
1782        #[doc = "Low output"]
1783        pub const _0: Self = Self::new(0);
1784
1785        #[doc = "High output"]
1786        pub const _1: Self = Self::new(1);
1787    }
1788    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1789    pub struct Podr02_SPEC;
1790    pub type Podr02 = crate::EnumBitfieldStruct<u8, Podr02_SPEC>;
1791    impl Podr02 {
1792        #[doc = "Low output"]
1793        pub const _0: Self = Self::new(0);
1794
1795        #[doc = "High output"]
1796        pub const _1: Self = Self::new(1);
1797    }
1798    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1799    pub struct Podr03_SPEC;
1800    pub type Podr03 = crate::EnumBitfieldStruct<u8, Podr03_SPEC>;
1801    impl Podr03 {
1802        #[doc = "Low output"]
1803        pub const _0: Self = Self::new(0);
1804
1805        #[doc = "High output"]
1806        pub const _1: Self = Self::new(1);
1807    }
1808    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1809    pub struct Podr04_SPEC;
1810    pub type Podr04 = crate::EnumBitfieldStruct<u8, Podr04_SPEC>;
1811    impl Podr04 {
1812        #[doc = "Low output"]
1813        pub const _0: Self = Self::new(0);
1814
1815        #[doc = "High output"]
1816        pub const _1: Self = Self::new(1);
1817    }
1818    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1819    pub struct Podr05_SPEC;
1820    pub type Podr05 = crate::EnumBitfieldStruct<u8, Podr05_SPEC>;
1821    impl Podr05 {
1822        #[doc = "Low output"]
1823        pub const _0: Self = Self::new(0);
1824
1825        #[doc = "High output"]
1826        pub const _1: Self = Self::new(1);
1827    }
1828    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1829    pub struct Podr06_SPEC;
1830    pub type Podr06 = crate::EnumBitfieldStruct<u8, Podr06_SPEC>;
1831    impl Podr06 {
1832        #[doc = "Low output"]
1833        pub const _0: Self = Self::new(0);
1834
1835        #[doc = "High output"]
1836        pub const _1: Self = Self::new(1);
1837    }
1838    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1839    pub struct Podr07_SPEC;
1840    pub type Podr07 = crate::EnumBitfieldStruct<u8, Podr07_SPEC>;
1841    impl Podr07 {
1842        #[doc = "Low output"]
1843        pub const _0: Self = Self::new(0);
1844
1845        #[doc = "High output"]
1846        pub const _1: Self = Self::new(1);
1847    }
1848    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1849    pub struct Podr08_SPEC;
1850    pub type Podr08 = crate::EnumBitfieldStruct<u8, Podr08_SPEC>;
1851    impl Podr08 {
1852        #[doc = "Low output"]
1853        pub const _0: Self = Self::new(0);
1854
1855        #[doc = "High output"]
1856        pub const _1: Self = Self::new(1);
1857    }
1858    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1859    pub struct Podr09_SPEC;
1860    pub type Podr09 = crate::EnumBitfieldStruct<u8, Podr09_SPEC>;
1861    impl Podr09 {
1862        #[doc = "Low output"]
1863        pub const _0: Self = Self::new(0);
1864
1865        #[doc = "High output"]
1866        pub const _1: Self = Self::new(1);
1867    }
1868    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1869    pub struct Podr10_SPEC;
1870    pub type Podr10 = crate::EnumBitfieldStruct<u8, Podr10_SPEC>;
1871    impl Podr10 {
1872        #[doc = "Low output"]
1873        pub const _0: Self = Self::new(0);
1874
1875        #[doc = "High output"]
1876        pub const _1: Self = Self::new(1);
1877    }
1878    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1879    pub struct Podr11_SPEC;
1880    pub type Podr11 = crate::EnumBitfieldStruct<u8, Podr11_SPEC>;
1881    impl Podr11 {
1882        #[doc = "Low output"]
1883        pub const _0: Self = Self::new(0);
1884
1885        #[doc = "High output"]
1886        pub const _1: Self = Self::new(1);
1887    }
1888    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1889    pub struct Podr12_SPEC;
1890    pub type Podr12 = crate::EnumBitfieldStruct<u8, Podr12_SPEC>;
1891    impl Podr12 {
1892        #[doc = "Low output"]
1893        pub const _0: Self = Self::new(0);
1894
1895        #[doc = "High output"]
1896        pub const _1: Self = Self::new(1);
1897    }
1898    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1899    pub struct Podr13_SPEC;
1900    pub type Podr13 = crate::EnumBitfieldStruct<u8, Podr13_SPEC>;
1901    impl Podr13 {
1902        #[doc = "Low output"]
1903        pub const _0: Self = Self::new(0);
1904
1905        #[doc = "High output"]
1906        pub const _1: Self = Self::new(1);
1907    }
1908    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1909    pub struct Podr14_SPEC;
1910    pub type Podr14 = crate::EnumBitfieldStruct<u8, Podr14_SPEC>;
1911    impl Podr14 {
1912        #[doc = "Low output"]
1913        pub const _0: Self = Self::new(0);
1914
1915        #[doc = "High output"]
1916        pub const _1: Self = Self::new(1);
1917    }
1918    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1919    pub struct Podr15_SPEC;
1920    pub type Podr15 = crate::EnumBitfieldStruct<u8, Podr15_SPEC>;
1921    impl Podr15 {
1922        #[doc = "Low output"]
1923        pub const _0: Self = Self::new(0);
1924
1925        #[doc = "High output"]
1926        pub const _1: Self = Self::new(1);
1927    }
1928}
1929#[doc(hidden)]
1930#[derive(Copy, Clone, Eq, PartialEq)]
1931pub struct Pdr_SPEC;
1932impl crate::sealed::RegSpec for Pdr_SPEC {
1933    type DataType = u16;
1934}
1935
1936#[doc = "Port Control Register 1"]
1937pub type Pdr = crate::RegValueT<Pdr_SPEC>;
1938
1939impl Pdr {
1940    #[doc = "Pmn Direction"]
1941    #[inline(always)]
1942    pub fn pdr00(
1943        self,
1944    ) -> crate::common::RegisterField<
1945        0,
1946        0x1,
1947        1,
1948        0,
1949        pdr::Pdr00,
1950        pdr::Pdr00,
1951        Pdr_SPEC,
1952        crate::common::RW,
1953    > {
1954        crate::common::RegisterField::<
1955            0,
1956            0x1,
1957            1,
1958            0,
1959            pdr::Pdr00,
1960            pdr::Pdr00,
1961            Pdr_SPEC,
1962            crate::common::RW,
1963        >::from_register(self, 0)
1964    }
1965
1966    #[doc = "Pmn Direction"]
1967    #[inline(always)]
1968    pub fn pdr01(
1969        self,
1970    ) -> crate::common::RegisterField<
1971        1,
1972        0x1,
1973        1,
1974        0,
1975        pdr::Pdr01,
1976        pdr::Pdr01,
1977        Pdr_SPEC,
1978        crate::common::RW,
1979    > {
1980        crate::common::RegisterField::<
1981            1,
1982            0x1,
1983            1,
1984            0,
1985            pdr::Pdr01,
1986            pdr::Pdr01,
1987            Pdr_SPEC,
1988            crate::common::RW,
1989        >::from_register(self, 0)
1990    }
1991
1992    #[doc = "Pmn Direction"]
1993    #[inline(always)]
1994    pub fn pdr02(
1995        self,
1996    ) -> crate::common::RegisterField<
1997        2,
1998        0x1,
1999        1,
2000        0,
2001        pdr::Pdr02,
2002        pdr::Pdr02,
2003        Pdr_SPEC,
2004        crate::common::RW,
2005    > {
2006        crate::common::RegisterField::<
2007            2,
2008            0x1,
2009            1,
2010            0,
2011            pdr::Pdr02,
2012            pdr::Pdr02,
2013            Pdr_SPEC,
2014            crate::common::RW,
2015        >::from_register(self, 0)
2016    }
2017
2018    #[doc = "Pmn Direction"]
2019    #[inline(always)]
2020    pub fn pdr03(
2021        self,
2022    ) -> crate::common::RegisterField<
2023        3,
2024        0x1,
2025        1,
2026        0,
2027        pdr::Pdr03,
2028        pdr::Pdr03,
2029        Pdr_SPEC,
2030        crate::common::RW,
2031    > {
2032        crate::common::RegisterField::<
2033            3,
2034            0x1,
2035            1,
2036            0,
2037            pdr::Pdr03,
2038            pdr::Pdr03,
2039            Pdr_SPEC,
2040            crate::common::RW,
2041        >::from_register(self, 0)
2042    }
2043
2044    #[doc = "Pmn Direction"]
2045    #[inline(always)]
2046    pub fn pdr04(
2047        self,
2048    ) -> crate::common::RegisterField<
2049        4,
2050        0x1,
2051        1,
2052        0,
2053        pdr::Pdr04,
2054        pdr::Pdr04,
2055        Pdr_SPEC,
2056        crate::common::RW,
2057    > {
2058        crate::common::RegisterField::<
2059            4,
2060            0x1,
2061            1,
2062            0,
2063            pdr::Pdr04,
2064            pdr::Pdr04,
2065            Pdr_SPEC,
2066            crate::common::RW,
2067        >::from_register(self, 0)
2068    }
2069
2070    #[doc = "Pmn Direction"]
2071    #[inline(always)]
2072    pub fn pdr05(
2073        self,
2074    ) -> crate::common::RegisterField<
2075        5,
2076        0x1,
2077        1,
2078        0,
2079        pdr::Pdr05,
2080        pdr::Pdr05,
2081        Pdr_SPEC,
2082        crate::common::RW,
2083    > {
2084        crate::common::RegisterField::<
2085            5,
2086            0x1,
2087            1,
2088            0,
2089            pdr::Pdr05,
2090            pdr::Pdr05,
2091            Pdr_SPEC,
2092            crate::common::RW,
2093        >::from_register(self, 0)
2094    }
2095
2096    #[doc = "Pmn Direction"]
2097    #[inline(always)]
2098    pub fn pdr06(
2099        self,
2100    ) -> crate::common::RegisterField<
2101        6,
2102        0x1,
2103        1,
2104        0,
2105        pdr::Pdr06,
2106        pdr::Pdr06,
2107        Pdr_SPEC,
2108        crate::common::RW,
2109    > {
2110        crate::common::RegisterField::<
2111            6,
2112            0x1,
2113            1,
2114            0,
2115            pdr::Pdr06,
2116            pdr::Pdr06,
2117            Pdr_SPEC,
2118            crate::common::RW,
2119        >::from_register(self, 0)
2120    }
2121
2122    #[doc = "Pmn Direction"]
2123    #[inline(always)]
2124    pub fn pdr07(
2125        self,
2126    ) -> crate::common::RegisterField<
2127        7,
2128        0x1,
2129        1,
2130        0,
2131        pdr::Pdr07,
2132        pdr::Pdr07,
2133        Pdr_SPEC,
2134        crate::common::RW,
2135    > {
2136        crate::common::RegisterField::<
2137            7,
2138            0x1,
2139            1,
2140            0,
2141            pdr::Pdr07,
2142            pdr::Pdr07,
2143            Pdr_SPEC,
2144            crate::common::RW,
2145        >::from_register(self, 0)
2146    }
2147
2148    #[doc = "Pmn Direction"]
2149    #[inline(always)]
2150    pub fn pdr08(
2151        self,
2152    ) -> crate::common::RegisterField<
2153        8,
2154        0x1,
2155        1,
2156        0,
2157        pdr::Pdr08,
2158        pdr::Pdr08,
2159        Pdr_SPEC,
2160        crate::common::RW,
2161    > {
2162        crate::common::RegisterField::<
2163            8,
2164            0x1,
2165            1,
2166            0,
2167            pdr::Pdr08,
2168            pdr::Pdr08,
2169            Pdr_SPEC,
2170            crate::common::RW,
2171        >::from_register(self, 0)
2172    }
2173
2174    #[doc = "Pmn Direction"]
2175    #[inline(always)]
2176    pub fn pdr09(
2177        self,
2178    ) -> crate::common::RegisterField<
2179        9,
2180        0x1,
2181        1,
2182        0,
2183        pdr::Pdr09,
2184        pdr::Pdr09,
2185        Pdr_SPEC,
2186        crate::common::RW,
2187    > {
2188        crate::common::RegisterField::<
2189            9,
2190            0x1,
2191            1,
2192            0,
2193            pdr::Pdr09,
2194            pdr::Pdr09,
2195            Pdr_SPEC,
2196            crate::common::RW,
2197        >::from_register(self, 0)
2198    }
2199
2200    #[doc = "Pmn Direction"]
2201    #[inline(always)]
2202    pub fn pdr10(
2203        self,
2204    ) -> crate::common::RegisterField<
2205        10,
2206        0x1,
2207        1,
2208        0,
2209        pdr::Pdr10,
2210        pdr::Pdr10,
2211        Pdr_SPEC,
2212        crate::common::RW,
2213    > {
2214        crate::common::RegisterField::<
2215            10,
2216            0x1,
2217            1,
2218            0,
2219            pdr::Pdr10,
2220            pdr::Pdr10,
2221            Pdr_SPEC,
2222            crate::common::RW,
2223        >::from_register(self, 0)
2224    }
2225
2226    #[doc = "Pmn Direction"]
2227    #[inline(always)]
2228    pub fn pdr11(
2229        self,
2230    ) -> crate::common::RegisterField<
2231        11,
2232        0x1,
2233        1,
2234        0,
2235        pdr::Pdr11,
2236        pdr::Pdr11,
2237        Pdr_SPEC,
2238        crate::common::RW,
2239    > {
2240        crate::common::RegisterField::<
2241            11,
2242            0x1,
2243            1,
2244            0,
2245            pdr::Pdr11,
2246            pdr::Pdr11,
2247            Pdr_SPEC,
2248            crate::common::RW,
2249        >::from_register(self, 0)
2250    }
2251
2252    #[doc = "Pmn Direction"]
2253    #[inline(always)]
2254    pub fn pdr12(
2255        self,
2256    ) -> crate::common::RegisterField<
2257        12,
2258        0x1,
2259        1,
2260        0,
2261        pdr::Pdr12,
2262        pdr::Pdr12,
2263        Pdr_SPEC,
2264        crate::common::RW,
2265    > {
2266        crate::common::RegisterField::<
2267            12,
2268            0x1,
2269            1,
2270            0,
2271            pdr::Pdr12,
2272            pdr::Pdr12,
2273            Pdr_SPEC,
2274            crate::common::RW,
2275        >::from_register(self, 0)
2276    }
2277
2278    #[doc = "Pmn Direction"]
2279    #[inline(always)]
2280    pub fn pdr13(
2281        self,
2282    ) -> crate::common::RegisterField<
2283        13,
2284        0x1,
2285        1,
2286        0,
2287        pdr::Pdr13,
2288        pdr::Pdr13,
2289        Pdr_SPEC,
2290        crate::common::RW,
2291    > {
2292        crate::common::RegisterField::<
2293            13,
2294            0x1,
2295            1,
2296            0,
2297            pdr::Pdr13,
2298            pdr::Pdr13,
2299            Pdr_SPEC,
2300            crate::common::RW,
2301        >::from_register(self, 0)
2302    }
2303
2304    #[doc = "Pmn Direction"]
2305    #[inline(always)]
2306    pub fn pdr14(
2307        self,
2308    ) -> crate::common::RegisterField<
2309        14,
2310        0x1,
2311        1,
2312        0,
2313        pdr::Pdr14,
2314        pdr::Pdr14,
2315        Pdr_SPEC,
2316        crate::common::RW,
2317    > {
2318        crate::common::RegisterField::<
2319            14,
2320            0x1,
2321            1,
2322            0,
2323            pdr::Pdr14,
2324            pdr::Pdr14,
2325            Pdr_SPEC,
2326            crate::common::RW,
2327        >::from_register(self, 0)
2328    }
2329
2330    #[doc = "Pmn Direction"]
2331    #[inline(always)]
2332    pub fn pdr15(
2333        self,
2334    ) -> crate::common::RegisterField<
2335        15,
2336        0x1,
2337        1,
2338        0,
2339        pdr::Pdr15,
2340        pdr::Pdr15,
2341        Pdr_SPEC,
2342        crate::common::RW,
2343    > {
2344        crate::common::RegisterField::<
2345            15,
2346            0x1,
2347            1,
2348            0,
2349            pdr::Pdr15,
2350            pdr::Pdr15,
2351            Pdr_SPEC,
2352            crate::common::RW,
2353        >::from_register(self, 0)
2354    }
2355}
2356impl ::core::default::Default for Pdr {
2357    #[inline(always)]
2358    fn default() -> Pdr {
2359        <crate::RegValueT<Pdr_SPEC> as RegisterValue<_>>::new(0)
2360    }
2361}
2362pub mod pdr {
2363
2364    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2365    pub struct Pdr00_SPEC;
2366    pub type Pdr00 = crate::EnumBitfieldStruct<u8, Pdr00_SPEC>;
2367    impl Pdr00 {
2368        #[doc = "Input (functions as an input pin)"]
2369        pub const _0: Self = Self::new(0);
2370
2371        #[doc = "Output (functions as an output pin)"]
2372        pub const _1: Self = Self::new(1);
2373    }
2374    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2375    pub struct Pdr01_SPEC;
2376    pub type Pdr01 = crate::EnumBitfieldStruct<u8, Pdr01_SPEC>;
2377    impl Pdr01 {
2378        #[doc = "Input (functions as an input pin)"]
2379        pub const _0: Self = Self::new(0);
2380
2381        #[doc = "Output (functions as an output pin)"]
2382        pub const _1: Self = Self::new(1);
2383    }
2384    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2385    pub struct Pdr02_SPEC;
2386    pub type Pdr02 = crate::EnumBitfieldStruct<u8, Pdr02_SPEC>;
2387    impl Pdr02 {
2388        #[doc = "Input (functions as an input pin)"]
2389        pub const _0: Self = Self::new(0);
2390
2391        #[doc = "Output (functions as an output pin)"]
2392        pub const _1: Self = Self::new(1);
2393    }
2394    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2395    pub struct Pdr03_SPEC;
2396    pub type Pdr03 = crate::EnumBitfieldStruct<u8, Pdr03_SPEC>;
2397    impl Pdr03 {
2398        #[doc = "Input (functions as an input pin)"]
2399        pub const _0: Self = Self::new(0);
2400
2401        #[doc = "Output (functions as an output pin)"]
2402        pub const _1: Self = Self::new(1);
2403    }
2404    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2405    pub struct Pdr04_SPEC;
2406    pub type Pdr04 = crate::EnumBitfieldStruct<u8, Pdr04_SPEC>;
2407    impl Pdr04 {
2408        #[doc = "Input (functions as an input pin)"]
2409        pub const _0: Self = Self::new(0);
2410
2411        #[doc = "Output (functions as an output pin)"]
2412        pub const _1: Self = Self::new(1);
2413    }
2414    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2415    pub struct Pdr05_SPEC;
2416    pub type Pdr05 = crate::EnumBitfieldStruct<u8, Pdr05_SPEC>;
2417    impl Pdr05 {
2418        #[doc = "Input (functions as an input pin)"]
2419        pub const _0: Self = Self::new(0);
2420
2421        #[doc = "Output (functions as an output pin)"]
2422        pub const _1: Self = Self::new(1);
2423    }
2424    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2425    pub struct Pdr06_SPEC;
2426    pub type Pdr06 = crate::EnumBitfieldStruct<u8, Pdr06_SPEC>;
2427    impl Pdr06 {
2428        #[doc = "Input (functions as an input pin)"]
2429        pub const _0: Self = Self::new(0);
2430
2431        #[doc = "Output (functions as an output pin)"]
2432        pub const _1: Self = Self::new(1);
2433    }
2434    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2435    pub struct Pdr07_SPEC;
2436    pub type Pdr07 = crate::EnumBitfieldStruct<u8, Pdr07_SPEC>;
2437    impl Pdr07 {
2438        #[doc = "Input (functions as an input pin)"]
2439        pub const _0: Self = Self::new(0);
2440
2441        #[doc = "Output (functions as an output pin)"]
2442        pub const _1: Self = Self::new(1);
2443    }
2444    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2445    pub struct Pdr08_SPEC;
2446    pub type Pdr08 = crate::EnumBitfieldStruct<u8, Pdr08_SPEC>;
2447    impl Pdr08 {
2448        #[doc = "Input (functions as an input pin)"]
2449        pub const _0: Self = Self::new(0);
2450
2451        #[doc = "Output (functions as an output pin)"]
2452        pub const _1: Self = Self::new(1);
2453    }
2454    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2455    pub struct Pdr09_SPEC;
2456    pub type Pdr09 = crate::EnumBitfieldStruct<u8, Pdr09_SPEC>;
2457    impl Pdr09 {
2458        #[doc = "Input (functions as an input pin)"]
2459        pub const _0: Self = Self::new(0);
2460
2461        #[doc = "Output (functions as an output pin)"]
2462        pub const _1: Self = Self::new(1);
2463    }
2464    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2465    pub struct Pdr10_SPEC;
2466    pub type Pdr10 = crate::EnumBitfieldStruct<u8, Pdr10_SPEC>;
2467    impl Pdr10 {
2468        #[doc = "Input (functions as an input pin)"]
2469        pub const _0: Self = Self::new(0);
2470
2471        #[doc = "Output (functions as an output pin)"]
2472        pub const _1: Self = Self::new(1);
2473    }
2474    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2475    pub struct Pdr11_SPEC;
2476    pub type Pdr11 = crate::EnumBitfieldStruct<u8, Pdr11_SPEC>;
2477    impl Pdr11 {
2478        #[doc = "Input (functions as an input pin)"]
2479        pub const _0: Self = Self::new(0);
2480
2481        #[doc = "Output (functions as an output pin)"]
2482        pub const _1: Self = Self::new(1);
2483    }
2484    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2485    pub struct Pdr12_SPEC;
2486    pub type Pdr12 = crate::EnumBitfieldStruct<u8, Pdr12_SPEC>;
2487    impl Pdr12 {
2488        #[doc = "Input (functions as an input pin)"]
2489        pub const _0: Self = Self::new(0);
2490
2491        #[doc = "Output (functions as an output pin)"]
2492        pub const _1: Self = Self::new(1);
2493    }
2494    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2495    pub struct Pdr13_SPEC;
2496    pub type Pdr13 = crate::EnumBitfieldStruct<u8, Pdr13_SPEC>;
2497    impl Pdr13 {
2498        #[doc = "Input (functions as an input pin)"]
2499        pub const _0: Self = Self::new(0);
2500
2501        #[doc = "Output (functions as an output pin)"]
2502        pub const _1: Self = Self::new(1);
2503    }
2504    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2505    pub struct Pdr14_SPEC;
2506    pub type Pdr14 = crate::EnumBitfieldStruct<u8, Pdr14_SPEC>;
2507    impl Pdr14 {
2508        #[doc = "Input (functions as an input pin)"]
2509        pub const _0: Self = Self::new(0);
2510
2511        #[doc = "Output (functions as an output pin)"]
2512        pub const _1: Self = Self::new(1);
2513    }
2514    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2515    pub struct Pdr15_SPEC;
2516    pub type Pdr15 = crate::EnumBitfieldStruct<u8, Pdr15_SPEC>;
2517    impl Pdr15 {
2518        #[doc = "Input (functions as an input pin)"]
2519        pub const _0: Self = Self::new(0);
2520
2521        #[doc = "Output (functions as an output pin)"]
2522        pub const _1: Self = Self::new(1);
2523    }
2524}
2525#[doc(hidden)]
2526#[derive(Copy, Clone, Eq, PartialEq)]
2527pub struct Pcntr2_SPEC;
2528impl crate::sealed::RegSpec for Pcntr2_SPEC {
2529    type DataType = u32;
2530}
2531
2532#[doc = "Port Control Register 2"]
2533pub type Pcntr2 = crate::RegValueT<Pcntr2_SPEC>;
2534
2535impl Pcntr2 {
2536    #[doc = "Pmn State"]
2537    #[inline(always)]
2538    pub fn pidr00(
2539        self,
2540    ) -> crate::common::RegisterField<
2541        0,
2542        0x1,
2543        1,
2544        0,
2545        pcntr2::Pidr00,
2546        pcntr2::Pidr00,
2547        Pcntr2_SPEC,
2548        crate::common::R,
2549    > {
2550        crate::common::RegisterField::<
2551            0,
2552            0x1,
2553            1,
2554            0,
2555            pcntr2::Pidr00,
2556            pcntr2::Pidr00,
2557            Pcntr2_SPEC,
2558            crate::common::R,
2559        >::from_register(self, 0)
2560    }
2561
2562    #[doc = "Pmn State"]
2563    #[inline(always)]
2564    pub fn pidr01(
2565        self,
2566    ) -> crate::common::RegisterField<
2567        1,
2568        0x1,
2569        1,
2570        0,
2571        pcntr2::Pidr01,
2572        pcntr2::Pidr01,
2573        Pcntr2_SPEC,
2574        crate::common::R,
2575    > {
2576        crate::common::RegisterField::<
2577            1,
2578            0x1,
2579            1,
2580            0,
2581            pcntr2::Pidr01,
2582            pcntr2::Pidr01,
2583            Pcntr2_SPEC,
2584            crate::common::R,
2585        >::from_register(self, 0)
2586    }
2587
2588    #[doc = "Pmn State"]
2589    #[inline(always)]
2590    pub fn pidr02(
2591        self,
2592    ) -> crate::common::RegisterField<
2593        2,
2594        0x1,
2595        1,
2596        0,
2597        pcntr2::Pidr02,
2598        pcntr2::Pidr02,
2599        Pcntr2_SPEC,
2600        crate::common::R,
2601    > {
2602        crate::common::RegisterField::<
2603            2,
2604            0x1,
2605            1,
2606            0,
2607            pcntr2::Pidr02,
2608            pcntr2::Pidr02,
2609            Pcntr2_SPEC,
2610            crate::common::R,
2611        >::from_register(self, 0)
2612    }
2613
2614    #[doc = "Pmn State"]
2615    #[inline(always)]
2616    pub fn pidr03(
2617        self,
2618    ) -> crate::common::RegisterField<
2619        3,
2620        0x1,
2621        1,
2622        0,
2623        pcntr2::Pidr03,
2624        pcntr2::Pidr03,
2625        Pcntr2_SPEC,
2626        crate::common::R,
2627    > {
2628        crate::common::RegisterField::<
2629            3,
2630            0x1,
2631            1,
2632            0,
2633            pcntr2::Pidr03,
2634            pcntr2::Pidr03,
2635            Pcntr2_SPEC,
2636            crate::common::R,
2637        >::from_register(self, 0)
2638    }
2639
2640    #[doc = "Pmn State"]
2641    #[inline(always)]
2642    pub fn pidr04(
2643        self,
2644    ) -> crate::common::RegisterField<
2645        4,
2646        0x1,
2647        1,
2648        0,
2649        pcntr2::Pidr04,
2650        pcntr2::Pidr04,
2651        Pcntr2_SPEC,
2652        crate::common::R,
2653    > {
2654        crate::common::RegisterField::<
2655            4,
2656            0x1,
2657            1,
2658            0,
2659            pcntr2::Pidr04,
2660            pcntr2::Pidr04,
2661            Pcntr2_SPEC,
2662            crate::common::R,
2663        >::from_register(self, 0)
2664    }
2665
2666    #[doc = "Pmn State"]
2667    #[inline(always)]
2668    pub fn pidr05(
2669        self,
2670    ) -> crate::common::RegisterField<
2671        5,
2672        0x1,
2673        1,
2674        0,
2675        pcntr2::Pidr05,
2676        pcntr2::Pidr05,
2677        Pcntr2_SPEC,
2678        crate::common::R,
2679    > {
2680        crate::common::RegisterField::<
2681            5,
2682            0x1,
2683            1,
2684            0,
2685            pcntr2::Pidr05,
2686            pcntr2::Pidr05,
2687            Pcntr2_SPEC,
2688            crate::common::R,
2689        >::from_register(self, 0)
2690    }
2691
2692    #[doc = "Pmn State"]
2693    #[inline(always)]
2694    pub fn pidr06(
2695        self,
2696    ) -> crate::common::RegisterField<
2697        6,
2698        0x1,
2699        1,
2700        0,
2701        pcntr2::Pidr06,
2702        pcntr2::Pidr06,
2703        Pcntr2_SPEC,
2704        crate::common::R,
2705    > {
2706        crate::common::RegisterField::<
2707            6,
2708            0x1,
2709            1,
2710            0,
2711            pcntr2::Pidr06,
2712            pcntr2::Pidr06,
2713            Pcntr2_SPEC,
2714            crate::common::R,
2715        >::from_register(self, 0)
2716    }
2717
2718    #[doc = "Pmn State"]
2719    #[inline(always)]
2720    pub fn pidr07(
2721        self,
2722    ) -> crate::common::RegisterField<
2723        7,
2724        0x1,
2725        1,
2726        0,
2727        pcntr2::Pidr07,
2728        pcntr2::Pidr07,
2729        Pcntr2_SPEC,
2730        crate::common::R,
2731    > {
2732        crate::common::RegisterField::<
2733            7,
2734            0x1,
2735            1,
2736            0,
2737            pcntr2::Pidr07,
2738            pcntr2::Pidr07,
2739            Pcntr2_SPEC,
2740            crate::common::R,
2741        >::from_register(self, 0)
2742    }
2743
2744    #[doc = "Pmn State"]
2745    #[inline(always)]
2746    pub fn pidr08(
2747        self,
2748    ) -> crate::common::RegisterField<
2749        8,
2750        0x1,
2751        1,
2752        0,
2753        pcntr2::Pidr08,
2754        pcntr2::Pidr08,
2755        Pcntr2_SPEC,
2756        crate::common::R,
2757    > {
2758        crate::common::RegisterField::<
2759            8,
2760            0x1,
2761            1,
2762            0,
2763            pcntr2::Pidr08,
2764            pcntr2::Pidr08,
2765            Pcntr2_SPEC,
2766            crate::common::R,
2767        >::from_register(self, 0)
2768    }
2769
2770    #[doc = "Pmn State"]
2771    #[inline(always)]
2772    pub fn pidr09(
2773        self,
2774    ) -> crate::common::RegisterField<
2775        9,
2776        0x1,
2777        1,
2778        0,
2779        pcntr2::Pidr09,
2780        pcntr2::Pidr09,
2781        Pcntr2_SPEC,
2782        crate::common::R,
2783    > {
2784        crate::common::RegisterField::<
2785            9,
2786            0x1,
2787            1,
2788            0,
2789            pcntr2::Pidr09,
2790            pcntr2::Pidr09,
2791            Pcntr2_SPEC,
2792            crate::common::R,
2793        >::from_register(self, 0)
2794    }
2795
2796    #[doc = "Pmn State"]
2797    #[inline(always)]
2798    pub fn pidr10(
2799        self,
2800    ) -> crate::common::RegisterField<
2801        10,
2802        0x1,
2803        1,
2804        0,
2805        pcntr2::Pidr10,
2806        pcntr2::Pidr10,
2807        Pcntr2_SPEC,
2808        crate::common::R,
2809    > {
2810        crate::common::RegisterField::<
2811            10,
2812            0x1,
2813            1,
2814            0,
2815            pcntr2::Pidr10,
2816            pcntr2::Pidr10,
2817            Pcntr2_SPEC,
2818            crate::common::R,
2819        >::from_register(self, 0)
2820    }
2821
2822    #[doc = "Pmn State"]
2823    #[inline(always)]
2824    pub fn pidr11(
2825        self,
2826    ) -> crate::common::RegisterField<
2827        11,
2828        0x1,
2829        1,
2830        0,
2831        pcntr2::Pidr11,
2832        pcntr2::Pidr11,
2833        Pcntr2_SPEC,
2834        crate::common::R,
2835    > {
2836        crate::common::RegisterField::<
2837            11,
2838            0x1,
2839            1,
2840            0,
2841            pcntr2::Pidr11,
2842            pcntr2::Pidr11,
2843            Pcntr2_SPEC,
2844            crate::common::R,
2845        >::from_register(self, 0)
2846    }
2847
2848    #[doc = "Pmn State"]
2849    #[inline(always)]
2850    pub fn pidr12(
2851        self,
2852    ) -> crate::common::RegisterField<
2853        12,
2854        0x1,
2855        1,
2856        0,
2857        pcntr2::Pidr12,
2858        pcntr2::Pidr12,
2859        Pcntr2_SPEC,
2860        crate::common::R,
2861    > {
2862        crate::common::RegisterField::<
2863            12,
2864            0x1,
2865            1,
2866            0,
2867            pcntr2::Pidr12,
2868            pcntr2::Pidr12,
2869            Pcntr2_SPEC,
2870            crate::common::R,
2871        >::from_register(self, 0)
2872    }
2873
2874    #[doc = "Pmn State"]
2875    #[inline(always)]
2876    pub fn pidr13(
2877        self,
2878    ) -> crate::common::RegisterField<
2879        13,
2880        0x1,
2881        1,
2882        0,
2883        pcntr2::Pidr13,
2884        pcntr2::Pidr13,
2885        Pcntr2_SPEC,
2886        crate::common::R,
2887    > {
2888        crate::common::RegisterField::<
2889            13,
2890            0x1,
2891            1,
2892            0,
2893            pcntr2::Pidr13,
2894            pcntr2::Pidr13,
2895            Pcntr2_SPEC,
2896            crate::common::R,
2897        >::from_register(self, 0)
2898    }
2899
2900    #[doc = "Pmn State"]
2901    #[inline(always)]
2902    pub fn pidr14(
2903        self,
2904    ) -> crate::common::RegisterField<
2905        14,
2906        0x1,
2907        1,
2908        0,
2909        pcntr2::Pidr14,
2910        pcntr2::Pidr14,
2911        Pcntr2_SPEC,
2912        crate::common::R,
2913    > {
2914        crate::common::RegisterField::<
2915            14,
2916            0x1,
2917            1,
2918            0,
2919            pcntr2::Pidr14,
2920            pcntr2::Pidr14,
2921            Pcntr2_SPEC,
2922            crate::common::R,
2923        >::from_register(self, 0)
2924    }
2925
2926    #[doc = "Pmn State"]
2927    #[inline(always)]
2928    pub fn pidr15(
2929        self,
2930    ) -> crate::common::RegisterField<
2931        15,
2932        0x1,
2933        1,
2934        0,
2935        pcntr2::Pidr15,
2936        pcntr2::Pidr15,
2937        Pcntr2_SPEC,
2938        crate::common::R,
2939    > {
2940        crate::common::RegisterField::<
2941            15,
2942            0x1,
2943            1,
2944            0,
2945            pcntr2::Pidr15,
2946            pcntr2::Pidr15,
2947            Pcntr2_SPEC,
2948            crate::common::R,
2949        >::from_register(self, 0)
2950    }
2951
2952    #[doc = "Port Event Input Data"]
2953    #[inline(always)]
2954    pub fn eidr00(
2955        self,
2956    ) -> crate::common::RegisterField<
2957        16,
2958        0x1,
2959        1,
2960        0,
2961        pcntr2::Eidr00,
2962        pcntr2::Eidr00,
2963        Pcntr2_SPEC,
2964        crate::common::R,
2965    > {
2966        crate::common::RegisterField::<
2967            16,
2968            0x1,
2969            1,
2970            0,
2971            pcntr2::Eidr00,
2972            pcntr2::Eidr00,
2973            Pcntr2_SPEC,
2974            crate::common::R,
2975        >::from_register(self, 0)
2976    }
2977
2978    #[doc = "Port Event Input Data"]
2979    #[inline(always)]
2980    pub fn eidr01(
2981        self,
2982    ) -> crate::common::RegisterField<
2983        17,
2984        0x1,
2985        1,
2986        0,
2987        pcntr2::Eidr01,
2988        pcntr2::Eidr01,
2989        Pcntr2_SPEC,
2990        crate::common::R,
2991    > {
2992        crate::common::RegisterField::<
2993            17,
2994            0x1,
2995            1,
2996            0,
2997            pcntr2::Eidr01,
2998            pcntr2::Eidr01,
2999            Pcntr2_SPEC,
3000            crate::common::R,
3001        >::from_register(self, 0)
3002    }
3003
3004    #[doc = "Port Event Input Data"]
3005    #[inline(always)]
3006    pub fn eidr02(
3007        self,
3008    ) -> crate::common::RegisterField<
3009        18,
3010        0x1,
3011        1,
3012        0,
3013        pcntr2::Eidr02,
3014        pcntr2::Eidr02,
3015        Pcntr2_SPEC,
3016        crate::common::R,
3017    > {
3018        crate::common::RegisterField::<
3019            18,
3020            0x1,
3021            1,
3022            0,
3023            pcntr2::Eidr02,
3024            pcntr2::Eidr02,
3025            Pcntr2_SPEC,
3026            crate::common::R,
3027        >::from_register(self, 0)
3028    }
3029
3030    #[doc = "Port Event Input Data"]
3031    #[inline(always)]
3032    pub fn eidr03(
3033        self,
3034    ) -> crate::common::RegisterField<
3035        19,
3036        0x1,
3037        1,
3038        0,
3039        pcntr2::Eidr03,
3040        pcntr2::Eidr03,
3041        Pcntr2_SPEC,
3042        crate::common::R,
3043    > {
3044        crate::common::RegisterField::<
3045            19,
3046            0x1,
3047            1,
3048            0,
3049            pcntr2::Eidr03,
3050            pcntr2::Eidr03,
3051            Pcntr2_SPEC,
3052            crate::common::R,
3053        >::from_register(self, 0)
3054    }
3055
3056    #[doc = "Port Event Input Data"]
3057    #[inline(always)]
3058    pub fn eidr04(
3059        self,
3060    ) -> crate::common::RegisterField<
3061        20,
3062        0x1,
3063        1,
3064        0,
3065        pcntr2::Eidr04,
3066        pcntr2::Eidr04,
3067        Pcntr2_SPEC,
3068        crate::common::R,
3069    > {
3070        crate::common::RegisterField::<
3071            20,
3072            0x1,
3073            1,
3074            0,
3075            pcntr2::Eidr04,
3076            pcntr2::Eidr04,
3077            Pcntr2_SPEC,
3078            crate::common::R,
3079        >::from_register(self, 0)
3080    }
3081
3082    #[doc = "Port Event Input Data"]
3083    #[inline(always)]
3084    pub fn eidr05(
3085        self,
3086    ) -> crate::common::RegisterField<
3087        21,
3088        0x1,
3089        1,
3090        0,
3091        pcntr2::Eidr05,
3092        pcntr2::Eidr05,
3093        Pcntr2_SPEC,
3094        crate::common::R,
3095    > {
3096        crate::common::RegisterField::<
3097            21,
3098            0x1,
3099            1,
3100            0,
3101            pcntr2::Eidr05,
3102            pcntr2::Eidr05,
3103            Pcntr2_SPEC,
3104            crate::common::R,
3105        >::from_register(self, 0)
3106    }
3107
3108    #[doc = "Port Event Input Data"]
3109    #[inline(always)]
3110    pub fn eidr06(
3111        self,
3112    ) -> crate::common::RegisterField<
3113        22,
3114        0x1,
3115        1,
3116        0,
3117        pcntr2::Eidr06,
3118        pcntr2::Eidr06,
3119        Pcntr2_SPEC,
3120        crate::common::R,
3121    > {
3122        crate::common::RegisterField::<
3123            22,
3124            0x1,
3125            1,
3126            0,
3127            pcntr2::Eidr06,
3128            pcntr2::Eidr06,
3129            Pcntr2_SPEC,
3130            crate::common::R,
3131        >::from_register(self, 0)
3132    }
3133
3134    #[doc = "Port Event Input Data"]
3135    #[inline(always)]
3136    pub fn eidr07(
3137        self,
3138    ) -> crate::common::RegisterField<
3139        23,
3140        0x1,
3141        1,
3142        0,
3143        pcntr2::Eidr07,
3144        pcntr2::Eidr07,
3145        Pcntr2_SPEC,
3146        crate::common::R,
3147    > {
3148        crate::common::RegisterField::<
3149            23,
3150            0x1,
3151            1,
3152            0,
3153            pcntr2::Eidr07,
3154            pcntr2::Eidr07,
3155            Pcntr2_SPEC,
3156            crate::common::R,
3157        >::from_register(self, 0)
3158    }
3159
3160    #[doc = "Port Event Input Data"]
3161    #[inline(always)]
3162    pub fn eidr08(
3163        self,
3164    ) -> crate::common::RegisterField<
3165        24,
3166        0x1,
3167        1,
3168        0,
3169        pcntr2::Eidr08,
3170        pcntr2::Eidr08,
3171        Pcntr2_SPEC,
3172        crate::common::R,
3173    > {
3174        crate::common::RegisterField::<
3175            24,
3176            0x1,
3177            1,
3178            0,
3179            pcntr2::Eidr08,
3180            pcntr2::Eidr08,
3181            Pcntr2_SPEC,
3182            crate::common::R,
3183        >::from_register(self, 0)
3184    }
3185
3186    #[doc = "Port Event Input Data"]
3187    #[inline(always)]
3188    pub fn eidr09(
3189        self,
3190    ) -> crate::common::RegisterField<
3191        25,
3192        0x1,
3193        1,
3194        0,
3195        pcntr2::Eidr09,
3196        pcntr2::Eidr09,
3197        Pcntr2_SPEC,
3198        crate::common::R,
3199    > {
3200        crate::common::RegisterField::<
3201            25,
3202            0x1,
3203            1,
3204            0,
3205            pcntr2::Eidr09,
3206            pcntr2::Eidr09,
3207            Pcntr2_SPEC,
3208            crate::common::R,
3209        >::from_register(self, 0)
3210    }
3211
3212    #[doc = "Port Event Input Data"]
3213    #[inline(always)]
3214    pub fn eidr10(
3215        self,
3216    ) -> crate::common::RegisterField<
3217        26,
3218        0x1,
3219        1,
3220        0,
3221        pcntr2::Eidr10,
3222        pcntr2::Eidr10,
3223        Pcntr2_SPEC,
3224        crate::common::R,
3225    > {
3226        crate::common::RegisterField::<
3227            26,
3228            0x1,
3229            1,
3230            0,
3231            pcntr2::Eidr10,
3232            pcntr2::Eidr10,
3233            Pcntr2_SPEC,
3234            crate::common::R,
3235        >::from_register(self, 0)
3236    }
3237
3238    #[doc = "Port Event Input Data"]
3239    #[inline(always)]
3240    pub fn eidr11(
3241        self,
3242    ) -> crate::common::RegisterField<
3243        27,
3244        0x1,
3245        1,
3246        0,
3247        pcntr2::Eidr11,
3248        pcntr2::Eidr11,
3249        Pcntr2_SPEC,
3250        crate::common::R,
3251    > {
3252        crate::common::RegisterField::<
3253            27,
3254            0x1,
3255            1,
3256            0,
3257            pcntr2::Eidr11,
3258            pcntr2::Eidr11,
3259            Pcntr2_SPEC,
3260            crate::common::R,
3261        >::from_register(self, 0)
3262    }
3263
3264    #[doc = "Port Event Input Data"]
3265    #[inline(always)]
3266    pub fn eidr12(
3267        self,
3268    ) -> crate::common::RegisterField<
3269        28,
3270        0x1,
3271        1,
3272        0,
3273        pcntr2::Eidr12,
3274        pcntr2::Eidr12,
3275        Pcntr2_SPEC,
3276        crate::common::R,
3277    > {
3278        crate::common::RegisterField::<
3279            28,
3280            0x1,
3281            1,
3282            0,
3283            pcntr2::Eidr12,
3284            pcntr2::Eidr12,
3285            Pcntr2_SPEC,
3286            crate::common::R,
3287        >::from_register(self, 0)
3288    }
3289
3290    #[doc = "Port Event Input Data"]
3291    #[inline(always)]
3292    pub fn eidr13(
3293        self,
3294    ) -> crate::common::RegisterField<
3295        29,
3296        0x1,
3297        1,
3298        0,
3299        pcntr2::Eidr13,
3300        pcntr2::Eidr13,
3301        Pcntr2_SPEC,
3302        crate::common::R,
3303    > {
3304        crate::common::RegisterField::<
3305            29,
3306            0x1,
3307            1,
3308            0,
3309            pcntr2::Eidr13,
3310            pcntr2::Eidr13,
3311            Pcntr2_SPEC,
3312            crate::common::R,
3313        >::from_register(self, 0)
3314    }
3315
3316    #[doc = "Port Event Input Data"]
3317    #[inline(always)]
3318    pub fn eidr14(
3319        self,
3320    ) -> crate::common::RegisterField<
3321        30,
3322        0x1,
3323        1,
3324        0,
3325        pcntr2::Eidr14,
3326        pcntr2::Eidr14,
3327        Pcntr2_SPEC,
3328        crate::common::R,
3329    > {
3330        crate::common::RegisterField::<
3331            30,
3332            0x1,
3333            1,
3334            0,
3335            pcntr2::Eidr14,
3336            pcntr2::Eidr14,
3337            Pcntr2_SPEC,
3338            crate::common::R,
3339        >::from_register(self, 0)
3340    }
3341
3342    #[doc = "Port Event Input Data"]
3343    #[inline(always)]
3344    pub fn eidr15(
3345        self,
3346    ) -> crate::common::RegisterField<
3347        31,
3348        0x1,
3349        1,
3350        0,
3351        pcntr2::Eidr15,
3352        pcntr2::Eidr15,
3353        Pcntr2_SPEC,
3354        crate::common::R,
3355    > {
3356        crate::common::RegisterField::<
3357            31,
3358            0x1,
3359            1,
3360            0,
3361            pcntr2::Eidr15,
3362            pcntr2::Eidr15,
3363            Pcntr2_SPEC,
3364            crate::common::R,
3365        >::from_register(self, 0)
3366    }
3367}
3368impl ::core::default::Default for Pcntr2 {
3369    #[inline(always)]
3370    fn default() -> Pcntr2 {
3371        <crate::RegValueT<Pcntr2_SPEC> as RegisterValue<_>>::new(0)
3372    }
3373}
3374pub mod pcntr2 {
3375
3376    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3377    pub struct Pidr00_SPEC;
3378    pub type Pidr00 = crate::EnumBitfieldStruct<u8, Pidr00_SPEC>;
3379    impl Pidr00 {
3380        #[doc = "Low level"]
3381        pub const _0: Self = Self::new(0);
3382
3383        #[doc = "High level"]
3384        pub const _1: Self = Self::new(1);
3385    }
3386    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3387    pub struct Pidr01_SPEC;
3388    pub type Pidr01 = crate::EnumBitfieldStruct<u8, Pidr01_SPEC>;
3389    impl Pidr01 {
3390        #[doc = "Low level"]
3391        pub const _0: Self = Self::new(0);
3392
3393        #[doc = "High level"]
3394        pub const _1: Self = Self::new(1);
3395    }
3396    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3397    pub struct Pidr02_SPEC;
3398    pub type Pidr02 = crate::EnumBitfieldStruct<u8, Pidr02_SPEC>;
3399    impl Pidr02 {
3400        #[doc = "Low level"]
3401        pub const _0: Self = Self::new(0);
3402
3403        #[doc = "High level"]
3404        pub const _1: Self = Self::new(1);
3405    }
3406    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3407    pub struct Pidr03_SPEC;
3408    pub type Pidr03 = crate::EnumBitfieldStruct<u8, Pidr03_SPEC>;
3409    impl Pidr03 {
3410        #[doc = "Low level"]
3411        pub const _0: Self = Self::new(0);
3412
3413        #[doc = "High level"]
3414        pub const _1: Self = Self::new(1);
3415    }
3416    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3417    pub struct Pidr04_SPEC;
3418    pub type Pidr04 = crate::EnumBitfieldStruct<u8, Pidr04_SPEC>;
3419    impl Pidr04 {
3420        #[doc = "Low level"]
3421        pub const _0: Self = Self::new(0);
3422
3423        #[doc = "High level"]
3424        pub const _1: Self = Self::new(1);
3425    }
3426    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3427    pub struct Pidr05_SPEC;
3428    pub type Pidr05 = crate::EnumBitfieldStruct<u8, Pidr05_SPEC>;
3429    impl Pidr05 {
3430        #[doc = "Low level"]
3431        pub const _0: Self = Self::new(0);
3432
3433        #[doc = "High level"]
3434        pub const _1: Self = Self::new(1);
3435    }
3436    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3437    pub struct Pidr06_SPEC;
3438    pub type Pidr06 = crate::EnumBitfieldStruct<u8, Pidr06_SPEC>;
3439    impl Pidr06 {
3440        #[doc = "Low level"]
3441        pub const _0: Self = Self::new(0);
3442
3443        #[doc = "High level"]
3444        pub const _1: Self = Self::new(1);
3445    }
3446    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3447    pub struct Pidr07_SPEC;
3448    pub type Pidr07 = crate::EnumBitfieldStruct<u8, Pidr07_SPEC>;
3449    impl Pidr07 {
3450        #[doc = "Low level"]
3451        pub const _0: Self = Self::new(0);
3452
3453        #[doc = "High level"]
3454        pub const _1: Self = Self::new(1);
3455    }
3456    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3457    pub struct Pidr08_SPEC;
3458    pub type Pidr08 = crate::EnumBitfieldStruct<u8, Pidr08_SPEC>;
3459    impl Pidr08 {
3460        #[doc = "Low level"]
3461        pub const _0: Self = Self::new(0);
3462
3463        #[doc = "High level"]
3464        pub const _1: Self = Self::new(1);
3465    }
3466    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3467    pub struct Pidr09_SPEC;
3468    pub type Pidr09 = crate::EnumBitfieldStruct<u8, Pidr09_SPEC>;
3469    impl Pidr09 {
3470        #[doc = "Low level"]
3471        pub const _0: Self = Self::new(0);
3472
3473        #[doc = "High level"]
3474        pub const _1: Self = Self::new(1);
3475    }
3476    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3477    pub struct Pidr10_SPEC;
3478    pub type Pidr10 = crate::EnumBitfieldStruct<u8, Pidr10_SPEC>;
3479    impl Pidr10 {
3480        #[doc = "Low level"]
3481        pub const _0: Self = Self::new(0);
3482
3483        #[doc = "High level"]
3484        pub const _1: Self = Self::new(1);
3485    }
3486    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3487    pub struct Pidr11_SPEC;
3488    pub type Pidr11 = crate::EnumBitfieldStruct<u8, Pidr11_SPEC>;
3489    impl Pidr11 {
3490        #[doc = "Low level"]
3491        pub const _0: Self = Self::new(0);
3492
3493        #[doc = "High level"]
3494        pub const _1: Self = Self::new(1);
3495    }
3496    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3497    pub struct Pidr12_SPEC;
3498    pub type Pidr12 = crate::EnumBitfieldStruct<u8, Pidr12_SPEC>;
3499    impl Pidr12 {
3500        #[doc = "Low level"]
3501        pub const _0: Self = Self::new(0);
3502
3503        #[doc = "High level"]
3504        pub const _1: Self = Self::new(1);
3505    }
3506    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3507    pub struct Pidr13_SPEC;
3508    pub type Pidr13 = crate::EnumBitfieldStruct<u8, Pidr13_SPEC>;
3509    impl Pidr13 {
3510        #[doc = "Low level"]
3511        pub const _0: Self = Self::new(0);
3512
3513        #[doc = "High level"]
3514        pub const _1: Self = Self::new(1);
3515    }
3516    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3517    pub struct Pidr14_SPEC;
3518    pub type Pidr14 = crate::EnumBitfieldStruct<u8, Pidr14_SPEC>;
3519    impl Pidr14 {
3520        #[doc = "Low level"]
3521        pub const _0: Self = Self::new(0);
3522
3523        #[doc = "High level"]
3524        pub const _1: Self = Self::new(1);
3525    }
3526    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3527    pub struct Pidr15_SPEC;
3528    pub type Pidr15 = crate::EnumBitfieldStruct<u8, Pidr15_SPEC>;
3529    impl Pidr15 {
3530        #[doc = "Low level"]
3531        pub const _0: Self = Self::new(0);
3532
3533        #[doc = "High level"]
3534        pub const _1: Self = Self::new(1);
3535    }
3536    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3537    pub struct Eidr00_SPEC;
3538    pub type Eidr00 = crate::EnumBitfieldStruct<u8, Eidr00_SPEC>;
3539    impl Eidr00 {
3540        #[doc = "Low input"]
3541        pub const _0: Self = Self::new(0);
3542
3543        #[doc = "High input"]
3544        pub const _1: Self = Self::new(1);
3545    }
3546    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3547    pub struct Eidr01_SPEC;
3548    pub type Eidr01 = crate::EnumBitfieldStruct<u8, Eidr01_SPEC>;
3549    impl Eidr01 {
3550        #[doc = "Low input"]
3551        pub const _0: Self = Self::new(0);
3552
3553        #[doc = "High input"]
3554        pub const _1: Self = Self::new(1);
3555    }
3556    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3557    pub struct Eidr02_SPEC;
3558    pub type Eidr02 = crate::EnumBitfieldStruct<u8, Eidr02_SPEC>;
3559    impl Eidr02 {
3560        #[doc = "Low input"]
3561        pub const _0: Self = Self::new(0);
3562
3563        #[doc = "High input"]
3564        pub const _1: Self = Self::new(1);
3565    }
3566    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3567    pub struct Eidr03_SPEC;
3568    pub type Eidr03 = crate::EnumBitfieldStruct<u8, Eidr03_SPEC>;
3569    impl Eidr03 {
3570        #[doc = "Low input"]
3571        pub const _0: Self = Self::new(0);
3572
3573        #[doc = "High input"]
3574        pub const _1: Self = Self::new(1);
3575    }
3576    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3577    pub struct Eidr04_SPEC;
3578    pub type Eidr04 = crate::EnumBitfieldStruct<u8, Eidr04_SPEC>;
3579    impl Eidr04 {
3580        #[doc = "Low input"]
3581        pub const _0: Self = Self::new(0);
3582
3583        #[doc = "High input"]
3584        pub const _1: Self = Self::new(1);
3585    }
3586    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3587    pub struct Eidr05_SPEC;
3588    pub type Eidr05 = crate::EnumBitfieldStruct<u8, Eidr05_SPEC>;
3589    impl Eidr05 {
3590        #[doc = "Low input"]
3591        pub const _0: Self = Self::new(0);
3592
3593        #[doc = "High input"]
3594        pub const _1: Self = Self::new(1);
3595    }
3596    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3597    pub struct Eidr06_SPEC;
3598    pub type Eidr06 = crate::EnumBitfieldStruct<u8, Eidr06_SPEC>;
3599    impl Eidr06 {
3600        #[doc = "Low input"]
3601        pub const _0: Self = Self::new(0);
3602
3603        #[doc = "High input"]
3604        pub const _1: Self = Self::new(1);
3605    }
3606    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3607    pub struct Eidr07_SPEC;
3608    pub type Eidr07 = crate::EnumBitfieldStruct<u8, Eidr07_SPEC>;
3609    impl Eidr07 {
3610        #[doc = "Low input"]
3611        pub const _0: Self = Self::new(0);
3612
3613        #[doc = "High input"]
3614        pub const _1: Self = Self::new(1);
3615    }
3616    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3617    pub struct Eidr08_SPEC;
3618    pub type Eidr08 = crate::EnumBitfieldStruct<u8, Eidr08_SPEC>;
3619    impl Eidr08 {
3620        #[doc = "Low input"]
3621        pub const _0: Self = Self::new(0);
3622
3623        #[doc = "High input"]
3624        pub const _1: Self = Self::new(1);
3625    }
3626    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3627    pub struct Eidr09_SPEC;
3628    pub type Eidr09 = crate::EnumBitfieldStruct<u8, Eidr09_SPEC>;
3629    impl Eidr09 {
3630        #[doc = "Low input"]
3631        pub const _0: Self = Self::new(0);
3632
3633        #[doc = "High input"]
3634        pub const _1: Self = Self::new(1);
3635    }
3636    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3637    pub struct Eidr10_SPEC;
3638    pub type Eidr10 = crate::EnumBitfieldStruct<u8, Eidr10_SPEC>;
3639    impl Eidr10 {
3640        #[doc = "Low input"]
3641        pub const _0: Self = Self::new(0);
3642
3643        #[doc = "High input"]
3644        pub const _1: Self = Self::new(1);
3645    }
3646    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3647    pub struct Eidr11_SPEC;
3648    pub type Eidr11 = crate::EnumBitfieldStruct<u8, Eidr11_SPEC>;
3649    impl Eidr11 {
3650        #[doc = "Low input"]
3651        pub const _0: Self = Self::new(0);
3652
3653        #[doc = "High input"]
3654        pub const _1: Self = Self::new(1);
3655    }
3656    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3657    pub struct Eidr12_SPEC;
3658    pub type Eidr12 = crate::EnumBitfieldStruct<u8, Eidr12_SPEC>;
3659    impl Eidr12 {
3660        #[doc = "Low input"]
3661        pub const _0: Self = Self::new(0);
3662
3663        #[doc = "High input"]
3664        pub const _1: Self = Self::new(1);
3665    }
3666    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3667    pub struct Eidr13_SPEC;
3668    pub type Eidr13 = crate::EnumBitfieldStruct<u8, Eidr13_SPEC>;
3669    impl Eidr13 {
3670        #[doc = "Low input"]
3671        pub const _0: Self = Self::new(0);
3672
3673        #[doc = "High input"]
3674        pub const _1: Self = Self::new(1);
3675    }
3676    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3677    pub struct Eidr14_SPEC;
3678    pub type Eidr14 = crate::EnumBitfieldStruct<u8, Eidr14_SPEC>;
3679    impl Eidr14 {
3680        #[doc = "Low input"]
3681        pub const _0: Self = Self::new(0);
3682
3683        #[doc = "High input"]
3684        pub const _1: Self = Self::new(1);
3685    }
3686    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3687    pub struct Eidr15_SPEC;
3688    pub type Eidr15 = crate::EnumBitfieldStruct<u8, Eidr15_SPEC>;
3689    impl Eidr15 {
3690        #[doc = "Low input"]
3691        pub const _0: Self = Self::new(0);
3692
3693        #[doc = "High input"]
3694        pub const _1: Self = Self::new(1);
3695    }
3696}
3697#[doc(hidden)]
3698#[derive(Copy, Clone, Eq, PartialEq)]
3699pub struct Eidr_SPEC;
3700impl crate::sealed::RegSpec for Eidr_SPEC {
3701    type DataType = u16;
3702}
3703
3704#[doc = "Port Control Register 2"]
3705pub type Eidr = crate::RegValueT<Eidr_SPEC>;
3706
3707impl Eidr {
3708    #[doc = "Port Event Input Data"]
3709    #[inline(always)]
3710    pub fn eidr00(
3711        self,
3712    ) -> crate::common::RegisterField<
3713        0,
3714        0x1,
3715        1,
3716        0,
3717        eidr::Eidr00,
3718        eidr::Eidr00,
3719        Eidr_SPEC,
3720        crate::common::R,
3721    > {
3722        crate::common::RegisterField::<
3723            0,
3724            0x1,
3725            1,
3726            0,
3727            eidr::Eidr00,
3728            eidr::Eidr00,
3729            Eidr_SPEC,
3730            crate::common::R,
3731        >::from_register(self, 0)
3732    }
3733
3734    #[doc = "Port Event Input Data"]
3735    #[inline(always)]
3736    pub fn eidr01(
3737        self,
3738    ) -> crate::common::RegisterField<
3739        1,
3740        0x1,
3741        1,
3742        0,
3743        eidr::Eidr01,
3744        eidr::Eidr01,
3745        Eidr_SPEC,
3746        crate::common::R,
3747    > {
3748        crate::common::RegisterField::<
3749            1,
3750            0x1,
3751            1,
3752            0,
3753            eidr::Eidr01,
3754            eidr::Eidr01,
3755            Eidr_SPEC,
3756            crate::common::R,
3757        >::from_register(self, 0)
3758    }
3759
3760    #[doc = "Port Event Input Data"]
3761    #[inline(always)]
3762    pub fn eidr02(
3763        self,
3764    ) -> crate::common::RegisterField<
3765        2,
3766        0x1,
3767        1,
3768        0,
3769        eidr::Eidr02,
3770        eidr::Eidr02,
3771        Eidr_SPEC,
3772        crate::common::R,
3773    > {
3774        crate::common::RegisterField::<
3775            2,
3776            0x1,
3777            1,
3778            0,
3779            eidr::Eidr02,
3780            eidr::Eidr02,
3781            Eidr_SPEC,
3782            crate::common::R,
3783        >::from_register(self, 0)
3784    }
3785
3786    #[doc = "Port Event Input Data"]
3787    #[inline(always)]
3788    pub fn eidr03(
3789        self,
3790    ) -> crate::common::RegisterField<
3791        3,
3792        0x1,
3793        1,
3794        0,
3795        eidr::Eidr03,
3796        eidr::Eidr03,
3797        Eidr_SPEC,
3798        crate::common::R,
3799    > {
3800        crate::common::RegisterField::<
3801            3,
3802            0x1,
3803            1,
3804            0,
3805            eidr::Eidr03,
3806            eidr::Eidr03,
3807            Eidr_SPEC,
3808            crate::common::R,
3809        >::from_register(self, 0)
3810    }
3811
3812    #[doc = "Port Event Input Data"]
3813    #[inline(always)]
3814    pub fn eidr04(
3815        self,
3816    ) -> crate::common::RegisterField<
3817        4,
3818        0x1,
3819        1,
3820        0,
3821        eidr::Eidr04,
3822        eidr::Eidr04,
3823        Eidr_SPEC,
3824        crate::common::R,
3825    > {
3826        crate::common::RegisterField::<
3827            4,
3828            0x1,
3829            1,
3830            0,
3831            eidr::Eidr04,
3832            eidr::Eidr04,
3833            Eidr_SPEC,
3834            crate::common::R,
3835        >::from_register(self, 0)
3836    }
3837
3838    #[doc = "Port Event Input Data"]
3839    #[inline(always)]
3840    pub fn eidr05(
3841        self,
3842    ) -> crate::common::RegisterField<
3843        5,
3844        0x1,
3845        1,
3846        0,
3847        eidr::Eidr05,
3848        eidr::Eidr05,
3849        Eidr_SPEC,
3850        crate::common::R,
3851    > {
3852        crate::common::RegisterField::<
3853            5,
3854            0x1,
3855            1,
3856            0,
3857            eidr::Eidr05,
3858            eidr::Eidr05,
3859            Eidr_SPEC,
3860            crate::common::R,
3861        >::from_register(self, 0)
3862    }
3863
3864    #[doc = "Port Event Input Data"]
3865    #[inline(always)]
3866    pub fn eidr06(
3867        self,
3868    ) -> crate::common::RegisterField<
3869        6,
3870        0x1,
3871        1,
3872        0,
3873        eidr::Eidr06,
3874        eidr::Eidr06,
3875        Eidr_SPEC,
3876        crate::common::R,
3877    > {
3878        crate::common::RegisterField::<
3879            6,
3880            0x1,
3881            1,
3882            0,
3883            eidr::Eidr06,
3884            eidr::Eidr06,
3885            Eidr_SPEC,
3886            crate::common::R,
3887        >::from_register(self, 0)
3888    }
3889
3890    #[doc = "Port Event Input Data"]
3891    #[inline(always)]
3892    pub fn eidr07(
3893        self,
3894    ) -> crate::common::RegisterField<
3895        7,
3896        0x1,
3897        1,
3898        0,
3899        eidr::Eidr07,
3900        eidr::Eidr07,
3901        Eidr_SPEC,
3902        crate::common::R,
3903    > {
3904        crate::common::RegisterField::<
3905            7,
3906            0x1,
3907            1,
3908            0,
3909            eidr::Eidr07,
3910            eidr::Eidr07,
3911            Eidr_SPEC,
3912            crate::common::R,
3913        >::from_register(self, 0)
3914    }
3915
3916    #[doc = "Port Event Input Data"]
3917    #[inline(always)]
3918    pub fn eidr08(
3919        self,
3920    ) -> crate::common::RegisterField<
3921        8,
3922        0x1,
3923        1,
3924        0,
3925        eidr::Eidr08,
3926        eidr::Eidr08,
3927        Eidr_SPEC,
3928        crate::common::R,
3929    > {
3930        crate::common::RegisterField::<
3931            8,
3932            0x1,
3933            1,
3934            0,
3935            eidr::Eidr08,
3936            eidr::Eidr08,
3937            Eidr_SPEC,
3938            crate::common::R,
3939        >::from_register(self, 0)
3940    }
3941
3942    #[doc = "Port Event Input Data"]
3943    #[inline(always)]
3944    pub fn eidr09(
3945        self,
3946    ) -> crate::common::RegisterField<
3947        9,
3948        0x1,
3949        1,
3950        0,
3951        eidr::Eidr09,
3952        eidr::Eidr09,
3953        Eidr_SPEC,
3954        crate::common::R,
3955    > {
3956        crate::common::RegisterField::<
3957            9,
3958            0x1,
3959            1,
3960            0,
3961            eidr::Eidr09,
3962            eidr::Eidr09,
3963            Eidr_SPEC,
3964            crate::common::R,
3965        >::from_register(self, 0)
3966    }
3967
3968    #[doc = "Port Event Input Data"]
3969    #[inline(always)]
3970    pub fn eidr10(
3971        self,
3972    ) -> crate::common::RegisterField<
3973        10,
3974        0x1,
3975        1,
3976        0,
3977        eidr::Eidr10,
3978        eidr::Eidr10,
3979        Eidr_SPEC,
3980        crate::common::R,
3981    > {
3982        crate::common::RegisterField::<
3983            10,
3984            0x1,
3985            1,
3986            0,
3987            eidr::Eidr10,
3988            eidr::Eidr10,
3989            Eidr_SPEC,
3990            crate::common::R,
3991        >::from_register(self, 0)
3992    }
3993
3994    #[doc = "Port Event Input Data"]
3995    #[inline(always)]
3996    pub fn eidr11(
3997        self,
3998    ) -> crate::common::RegisterField<
3999        11,
4000        0x1,
4001        1,
4002        0,
4003        eidr::Eidr11,
4004        eidr::Eidr11,
4005        Eidr_SPEC,
4006        crate::common::R,
4007    > {
4008        crate::common::RegisterField::<
4009            11,
4010            0x1,
4011            1,
4012            0,
4013            eidr::Eidr11,
4014            eidr::Eidr11,
4015            Eidr_SPEC,
4016            crate::common::R,
4017        >::from_register(self, 0)
4018    }
4019
4020    #[doc = "Port Event Input Data"]
4021    #[inline(always)]
4022    pub fn eidr12(
4023        self,
4024    ) -> crate::common::RegisterField<
4025        12,
4026        0x1,
4027        1,
4028        0,
4029        eidr::Eidr12,
4030        eidr::Eidr12,
4031        Eidr_SPEC,
4032        crate::common::R,
4033    > {
4034        crate::common::RegisterField::<
4035            12,
4036            0x1,
4037            1,
4038            0,
4039            eidr::Eidr12,
4040            eidr::Eidr12,
4041            Eidr_SPEC,
4042            crate::common::R,
4043        >::from_register(self, 0)
4044    }
4045
4046    #[doc = "Port Event Input Data"]
4047    #[inline(always)]
4048    pub fn eidr13(
4049        self,
4050    ) -> crate::common::RegisterField<
4051        13,
4052        0x1,
4053        1,
4054        0,
4055        eidr::Eidr13,
4056        eidr::Eidr13,
4057        Eidr_SPEC,
4058        crate::common::R,
4059    > {
4060        crate::common::RegisterField::<
4061            13,
4062            0x1,
4063            1,
4064            0,
4065            eidr::Eidr13,
4066            eidr::Eidr13,
4067            Eidr_SPEC,
4068            crate::common::R,
4069        >::from_register(self, 0)
4070    }
4071
4072    #[doc = "Port Event Input Data"]
4073    #[inline(always)]
4074    pub fn eidr14(
4075        self,
4076    ) -> crate::common::RegisterField<
4077        14,
4078        0x1,
4079        1,
4080        0,
4081        eidr::Eidr14,
4082        eidr::Eidr14,
4083        Eidr_SPEC,
4084        crate::common::R,
4085    > {
4086        crate::common::RegisterField::<
4087            14,
4088            0x1,
4089            1,
4090            0,
4091            eidr::Eidr14,
4092            eidr::Eidr14,
4093            Eidr_SPEC,
4094            crate::common::R,
4095        >::from_register(self, 0)
4096    }
4097
4098    #[doc = "Port Event Input Data"]
4099    #[inline(always)]
4100    pub fn eidr15(
4101        self,
4102    ) -> crate::common::RegisterField<
4103        15,
4104        0x1,
4105        1,
4106        0,
4107        eidr::Eidr15,
4108        eidr::Eidr15,
4109        Eidr_SPEC,
4110        crate::common::R,
4111    > {
4112        crate::common::RegisterField::<
4113            15,
4114            0x1,
4115            1,
4116            0,
4117            eidr::Eidr15,
4118            eidr::Eidr15,
4119            Eidr_SPEC,
4120            crate::common::R,
4121        >::from_register(self, 0)
4122    }
4123}
4124impl ::core::default::Default for Eidr {
4125    #[inline(always)]
4126    fn default() -> Eidr {
4127        <crate::RegValueT<Eidr_SPEC> as RegisterValue<_>>::new(0)
4128    }
4129}
4130pub mod eidr {
4131
4132    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4133    pub struct Eidr00_SPEC;
4134    pub type Eidr00 = crate::EnumBitfieldStruct<u8, Eidr00_SPEC>;
4135    impl Eidr00 {
4136        #[doc = "Low input"]
4137        pub const _0: Self = Self::new(0);
4138
4139        #[doc = "High input"]
4140        pub const _1: Self = Self::new(1);
4141    }
4142    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4143    pub struct Eidr01_SPEC;
4144    pub type Eidr01 = crate::EnumBitfieldStruct<u8, Eidr01_SPEC>;
4145    impl Eidr01 {
4146        #[doc = "Low input"]
4147        pub const _0: Self = Self::new(0);
4148
4149        #[doc = "High input"]
4150        pub const _1: Self = Self::new(1);
4151    }
4152    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4153    pub struct Eidr02_SPEC;
4154    pub type Eidr02 = crate::EnumBitfieldStruct<u8, Eidr02_SPEC>;
4155    impl Eidr02 {
4156        #[doc = "Low input"]
4157        pub const _0: Self = Self::new(0);
4158
4159        #[doc = "High input"]
4160        pub const _1: Self = Self::new(1);
4161    }
4162    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4163    pub struct Eidr03_SPEC;
4164    pub type Eidr03 = crate::EnumBitfieldStruct<u8, Eidr03_SPEC>;
4165    impl Eidr03 {
4166        #[doc = "Low input"]
4167        pub const _0: Self = Self::new(0);
4168
4169        #[doc = "High input"]
4170        pub const _1: Self = Self::new(1);
4171    }
4172    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4173    pub struct Eidr04_SPEC;
4174    pub type Eidr04 = crate::EnumBitfieldStruct<u8, Eidr04_SPEC>;
4175    impl Eidr04 {
4176        #[doc = "Low input"]
4177        pub const _0: Self = Self::new(0);
4178
4179        #[doc = "High input"]
4180        pub const _1: Self = Self::new(1);
4181    }
4182    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4183    pub struct Eidr05_SPEC;
4184    pub type Eidr05 = crate::EnumBitfieldStruct<u8, Eidr05_SPEC>;
4185    impl Eidr05 {
4186        #[doc = "Low input"]
4187        pub const _0: Self = Self::new(0);
4188
4189        #[doc = "High input"]
4190        pub const _1: Self = Self::new(1);
4191    }
4192    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4193    pub struct Eidr06_SPEC;
4194    pub type Eidr06 = crate::EnumBitfieldStruct<u8, Eidr06_SPEC>;
4195    impl Eidr06 {
4196        #[doc = "Low input"]
4197        pub const _0: Self = Self::new(0);
4198
4199        #[doc = "High input"]
4200        pub const _1: Self = Self::new(1);
4201    }
4202    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4203    pub struct Eidr07_SPEC;
4204    pub type Eidr07 = crate::EnumBitfieldStruct<u8, Eidr07_SPEC>;
4205    impl Eidr07 {
4206        #[doc = "Low input"]
4207        pub const _0: Self = Self::new(0);
4208
4209        #[doc = "High input"]
4210        pub const _1: Self = Self::new(1);
4211    }
4212    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4213    pub struct Eidr08_SPEC;
4214    pub type Eidr08 = crate::EnumBitfieldStruct<u8, Eidr08_SPEC>;
4215    impl Eidr08 {
4216        #[doc = "Low input"]
4217        pub const _0: Self = Self::new(0);
4218
4219        #[doc = "High input"]
4220        pub const _1: Self = Self::new(1);
4221    }
4222    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4223    pub struct Eidr09_SPEC;
4224    pub type Eidr09 = crate::EnumBitfieldStruct<u8, Eidr09_SPEC>;
4225    impl Eidr09 {
4226        #[doc = "Low input"]
4227        pub const _0: Self = Self::new(0);
4228
4229        #[doc = "High input"]
4230        pub const _1: Self = Self::new(1);
4231    }
4232    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4233    pub struct Eidr10_SPEC;
4234    pub type Eidr10 = crate::EnumBitfieldStruct<u8, Eidr10_SPEC>;
4235    impl Eidr10 {
4236        #[doc = "Low input"]
4237        pub const _0: Self = Self::new(0);
4238
4239        #[doc = "High input"]
4240        pub const _1: Self = Self::new(1);
4241    }
4242    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4243    pub struct Eidr11_SPEC;
4244    pub type Eidr11 = crate::EnumBitfieldStruct<u8, Eidr11_SPEC>;
4245    impl Eidr11 {
4246        #[doc = "Low input"]
4247        pub const _0: Self = Self::new(0);
4248
4249        #[doc = "High input"]
4250        pub const _1: Self = Self::new(1);
4251    }
4252    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4253    pub struct Eidr12_SPEC;
4254    pub type Eidr12 = crate::EnumBitfieldStruct<u8, Eidr12_SPEC>;
4255    impl Eidr12 {
4256        #[doc = "Low input"]
4257        pub const _0: Self = Self::new(0);
4258
4259        #[doc = "High input"]
4260        pub const _1: Self = Self::new(1);
4261    }
4262    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4263    pub struct Eidr13_SPEC;
4264    pub type Eidr13 = crate::EnumBitfieldStruct<u8, Eidr13_SPEC>;
4265    impl Eidr13 {
4266        #[doc = "Low input"]
4267        pub const _0: Self = Self::new(0);
4268
4269        #[doc = "High input"]
4270        pub const _1: Self = Self::new(1);
4271    }
4272    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4273    pub struct Eidr14_SPEC;
4274    pub type Eidr14 = crate::EnumBitfieldStruct<u8, Eidr14_SPEC>;
4275    impl Eidr14 {
4276        #[doc = "Low input"]
4277        pub const _0: Self = Self::new(0);
4278
4279        #[doc = "High input"]
4280        pub const _1: Self = Self::new(1);
4281    }
4282    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4283    pub struct Eidr15_SPEC;
4284    pub type Eidr15 = crate::EnumBitfieldStruct<u8, Eidr15_SPEC>;
4285    impl Eidr15 {
4286        #[doc = "Low input"]
4287        pub const _0: Self = Self::new(0);
4288
4289        #[doc = "High input"]
4290        pub const _1: Self = Self::new(1);
4291    }
4292}
4293#[doc(hidden)]
4294#[derive(Copy, Clone, Eq, PartialEq)]
4295pub struct Pidr_SPEC;
4296impl crate::sealed::RegSpec for Pidr_SPEC {
4297    type DataType = u16;
4298}
4299
4300#[doc = "Port Control Register 2"]
4301pub type Pidr = crate::RegValueT<Pidr_SPEC>;
4302
4303impl Pidr {
4304    #[doc = "Pmn State"]
4305    #[inline(always)]
4306    pub fn pidr00(
4307        self,
4308    ) -> crate::common::RegisterField<
4309        0,
4310        0x1,
4311        1,
4312        0,
4313        pidr::Pidr00,
4314        pidr::Pidr00,
4315        Pidr_SPEC,
4316        crate::common::R,
4317    > {
4318        crate::common::RegisterField::<
4319            0,
4320            0x1,
4321            1,
4322            0,
4323            pidr::Pidr00,
4324            pidr::Pidr00,
4325            Pidr_SPEC,
4326            crate::common::R,
4327        >::from_register(self, 0)
4328    }
4329
4330    #[doc = "Pmn State"]
4331    #[inline(always)]
4332    pub fn pidr01(
4333        self,
4334    ) -> crate::common::RegisterField<
4335        1,
4336        0x1,
4337        1,
4338        0,
4339        pidr::Pidr01,
4340        pidr::Pidr01,
4341        Pidr_SPEC,
4342        crate::common::R,
4343    > {
4344        crate::common::RegisterField::<
4345            1,
4346            0x1,
4347            1,
4348            0,
4349            pidr::Pidr01,
4350            pidr::Pidr01,
4351            Pidr_SPEC,
4352            crate::common::R,
4353        >::from_register(self, 0)
4354    }
4355
4356    #[doc = "Pmn State"]
4357    #[inline(always)]
4358    pub fn pidr02(
4359        self,
4360    ) -> crate::common::RegisterField<
4361        2,
4362        0x1,
4363        1,
4364        0,
4365        pidr::Pidr02,
4366        pidr::Pidr02,
4367        Pidr_SPEC,
4368        crate::common::R,
4369    > {
4370        crate::common::RegisterField::<
4371            2,
4372            0x1,
4373            1,
4374            0,
4375            pidr::Pidr02,
4376            pidr::Pidr02,
4377            Pidr_SPEC,
4378            crate::common::R,
4379        >::from_register(self, 0)
4380    }
4381
4382    #[doc = "Pmn State"]
4383    #[inline(always)]
4384    pub fn pidr03(
4385        self,
4386    ) -> crate::common::RegisterField<
4387        3,
4388        0x1,
4389        1,
4390        0,
4391        pidr::Pidr03,
4392        pidr::Pidr03,
4393        Pidr_SPEC,
4394        crate::common::R,
4395    > {
4396        crate::common::RegisterField::<
4397            3,
4398            0x1,
4399            1,
4400            0,
4401            pidr::Pidr03,
4402            pidr::Pidr03,
4403            Pidr_SPEC,
4404            crate::common::R,
4405        >::from_register(self, 0)
4406    }
4407
4408    #[doc = "Pmn State"]
4409    #[inline(always)]
4410    pub fn pidr04(
4411        self,
4412    ) -> crate::common::RegisterField<
4413        4,
4414        0x1,
4415        1,
4416        0,
4417        pidr::Pidr04,
4418        pidr::Pidr04,
4419        Pidr_SPEC,
4420        crate::common::R,
4421    > {
4422        crate::common::RegisterField::<
4423            4,
4424            0x1,
4425            1,
4426            0,
4427            pidr::Pidr04,
4428            pidr::Pidr04,
4429            Pidr_SPEC,
4430            crate::common::R,
4431        >::from_register(self, 0)
4432    }
4433
4434    #[doc = "Pmn State"]
4435    #[inline(always)]
4436    pub fn pidr05(
4437        self,
4438    ) -> crate::common::RegisterField<
4439        5,
4440        0x1,
4441        1,
4442        0,
4443        pidr::Pidr05,
4444        pidr::Pidr05,
4445        Pidr_SPEC,
4446        crate::common::R,
4447    > {
4448        crate::common::RegisterField::<
4449            5,
4450            0x1,
4451            1,
4452            0,
4453            pidr::Pidr05,
4454            pidr::Pidr05,
4455            Pidr_SPEC,
4456            crate::common::R,
4457        >::from_register(self, 0)
4458    }
4459
4460    #[doc = "Pmn State"]
4461    #[inline(always)]
4462    pub fn pidr06(
4463        self,
4464    ) -> crate::common::RegisterField<
4465        6,
4466        0x1,
4467        1,
4468        0,
4469        pidr::Pidr06,
4470        pidr::Pidr06,
4471        Pidr_SPEC,
4472        crate::common::R,
4473    > {
4474        crate::common::RegisterField::<
4475            6,
4476            0x1,
4477            1,
4478            0,
4479            pidr::Pidr06,
4480            pidr::Pidr06,
4481            Pidr_SPEC,
4482            crate::common::R,
4483        >::from_register(self, 0)
4484    }
4485
4486    #[doc = "Pmn State"]
4487    #[inline(always)]
4488    pub fn pidr07(
4489        self,
4490    ) -> crate::common::RegisterField<
4491        7,
4492        0x1,
4493        1,
4494        0,
4495        pidr::Pidr07,
4496        pidr::Pidr07,
4497        Pidr_SPEC,
4498        crate::common::R,
4499    > {
4500        crate::common::RegisterField::<
4501            7,
4502            0x1,
4503            1,
4504            0,
4505            pidr::Pidr07,
4506            pidr::Pidr07,
4507            Pidr_SPEC,
4508            crate::common::R,
4509        >::from_register(self, 0)
4510    }
4511
4512    #[doc = "Pmn State"]
4513    #[inline(always)]
4514    pub fn pidr08(
4515        self,
4516    ) -> crate::common::RegisterField<
4517        8,
4518        0x1,
4519        1,
4520        0,
4521        pidr::Pidr08,
4522        pidr::Pidr08,
4523        Pidr_SPEC,
4524        crate::common::R,
4525    > {
4526        crate::common::RegisterField::<
4527            8,
4528            0x1,
4529            1,
4530            0,
4531            pidr::Pidr08,
4532            pidr::Pidr08,
4533            Pidr_SPEC,
4534            crate::common::R,
4535        >::from_register(self, 0)
4536    }
4537
4538    #[doc = "Pmn State"]
4539    #[inline(always)]
4540    pub fn pidr09(
4541        self,
4542    ) -> crate::common::RegisterField<
4543        9,
4544        0x1,
4545        1,
4546        0,
4547        pidr::Pidr09,
4548        pidr::Pidr09,
4549        Pidr_SPEC,
4550        crate::common::R,
4551    > {
4552        crate::common::RegisterField::<
4553            9,
4554            0x1,
4555            1,
4556            0,
4557            pidr::Pidr09,
4558            pidr::Pidr09,
4559            Pidr_SPEC,
4560            crate::common::R,
4561        >::from_register(self, 0)
4562    }
4563
4564    #[doc = "Pmn State"]
4565    #[inline(always)]
4566    pub fn pidr10(
4567        self,
4568    ) -> crate::common::RegisterField<
4569        10,
4570        0x1,
4571        1,
4572        0,
4573        pidr::Pidr10,
4574        pidr::Pidr10,
4575        Pidr_SPEC,
4576        crate::common::R,
4577    > {
4578        crate::common::RegisterField::<
4579            10,
4580            0x1,
4581            1,
4582            0,
4583            pidr::Pidr10,
4584            pidr::Pidr10,
4585            Pidr_SPEC,
4586            crate::common::R,
4587        >::from_register(self, 0)
4588    }
4589
4590    #[doc = "Pmn State"]
4591    #[inline(always)]
4592    pub fn pidr11(
4593        self,
4594    ) -> crate::common::RegisterField<
4595        11,
4596        0x1,
4597        1,
4598        0,
4599        pidr::Pidr11,
4600        pidr::Pidr11,
4601        Pidr_SPEC,
4602        crate::common::R,
4603    > {
4604        crate::common::RegisterField::<
4605            11,
4606            0x1,
4607            1,
4608            0,
4609            pidr::Pidr11,
4610            pidr::Pidr11,
4611            Pidr_SPEC,
4612            crate::common::R,
4613        >::from_register(self, 0)
4614    }
4615
4616    #[doc = "Pmn State"]
4617    #[inline(always)]
4618    pub fn pidr12(
4619        self,
4620    ) -> crate::common::RegisterField<
4621        12,
4622        0x1,
4623        1,
4624        0,
4625        pidr::Pidr12,
4626        pidr::Pidr12,
4627        Pidr_SPEC,
4628        crate::common::R,
4629    > {
4630        crate::common::RegisterField::<
4631            12,
4632            0x1,
4633            1,
4634            0,
4635            pidr::Pidr12,
4636            pidr::Pidr12,
4637            Pidr_SPEC,
4638            crate::common::R,
4639        >::from_register(self, 0)
4640    }
4641
4642    #[doc = "Pmn State"]
4643    #[inline(always)]
4644    pub fn pidr13(
4645        self,
4646    ) -> crate::common::RegisterField<
4647        13,
4648        0x1,
4649        1,
4650        0,
4651        pidr::Pidr13,
4652        pidr::Pidr13,
4653        Pidr_SPEC,
4654        crate::common::R,
4655    > {
4656        crate::common::RegisterField::<
4657            13,
4658            0x1,
4659            1,
4660            0,
4661            pidr::Pidr13,
4662            pidr::Pidr13,
4663            Pidr_SPEC,
4664            crate::common::R,
4665        >::from_register(self, 0)
4666    }
4667
4668    #[doc = "Pmn State"]
4669    #[inline(always)]
4670    pub fn pidr14(
4671        self,
4672    ) -> crate::common::RegisterField<
4673        14,
4674        0x1,
4675        1,
4676        0,
4677        pidr::Pidr14,
4678        pidr::Pidr14,
4679        Pidr_SPEC,
4680        crate::common::R,
4681    > {
4682        crate::common::RegisterField::<
4683            14,
4684            0x1,
4685            1,
4686            0,
4687            pidr::Pidr14,
4688            pidr::Pidr14,
4689            Pidr_SPEC,
4690            crate::common::R,
4691        >::from_register(self, 0)
4692    }
4693
4694    #[doc = "Pmn State"]
4695    #[inline(always)]
4696    pub fn pidr15(
4697        self,
4698    ) -> crate::common::RegisterField<
4699        15,
4700        0x1,
4701        1,
4702        0,
4703        pidr::Pidr15,
4704        pidr::Pidr15,
4705        Pidr_SPEC,
4706        crate::common::R,
4707    > {
4708        crate::common::RegisterField::<
4709            15,
4710            0x1,
4711            1,
4712            0,
4713            pidr::Pidr15,
4714            pidr::Pidr15,
4715            Pidr_SPEC,
4716            crate::common::R,
4717        >::from_register(self, 0)
4718    }
4719}
4720impl ::core::default::Default for Pidr {
4721    #[inline(always)]
4722    fn default() -> Pidr {
4723        <crate::RegValueT<Pidr_SPEC> as RegisterValue<_>>::new(0)
4724    }
4725}
4726pub mod pidr {
4727
4728    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4729    pub struct Pidr00_SPEC;
4730    pub type Pidr00 = crate::EnumBitfieldStruct<u8, Pidr00_SPEC>;
4731    impl Pidr00 {
4732        #[doc = "Low level"]
4733        pub const _0: Self = Self::new(0);
4734
4735        #[doc = "High level"]
4736        pub const _1: Self = Self::new(1);
4737    }
4738    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4739    pub struct Pidr01_SPEC;
4740    pub type Pidr01 = crate::EnumBitfieldStruct<u8, Pidr01_SPEC>;
4741    impl Pidr01 {
4742        #[doc = "Low level"]
4743        pub const _0: Self = Self::new(0);
4744
4745        #[doc = "High level"]
4746        pub const _1: Self = Self::new(1);
4747    }
4748    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4749    pub struct Pidr02_SPEC;
4750    pub type Pidr02 = crate::EnumBitfieldStruct<u8, Pidr02_SPEC>;
4751    impl Pidr02 {
4752        #[doc = "Low level"]
4753        pub const _0: Self = Self::new(0);
4754
4755        #[doc = "High level"]
4756        pub const _1: Self = Self::new(1);
4757    }
4758    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4759    pub struct Pidr03_SPEC;
4760    pub type Pidr03 = crate::EnumBitfieldStruct<u8, Pidr03_SPEC>;
4761    impl Pidr03 {
4762        #[doc = "Low level"]
4763        pub const _0: Self = Self::new(0);
4764
4765        #[doc = "High level"]
4766        pub const _1: Self = Self::new(1);
4767    }
4768    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4769    pub struct Pidr04_SPEC;
4770    pub type Pidr04 = crate::EnumBitfieldStruct<u8, Pidr04_SPEC>;
4771    impl Pidr04 {
4772        #[doc = "Low level"]
4773        pub const _0: Self = Self::new(0);
4774
4775        #[doc = "High level"]
4776        pub const _1: Self = Self::new(1);
4777    }
4778    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4779    pub struct Pidr05_SPEC;
4780    pub type Pidr05 = crate::EnumBitfieldStruct<u8, Pidr05_SPEC>;
4781    impl Pidr05 {
4782        #[doc = "Low level"]
4783        pub const _0: Self = Self::new(0);
4784
4785        #[doc = "High level"]
4786        pub const _1: Self = Self::new(1);
4787    }
4788    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4789    pub struct Pidr06_SPEC;
4790    pub type Pidr06 = crate::EnumBitfieldStruct<u8, Pidr06_SPEC>;
4791    impl Pidr06 {
4792        #[doc = "Low level"]
4793        pub const _0: Self = Self::new(0);
4794
4795        #[doc = "High level"]
4796        pub const _1: Self = Self::new(1);
4797    }
4798    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4799    pub struct Pidr07_SPEC;
4800    pub type Pidr07 = crate::EnumBitfieldStruct<u8, Pidr07_SPEC>;
4801    impl Pidr07 {
4802        #[doc = "Low level"]
4803        pub const _0: Self = Self::new(0);
4804
4805        #[doc = "High level"]
4806        pub const _1: Self = Self::new(1);
4807    }
4808    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4809    pub struct Pidr08_SPEC;
4810    pub type Pidr08 = crate::EnumBitfieldStruct<u8, Pidr08_SPEC>;
4811    impl Pidr08 {
4812        #[doc = "Low level"]
4813        pub const _0: Self = Self::new(0);
4814
4815        #[doc = "High level"]
4816        pub const _1: Self = Self::new(1);
4817    }
4818    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4819    pub struct Pidr09_SPEC;
4820    pub type Pidr09 = crate::EnumBitfieldStruct<u8, Pidr09_SPEC>;
4821    impl Pidr09 {
4822        #[doc = "Low level"]
4823        pub const _0: Self = Self::new(0);
4824
4825        #[doc = "High level"]
4826        pub const _1: Self = Self::new(1);
4827    }
4828    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4829    pub struct Pidr10_SPEC;
4830    pub type Pidr10 = crate::EnumBitfieldStruct<u8, Pidr10_SPEC>;
4831    impl Pidr10 {
4832        #[doc = "Low level"]
4833        pub const _0: Self = Self::new(0);
4834
4835        #[doc = "High level"]
4836        pub const _1: Self = Self::new(1);
4837    }
4838    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4839    pub struct Pidr11_SPEC;
4840    pub type Pidr11 = crate::EnumBitfieldStruct<u8, Pidr11_SPEC>;
4841    impl Pidr11 {
4842        #[doc = "Low level"]
4843        pub const _0: Self = Self::new(0);
4844
4845        #[doc = "High level"]
4846        pub const _1: Self = Self::new(1);
4847    }
4848    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4849    pub struct Pidr12_SPEC;
4850    pub type Pidr12 = crate::EnumBitfieldStruct<u8, Pidr12_SPEC>;
4851    impl Pidr12 {
4852        #[doc = "Low level"]
4853        pub const _0: Self = Self::new(0);
4854
4855        #[doc = "High level"]
4856        pub const _1: Self = Self::new(1);
4857    }
4858    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4859    pub struct Pidr13_SPEC;
4860    pub type Pidr13 = crate::EnumBitfieldStruct<u8, Pidr13_SPEC>;
4861    impl Pidr13 {
4862        #[doc = "Low level"]
4863        pub const _0: Self = Self::new(0);
4864
4865        #[doc = "High level"]
4866        pub const _1: Self = Self::new(1);
4867    }
4868    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4869    pub struct Pidr14_SPEC;
4870    pub type Pidr14 = crate::EnumBitfieldStruct<u8, Pidr14_SPEC>;
4871    impl Pidr14 {
4872        #[doc = "Low level"]
4873        pub const _0: Self = Self::new(0);
4874
4875        #[doc = "High level"]
4876        pub const _1: Self = Self::new(1);
4877    }
4878    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4879    pub struct Pidr15_SPEC;
4880    pub type Pidr15 = crate::EnumBitfieldStruct<u8, Pidr15_SPEC>;
4881    impl Pidr15 {
4882        #[doc = "Low level"]
4883        pub const _0: Self = Self::new(0);
4884
4885        #[doc = "High level"]
4886        pub const _1: Self = Self::new(1);
4887    }
4888}
4889#[doc(hidden)]
4890#[derive(Copy, Clone, Eq, PartialEq)]
4891pub struct Pcntr3_SPEC;
4892impl crate::sealed::RegSpec for Pcntr3_SPEC {
4893    type DataType = u32;
4894}
4895
4896#[doc = "Port Control Register 3"]
4897pub type Pcntr3 = crate::RegValueT<Pcntr3_SPEC>;
4898
4899impl Pcntr3 {
4900    #[doc = "Pmn Output Set"]
4901    #[inline(always)]
4902    pub fn posr00(
4903        self,
4904    ) -> crate::common::RegisterField<
4905        0,
4906        0x1,
4907        1,
4908        0,
4909        pcntr3::Posr00,
4910        pcntr3::Posr00,
4911        Pcntr3_SPEC,
4912        crate::common::W,
4913    > {
4914        crate::common::RegisterField::<
4915            0,
4916            0x1,
4917            1,
4918            0,
4919            pcntr3::Posr00,
4920            pcntr3::Posr00,
4921            Pcntr3_SPEC,
4922            crate::common::W,
4923        >::from_register(self, 0)
4924    }
4925
4926    #[doc = "Pmn Output Set"]
4927    #[inline(always)]
4928    pub fn posr01(
4929        self,
4930    ) -> crate::common::RegisterField<
4931        1,
4932        0x1,
4933        1,
4934        0,
4935        pcntr3::Posr01,
4936        pcntr3::Posr01,
4937        Pcntr3_SPEC,
4938        crate::common::W,
4939    > {
4940        crate::common::RegisterField::<
4941            1,
4942            0x1,
4943            1,
4944            0,
4945            pcntr3::Posr01,
4946            pcntr3::Posr01,
4947            Pcntr3_SPEC,
4948            crate::common::W,
4949        >::from_register(self, 0)
4950    }
4951
4952    #[doc = "Pmn Output Set"]
4953    #[inline(always)]
4954    pub fn posr02(
4955        self,
4956    ) -> crate::common::RegisterField<
4957        2,
4958        0x1,
4959        1,
4960        0,
4961        pcntr3::Posr02,
4962        pcntr3::Posr02,
4963        Pcntr3_SPEC,
4964        crate::common::W,
4965    > {
4966        crate::common::RegisterField::<
4967            2,
4968            0x1,
4969            1,
4970            0,
4971            pcntr3::Posr02,
4972            pcntr3::Posr02,
4973            Pcntr3_SPEC,
4974            crate::common::W,
4975        >::from_register(self, 0)
4976    }
4977
4978    #[doc = "Pmn Output Set"]
4979    #[inline(always)]
4980    pub fn posr03(
4981        self,
4982    ) -> crate::common::RegisterField<
4983        3,
4984        0x1,
4985        1,
4986        0,
4987        pcntr3::Posr03,
4988        pcntr3::Posr03,
4989        Pcntr3_SPEC,
4990        crate::common::W,
4991    > {
4992        crate::common::RegisterField::<
4993            3,
4994            0x1,
4995            1,
4996            0,
4997            pcntr3::Posr03,
4998            pcntr3::Posr03,
4999            Pcntr3_SPEC,
5000            crate::common::W,
5001        >::from_register(self, 0)
5002    }
5003
5004    #[doc = "Pmn Output Set"]
5005    #[inline(always)]
5006    pub fn posr04(
5007        self,
5008    ) -> crate::common::RegisterField<
5009        4,
5010        0x1,
5011        1,
5012        0,
5013        pcntr3::Posr04,
5014        pcntr3::Posr04,
5015        Pcntr3_SPEC,
5016        crate::common::W,
5017    > {
5018        crate::common::RegisterField::<
5019            4,
5020            0x1,
5021            1,
5022            0,
5023            pcntr3::Posr04,
5024            pcntr3::Posr04,
5025            Pcntr3_SPEC,
5026            crate::common::W,
5027        >::from_register(self, 0)
5028    }
5029
5030    #[doc = "Pmn Output Set"]
5031    #[inline(always)]
5032    pub fn posr05(
5033        self,
5034    ) -> crate::common::RegisterField<
5035        5,
5036        0x1,
5037        1,
5038        0,
5039        pcntr3::Posr05,
5040        pcntr3::Posr05,
5041        Pcntr3_SPEC,
5042        crate::common::W,
5043    > {
5044        crate::common::RegisterField::<
5045            5,
5046            0x1,
5047            1,
5048            0,
5049            pcntr3::Posr05,
5050            pcntr3::Posr05,
5051            Pcntr3_SPEC,
5052            crate::common::W,
5053        >::from_register(self, 0)
5054    }
5055
5056    #[doc = "Pmn Output Set"]
5057    #[inline(always)]
5058    pub fn posr06(
5059        self,
5060    ) -> crate::common::RegisterField<
5061        6,
5062        0x1,
5063        1,
5064        0,
5065        pcntr3::Posr06,
5066        pcntr3::Posr06,
5067        Pcntr3_SPEC,
5068        crate::common::W,
5069    > {
5070        crate::common::RegisterField::<
5071            6,
5072            0x1,
5073            1,
5074            0,
5075            pcntr3::Posr06,
5076            pcntr3::Posr06,
5077            Pcntr3_SPEC,
5078            crate::common::W,
5079        >::from_register(self, 0)
5080    }
5081
5082    #[doc = "Pmn Output Set"]
5083    #[inline(always)]
5084    pub fn posr07(
5085        self,
5086    ) -> crate::common::RegisterField<
5087        7,
5088        0x1,
5089        1,
5090        0,
5091        pcntr3::Posr07,
5092        pcntr3::Posr07,
5093        Pcntr3_SPEC,
5094        crate::common::W,
5095    > {
5096        crate::common::RegisterField::<
5097            7,
5098            0x1,
5099            1,
5100            0,
5101            pcntr3::Posr07,
5102            pcntr3::Posr07,
5103            Pcntr3_SPEC,
5104            crate::common::W,
5105        >::from_register(self, 0)
5106    }
5107
5108    #[doc = "Pmn Output Set"]
5109    #[inline(always)]
5110    pub fn posr08(
5111        self,
5112    ) -> crate::common::RegisterField<
5113        8,
5114        0x1,
5115        1,
5116        0,
5117        pcntr3::Posr08,
5118        pcntr3::Posr08,
5119        Pcntr3_SPEC,
5120        crate::common::W,
5121    > {
5122        crate::common::RegisterField::<
5123            8,
5124            0x1,
5125            1,
5126            0,
5127            pcntr3::Posr08,
5128            pcntr3::Posr08,
5129            Pcntr3_SPEC,
5130            crate::common::W,
5131        >::from_register(self, 0)
5132    }
5133
5134    #[doc = "Pmn Output Set"]
5135    #[inline(always)]
5136    pub fn posr09(
5137        self,
5138    ) -> crate::common::RegisterField<
5139        9,
5140        0x1,
5141        1,
5142        0,
5143        pcntr3::Posr09,
5144        pcntr3::Posr09,
5145        Pcntr3_SPEC,
5146        crate::common::W,
5147    > {
5148        crate::common::RegisterField::<
5149            9,
5150            0x1,
5151            1,
5152            0,
5153            pcntr3::Posr09,
5154            pcntr3::Posr09,
5155            Pcntr3_SPEC,
5156            crate::common::W,
5157        >::from_register(self, 0)
5158    }
5159
5160    #[doc = "Pmn Output Set"]
5161    #[inline(always)]
5162    pub fn posr10(
5163        self,
5164    ) -> crate::common::RegisterField<
5165        10,
5166        0x1,
5167        1,
5168        0,
5169        pcntr3::Posr10,
5170        pcntr3::Posr10,
5171        Pcntr3_SPEC,
5172        crate::common::W,
5173    > {
5174        crate::common::RegisterField::<
5175            10,
5176            0x1,
5177            1,
5178            0,
5179            pcntr3::Posr10,
5180            pcntr3::Posr10,
5181            Pcntr3_SPEC,
5182            crate::common::W,
5183        >::from_register(self, 0)
5184    }
5185
5186    #[doc = "Pmn Output Set"]
5187    #[inline(always)]
5188    pub fn posr11(
5189        self,
5190    ) -> crate::common::RegisterField<
5191        11,
5192        0x1,
5193        1,
5194        0,
5195        pcntr3::Posr11,
5196        pcntr3::Posr11,
5197        Pcntr3_SPEC,
5198        crate::common::W,
5199    > {
5200        crate::common::RegisterField::<
5201            11,
5202            0x1,
5203            1,
5204            0,
5205            pcntr3::Posr11,
5206            pcntr3::Posr11,
5207            Pcntr3_SPEC,
5208            crate::common::W,
5209        >::from_register(self, 0)
5210    }
5211
5212    #[doc = "Pmn Output Set"]
5213    #[inline(always)]
5214    pub fn posr12(
5215        self,
5216    ) -> crate::common::RegisterField<
5217        12,
5218        0x1,
5219        1,
5220        0,
5221        pcntr3::Posr12,
5222        pcntr3::Posr12,
5223        Pcntr3_SPEC,
5224        crate::common::W,
5225    > {
5226        crate::common::RegisterField::<
5227            12,
5228            0x1,
5229            1,
5230            0,
5231            pcntr3::Posr12,
5232            pcntr3::Posr12,
5233            Pcntr3_SPEC,
5234            crate::common::W,
5235        >::from_register(self, 0)
5236    }
5237
5238    #[doc = "Pmn Output Set"]
5239    #[inline(always)]
5240    pub fn posr13(
5241        self,
5242    ) -> crate::common::RegisterField<
5243        13,
5244        0x1,
5245        1,
5246        0,
5247        pcntr3::Posr13,
5248        pcntr3::Posr13,
5249        Pcntr3_SPEC,
5250        crate::common::W,
5251    > {
5252        crate::common::RegisterField::<
5253            13,
5254            0x1,
5255            1,
5256            0,
5257            pcntr3::Posr13,
5258            pcntr3::Posr13,
5259            Pcntr3_SPEC,
5260            crate::common::W,
5261        >::from_register(self, 0)
5262    }
5263
5264    #[doc = "Pmn Output Set"]
5265    #[inline(always)]
5266    pub fn posr14(
5267        self,
5268    ) -> crate::common::RegisterField<
5269        14,
5270        0x1,
5271        1,
5272        0,
5273        pcntr3::Posr14,
5274        pcntr3::Posr14,
5275        Pcntr3_SPEC,
5276        crate::common::W,
5277    > {
5278        crate::common::RegisterField::<
5279            14,
5280            0x1,
5281            1,
5282            0,
5283            pcntr3::Posr14,
5284            pcntr3::Posr14,
5285            Pcntr3_SPEC,
5286            crate::common::W,
5287        >::from_register(self, 0)
5288    }
5289
5290    #[doc = "Pmn Output Set"]
5291    #[inline(always)]
5292    pub fn posr15(
5293        self,
5294    ) -> crate::common::RegisterField<
5295        15,
5296        0x1,
5297        1,
5298        0,
5299        pcntr3::Posr15,
5300        pcntr3::Posr15,
5301        Pcntr3_SPEC,
5302        crate::common::W,
5303    > {
5304        crate::common::RegisterField::<
5305            15,
5306            0x1,
5307            1,
5308            0,
5309            pcntr3::Posr15,
5310            pcntr3::Posr15,
5311            Pcntr3_SPEC,
5312            crate::common::W,
5313        >::from_register(self, 0)
5314    }
5315
5316    #[doc = "Pmn Output Reset"]
5317    #[inline(always)]
5318    pub fn porr00(
5319        self,
5320    ) -> crate::common::RegisterField<
5321        16,
5322        0x1,
5323        1,
5324        0,
5325        pcntr3::Porr00,
5326        pcntr3::Porr00,
5327        Pcntr3_SPEC,
5328        crate::common::W,
5329    > {
5330        crate::common::RegisterField::<
5331            16,
5332            0x1,
5333            1,
5334            0,
5335            pcntr3::Porr00,
5336            pcntr3::Porr00,
5337            Pcntr3_SPEC,
5338            crate::common::W,
5339        >::from_register(self, 0)
5340    }
5341
5342    #[doc = "Pmn Output Reset"]
5343    #[inline(always)]
5344    pub fn porr01(
5345        self,
5346    ) -> crate::common::RegisterField<
5347        17,
5348        0x1,
5349        1,
5350        0,
5351        pcntr3::Porr01,
5352        pcntr3::Porr01,
5353        Pcntr3_SPEC,
5354        crate::common::W,
5355    > {
5356        crate::common::RegisterField::<
5357            17,
5358            0x1,
5359            1,
5360            0,
5361            pcntr3::Porr01,
5362            pcntr3::Porr01,
5363            Pcntr3_SPEC,
5364            crate::common::W,
5365        >::from_register(self, 0)
5366    }
5367
5368    #[doc = "Pmn Output Reset"]
5369    #[inline(always)]
5370    pub fn porr02(
5371        self,
5372    ) -> crate::common::RegisterField<
5373        18,
5374        0x1,
5375        1,
5376        0,
5377        pcntr3::Porr02,
5378        pcntr3::Porr02,
5379        Pcntr3_SPEC,
5380        crate::common::W,
5381    > {
5382        crate::common::RegisterField::<
5383            18,
5384            0x1,
5385            1,
5386            0,
5387            pcntr3::Porr02,
5388            pcntr3::Porr02,
5389            Pcntr3_SPEC,
5390            crate::common::W,
5391        >::from_register(self, 0)
5392    }
5393
5394    #[doc = "Pmn Output Reset"]
5395    #[inline(always)]
5396    pub fn porr03(
5397        self,
5398    ) -> crate::common::RegisterField<
5399        19,
5400        0x1,
5401        1,
5402        0,
5403        pcntr3::Porr03,
5404        pcntr3::Porr03,
5405        Pcntr3_SPEC,
5406        crate::common::W,
5407    > {
5408        crate::common::RegisterField::<
5409            19,
5410            0x1,
5411            1,
5412            0,
5413            pcntr3::Porr03,
5414            pcntr3::Porr03,
5415            Pcntr3_SPEC,
5416            crate::common::W,
5417        >::from_register(self, 0)
5418    }
5419
5420    #[doc = "Pmn Output Reset"]
5421    #[inline(always)]
5422    pub fn porr04(
5423        self,
5424    ) -> crate::common::RegisterField<
5425        20,
5426        0x1,
5427        1,
5428        0,
5429        pcntr3::Porr04,
5430        pcntr3::Porr04,
5431        Pcntr3_SPEC,
5432        crate::common::W,
5433    > {
5434        crate::common::RegisterField::<
5435            20,
5436            0x1,
5437            1,
5438            0,
5439            pcntr3::Porr04,
5440            pcntr3::Porr04,
5441            Pcntr3_SPEC,
5442            crate::common::W,
5443        >::from_register(self, 0)
5444    }
5445
5446    #[doc = "Pmn Output Reset"]
5447    #[inline(always)]
5448    pub fn porr05(
5449        self,
5450    ) -> crate::common::RegisterField<
5451        21,
5452        0x1,
5453        1,
5454        0,
5455        pcntr3::Porr05,
5456        pcntr3::Porr05,
5457        Pcntr3_SPEC,
5458        crate::common::W,
5459    > {
5460        crate::common::RegisterField::<
5461            21,
5462            0x1,
5463            1,
5464            0,
5465            pcntr3::Porr05,
5466            pcntr3::Porr05,
5467            Pcntr3_SPEC,
5468            crate::common::W,
5469        >::from_register(self, 0)
5470    }
5471
5472    #[doc = "Pmn Output Reset"]
5473    #[inline(always)]
5474    pub fn porr06(
5475        self,
5476    ) -> crate::common::RegisterField<
5477        22,
5478        0x1,
5479        1,
5480        0,
5481        pcntr3::Porr06,
5482        pcntr3::Porr06,
5483        Pcntr3_SPEC,
5484        crate::common::W,
5485    > {
5486        crate::common::RegisterField::<
5487            22,
5488            0x1,
5489            1,
5490            0,
5491            pcntr3::Porr06,
5492            pcntr3::Porr06,
5493            Pcntr3_SPEC,
5494            crate::common::W,
5495        >::from_register(self, 0)
5496    }
5497
5498    #[doc = "Pmn Output Reset"]
5499    #[inline(always)]
5500    pub fn porr07(
5501        self,
5502    ) -> crate::common::RegisterField<
5503        23,
5504        0x1,
5505        1,
5506        0,
5507        pcntr3::Porr07,
5508        pcntr3::Porr07,
5509        Pcntr3_SPEC,
5510        crate::common::W,
5511    > {
5512        crate::common::RegisterField::<
5513            23,
5514            0x1,
5515            1,
5516            0,
5517            pcntr3::Porr07,
5518            pcntr3::Porr07,
5519            Pcntr3_SPEC,
5520            crate::common::W,
5521        >::from_register(self, 0)
5522    }
5523
5524    #[doc = "Pmn Output Reset"]
5525    #[inline(always)]
5526    pub fn porr08(
5527        self,
5528    ) -> crate::common::RegisterField<
5529        24,
5530        0x1,
5531        1,
5532        0,
5533        pcntr3::Porr08,
5534        pcntr3::Porr08,
5535        Pcntr3_SPEC,
5536        crate::common::W,
5537    > {
5538        crate::common::RegisterField::<
5539            24,
5540            0x1,
5541            1,
5542            0,
5543            pcntr3::Porr08,
5544            pcntr3::Porr08,
5545            Pcntr3_SPEC,
5546            crate::common::W,
5547        >::from_register(self, 0)
5548    }
5549
5550    #[doc = "Pmn Output Reset"]
5551    #[inline(always)]
5552    pub fn porr09(
5553        self,
5554    ) -> crate::common::RegisterField<
5555        25,
5556        0x1,
5557        1,
5558        0,
5559        pcntr3::Porr09,
5560        pcntr3::Porr09,
5561        Pcntr3_SPEC,
5562        crate::common::W,
5563    > {
5564        crate::common::RegisterField::<
5565            25,
5566            0x1,
5567            1,
5568            0,
5569            pcntr3::Porr09,
5570            pcntr3::Porr09,
5571            Pcntr3_SPEC,
5572            crate::common::W,
5573        >::from_register(self, 0)
5574    }
5575
5576    #[doc = "Pmn Output Reset"]
5577    #[inline(always)]
5578    pub fn porr10(
5579        self,
5580    ) -> crate::common::RegisterField<
5581        26,
5582        0x1,
5583        1,
5584        0,
5585        pcntr3::Porr10,
5586        pcntr3::Porr10,
5587        Pcntr3_SPEC,
5588        crate::common::W,
5589    > {
5590        crate::common::RegisterField::<
5591            26,
5592            0x1,
5593            1,
5594            0,
5595            pcntr3::Porr10,
5596            pcntr3::Porr10,
5597            Pcntr3_SPEC,
5598            crate::common::W,
5599        >::from_register(self, 0)
5600    }
5601
5602    #[doc = "Pmn Output Reset"]
5603    #[inline(always)]
5604    pub fn porr11(
5605        self,
5606    ) -> crate::common::RegisterField<
5607        27,
5608        0x1,
5609        1,
5610        0,
5611        pcntr3::Porr11,
5612        pcntr3::Porr11,
5613        Pcntr3_SPEC,
5614        crate::common::W,
5615    > {
5616        crate::common::RegisterField::<
5617            27,
5618            0x1,
5619            1,
5620            0,
5621            pcntr3::Porr11,
5622            pcntr3::Porr11,
5623            Pcntr3_SPEC,
5624            crate::common::W,
5625        >::from_register(self, 0)
5626    }
5627
5628    #[doc = "Pmn Output Reset"]
5629    #[inline(always)]
5630    pub fn porr12(
5631        self,
5632    ) -> crate::common::RegisterField<
5633        28,
5634        0x1,
5635        1,
5636        0,
5637        pcntr3::Porr12,
5638        pcntr3::Porr12,
5639        Pcntr3_SPEC,
5640        crate::common::W,
5641    > {
5642        crate::common::RegisterField::<
5643            28,
5644            0x1,
5645            1,
5646            0,
5647            pcntr3::Porr12,
5648            pcntr3::Porr12,
5649            Pcntr3_SPEC,
5650            crate::common::W,
5651        >::from_register(self, 0)
5652    }
5653
5654    #[doc = "Pmn Output Reset"]
5655    #[inline(always)]
5656    pub fn porr13(
5657        self,
5658    ) -> crate::common::RegisterField<
5659        29,
5660        0x1,
5661        1,
5662        0,
5663        pcntr3::Porr13,
5664        pcntr3::Porr13,
5665        Pcntr3_SPEC,
5666        crate::common::W,
5667    > {
5668        crate::common::RegisterField::<
5669            29,
5670            0x1,
5671            1,
5672            0,
5673            pcntr3::Porr13,
5674            pcntr3::Porr13,
5675            Pcntr3_SPEC,
5676            crate::common::W,
5677        >::from_register(self, 0)
5678    }
5679
5680    #[doc = "Pmn Output Reset"]
5681    #[inline(always)]
5682    pub fn porr14(
5683        self,
5684    ) -> crate::common::RegisterField<
5685        30,
5686        0x1,
5687        1,
5688        0,
5689        pcntr3::Porr14,
5690        pcntr3::Porr14,
5691        Pcntr3_SPEC,
5692        crate::common::W,
5693    > {
5694        crate::common::RegisterField::<
5695            30,
5696            0x1,
5697            1,
5698            0,
5699            pcntr3::Porr14,
5700            pcntr3::Porr14,
5701            Pcntr3_SPEC,
5702            crate::common::W,
5703        >::from_register(self, 0)
5704    }
5705
5706    #[doc = "Pmn Output Reset"]
5707    #[inline(always)]
5708    pub fn porr15(
5709        self,
5710    ) -> crate::common::RegisterField<
5711        31,
5712        0x1,
5713        1,
5714        0,
5715        pcntr3::Porr15,
5716        pcntr3::Porr15,
5717        Pcntr3_SPEC,
5718        crate::common::W,
5719    > {
5720        crate::common::RegisterField::<
5721            31,
5722            0x1,
5723            1,
5724            0,
5725            pcntr3::Porr15,
5726            pcntr3::Porr15,
5727            Pcntr3_SPEC,
5728            crate::common::W,
5729        >::from_register(self, 0)
5730    }
5731}
5732impl ::core::default::Default for Pcntr3 {
5733    #[inline(always)]
5734    fn default() -> Pcntr3 {
5735        <crate::RegValueT<Pcntr3_SPEC> as RegisterValue<_>>::new(0)
5736    }
5737}
5738pub mod pcntr3 {
5739
5740    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5741    pub struct Posr00_SPEC;
5742    pub type Posr00 = crate::EnumBitfieldStruct<u8, Posr00_SPEC>;
5743    impl Posr00 {
5744        #[doc = "No effect on output"]
5745        pub const _0: Self = Self::new(0);
5746
5747        #[doc = "High output"]
5748        pub const _1: Self = Self::new(1);
5749    }
5750    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5751    pub struct Posr01_SPEC;
5752    pub type Posr01 = crate::EnumBitfieldStruct<u8, Posr01_SPEC>;
5753    impl Posr01 {
5754        #[doc = "No effect on output"]
5755        pub const _0: Self = Self::new(0);
5756
5757        #[doc = "High output"]
5758        pub const _1: Self = Self::new(1);
5759    }
5760    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5761    pub struct Posr02_SPEC;
5762    pub type Posr02 = crate::EnumBitfieldStruct<u8, Posr02_SPEC>;
5763    impl Posr02 {
5764        #[doc = "No effect on output"]
5765        pub const _0: Self = Self::new(0);
5766
5767        #[doc = "High output"]
5768        pub const _1: Self = Self::new(1);
5769    }
5770    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5771    pub struct Posr03_SPEC;
5772    pub type Posr03 = crate::EnumBitfieldStruct<u8, Posr03_SPEC>;
5773    impl Posr03 {
5774        #[doc = "No effect on output"]
5775        pub const _0: Self = Self::new(0);
5776
5777        #[doc = "High output"]
5778        pub const _1: Self = Self::new(1);
5779    }
5780    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5781    pub struct Posr04_SPEC;
5782    pub type Posr04 = crate::EnumBitfieldStruct<u8, Posr04_SPEC>;
5783    impl Posr04 {
5784        #[doc = "No effect on output"]
5785        pub const _0: Self = Self::new(0);
5786
5787        #[doc = "High output"]
5788        pub const _1: Self = Self::new(1);
5789    }
5790    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5791    pub struct Posr05_SPEC;
5792    pub type Posr05 = crate::EnumBitfieldStruct<u8, Posr05_SPEC>;
5793    impl Posr05 {
5794        #[doc = "No effect on output"]
5795        pub const _0: Self = Self::new(0);
5796
5797        #[doc = "High output"]
5798        pub const _1: Self = Self::new(1);
5799    }
5800    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5801    pub struct Posr06_SPEC;
5802    pub type Posr06 = crate::EnumBitfieldStruct<u8, Posr06_SPEC>;
5803    impl Posr06 {
5804        #[doc = "No effect on output"]
5805        pub const _0: Self = Self::new(0);
5806
5807        #[doc = "High output"]
5808        pub const _1: Self = Self::new(1);
5809    }
5810    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5811    pub struct Posr07_SPEC;
5812    pub type Posr07 = crate::EnumBitfieldStruct<u8, Posr07_SPEC>;
5813    impl Posr07 {
5814        #[doc = "No effect on output"]
5815        pub const _0: Self = Self::new(0);
5816
5817        #[doc = "High output"]
5818        pub const _1: Self = Self::new(1);
5819    }
5820    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5821    pub struct Posr08_SPEC;
5822    pub type Posr08 = crate::EnumBitfieldStruct<u8, Posr08_SPEC>;
5823    impl Posr08 {
5824        #[doc = "No effect on output"]
5825        pub const _0: Self = Self::new(0);
5826
5827        #[doc = "High output"]
5828        pub const _1: Self = Self::new(1);
5829    }
5830    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5831    pub struct Posr09_SPEC;
5832    pub type Posr09 = crate::EnumBitfieldStruct<u8, Posr09_SPEC>;
5833    impl Posr09 {
5834        #[doc = "No effect on output"]
5835        pub const _0: Self = Self::new(0);
5836
5837        #[doc = "High output"]
5838        pub const _1: Self = Self::new(1);
5839    }
5840    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5841    pub struct Posr10_SPEC;
5842    pub type Posr10 = crate::EnumBitfieldStruct<u8, Posr10_SPEC>;
5843    impl Posr10 {
5844        #[doc = "No effect on output"]
5845        pub const _0: Self = Self::new(0);
5846
5847        #[doc = "High output"]
5848        pub const _1: Self = Self::new(1);
5849    }
5850    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5851    pub struct Posr11_SPEC;
5852    pub type Posr11 = crate::EnumBitfieldStruct<u8, Posr11_SPEC>;
5853    impl Posr11 {
5854        #[doc = "No effect on output"]
5855        pub const _0: Self = Self::new(0);
5856
5857        #[doc = "High output"]
5858        pub const _1: Self = Self::new(1);
5859    }
5860    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5861    pub struct Posr12_SPEC;
5862    pub type Posr12 = crate::EnumBitfieldStruct<u8, Posr12_SPEC>;
5863    impl Posr12 {
5864        #[doc = "No effect on output"]
5865        pub const _0: Self = Self::new(0);
5866
5867        #[doc = "High output"]
5868        pub const _1: Self = Self::new(1);
5869    }
5870    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5871    pub struct Posr13_SPEC;
5872    pub type Posr13 = crate::EnumBitfieldStruct<u8, Posr13_SPEC>;
5873    impl Posr13 {
5874        #[doc = "No effect on output"]
5875        pub const _0: Self = Self::new(0);
5876
5877        #[doc = "High output"]
5878        pub const _1: Self = Self::new(1);
5879    }
5880    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5881    pub struct Posr14_SPEC;
5882    pub type Posr14 = crate::EnumBitfieldStruct<u8, Posr14_SPEC>;
5883    impl Posr14 {
5884        #[doc = "No effect on output"]
5885        pub const _0: Self = Self::new(0);
5886
5887        #[doc = "High output"]
5888        pub const _1: Self = Self::new(1);
5889    }
5890    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5891    pub struct Posr15_SPEC;
5892    pub type Posr15 = crate::EnumBitfieldStruct<u8, Posr15_SPEC>;
5893    impl Posr15 {
5894        #[doc = "No effect on output"]
5895        pub const _0: Self = Self::new(0);
5896
5897        #[doc = "High output"]
5898        pub const _1: Self = Self::new(1);
5899    }
5900    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5901    pub struct Porr00_SPEC;
5902    pub type Porr00 = crate::EnumBitfieldStruct<u8, Porr00_SPEC>;
5903    impl Porr00 {
5904        #[doc = "No effect on output"]
5905        pub const _0: Self = Self::new(0);
5906
5907        #[doc = "Low output"]
5908        pub const _1: Self = Self::new(1);
5909    }
5910    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5911    pub struct Porr01_SPEC;
5912    pub type Porr01 = crate::EnumBitfieldStruct<u8, Porr01_SPEC>;
5913    impl Porr01 {
5914        #[doc = "No effect on output"]
5915        pub const _0: Self = Self::new(0);
5916
5917        #[doc = "Low output"]
5918        pub const _1: Self = Self::new(1);
5919    }
5920    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5921    pub struct Porr02_SPEC;
5922    pub type Porr02 = crate::EnumBitfieldStruct<u8, Porr02_SPEC>;
5923    impl Porr02 {
5924        #[doc = "No effect on output"]
5925        pub const _0: Self = Self::new(0);
5926
5927        #[doc = "Low output"]
5928        pub const _1: Self = Self::new(1);
5929    }
5930    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5931    pub struct Porr03_SPEC;
5932    pub type Porr03 = crate::EnumBitfieldStruct<u8, Porr03_SPEC>;
5933    impl Porr03 {
5934        #[doc = "No effect on output"]
5935        pub const _0: Self = Self::new(0);
5936
5937        #[doc = "Low output"]
5938        pub const _1: Self = Self::new(1);
5939    }
5940    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5941    pub struct Porr04_SPEC;
5942    pub type Porr04 = crate::EnumBitfieldStruct<u8, Porr04_SPEC>;
5943    impl Porr04 {
5944        #[doc = "No effect on output"]
5945        pub const _0: Self = Self::new(0);
5946
5947        #[doc = "Low output"]
5948        pub const _1: Self = Self::new(1);
5949    }
5950    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5951    pub struct Porr05_SPEC;
5952    pub type Porr05 = crate::EnumBitfieldStruct<u8, Porr05_SPEC>;
5953    impl Porr05 {
5954        #[doc = "No effect on output"]
5955        pub const _0: Self = Self::new(0);
5956
5957        #[doc = "Low output"]
5958        pub const _1: Self = Self::new(1);
5959    }
5960    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5961    pub struct Porr06_SPEC;
5962    pub type Porr06 = crate::EnumBitfieldStruct<u8, Porr06_SPEC>;
5963    impl Porr06 {
5964        #[doc = "No effect on output"]
5965        pub const _0: Self = Self::new(0);
5966
5967        #[doc = "Low output"]
5968        pub const _1: Self = Self::new(1);
5969    }
5970    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5971    pub struct Porr07_SPEC;
5972    pub type Porr07 = crate::EnumBitfieldStruct<u8, Porr07_SPEC>;
5973    impl Porr07 {
5974        #[doc = "No effect on output"]
5975        pub const _0: Self = Self::new(0);
5976
5977        #[doc = "Low output"]
5978        pub const _1: Self = Self::new(1);
5979    }
5980    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5981    pub struct Porr08_SPEC;
5982    pub type Porr08 = crate::EnumBitfieldStruct<u8, Porr08_SPEC>;
5983    impl Porr08 {
5984        #[doc = "No effect on output"]
5985        pub const _0: Self = Self::new(0);
5986
5987        #[doc = "Low output"]
5988        pub const _1: Self = Self::new(1);
5989    }
5990    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5991    pub struct Porr09_SPEC;
5992    pub type Porr09 = crate::EnumBitfieldStruct<u8, Porr09_SPEC>;
5993    impl Porr09 {
5994        #[doc = "No effect on output"]
5995        pub const _0: Self = Self::new(0);
5996
5997        #[doc = "Low output"]
5998        pub const _1: Self = Self::new(1);
5999    }
6000    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6001    pub struct Porr10_SPEC;
6002    pub type Porr10 = crate::EnumBitfieldStruct<u8, Porr10_SPEC>;
6003    impl Porr10 {
6004        #[doc = "No effect on output"]
6005        pub const _0: Self = Self::new(0);
6006
6007        #[doc = "Low output"]
6008        pub const _1: Self = Self::new(1);
6009    }
6010    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6011    pub struct Porr11_SPEC;
6012    pub type Porr11 = crate::EnumBitfieldStruct<u8, Porr11_SPEC>;
6013    impl Porr11 {
6014        #[doc = "No effect on output"]
6015        pub const _0: Self = Self::new(0);
6016
6017        #[doc = "Low output"]
6018        pub const _1: Self = Self::new(1);
6019    }
6020    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6021    pub struct Porr12_SPEC;
6022    pub type Porr12 = crate::EnumBitfieldStruct<u8, Porr12_SPEC>;
6023    impl Porr12 {
6024        #[doc = "No effect on output"]
6025        pub const _0: Self = Self::new(0);
6026
6027        #[doc = "Low output"]
6028        pub const _1: Self = Self::new(1);
6029    }
6030    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6031    pub struct Porr13_SPEC;
6032    pub type Porr13 = crate::EnumBitfieldStruct<u8, Porr13_SPEC>;
6033    impl Porr13 {
6034        #[doc = "No effect on output"]
6035        pub const _0: Self = Self::new(0);
6036
6037        #[doc = "Low output"]
6038        pub const _1: Self = Self::new(1);
6039    }
6040    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6041    pub struct Porr14_SPEC;
6042    pub type Porr14 = crate::EnumBitfieldStruct<u8, Porr14_SPEC>;
6043    impl Porr14 {
6044        #[doc = "No effect on output"]
6045        pub const _0: Self = Self::new(0);
6046
6047        #[doc = "Low output"]
6048        pub const _1: Self = Self::new(1);
6049    }
6050    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6051    pub struct Porr15_SPEC;
6052    pub type Porr15 = crate::EnumBitfieldStruct<u8, Porr15_SPEC>;
6053    impl Porr15 {
6054        #[doc = "No effect on output"]
6055        pub const _0: Self = Self::new(0);
6056
6057        #[doc = "Low output"]
6058        pub const _1: Self = Self::new(1);
6059    }
6060}
6061#[doc(hidden)]
6062#[derive(Copy, Clone, Eq, PartialEq)]
6063pub struct Porr_SPEC;
6064impl crate::sealed::RegSpec for Porr_SPEC {
6065    type DataType = u16;
6066}
6067
6068#[doc = "Port Control Register 3"]
6069pub type Porr = crate::RegValueT<Porr_SPEC>;
6070
6071impl Porr {
6072    #[doc = "Pmn Output Reset"]
6073    #[inline(always)]
6074    pub fn porr00(
6075        self,
6076    ) -> crate::common::RegisterField<
6077        0,
6078        0x1,
6079        1,
6080        0,
6081        porr::Porr00,
6082        porr::Porr00,
6083        Porr_SPEC,
6084        crate::common::W,
6085    > {
6086        crate::common::RegisterField::<
6087            0,
6088            0x1,
6089            1,
6090            0,
6091            porr::Porr00,
6092            porr::Porr00,
6093            Porr_SPEC,
6094            crate::common::W,
6095        >::from_register(self, 0)
6096    }
6097
6098    #[doc = "Pmn Output Reset"]
6099    #[inline(always)]
6100    pub fn porr01(
6101        self,
6102    ) -> crate::common::RegisterField<
6103        1,
6104        0x1,
6105        1,
6106        0,
6107        porr::Porr01,
6108        porr::Porr01,
6109        Porr_SPEC,
6110        crate::common::W,
6111    > {
6112        crate::common::RegisterField::<
6113            1,
6114            0x1,
6115            1,
6116            0,
6117            porr::Porr01,
6118            porr::Porr01,
6119            Porr_SPEC,
6120            crate::common::W,
6121        >::from_register(self, 0)
6122    }
6123
6124    #[doc = "Pmn Output Reset"]
6125    #[inline(always)]
6126    pub fn porr02(
6127        self,
6128    ) -> crate::common::RegisterField<
6129        2,
6130        0x1,
6131        1,
6132        0,
6133        porr::Porr02,
6134        porr::Porr02,
6135        Porr_SPEC,
6136        crate::common::W,
6137    > {
6138        crate::common::RegisterField::<
6139            2,
6140            0x1,
6141            1,
6142            0,
6143            porr::Porr02,
6144            porr::Porr02,
6145            Porr_SPEC,
6146            crate::common::W,
6147        >::from_register(self, 0)
6148    }
6149
6150    #[doc = "Pmn Output Reset"]
6151    #[inline(always)]
6152    pub fn porr03(
6153        self,
6154    ) -> crate::common::RegisterField<
6155        3,
6156        0x1,
6157        1,
6158        0,
6159        porr::Porr03,
6160        porr::Porr03,
6161        Porr_SPEC,
6162        crate::common::W,
6163    > {
6164        crate::common::RegisterField::<
6165            3,
6166            0x1,
6167            1,
6168            0,
6169            porr::Porr03,
6170            porr::Porr03,
6171            Porr_SPEC,
6172            crate::common::W,
6173        >::from_register(self, 0)
6174    }
6175
6176    #[doc = "Pmn Output Reset"]
6177    #[inline(always)]
6178    pub fn porr04(
6179        self,
6180    ) -> crate::common::RegisterField<
6181        4,
6182        0x1,
6183        1,
6184        0,
6185        porr::Porr04,
6186        porr::Porr04,
6187        Porr_SPEC,
6188        crate::common::W,
6189    > {
6190        crate::common::RegisterField::<
6191            4,
6192            0x1,
6193            1,
6194            0,
6195            porr::Porr04,
6196            porr::Porr04,
6197            Porr_SPEC,
6198            crate::common::W,
6199        >::from_register(self, 0)
6200    }
6201
6202    #[doc = "Pmn Output Reset"]
6203    #[inline(always)]
6204    pub fn porr05(
6205        self,
6206    ) -> crate::common::RegisterField<
6207        5,
6208        0x1,
6209        1,
6210        0,
6211        porr::Porr05,
6212        porr::Porr05,
6213        Porr_SPEC,
6214        crate::common::W,
6215    > {
6216        crate::common::RegisterField::<
6217            5,
6218            0x1,
6219            1,
6220            0,
6221            porr::Porr05,
6222            porr::Porr05,
6223            Porr_SPEC,
6224            crate::common::W,
6225        >::from_register(self, 0)
6226    }
6227
6228    #[doc = "Pmn Output Reset"]
6229    #[inline(always)]
6230    pub fn porr06(
6231        self,
6232    ) -> crate::common::RegisterField<
6233        6,
6234        0x1,
6235        1,
6236        0,
6237        porr::Porr06,
6238        porr::Porr06,
6239        Porr_SPEC,
6240        crate::common::W,
6241    > {
6242        crate::common::RegisterField::<
6243            6,
6244            0x1,
6245            1,
6246            0,
6247            porr::Porr06,
6248            porr::Porr06,
6249            Porr_SPEC,
6250            crate::common::W,
6251        >::from_register(self, 0)
6252    }
6253
6254    #[doc = "Pmn Output Reset"]
6255    #[inline(always)]
6256    pub fn porr07(
6257        self,
6258    ) -> crate::common::RegisterField<
6259        7,
6260        0x1,
6261        1,
6262        0,
6263        porr::Porr07,
6264        porr::Porr07,
6265        Porr_SPEC,
6266        crate::common::W,
6267    > {
6268        crate::common::RegisterField::<
6269            7,
6270            0x1,
6271            1,
6272            0,
6273            porr::Porr07,
6274            porr::Porr07,
6275            Porr_SPEC,
6276            crate::common::W,
6277        >::from_register(self, 0)
6278    }
6279
6280    #[doc = "Pmn Output Reset"]
6281    #[inline(always)]
6282    pub fn porr08(
6283        self,
6284    ) -> crate::common::RegisterField<
6285        8,
6286        0x1,
6287        1,
6288        0,
6289        porr::Porr08,
6290        porr::Porr08,
6291        Porr_SPEC,
6292        crate::common::W,
6293    > {
6294        crate::common::RegisterField::<
6295            8,
6296            0x1,
6297            1,
6298            0,
6299            porr::Porr08,
6300            porr::Porr08,
6301            Porr_SPEC,
6302            crate::common::W,
6303        >::from_register(self, 0)
6304    }
6305
6306    #[doc = "Pmn Output Reset"]
6307    #[inline(always)]
6308    pub fn porr09(
6309        self,
6310    ) -> crate::common::RegisterField<
6311        9,
6312        0x1,
6313        1,
6314        0,
6315        porr::Porr09,
6316        porr::Porr09,
6317        Porr_SPEC,
6318        crate::common::W,
6319    > {
6320        crate::common::RegisterField::<
6321            9,
6322            0x1,
6323            1,
6324            0,
6325            porr::Porr09,
6326            porr::Porr09,
6327            Porr_SPEC,
6328            crate::common::W,
6329        >::from_register(self, 0)
6330    }
6331
6332    #[doc = "Pmn Output Reset"]
6333    #[inline(always)]
6334    pub fn porr10(
6335        self,
6336    ) -> crate::common::RegisterField<
6337        10,
6338        0x1,
6339        1,
6340        0,
6341        porr::Porr10,
6342        porr::Porr10,
6343        Porr_SPEC,
6344        crate::common::W,
6345    > {
6346        crate::common::RegisterField::<
6347            10,
6348            0x1,
6349            1,
6350            0,
6351            porr::Porr10,
6352            porr::Porr10,
6353            Porr_SPEC,
6354            crate::common::W,
6355        >::from_register(self, 0)
6356    }
6357
6358    #[doc = "Pmn Output Reset"]
6359    #[inline(always)]
6360    pub fn porr11(
6361        self,
6362    ) -> crate::common::RegisterField<
6363        11,
6364        0x1,
6365        1,
6366        0,
6367        porr::Porr11,
6368        porr::Porr11,
6369        Porr_SPEC,
6370        crate::common::W,
6371    > {
6372        crate::common::RegisterField::<
6373            11,
6374            0x1,
6375            1,
6376            0,
6377            porr::Porr11,
6378            porr::Porr11,
6379            Porr_SPEC,
6380            crate::common::W,
6381        >::from_register(self, 0)
6382    }
6383
6384    #[doc = "Pmn Output Reset"]
6385    #[inline(always)]
6386    pub fn porr12(
6387        self,
6388    ) -> crate::common::RegisterField<
6389        12,
6390        0x1,
6391        1,
6392        0,
6393        porr::Porr12,
6394        porr::Porr12,
6395        Porr_SPEC,
6396        crate::common::W,
6397    > {
6398        crate::common::RegisterField::<
6399            12,
6400            0x1,
6401            1,
6402            0,
6403            porr::Porr12,
6404            porr::Porr12,
6405            Porr_SPEC,
6406            crate::common::W,
6407        >::from_register(self, 0)
6408    }
6409
6410    #[doc = "Pmn Output Reset"]
6411    #[inline(always)]
6412    pub fn porr13(
6413        self,
6414    ) -> crate::common::RegisterField<
6415        13,
6416        0x1,
6417        1,
6418        0,
6419        porr::Porr13,
6420        porr::Porr13,
6421        Porr_SPEC,
6422        crate::common::W,
6423    > {
6424        crate::common::RegisterField::<
6425            13,
6426            0x1,
6427            1,
6428            0,
6429            porr::Porr13,
6430            porr::Porr13,
6431            Porr_SPEC,
6432            crate::common::W,
6433        >::from_register(self, 0)
6434    }
6435
6436    #[doc = "Pmn Output Reset"]
6437    #[inline(always)]
6438    pub fn porr14(
6439        self,
6440    ) -> crate::common::RegisterField<
6441        14,
6442        0x1,
6443        1,
6444        0,
6445        porr::Porr14,
6446        porr::Porr14,
6447        Porr_SPEC,
6448        crate::common::W,
6449    > {
6450        crate::common::RegisterField::<
6451            14,
6452            0x1,
6453            1,
6454            0,
6455            porr::Porr14,
6456            porr::Porr14,
6457            Porr_SPEC,
6458            crate::common::W,
6459        >::from_register(self, 0)
6460    }
6461
6462    #[doc = "Pmn Output Reset"]
6463    #[inline(always)]
6464    pub fn porr15(
6465        self,
6466    ) -> crate::common::RegisterField<
6467        15,
6468        0x1,
6469        1,
6470        0,
6471        porr::Porr15,
6472        porr::Porr15,
6473        Porr_SPEC,
6474        crate::common::W,
6475    > {
6476        crate::common::RegisterField::<
6477            15,
6478            0x1,
6479            1,
6480            0,
6481            porr::Porr15,
6482            porr::Porr15,
6483            Porr_SPEC,
6484            crate::common::W,
6485        >::from_register(self, 0)
6486    }
6487}
6488impl ::core::default::Default for Porr {
6489    #[inline(always)]
6490    fn default() -> Porr {
6491        <crate::RegValueT<Porr_SPEC> as RegisterValue<_>>::new(0)
6492    }
6493}
6494pub mod porr {
6495
6496    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6497    pub struct Porr00_SPEC;
6498    pub type Porr00 = crate::EnumBitfieldStruct<u8, Porr00_SPEC>;
6499    impl Porr00 {
6500        #[doc = "No effect on output"]
6501        pub const _0: Self = Self::new(0);
6502
6503        #[doc = "Low output"]
6504        pub const _1: Self = Self::new(1);
6505    }
6506    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6507    pub struct Porr01_SPEC;
6508    pub type Porr01 = crate::EnumBitfieldStruct<u8, Porr01_SPEC>;
6509    impl Porr01 {
6510        #[doc = "No effect on output"]
6511        pub const _0: Self = Self::new(0);
6512
6513        #[doc = "Low output"]
6514        pub const _1: Self = Self::new(1);
6515    }
6516    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6517    pub struct Porr02_SPEC;
6518    pub type Porr02 = crate::EnumBitfieldStruct<u8, Porr02_SPEC>;
6519    impl Porr02 {
6520        #[doc = "No effect on output"]
6521        pub const _0: Self = Self::new(0);
6522
6523        #[doc = "Low output"]
6524        pub const _1: Self = Self::new(1);
6525    }
6526    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6527    pub struct Porr03_SPEC;
6528    pub type Porr03 = crate::EnumBitfieldStruct<u8, Porr03_SPEC>;
6529    impl Porr03 {
6530        #[doc = "No effect on output"]
6531        pub const _0: Self = Self::new(0);
6532
6533        #[doc = "Low output"]
6534        pub const _1: Self = Self::new(1);
6535    }
6536    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6537    pub struct Porr04_SPEC;
6538    pub type Porr04 = crate::EnumBitfieldStruct<u8, Porr04_SPEC>;
6539    impl Porr04 {
6540        #[doc = "No effect on output"]
6541        pub const _0: Self = Self::new(0);
6542
6543        #[doc = "Low output"]
6544        pub const _1: Self = Self::new(1);
6545    }
6546    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6547    pub struct Porr05_SPEC;
6548    pub type Porr05 = crate::EnumBitfieldStruct<u8, Porr05_SPEC>;
6549    impl Porr05 {
6550        #[doc = "No effect on output"]
6551        pub const _0: Self = Self::new(0);
6552
6553        #[doc = "Low output"]
6554        pub const _1: Self = Self::new(1);
6555    }
6556    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6557    pub struct Porr06_SPEC;
6558    pub type Porr06 = crate::EnumBitfieldStruct<u8, Porr06_SPEC>;
6559    impl Porr06 {
6560        #[doc = "No effect on output"]
6561        pub const _0: Self = Self::new(0);
6562
6563        #[doc = "Low output"]
6564        pub const _1: Self = Self::new(1);
6565    }
6566    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6567    pub struct Porr07_SPEC;
6568    pub type Porr07 = crate::EnumBitfieldStruct<u8, Porr07_SPEC>;
6569    impl Porr07 {
6570        #[doc = "No effect on output"]
6571        pub const _0: Self = Self::new(0);
6572
6573        #[doc = "Low output"]
6574        pub const _1: Self = Self::new(1);
6575    }
6576    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6577    pub struct Porr08_SPEC;
6578    pub type Porr08 = crate::EnumBitfieldStruct<u8, Porr08_SPEC>;
6579    impl Porr08 {
6580        #[doc = "No effect on output"]
6581        pub const _0: Self = Self::new(0);
6582
6583        #[doc = "Low output"]
6584        pub const _1: Self = Self::new(1);
6585    }
6586    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6587    pub struct Porr09_SPEC;
6588    pub type Porr09 = crate::EnumBitfieldStruct<u8, Porr09_SPEC>;
6589    impl Porr09 {
6590        #[doc = "No effect on output"]
6591        pub const _0: Self = Self::new(0);
6592
6593        #[doc = "Low output"]
6594        pub const _1: Self = Self::new(1);
6595    }
6596    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6597    pub struct Porr10_SPEC;
6598    pub type Porr10 = crate::EnumBitfieldStruct<u8, Porr10_SPEC>;
6599    impl Porr10 {
6600        #[doc = "No effect on output"]
6601        pub const _0: Self = Self::new(0);
6602
6603        #[doc = "Low output"]
6604        pub const _1: Self = Self::new(1);
6605    }
6606    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6607    pub struct Porr11_SPEC;
6608    pub type Porr11 = crate::EnumBitfieldStruct<u8, Porr11_SPEC>;
6609    impl Porr11 {
6610        #[doc = "No effect on output"]
6611        pub const _0: Self = Self::new(0);
6612
6613        #[doc = "Low output"]
6614        pub const _1: Self = Self::new(1);
6615    }
6616    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6617    pub struct Porr12_SPEC;
6618    pub type Porr12 = crate::EnumBitfieldStruct<u8, Porr12_SPEC>;
6619    impl Porr12 {
6620        #[doc = "No effect on output"]
6621        pub const _0: Self = Self::new(0);
6622
6623        #[doc = "Low output"]
6624        pub const _1: Self = Self::new(1);
6625    }
6626    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6627    pub struct Porr13_SPEC;
6628    pub type Porr13 = crate::EnumBitfieldStruct<u8, Porr13_SPEC>;
6629    impl Porr13 {
6630        #[doc = "No effect on output"]
6631        pub const _0: Self = Self::new(0);
6632
6633        #[doc = "Low output"]
6634        pub const _1: Self = Self::new(1);
6635    }
6636    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6637    pub struct Porr14_SPEC;
6638    pub type Porr14 = crate::EnumBitfieldStruct<u8, Porr14_SPEC>;
6639    impl Porr14 {
6640        #[doc = "No effect on output"]
6641        pub const _0: Self = Self::new(0);
6642
6643        #[doc = "Low output"]
6644        pub const _1: Self = Self::new(1);
6645    }
6646    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6647    pub struct Porr15_SPEC;
6648    pub type Porr15 = crate::EnumBitfieldStruct<u8, Porr15_SPEC>;
6649    impl Porr15 {
6650        #[doc = "No effect on output"]
6651        pub const _0: Self = Self::new(0);
6652
6653        #[doc = "Low output"]
6654        pub const _1: Self = Self::new(1);
6655    }
6656}
6657#[doc(hidden)]
6658#[derive(Copy, Clone, Eq, PartialEq)]
6659pub struct Posr_SPEC;
6660impl crate::sealed::RegSpec for Posr_SPEC {
6661    type DataType = u16;
6662}
6663
6664#[doc = "Port Control Register 3"]
6665pub type Posr = crate::RegValueT<Posr_SPEC>;
6666
6667impl Posr {
6668    #[doc = "Pmn Output Set"]
6669    #[inline(always)]
6670    pub fn posr00(
6671        self,
6672    ) -> crate::common::RegisterField<
6673        0,
6674        0x1,
6675        1,
6676        0,
6677        posr::Posr00,
6678        posr::Posr00,
6679        Posr_SPEC,
6680        crate::common::W,
6681    > {
6682        crate::common::RegisterField::<
6683            0,
6684            0x1,
6685            1,
6686            0,
6687            posr::Posr00,
6688            posr::Posr00,
6689            Posr_SPEC,
6690            crate::common::W,
6691        >::from_register(self, 0)
6692    }
6693
6694    #[doc = "Pmn Output Set"]
6695    #[inline(always)]
6696    pub fn posr01(
6697        self,
6698    ) -> crate::common::RegisterField<
6699        1,
6700        0x1,
6701        1,
6702        0,
6703        posr::Posr01,
6704        posr::Posr01,
6705        Posr_SPEC,
6706        crate::common::W,
6707    > {
6708        crate::common::RegisterField::<
6709            1,
6710            0x1,
6711            1,
6712            0,
6713            posr::Posr01,
6714            posr::Posr01,
6715            Posr_SPEC,
6716            crate::common::W,
6717        >::from_register(self, 0)
6718    }
6719
6720    #[doc = "Pmn Output Set"]
6721    #[inline(always)]
6722    pub fn posr02(
6723        self,
6724    ) -> crate::common::RegisterField<
6725        2,
6726        0x1,
6727        1,
6728        0,
6729        posr::Posr02,
6730        posr::Posr02,
6731        Posr_SPEC,
6732        crate::common::W,
6733    > {
6734        crate::common::RegisterField::<
6735            2,
6736            0x1,
6737            1,
6738            0,
6739            posr::Posr02,
6740            posr::Posr02,
6741            Posr_SPEC,
6742            crate::common::W,
6743        >::from_register(self, 0)
6744    }
6745
6746    #[doc = "Pmn Output Set"]
6747    #[inline(always)]
6748    pub fn posr03(
6749        self,
6750    ) -> crate::common::RegisterField<
6751        3,
6752        0x1,
6753        1,
6754        0,
6755        posr::Posr03,
6756        posr::Posr03,
6757        Posr_SPEC,
6758        crate::common::W,
6759    > {
6760        crate::common::RegisterField::<
6761            3,
6762            0x1,
6763            1,
6764            0,
6765            posr::Posr03,
6766            posr::Posr03,
6767            Posr_SPEC,
6768            crate::common::W,
6769        >::from_register(self, 0)
6770    }
6771
6772    #[doc = "Pmn Output Set"]
6773    #[inline(always)]
6774    pub fn posr04(
6775        self,
6776    ) -> crate::common::RegisterField<
6777        4,
6778        0x1,
6779        1,
6780        0,
6781        posr::Posr04,
6782        posr::Posr04,
6783        Posr_SPEC,
6784        crate::common::W,
6785    > {
6786        crate::common::RegisterField::<
6787            4,
6788            0x1,
6789            1,
6790            0,
6791            posr::Posr04,
6792            posr::Posr04,
6793            Posr_SPEC,
6794            crate::common::W,
6795        >::from_register(self, 0)
6796    }
6797
6798    #[doc = "Pmn Output Set"]
6799    #[inline(always)]
6800    pub fn posr05(
6801        self,
6802    ) -> crate::common::RegisterField<
6803        5,
6804        0x1,
6805        1,
6806        0,
6807        posr::Posr05,
6808        posr::Posr05,
6809        Posr_SPEC,
6810        crate::common::W,
6811    > {
6812        crate::common::RegisterField::<
6813            5,
6814            0x1,
6815            1,
6816            0,
6817            posr::Posr05,
6818            posr::Posr05,
6819            Posr_SPEC,
6820            crate::common::W,
6821        >::from_register(self, 0)
6822    }
6823
6824    #[doc = "Pmn Output Set"]
6825    #[inline(always)]
6826    pub fn posr06(
6827        self,
6828    ) -> crate::common::RegisterField<
6829        6,
6830        0x1,
6831        1,
6832        0,
6833        posr::Posr06,
6834        posr::Posr06,
6835        Posr_SPEC,
6836        crate::common::W,
6837    > {
6838        crate::common::RegisterField::<
6839            6,
6840            0x1,
6841            1,
6842            0,
6843            posr::Posr06,
6844            posr::Posr06,
6845            Posr_SPEC,
6846            crate::common::W,
6847        >::from_register(self, 0)
6848    }
6849
6850    #[doc = "Pmn Output Set"]
6851    #[inline(always)]
6852    pub fn posr07(
6853        self,
6854    ) -> crate::common::RegisterField<
6855        7,
6856        0x1,
6857        1,
6858        0,
6859        posr::Posr07,
6860        posr::Posr07,
6861        Posr_SPEC,
6862        crate::common::W,
6863    > {
6864        crate::common::RegisterField::<
6865            7,
6866            0x1,
6867            1,
6868            0,
6869            posr::Posr07,
6870            posr::Posr07,
6871            Posr_SPEC,
6872            crate::common::W,
6873        >::from_register(self, 0)
6874    }
6875
6876    #[doc = "Pmn Output Set"]
6877    #[inline(always)]
6878    pub fn posr08(
6879        self,
6880    ) -> crate::common::RegisterField<
6881        8,
6882        0x1,
6883        1,
6884        0,
6885        posr::Posr08,
6886        posr::Posr08,
6887        Posr_SPEC,
6888        crate::common::W,
6889    > {
6890        crate::common::RegisterField::<
6891            8,
6892            0x1,
6893            1,
6894            0,
6895            posr::Posr08,
6896            posr::Posr08,
6897            Posr_SPEC,
6898            crate::common::W,
6899        >::from_register(self, 0)
6900    }
6901
6902    #[doc = "Pmn Output Set"]
6903    #[inline(always)]
6904    pub fn posr09(
6905        self,
6906    ) -> crate::common::RegisterField<
6907        9,
6908        0x1,
6909        1,
6910        0,
6911        posr::Posr09,
6912        posr::Posr09,
6913        Posr_SPEC,
6914        crate::common::W,
6915    > {
6916        crate::common::RegisterField::<
6917            9,
6918            0x1,
6919            1,
6920            0,
6921            posr::Posr09,
6922            posr::Posr09,
6923            Posr_SPEC,
6924            crate::common::W,
6925        >::from_register(self, 0)
6926    }
6927
6928    #[doc = "Pmn Output Set"]
6929    #[inline(always)]
6930    pub fn posr10(
6931        self,
6932    ) -> crate::common::RegisterField<
6933        10,
6934        0x1,
6935        1,
6936        0,
6937        posr::Posr10,
6938        posr::Posr10,
6939        Posr_SPEC,
6940        crate::common::W,
6941    > {
6942        crate::common::RegisterField::<
6943            10,
6944            0x1,
6945            1,
6946            0,
6947            posr::Posr10,
6948            posr::Posr10,
6949            Posr_SPEC,
6950            crate::common::W,
6951        >::from_register(self, 0)
6952    }
6953
6954    #[doc = "Pmn Output Set"]
6955    #[inline(always)]
6956    pub fn posr11(
6957        self,
6958    ) -> crate::common::RegisterField<
6959        11,
6960        0x1,
6961        1,
6962        0,
6963        posr::Posr11,
6964        posr::Posr11,
6965        Posr_SPEC,
6966        crate::common::W,
6967    > {
6968        crate::common::RegisterField::<
6969            11,
6970            0x1,
6971            1,
6972            0,
6973            posr::Posr11,
6974            posr::Posr11,
6975            Posr_SPEC,
6976            crate::common::W,
6977        >::from_register(self, 0)
6978    }
6979
6980    #[doc = "Pmn Output Set"]
6981    #[inline(always)]
6982    pub fn posr12(
6983        self,
6984    ) -> crate::common::RegisterField<
6985        12,
6986        0x1,
6987        1,
6988        0,
6989        posr::Posr12,
6990        posr::Posr12,
6991        Posr_SPEC,
6992        crate::common::W,
6993    > {
6994        crate::common::RegisterField::<
6995            12,
6996            0x1,
6997            1,
6998            0,
6999            posr::Posr12,
7000            posr::Posr12,
7001            Posr_SPEC,
7002            crate::common::W,
7003        >::from_register(self, 0)
7004    }
7005
7006    #[doc = "Pmn Output Set"]
7007    #[inline(always)]
7008    pub fn posr13(
7009        self,
7010    ) -> crate::common::RegisterField<
7011        13,
7012        0x1,
7013        1,
7014        0,
7015        posr::Posr13,
7016        posr::Posr13,
7017        Posr_SPEC,
7018        crate::common::W,
7019    > {
7020        crate::common::RegisterField::<
7021            13,
7022            0x1,
7023            1,
7024            0,
7025            posr::Posr13,
7026            posr::Posr13,
7027            Posr_SPEC,
7028            crate::common::W,
7029        >::from_register(self, 0)
7030    }
7031
7032    #[doc = "Pmn Output Set"]
7033    #[inline(always)]
7034    pub fn posr14(
7035        self,
7036    ) -> crate::common::RegisterField<
7037        14,
7038        0x1,
7039        1,
7040        0,
7041        posr::Posr14,
7042        posr::Posr14,
7043        Posr_SPEC,
7044        crate::common::W,
7045    > {
7046        crate::common::RegisterField::<
7047            14,
7048            0x1,
7049            1,
7050            0,
7051            posr::Posr14,
7052            posr::Posr14,
7053            Posr_SPEC,
7054            crate::common::W,
7055        >::from_register(self, 0)
7056    }
7057
7058    #[doc = "Pmn Output Set"]
7059    #[inline(always)]
7060    pub fn posr15(
7061        self,
7062    ) -> crate::common::RegisterField<
7063        15,
7064        0x1,
7065        1,
7066        0,
7067        posr::Posr15,
7068        posr::Posr15,
7069        Posr_SPEC,
7070        crate::common::W,
7071    > {
7072        crate::common::RegisterField::<
7073            15,
7074            0x1,
7075            1,
7076            0,
7077            posr::Posr15,
7078            posr::Posr15,
7079            Posr_SPEC,
7080            crate::common::W,
7081        >::from_register(self, 0)
7082    }
7083}
7084impl ::core::default::Default for Posr {
7085    #[inline(always)]
7086    fn default() -> Posr {
7087        <crate::RegValueT<Posr_SPEC> as RegisterValue<_>>::new(0)
7088    }
7089}
7090pub mod posr {
7091
7092    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7093    pub struct Posr00_SPEC;
7094    pub type Posr00 = crate::EnumBitfieldStruct<u8, Posr00_SPEC>;
7095    impl Posr00 {
7096        #[doc = "No effect on output"]
7097        pub const _0: Self = Self::new(0);
7098
7099        #[doc = "High output"]
7100        pub const _1: Self = Self::new(1);
7101    }
7102    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7103    pub struct Posr01_SPEC;
7104    pub type Posr01 = crate::EnumBitfieldStruct<u8, Posr01_SPEC>;
7105    impl Posr01 {
7106        #[doc = "No effect on output"]
7107        pub const _0: Self = Self::new(0);
7108
7109        #[doc = "High output"]
7110        pub const _1: Self = Self::new(1);
7111    }
7112    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7113    pub struct Posr02_SPEC;
7114    pub type Posr02 = crate::EnumBitfieldStruct<u8, Posr02_SPEC>;
7115    impl Posr02 {
7116        #[doc = "No effect on output"]
7117        pub const _0: Self = Self::new(0);
7118
7119        #[doc = "High output"]
7120        pub const _1: Self = Self::new(1);
7121    }
7122    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7123    pub struct Posr03_SPEC;
7124    pub type Posr03 = crate::EnumBitfieldStruct<u8, Posr03_SPEC>;
7125    impl Posr03 {
7126        #[doc = "No effect on output"]
7127        pub const _0: Self = Self::new(0);
7128
7129        #[doc = "High output"]
7130        pub const _1: Self = Self::new(1);
7131    }
7132    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7133    pub struct Posr04_SPEC;
7134    pub type Posr04 = crate::EnumBitfieldStruct<u8, Posr04_SPEC>;
7135    impl Posr04 {
7136        #[doc = "No effect on output"]
7137        pub const _0: Self = Self::new(0);
7138
7139        #[doc = "High output"]
7140        pub const _1: Self = Self::new(1);
7141    }
7142    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7143    pub struct Posr05_SPEC;
7144    pub type Posr05 = crate::EnumBitfieldStruct<u8, Posr05_SPEC>;
7145    impl Posr05 {
7146        #[doc = "No effect on output"]
7147        pub const _0: Self = Self::new(0);
7148
7149        #[doc = "High output"]
7150        pub const _1: Self = Self::new(1);
7151    }
7152    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7153    pub struct Posr06_SPEC;
7154    pub type Posr06 = crate::EnumBitfieldStruct<u8, Posr06_SPEC>;
7155    impl Posr06 {
7156        #[doc = "No effect on output"]
7157        pub const _0: Self = Self::new(0);
7158
7159        #[doc = "High output"]
7160        pub const _1: Self = Self::new(1);
7161    }
7162    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7163    pub struct Posr07_SPEC;
7164    pub type Posr07 = crate::EnumBitfieldStruct<u8, Posr07_SPEC>;
7165    impl Posr07 {
7166        #[doc = "No effect on output"]
7167        pub const _0: Self = Self::new(0);
7168
7169        #[doc = "High output"]
7170        pub const _1: Self = Self::new(1);
7171    }
7172    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7173    pub struct Posr08_SPEC;
7174    pub type Posr08 = crate::EnumBitfieldStruct<u8, Posr08_SPEC>;
7175    impl Posr08 {
7176        #[doc = "No effect on output"]
7177        pub const _0: Self = Self::new(0);
7178
7179        #[doc = "High output"]
7180        pub const _1: Self = Self::new(1);
7181    }
7182    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7183    pub struct Posr09_SPEC;
7184    pub type Posr09 = crate::EnumBitfieldStruct<u8, Posr09_SPEC>;
7185    impl Posr09 {
7186        #[doc = "No effect on output"]
7187        pub const _0: Self = Self::new(0);
7188
7189        #[doc = "High output"]
7190        pub const _1: Self = Self::new(1);
7191    }
7192    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7193    pub struct Posr10_SPEC;
7194    pub type Posr10 = crate::EnumBitfieldStruct<u8, Posr10_SPEC>;
7195    impl Posr10 {
7196        #[doc = "No effect on output"]
7197        pub const _0: Self = Self::new(0);
7198
7199        #[doc = "High output"]
7200        pub const _1: Self = Self::new(1);
7201    }
7202    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7203    pub struct Posr11_SPEC;
7204    pub type Posr11 = crate::EnumBitfieldStruct<u8, Posr11_SPEC>;
7205    impl Posr11 {
7206        #[doc = "No effect on output"]
7207        pub const _0: Self = Self::new(0);
7208
7209        #[doc = "High output"]
7210        pub const _1: Self = Self::new(1);
7211    }
7212    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7213    pub struct Posr12_SPEC;
7214    pub type Posr12 = crate::EnumBitfieldStruct<u8, Posr12_SPEC>;
7215    impl Posr12 {
7216        #[doc = "No effect on output"]
7217        pub const _0: Self = Self::new(0);
7218
7219        #[doc = "High output"]
7220        pub const _1: Self = Self::new(1);
7221    }
7222    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7223    pub struct Posr13_SPEC;
7224    pub type Posr13 = crate::EnumBitfieldStruct<u8, Posr13_SPEC>;
7225    impl Posr13 {
7226        #[doc = "No effect on output"]
7227        pub const _0: Self = Self::new(0);
7228
7229        #[doc = "High output"]
7230        pub const _1: Self = Self::new(1);
7231    }
7232    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7233    pub struct Posr14_SPEC;
7234    pub type Posr14 = crate::EnumBitfieldStruct<u8, Posr14_SPEC>;
7235    impl Posr14 {
7236        #[doc = "No effect on output"]
7237        pub const _0: Self = Self::new(0);
7238
7239        #[doc = "High output"]
7240        pub const _1: Self = Self::new(1);
7241    }
7242    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7243    pub struct Posr15_SPEC;
7244    pub type Posr15 = crate::EnumBitfieldStruct<u8, Posr15_SPEC>;
7245    impl Posr15 {
7246        #[doc = "No effect on output"]
7247        pub const _0: Self = Self::new(0);
7248
7249        #[doc = "High output"]
7250        pub const _1: Self = Self::new(1);
7251    }
7252}
7253#[doc(hidden)]
7254#[derive(Copy, Clone, Eq, PartialEq)]
7255pub struct Pcntr4_SPEC;
7256impl crate::sealed::RegSpec for Pcntr4_SPEC {
7257    type DataType = u32;
7258}
7259
7260#[doc = "Port Control Register 4"]
7261pub type Pcntr4 = crate::RegValueT<Pcntr4_SPEC>;
7262
7263impl Pcntr4 {
7264    #[doc = "Pmn Event Output Set"]
7265    #[inline(always)]
7266    pub fn eosr00(
7267        self,
7268    ) -> crate::common::RegisterField<
7269        0,
7270        0x1,
7271        1,
7272        0,
7273        pcntr4::Eosr00,
7274        pcntr4::Eosr00,
7275        Pcntr4_SPEC,
7276        crate::common::RW,
7277    > {
7278        crate::common::RegisterField::<
7279            0,
7280            0x1,
7281            1,
7282            0,
7283            pcntr4::Eosr00,
7284            pcntr4::Eosr00,
7285            Pcntr4_SPEC,
7286            crate::common::RW,
7287        >::from_register(self, 0)
7288    }
7289
7290    #[doc = "Pmn Event Output Set"]
7291    #[inline(always)]
7292    pub fn eosr01(
7293        self,
7294    ) -> crate::common::RegisterField<
7295        1,
7296        0x1,
7297        1,
7298        0,
7299        pcntr4::Eosr01,
7300        pcntr4::Eosr01,
7301        Pcntr4_SPEC,
7302        crate::common::RW,
7303    > {
7304        crate::common::RegisterField::<
7305            1,
7306            0x1,
7307            1,
7308            0,
7309            pcntr4::Eosr01,
7310            pcntr4::Eosr01,
7311            Pcntr4_SPEC,
7312            crate::common::RW,
7313        >::from_register(self, 0)
7314    }
7315
7316    #[doc = "Pmn Event Output Set"]
7317    #[inline(always)]
7318    pub fn eosr02(
7319        self,
7320    ) -> crate::common::RegisterField<
7321        2,
7322        0x1,
7323        1,
7324        0,
7325        pcntr4::Eosr02,
7326        pcntr4::Eosr02,
7327        Pcntr4_SPEC,
7328        crate::common::RW,
7329    > {
7330        crate::common::RegisterField::<
7331            2,
7332            0x1,
7333            1,
7334            0,
7335            pcntr4::Eosr02,
7336            pcntr4::Eosr02,
7337            Pcntr4_SPEC,
7338            crate::common::RW,
7339        >::from_register(self, 0)
7340    }
7341
7342    #[doc = "Pmn Event Output Set"]
7343    #[inline(always)]
7344    pub fn eosr03(
7345        self,
7346    ) -> crate::common::RegisterField<
7347        3,
7348        0x1,
7349        1,
7350        0,
7351        pcntr4::Eosr03,
7352        pcntr4::Eosr03,
7353        Pcntr4_SPEC,
7354        crate::common::RW,
7355    > {
7356        crate::common::RegisterField::<
7357            3,
7358            0x1,
7359            1,
7360            0,
7361            pcntr4::Eosr03,
7362            pcntr4::Eosr03,
7363            Pcntr4_SPEC,
7364            crate::common::RW,
7365        >::from_register(self, 0)
7366    }
7367
7368    #[doc = "Pmn Event Output Set"]
7369    #[inline(always)]
7370    pub fn eosr04(
7371        self,
7372    ) -> crate::common::RegisterField<
7373        4,
7374        0x1,
7375        1,
7376        0,
7377        pcntr4::Eosr04,
7378        pcntr4::Eosr04,
7379        Pcntr4_SPEC,
7380        crate::common::RW,
7381    > {
7382        crate::common::RegisterField::<
7383            4,
7384            0x1,
7385            1,
7386            0,
7387            pcntr4::Eosr04,
7388            pcntr4::Eosr04,
7389            Pcntr4_SPEC,
7390            crate::common::RW,
7391        >::from_register(self, 0)
7392    }
7393
7394    #[doc = "Pmn Event Output Set"]
7395    #[inline(always)]
7396    pub fn eosr05(
7397        self,
7398    ) -> crate::common::RegisterField<
7399        5,
7400        0x1,
7401        1,
7402        0,
7403        pcntr4::Eosr05,
7404        pcntr4::Eosr05,
7405        Pcntr4_SPEC,
7406        crate::common::RW,
7407    > {
7408        crate::common::RegisterField::<
7409            5,
7410            0x1,
7411            1,
7412            0,
7413            pcntr4::Eosr05,
7414            pcntr4::Eosr05,
7415            Pcntr4_SPEC,
7416            crate::common::RW,
7417        >::from_register(self, 0)
7418    }
7419
7420    #[doc = "Pmn Event Output Set"]
7421    #[inline(always)]
7422    pub fn eosr06(
7423        self,
7424    ) -> crate::common::RegisterField<
7425        6,
7426        0x1,
7427        1,
7428        0,
7429        pcntr4::Eosr06,
7430        pcntr4::Eosr06,
7431        Pcntr4_SPEC,
7432        crate::common::RW,
7433    > {
7434        crate::common::RegisterField::<
7435            6,
7436            0x1,
7437            1,
7438            0,
7439            pcntr4::Eosr06,
7440            pcntr4::Eosr06,
7441            Pcntr4_SPEC,
7442            crate::common::RW,
7443        >::from_register(self, 0)
7444    }
7445
7446    #[doc = "Pmn Event Output Set"]
7447    #[inline(always)]
7448    pub fn eosr07(
7449        self,
7450    ) -> crate::common::RegisterField<
7451        7,
7452        0x1,
7453        1,
7454        0,
7455        pcntr4::Eosr07,
7456        pcntr4::Eosr07,
7457        Pcntr4_SPEC,
7458        crate::common::RW,
7459    > {
7460        crate::common::RegisterField::<
7461            7,
7462            0x1,
7463            1,
7464            0,
7465            pcntr4::Eosr07,
7466            pcntr4::Eosr07,
7467            Pcntr4_SPEC,
7468            crate::common::RW,
7469        >::from_register(self, 0)
7470    }
7471
7472    #[doc = "Pmn Event Output Set"]
7473    #[inline(always)]
7474    pub fn eosr08(
7475        self,
7476    ) -> crate::common::RegisterField<
7477        8,
7478        0x1,
7479        1,
7480        0,
7481        pcntr4::Eosr08,
7482        pcntr4::Eosr08,
7483        Pcntr4_SPEC,
7484        crate::common::RW,
7485    > {
7486        crate::common::RegisterField::<
7487            8,
7488            0x1,
7489            1,
7490            0,
7491            pcntr4::Eosr08,
7492            pcntr4::Eosr08,
7493            Pcntr4_SPEC,
7494            crate::common::RW,
7495        >::from_register(self, 0)
7496    }
7497
7498    #[doc = "Pmn Event Output Set"]
7499    #[inline(always)]
7500    pub fn eosr09(
7501        self,
7502    ) -> crate::common::RegisterField<
7503        9,
7504        0x1,
7505        1,
7506        0,
7507        pcntr4::Eosr09,
7508        pcntr4::Eosr09,
7509        Pcntr4_SPEC,
7510        crate::common::RW,
7511    > {
7512        crate::common::RegisterField::<
7513            9,
7514            0x1,
7515            1,
7516            0,
7517            pcntr4::Eosr09,
7518            pcntr4::Eosr09,
7519            Pcntr4_SPEC,
7520            crate::common::RW,
7521        >::from_register(self, 0)
7522    }
7523
7524    #[doc = "Pmn Event Output Set"]
7525    #[inline(always)]
7526    pub fn eosr10(
7527        self,
7528    ) -> crate::common::RegisterField<
7529        10,
7530        0x1,
7531        1,
7532        0,
7533        pcntr4::Eosr10,
7534        pcntr4::Eosr10,
7535        Pcntr4_SPEC,
7536        crate::common::RW,
7537    > {
7538        crate::common::RegisterField::<
7539            10,
7540            0x1,
7541            1,
7542            0,
7543            pcntr4::Eosr10,
7544            pcntr4::Eosr10,
7545            Pcntr4_SPEC,
7546            crate::common::RW,
7547        >::from_register(self, 0)
7548    }
7549
7550    #[doc = "Pmn Event Output Set"]
7551    #[inline(always)]
7552    pub fn eosr11(
7553        self,
7554    ) -> crate::common::RegisterField<
7555        11,
7556        0x1,
7557        1,
7558        0,
7559        pcntr4::Eosr11,
7560        pcntr4::Eosr11,
7561        Pcntr4_SPEC,
7562        crate::common::RW,
7563    > {
7564        crate::common::RegisterField::<
7565            11,
7566            0x1,
7567            1,
7568            0,
7569            pcntr4::Eosr11,
7570            pcntr4::Eosr11,
7571            Pcntr4_SPEC,
7572            crate::common::RW,
7573        >::from_register(self, 0)
7574    }
7575
7576    #[doc = "Pmn Event Output Set"]
7577    #[inline(always)]
7578    pub fn eosr12(
7579        self,
7580    ) -> crate::common::RegisterField<
7581        12,
7582        0x1,
7583        1,
7584        0,
7585        pcntr4::Eosr12,
7586        pcntr4::Eosr12,
7587        Pcntr4_SPEC,
7588        crate::common::RW,
7589    > {
7590        crate::common::RegisterField::<
7591            12,
7592            0x1,
7593            1,
7594            0,
7595            pcntr4::Eosr12,
7596            pcntr4::Eosr12,
7597            Pcntr4_SPEC,
7598            crate::common::RW,
7599        >::from_register(self, 0)
7600    }
7601
7602    #[doc = "Pmn Event Output Set"]
7603    #[inline(always)]
7604    pub fn eosr13(
7605        self,
7606    ) -> crate::common::RegisterField<
7607        13,
7608        0x1,
7609        1,
7610        0,
7611        pcntr4::Eosr13,
7612        pcntr4::Eosr13,
7613        Pcntr4_SPEC,
7614        crate::common::RW,
7615    > {
7616        crate::common::RegisterField::<
7617            13,
7618            0x1,
7619            1,
7620            0,
7621            pcntr4::Eosr13,
7622            pcntr4::Eosr13,
7623            Pcntr4_SPEC,
7624            crate::common::RW,
7625        >::from_register(self, 0)
7626    }
7627
7628    #[doc = "Pmn Event Output Set"]
7629    #[inline(always)]
7630    pub fn eosr14(
7631        self,
7632    ) -> crate::common::RegisterField<
7633        14,
7634        0x1,
7635        1,
7636        0,
7637        pcntr4::Eosr14,
7638        pcntr4::Eosr14,
7639        Pcntr4_SPEC,
7640        crate::common::RW,
7641    > {
7642        crate::common::RegisterField::<
7643            14,
7644            0x1,
7645            1,
7646            0,
7647            pcntr4::Eosr14,
7648            pcntr4::Eosr14,
7649            Pcntr4_SPEC,
7650            crate::common::RW,
7651        >::from_register(self, 0)
7652    }
7653
7654    #[doc = "Pmn Event Output Set"]
7655    #[inline(always)]
7656    pub fn eosr15(
7657        self,
7658    ) -> crate::common::RegisterField<
7659        15,
7660        0x1,
7661        1,
7662        0,
7663        pcntr4::Eosr15,
7664        pcntr4::Eosr15,
7665        Pcntr4_SPEC,
7666        crate::common::RW,
7667    > {
7668        crate::common::RegisterField::<
7669            15,
7670            0x1,
7671            1,
7672            0,
7673            pcntr4::Eosr15,
7674            pcntr4::Eosr15,
7675            Pcntr4_SPEC,
7676            crate::common::RW,
7677        >::from_register(self, 0)
7678    }
7679
7680    #[doc = "Pmn Event Output Reset"]
7681    #[inline(always)]
7682    pub fn eorr00(
7683        self,
7684    ) -> crate::common::RegisterField<
7685        16,
7686        0x1,
7687        1,
7688        0,
7689        pcntr4::Eorr00,
7690        pcntr4::Eorr00,
7691        Pcntr4_SPEC,
7692        crate::common::RW,
7693    > {
7694        crate::common::RegisterField::<
7695            16,
7696            0x1,
7697            1,
7698            0,
7699            pcntr4::Eorr00,
7700            pcntr4::Eorr00,
7701            Pcntr4_SPEC,
7702            crate::common::RW,
7703        >::from_register(self, 0)
7704    }
7705
7706    #[doc = "Pmn Event Output Reset"]
7707    #[inline(always)]
7708    pub fn eorr01(
7709        self,
7710    ) -> crate::common::RegisterField<
7711        17,
7712        0x1,
7713        1,
7714        0,
7715        pcntr4::Eorr01,
7716        pcntr4::Eorr01,
7717        Pcntr4_SPEC,
7718        crate::common::RW,
7719    > {
7720        crate::common::RegisterField::<
7721            17,
7722            0x1,
7723            1,
7724            0,
7725            pcntr4::Eorr01,
7726            pcntr4::Eorr01,
7727            Pcntr4_SPEC,
7728            crate::common::RW,
7729        >::from_register(self, 0)
7730    }
7731
7732    #[doc = "Pmn Event Output Reset"]
7733    #[inline(always)]
7734    pub fn eorr02(
7735        self,
7736    ) -> crate::common::RegisterField<
7737        18,
7738        0x1,
7739        1,
7740        0,
7741        pcntr4::Eorr02,
7742        pcntr4::Eorr02,
7743        Pcntr4_SPEC,
7744        crate::common::RW,
7745    > {
7746        crate::common::RegisterField::<
7747            18,
7748            0x1,
7749            1,
7750            0,
7751            pcntr4::Eorr02,
7752            pcntr4::Eorr02,
7753            Pcntr4_SPEC,
7754            crate::common::RW,
7755        >::from_register(self, 0)
7756    }
7757
7758    #[doc = "Pmn Event Output Reset"]
7759    #[inline(always)]
7760    pub fn eorr03(
7761        self,
7762    ) -> crate::common::RegisterField<
7763        19,
7764        0x1,
7765        1,
7766        0,
7767        pcntr4::Eorr03,
7768        pcntr4::Eorr03,
7769        Pcntr4_SPEC,
7770        crate::common::RW,
7771    > {
7772        crate::common::RegisterField::<
7773            19,
7774            0x1,
7775            1,
7776            0,
7777            pcntr4::Eorr03,
7778            pcntr4::Eorr03,
7779            Pcntr4_SPEC,
7780            crate::common::RW,
7781        >::from_register(self, 0)
7782    }
7783
7784    #[doc = "Pmn Event Output Reset"]
7785    #[inline(always)]
7786    pub fn eorr04(
7787        self,
7788    ) -> crate::common::RegisterField<
7789        20,
7790        0x1,
7791        1,
7792        0,
7793        pcntr4::Eorr04,
7794        pcntr4::Eorr04,
7795        Pcntr4_SPEC,
7796        crate::common::RW,
7797    > {
7798        crate::common::RegisterField::<
7799            20,
7800            0x1,
7801            1,
7802            0,
7803            pcntr4::Eorr04,
7804            pcntr4::Eorr04,
7805            Pcntr4_SPEC,
7806            crate::common::RW,
7807        >::from_register(self, 0)
7808    }
7809
7810    #[doc = "Pmn Event Output Reset"]
7811    #[inline(always)]
7812    pub fn eorr05(
7813        self,
7814    ) -> crate::common::RegisterField<
7815        21,
7816        0x1,
7817        1,
7818        0,
7819        pcntr4::Eorr05,
7820        pcntr4::Eorr05,
7821        Pcntr4_SPEC,
7822        crate::common::RW,
7823    > {
7824        crate::common::RegisterField::<
7825            21,
7826            0x1,
7827            1,
7828            0,
7829            pcntr4::Eorr05,
7830            pcntr4::Eorr05,
7831            Pcntr4_SPEC,
7832            crate::common::RW,
7833        >::from_register(self, 0)
7834    }
7835
7836    #[doc = "Pmn Event Output Reset"]
7837    #[inline(always)]
7838    pub fn eorr06(
7839        self,
7840    ) -> crate::common::RegisterField<
7841        22,
7842        0x1,
7843        1,
7844        0,
7845        pcntr4::Eorr06,
7846        pcntr4::Eorr06,
7847        Pcntr4_SPEC,
7848        crate::common::RW,
7849    > {
7850        crate::common::RegisterField::<
7851            22,
7852            0x1,
7853            1,
7854            0,
7855            pcntr4::Eorr06,
7856            pcntr4::Eorr06,
7857            Pcntr4_SPEC,
7858            crate::common::RW,
7859        >::from_register(self, 0)
7860    }
7861
7862    #[doc = "Pmn Event Output Reset"]
7863    #[inline(always)]
7864    pub fn eorr07(
7865        self,
7866    ) -> crate::common::RegisterField<
7867        23,
7868        0x1,
7869        1,
7870        0,
7871        pcntr4::Eorr07,
7872        pcntr4::Eorr07,
7873        Pcntr4_SPEC,
7874        crate::common::RW,
7875    > {
7876        crate::common::RegisterField::<
7877            23,
7878            0x1,
7879            1,
7880            0,
7881            pcntr4::Eorr07,
7882            pcntr4::Eorr07,
7883            Pcntr4_SPEC,
7884            crate::common::RW,
7885        >::from_register(self, 0)
7886    }
7887
7888    #[doc = "Pmn Event Output Reset"]
7889    #[inline(always)]
7890    pub fn eorr08(
7891        self,
7892    ) -> crate::common::RegisterField<
7893        24,
7894        0x1,
7895        1,
7896        0,
7897        pcntr4::Eorr08,
7898        pcntr4::Eorr08,
7899        Pcntr4_SPEC,
7900        crate::common::RW,
7901    > {
7902        crate::common::RegisterField::<
7903            24,
7904            0x1,
7905            1,
7906            0,
7907            pcntr4::Eorr08,
7908            pcntr4::Eorr08,
7909            Pcntr4_SPEC,
7910            crate::common::RW,
7911        >::from_register(self, 0)
7912    }
7913
7914    #[doc = "Pmn Event Output Reset"]
7915    #[inline(always)]
7916    pub fn eorr09(
7917        self,
7918    ) -> crate::common::RegisterField<
7919        25,
7920        0x1,
7921        1,
7922        0,
7923        pcntr4::Eorr09,
7924        pcntr4::Eorr09,
7925        Pcntr4_SPEC,
7926        crate::common::RW,
7927    > {
7928        crate::common::RegisterField::<
7929            25,
7930            0x1,
7931            1,
7932            0,
7933            pcntr4::Eorr09,
7934            pcntr4::Eorr09,
7935            Pcntr4_SPEC,
7936            crate::common::RW,
7937        >::from_register(self, 0)
7938    }
7939
7940    #[doc = "Pmn Event Output Reset"]
7941    #[inline(always)]
7942    pub fn eorr10(
7943        self,
7944    ) -> crate::common::RegisterField<
7945        26,
7946        0x1,
7947        1,
7948        0,
7949        pcntr4::Eorr10,
7950        pcntr4::Eorr10,
7951        Pcntr4_SPEC,
7952        crate::common::RW,
7953    > {
7954        crate::common::RegisterField::<
7955            26,
7956            0x1,
7957            1,
7958            0,
7959            pcntr4::Eorr10,
7960            pcntr4::Eorr10,
7961            Pcntr4_SPEC,
7962            crate::common::RW,
7963        >::from_register(self, 0)
7964    }
7965
7966    #[doc = "Pmn Event Output Reset"]
7967    #[inline(always)]
7968    pub fn eorr11(
7969        self,
7970    ) -> crate::common::RegisterField<
7971        27,
7972        0x1,
7973        1,
7974        0,
7975        pcntr4::Eorr11,
7976        pcntr4::Eorr11,
7977        Pcntr4_SPEC,
7978        crate::common::RW,
7979    > {
7980        crate::common::RegisterField::<
7981            27,
7982            0x1,
7983            1,
7984            0,
7985            pcntr4::Eorr11,
7986            pcntr4::Eorr11,
7987            Pcntr4_SPEC,
7988            crate::common::RW,
7989        >::from_register(self, 0)
7990    }
7991
7992    #[doc = "Pmn Event Output Reset"]
7993    #[inline(always)]
7994    pub fn eorr12(
7995        self,
7996    ) -> crate::common::RegisterField<
7997        28,
7998        0x1,
7999        1,
8000        0,
8001        pcntr4::Eorr12,
8002        pcntr4::Eorr12,
8003        Pcntr4_SPEC,
8004        crate::common::RW,
8005    > {
8006        crate::common::RegisterField::<
8007            28,
8008            0x1,
8009            1,
8010            0,
8011            pcntr4::Eorr12,
8012            pcntr4::Eorr12,
8013            Pcntr4_SPEC,
8014            crate::common::RW,
8015        >::from_register(self, 0)
8016    }
8017
8018    #[doc = "Pmn Event Output Reset"]
8019    #[inline(always)]
8020    pub fn eorr13(
8021        self,
8022    ) -> crate::common::RegisterField<
8023        29,
8024        0x1,
8025        1,
8026        0,
8027        pcntr4::Eorr13,
8028        pcntr4::Eorr13,
8029        Pcntr4_SPEC,
8030        crate::common::RW,
8031    > {
8032        crate::common::RegisterField::<
8033            29,
8034            0x1,
8035            1,
8036            0,
8037            pcntr4::Eorr13,
8038            pcntr4::Eorr13,
8039            Pcntr4_SPEC,
8040            crate::common::RW,
8041        >::from_register(self, 0)
8042    }
8043
8044    #[doc = "Pmn Event Output Reset"]
8045    #[inline(always)]
8046    pub fn eorr14(
8047        self,
8048    ) -> crate::common::RegisterField<
8049        30,
8050        0x1,
8051        1,
8052        0,
8053        pcntr4::Eorr14,
8054        pcntr4::Eorr14,
8055        Pcntr4_SPEC,
8056        crate::common::RW,
8057    > {
8058        crate::common::RegisterField::<
8059            30,
8060            0x1,
8061            1,
8062            0,
8063            pcntr4::Eorr14,
8064            pcntr4::Eorr14,
8065            Pcntr4_SPEC,
8066            crate::common::RW,
8067        >::from_register(self, 0)
8068    }
8069
8070    #[doc = "Pmn Event Output Reset"]
8071    #[inline(always)]
8072    pub fn eorr15(
8073        self,
8074    ) -> crate::common::RegisterField<
8075        31,
8076        0x1,
8077        1,
8078        0,
8079        pcntr4::Eorr15,
8080        pcntr4::Eorr15,
8081        Pcntr4_SPEC,
8082        crate::common::RW,
8083    > {
8084        crate::common::RegisterField::<
8085            31,
8086            0x1,
8087            1,
8088            0,
8089            pcntr4::Eorr15,
8090            pcntr4::Eorr15,
8091            Pcntr4_SPEC,
8092            crate::common::RW,
8093        >::from_register(self, 0)
8094    }
8095}
8096impl ::core::default::Default for Pcntr4 {
8097    #[inline(always)]
8098    fn default() -> Pcntr4 {
8099        <crate::RegValueT<Pcntr4_SPEC> as RegisterValue<_>>::new(0)
8100    }
8101}
8102pub mod pcntr4 {
8103
8104    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8105    pub struct Eosr00_SPEC;
8106    pub type Eosr00 = crate::EnumBitfieldStruct<u8, Eosr00_SPEC>;
8107    impl Eosr00 {
8108        #[doc = "No effect on output"]
8109        pub const _0: Self = Self::new(0);
8110
8111        #[doc = "High output"]
8112        pub const _1: Self = Self::new(1);
8113    }
8114    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8115    pub struct Eosr01_SPEC;
8116    pub type Eosr01 = crate::EnumBitfieldStruct<u8, Eosr01_SPEC>;
8117    impl Eosr01 {
8118        #[doc = "No effect on output"]
8119        pub const _0: Self = Self::new(0);
8120
8121        #[doc = "High output"]
8122        pub const _1: Self = Self::new(1);
8123    }
8124    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8125    pub struct Eosr02_SPEC;
8126    pub type Eosr02 = crate::EnumBitfieldStruct<u8, Eosr02_SPEC>;
8127    impl Eosr02 {
8128        #[doc = "No effect on output"]
8129        pub const _0: Self = Self::new(0);
8130
8131        #[doc = "High output"]
8132        pub const _1: Self = Self::new(1);
8133    }
8134    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8135    pub struct Eosr03_SPEC;
8136    pub type Eosr03 = crate::EnumBitfieldStruct<u8, Eosr03_SPEC>;
8137    impl Eosr03 {
8138        #[doc = "No effect on output"]
8139        pub const _0: Self = Self::new(0);
8140
8141        #[doc = "High output"]
8142        pub const _1: Self = Self::new(1);
8143    }
8144    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8145    pub struct Eosr04_SPEC;
8146    pub type Eosr04 = crate::EnumBitfieldStruct<u8, Eosr04_SPEC>;
8147    impl Eosr04 {
8148        #[doc = "No effect on output"]
8149        pub const _0: Self = Self::new(0);
8150
8151        #[doc = "High output"]
8152        pub const _1: Self = Self::new(1);
8153    }
8154    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8155    pub struct Eosr05_SPEC;
8156    pub type Eosr05 = crate::EnumBitfieldStruct<u8, Eosr05_SPEC>;
8157    impl Eosr05 {
8158        #[doc = "No effect on output"]
8159        pub const _0: Self = Self::new(0);
8160
8161        #[doc = "High output"]
8162        pub const _1: Self = Self::new(1);
8163    }
8164    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8165    pub struct Eosr06_SPEC;
8166    pub type Eosr06 = crate::EnumBitfieldStruct<u8, Eosr06_SPEC>;
8167    impl Eosr06 {
8168        #[doc = "No effect on output"]
8169        pub const _0: Self = Self::new(0);
8170
8171        #[doc = "High output"]
8172        pub const _1: Self = Self::new(1);
8173    }
8174    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8175    pub struct Eosr07_SPEC;
8176    pub type Eosr07 = crate::EnumBitfieldStruct<u8, Eosr07_SPEC>;
8177    impl Eosr07 {
8178        #[doc = "No effect on output"]
8179        pub const _0: Self = Self::new(0);
8180
8181        #[doc = "High output"]
8182        pub const _1: Self = Self::new(1);
8183    }
8184    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8185    pub struct Eosr08_SPEC;
8186    pub type Eosr08 = crate::EnumBitfieldStruct<u8, Eosr08_SPEC>;
8187    impl Eosr08 {
8188        #[doc = "No effect on output"]
8189        pub const _0: Self = Self::new(0);
8190
8191        #[doc = "High output"]
8192        pub const _1: Self = Self::new(1);
8193    }
8194    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8195    pub struct Eosr09_SPEC;
8196    pub type Eosr09 = crate::EnumBitfieldStruct<u8, Eosr09_SPEC>;
8197    impl Eosr09 {
8198        #[doc = "No effect on output"]
8199        pub const _0: Self = Self::new(0);
8200
8201        #[doc = "High output"]
8202        pub const _1: Self = Self::new(1);
8203    }
8204    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8205    pub struct Eosr10_SPEC;
8206    pub type Eosr10 = crate::EnumBitfieldStruct<u8, Eosr10_SPEC>;
8207    impl Eosr10 {
8208        #[doc = "No effect on output"]
8209        pub const _0: Self = Self::new(0);
8210
8211        #[doc = "High output"]
8212        pub const _1: Self = Self::new(1);
8213    }
8214    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8215    pub struct Eosr11_SPEC;
8216    pub type Eosr11 = crate::EnumBitfieldStruct<u8, Eosr11_SPEC>;
8217    impl Eosr11 {
8218        #[doc = "No effect on output"]
8219        pub const _0: Self = Self::new(0);
8220
8221        #[doc = "High output"]
8222        pub const _1: Self = Self::new(1);
8223    }
8224    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8225    pub struct Eosr12_SPEC;
8226    pub type Eosr12 = crate::EnumBitfieldStruct<u8, Eosr12_SPEC>;
8227    impl Eosr12 {
8228        #[doc = "No effect on output"]
8229        pub const _0: Self = Self::new(0);
8230
8231        #[doc = "High output"]
8232        pub const _1: Self = Self::new(1);
8233    }
8234    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8235    pub struct Eosr13_SPEC;
8236    pub type Eosr13 = crate::EnumBitfieldStruct<u8, Eosr13_SPEC>;
8237    impl Eosr13 {
8238        #[doc = "No effect on output"]
8239        pub const _0: Self = Self::new(0);
8240
8241        #[doc = "High output"]
8242        pub const _1: Self = Self::new(1);
8243    }
8244    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8245    pub struct Eosr14_SPEC;
8246    pub type Eosr14 = crate::EnumBitfieldStruct<u8, Eosr14_SPEC>;
8247    impl Eosr14 {
8248        #[doc = "No effect on output"]
8249        pub const _0: Self = Self::new(0);
8250
8251        #[doc = "High output"]
8252        pub const _1: Self = Self::new(1);
8253    }
8254    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8255    pub struct Eosr15_SPEC;
8256    pub type Eosr15 = crate::EnumBitfieldStruct<u8, Eosr15_SPEC>;
8257    impl Eosr15 {
8258        #[doc = "No effect on output"]
8259        pub const _0: Self = Self::new(0);
8260
8261        #[doc = "High output"]
8262        pub const _1: Self = Self::new(1);
8263    }
8264    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8265    pub struct Eorr00_SPEC;
8266    pub type Eorr00 = crate::EnumBitfieldStruct<u8, Eorr00_SPEC>;
8267    impl Eorr00 {
8268        #[doc = "No effect on output"]
8269        pub const _0: Self = Self::new(0);
8270
8271        #[doc = "Low output"]
8272        pub const _1: Self = Self::new(1);
8273    }
8274    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8275    pub struct Eorr01_SPEC;
8276    pub type Eorr01 = crate::EnumBitfieldStruct<u8, Eorr01_SPEC>;
8277    impl Eorr01 {
8278        #[doc = "No effect on output"]
8279        pub const _0: Self = Self::new(0);
8280
8281        #[doc = "Low output"]
8282        pub const _1: Self = Self::new(1);
8283    }
8284    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8285    pub struct Eorr02_SPEC;
8286    pub type Eorr02 = crate::EnumBitfieldStruct<u8, Eorr02_SPEC>;
8287    impl Eorr02 {
8288        #[doc = "No effect on output"]
8289        pub const _0: Self = Self::new(0);
8290
8291        #[doc = "Low output"]
8292        pub const _1: Self = Self::new(1);
8293    }
8294    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8295    pub struct Eorr03_SPEC;
8296    pub type Eorr03 = crate::EnumBitfieldStruct<u8, Eorr03_SPEC>;
8297    impl Eorr03 {
8298        #[doc = "No effect on output"]
8299        pub const _0: Self = Self::new(0);
8300
8301        #[doc = "Low output"]
8302        pub const _1: Self = Self::new(1);
8303    }
8304    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8305    pub struct Eorr04_SPEC;
8306    pub type Eorr04 = crate::EnumBitfieldStruct<u8, Eorr04_SPEC>;
8307    impl Eorr04 {
8308        #[doc = "No effect on output"]
8309        pub const _0: Self = Self::new(0);
8310
8311        #[doc = "Low output"]
8312        pub const _1: Self = Self::new(1);
8313    }
8314    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8315    pub struct Eorr05_SPEC;
8316    pub type Eorr05 = crate::EnumBitfieldStruct<u8, Eorr05_SPEC>;
8317    impl Eorr05 {
8318        #[doc = "No effect on output"]
8319        pub const _0: Self = Self::new(0);
8320
8321        #[doc = "Low output"]
8322        pub const _1: Self = Self::new(1);
8323    }
8324    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8325    pub struct Eorr06_SPEC;
8326    pub type Eorr06 = crate::EnumBitfieldStruct<u8, Eorr06_SPEC>;
8327    impl Eorr06 {
8328        #[doc = "No effect on output"]
8329        pub const _0: Self = Self::new(0);
8330
8331        #[doc = "Low output"]
8332        pub const _1: Self = Self::new(1);
8333    }
8334    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8335    pub struct Eorr07_SPEC;
8336    pub type Eorr07 = crate::EnumBitfieldStruct<u8, Eorr07_SPEC>;
8337    impl Eorr07 {
8338        #[doc = "No effect on output"]
8339        pub const _0: Self = Self::new(0);
8340
8341        #[doc = "Low output"]
8342        pub const _1: Self = Self::new(1);
8343    }
8344    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8345    pub struct Eorr08_SPEC;
8346    pub type Eorr08 = crate::EnumBitfieldStruct<u8, Eorr08_SPEC>;
8347    impl Eorr08 {
8348        #[doc = "No effect on output"]
8349        pub const _0: Self = Self::new(0);
8350
8351        #[doc = "Low output"]
8352        pub const _1: Self = Self::new(1);
8353    }
8354    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8355    pub struct Eorr09_SPEC;
8356    pub type Eorr09 = crate::EnumBitfieldStruct<u8, Eorr09_SPEC>;
8357    impl Eorr09 {
8358        #[doc = "No effect on output"]
8359        pub const _0: Self = Self::new(0);
8360
8361        #[doc = "Low output"]
8362        pub const _1: Self = Self::new(1);
8363    }
8364    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8365    pub struct Eorr10_SPEC;
8366    pub type Eorr10 = crate::EnumBitfieldStruct<u8, Eorr10_SPEC>;
8367    impl Eorr10 {
8368        #[doc = "No effect on output"]
8369        pub const _0: Self = Self::new(0);
8370
8371        #[doc = "Low output"]
8372        pub const _1: Self = Self::new(1);
8373    }
8374    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8375    pub struct Eorr11_SPEC;
8376    pub type Eorr11 = crate::EnumBitfieldStruct<u8, Eorr11_SPEC>;
8377    impl Eorr11 {
8378        #[doc = "No effect on output"]
8379        pub const _0: Self = Self::new(0);
8380
8381        #[doc = "Low output"]
8382        pub const _1: Self = Self::new(1);
8383    }
8384    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8385    pub struct Eorr12_SPEC;
8386    pub type Eorr12 = crate::EnumBitfieldStruct<u8, Eorr12_SPEC>;
8387    impl Eorr12 {
8388        #[doc = "No effect on output"]
8389        pub const _0: Self = Self::new(0);
8390
8391        #[doc = "Low output"]
8392        pub const _1: Self = Self::new(1);
8393    }
8394    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8395    pub struct Eorr13_SPEC;
8396    pub type Eorr13 = crate::EnumBitfieldStruct<u8, Eorr13_SPEC>;
8397    impl Eorr13 {
8398        #[doc = "No effect on output"]
8399        pub const _0: Self = Self::new(0);
8400
8401        #[doc = "Low output"]
8402        pub const _1: Self = Self::new(1);
8403    }
8404    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8405    pub struct Eorr14_SPEC;
8406    pub type Eorr14 = crate::EnumBitfieldStruct<u8, Eorr14_SPEC>;
8407    impl Eorr14 {
8408        #[doc = "No effect on output"]
8409        pub const _0: Self = Self::new(0);
8410
8411        #[doc = "Low output"]
8412        pub const _1: Self = Self::new(1);
8413    }
8414    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8415    pub struct Eorr15_SPEC;
8416    pub type Eorr15 = crate::EnumBitfieldStruct<u8, Eorr15_SPEC>;
8417    impl Eorr15 {
8418        #[doc = "No effect on output"]
8419        pub const _0: Self = Self::new(0);
8420
8421        #[doc = "Low output"]
8422        pub const _1: Self = Self::new(1);
8423    }
8424}
8425#[doc(hidden)]
8426#[derive(Copy, Clone, Eq, PartialEq)]
8427pub struct Eorr_SPEC;
8428impl crate::sealed::RegSpec for Eorr_SPEC {
8429    type DataType = u16;
8430}
8431
8432#[doc = "Port Control Register 4"]
8433pub type Eorr = crate::RegValueT<Eorr_SPEC>;
8434
8435impl Eorr {
8436    #[doc = "Pmn Event Output Reset"]
8437    #[inline(always)]
8438    pub fn eorr00(
8439        self,
8440    ) -> crate::common::RegisterField<
8441        0,
8442        0x1,
8443        1,
8444        0,
8445        eorr::Eorr00,
8446        eorr::Eorr00,
8447        Eorr_SPEC,
8448        crate::common::RW,
8449    > {
8450        crate::common::RegisterField::<
8451            0,
8452            0x1,
8453            1,
8454            0,
8455            eorr::Eorr00,
8456            eorr::Eorr00,
8457            Eorr_SPEC,
8458            crate::common::RW,
8459        >::from_register(self, 0)
8460    }
8461
8462    #[doc = "Pmn Event Output Reset"]
8463    #[inline(always)]
8464    pub fn eorr01(
8465        self,
8466    ) -> crate::common::RegisterField<
8467        1,
8468        0x1,
8469        1,
8470        0,
8471        eorr::Eorr01,
8472        eorr::Eorr01,
8473        Eorr_SPEC,
8474        crate::common::RW,
8475    > {
8476        crate::common::RegisterField::<
8477            1,
8478            0x1,
8479            1,
8480            0,
8481            eorr::Eorr01,
8482            eorr::Eorr01,
8483            Eorr_SPEC,
8484            crate::common::RW,
8485        >::from_register(self, 0)
8486    }
8487
8488    #[doc = "Pmn Event Output Reset"]
8489    #[inline(always)]
8490    pub fn eorr02(
8491        self,
8492    ) -> crate::common::RegisterField<
8493        2,
8494        0x1,
8495        1,
8496        0,
8497        eorr::Eorr02,
8498        eorr::Eorr02,
8499        Eorr_SPEC,
8500        crate::common::RW,
8501    > {
8502        crate::common::RegisterField::<
8503            2,
8504            0x1,
8505            1,
8506            0,
8507            eorr::Eorr02,
8508            eorr::Eorr02,
8509            Eorr_SPEC,
8510            crate::common::RW,
8511        >::from_register(self, 0)
8512    }
8513
8514    #[doc = "Pmn Event Output Reset"]
8515    #[inline(always)]
8516    pub fn eorr03(
8517        self,
8518    ) -> crate::common::RegisterField<
8519        3,
8520        0x1,
8521        1,
8522        0,
8523        eorr::Eorr03,
8524        eorr::Eorr03,
8525        Eorr_SPEC,
8526        crate::common::RW,
8527    > {
8528        crate::common::RegisterField::<
8529            3,
8530            0x1,
8531            1,
8532            0,
8533            eorr::Eorr03,
8534            eorr::Eorr03,
8535            Eorr_SPEC,
8536            crate::common::RW,
8537        >::from_register(self, 0)
8538    }
8539
8540    #[doc = "Pmn Event Output Reset"]
8541    #[inline(always)]
8542    pub fn eorr04(
8543        self,
8544    ) -> crate::common::RegisterField<
8545        4,
8546        0x1,
8547        1,
8548        0,
8549        eorr::Eorr04,
8550        eorr::Eorr04,
8551        Eorr_SPEC,
8552        crate::common::RW,
8553    > {
8554        crate::common::RegisterField::<
8555            4,
8556            0x1,
8557            1,
8558            0,
8559            eorr::Eorr04,
8560            eorr::Eorr04,
8561            Eorr_SPEC,
8562            crate::common::RW,
8563        >::from_register(self, 0)
8564    }
8565
8566    #[doc = "Pmn Event Output Reset"]
8567    #[inline(always)]
8568    pub fn eorr05(
8569        self,
8570    ) -> crate::common::RegisterField<
8571        5,
8572        0x1,
8573        1,
8574        0,
8575        eorr::Eorr05,
8576        eorr::Eorr05,
8577        Eorr_SPEC,
8578        crate::common::RW,
8579    > {
8580        crate::common::RegisterField::<
8581            5,
8582            0x1,
8583            1,
8584            0,
8585            eorr::Eorr05,
8586            eorr::Eorr05,
8587            Eorr_SPEC,
8588            crate::common::RW,
8589        >::from_register(self, 0)
8590    }
8591
8592    #[doc = "Pmn Event Output Reset"]
8593    #[inline(always)]
8594    pub fn eorr06(
8595        self,
8596    ) -> crate::common::RegisterField<
8597        6,
8598        0x1,
8599        1,
8600        0,
8601        eorr::Eorr06,
8602        eorr::Eorr06,
8603        Eorr_SPEC,
8604        crate::common::RW,
8605    > {
8606        crate::common::RegisterField::<
8607            6,
8608            0x1,
8609            1,
8610            0,
8611            eorr::Eorr06,
8612            eorr::Eorr06,
8613            Eorr_SPEC,
8614            crate::common::RW,
8615        >::from_register(self, 0)
8616    }
8617
8618    #[doc = "Pmn Event Output Reset"]
8619    #[inline(always)]
8620    pub fn eorr07(
8621        self,
8622    ) -> crate::common::RegisterField<
8623        7,
8624        0x1,
8625        1,
8626        0,
8627        eorr::Eorr07,
8628        eorr::Eorr07,
8629        Eorr_SPEC,
8630        crate::common::RW,
8631    > {
8632        crate::common::RegisterField::<
8633            7,
8634            0x1,
8635            1,
8636            0,
8637            eorr::Eorr07,
8638            eorr::Eorr07,
8639            Eorr_SPEC,
8640            crate::common::RW,
8641        >::from_register(self, 0)
8642    }
8643
8644    #[doc = "Pmn Event Output Reset"]
8645    #[inline(always)]
8646    pub fn eorr08(
8647        self,
8648    ) -> crate::common::RegisterField<
8649        8,
8650        0x1,
8651        1,
8652        0,
8653        eorr::Eorr08,
8654        eorr::Eorr08,
8655        Eorr_SPEC,
8656        crate::common::RW,
8657    > {
8658        crate::common::RegisterField::<
8659            8,
8660            0x1,
8661            1,
8662            0,
8663            eorr::Eorr08,
8664            eorr::Eorr08,
8665            Eorr_SPEC,
8666            crate::common::RW,
8667        >::from_register(self, 0)
8668    }
8669
8670    #[doc = "Pmn Event Output Reset"]
8671    #[inline(always)]
8672    pub fn eorr09(
8673        self,
8674    ) -> crate::common::RegisterField<
8675        9,
8676        0x1,
8677        1,
8678        0,
8679        eorr::Eorr09,
8680        eorr::Eorr09,
8681        Eorr_SPEC,
8682        crate::common::RW,
8683    > {
8684        crate::common::RegisterField::<
8685            9,
8686            0x1,
8687            1,
8688            0,
8689            eorr::Eorr09,
8690            eorr::Eorr09,
8691            Eorr_SPEC,
8692            crate::common::RW,
8693        >::from_register(self, 0)
8694    }
8695
8696    #[doc = "Pmn Event Output Reset"]
8697    #[inline(always)]
8698    pub fn eorr10(
8699        self,
8700    ) -> crate::common::RegisterField<
8701        10,
8702        0x1,
8703        1,
8704        0,
8705        eorr::Eorr10,
8706        eorr::Eorr10,
8707        Eorr_SPEC,
8708        crate::common::RW,
8709    > {
8710        crate::common::RegisterField::<
8711            10,
8712            0x1,
8713            1,
8714            0,
8715            eorr::Eorr10,
8716            eorr::Eorr10,
8717            Eorr_SPEC,
8718            crate::common::RW,
8719        >::from_register(self, 0)
8720    }
8721
8722    #[doc = "Pmn Event Output Reset"]
8723    #[inline(always)]
8724    pub fn eorr11(
8725        self,
8726    ) -> crate::common::RegisterField<
8727        11,
8728        0x1,
8729        1,
8730        0,
8731        eorr::Eorr11,
8732        eorr::Eorr11,
8733        Eorr_SPEC,
8734        crate::common::RW,
8735    > {
8736        crate::common::RegisterField::<
8737            11,
8738            0x1,
8739            1,
8740            0,
8741            eorr::Eorr11,
8742            eorr::Eorr11,
8743            Eorr_SPEC,
8744            crate::common::RW,
8745        >::from_register(self, 0)
8746    }
8747
8748    #[doc = "Pmn Event Output Reset"]
8749    #[inline(always)]
8750    pub fn eorr12(
8751        self,
8752    ) -> crate::common::RegisterField<
8753        12,
8754        0x1,
8755        1,
8756        0,
8757        eorr::Eorr12,
8758        eorr::Eorr12,
8759        Eorr_SPEC,
8760        crate::common::RW,
8761    > {
8762        crate::common::RegisterField::<
8763            12,
8764            0x1,
8765            1,
8766            0,
8767            eorr::Eorr12,
8768            eorr::Eorr12,
8769            Eorr_SPEC,
8770            crate::common::RW,
8771        >::from_register(self, 0)
8772    }
8773
8774    #[doc = "Pmn Event Output Reset"]
8775    #[inline(always)]
8776    pub fn eorr13(
8777        self,
8778    ) -> crate::common::RegisterField<
8779        13,
8780        0x1,
8781        1,
8782        0,
8783        eorr::Eorr13,
8784        eorr::Eorr13,
8785        Eorr_SPEC,
8786        crate::common::RW,
8787    > {
8788        crate::common::RegisterField::<
8789            13,
8790            0x1,
8791            1,
8792            0,
8793            eorr::Eorr13,
8794            eorr::Eorr13,
8795            Eorr_SPEC,
8796            crate::common::RW,
8797        >::from_register(self, 0)
8798    }
8799
8800    #[doc = "Pmn Event Output Reset"]
8801    #[inline(always)]
8802    pub fn eorr14(
8803        self,
8804    ) -> crate::common::RegisterField<
8805        14,
8806        0x1,
8807        1,
8808        0,
8809        eorr::Eorr14,
8810        eorr::Eorr14,
8811        Eorr_SPEC,
8812        crate::common::RW,
8813    > {
8814        crate::common::RegisterField::<
8815            14,
8816            0x1,
8817            1,
8818            0,
8819            eorr::Eorr14,
8820            eorr::Eorr14,
8821            Eorr_SPEC,
8822            crate::common::RW,
8823        >::from_register(self, 0)
8824    }
8825
8826    #[doc = "Pmn Event Output Reset"]
8827    #[inline(always)]
8828    pub fn eorr15(
8829        self,
8830    ) -> crate::common::RegisterField<
8831        15,
8832        0x1,
8833        1,
8834        0,
8835        eorr::Eorr15,
8836        eorr::Eorr15,
8837        Eorr_SPEC,
8838        crate::common::RW,
8839    > {
8840        crate::common::RegisterField::<
8841            15,
8842            0x1,
8843            1,
8844            0,
8845            eorr::Eorr15,
8846            eorr::Eorr15,
8847            Eorr_SPEC,
8848            crate::common::RW,
8849        >::from_register(self, 0)
8850    }
8851}
8852impl ::core::default::Default for Eorr {
8853    #[inline(always)]
8854    fn default() -> Eorr {
8855        <crate::RegValueT<Eorr_SPEC> as RegisterValue<_>>::new(0)
8856    }
8857}
8858pub mod eorr {
8859
8860    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8861    pub struct Eorr00_SPEC;
8862    pub type Eorr00 = crate::EnumBitfieldStruct<u8, Eorr00_SPEC>;
8863    impl Eorr00 {
8864        #[doc = "No effect on output"]
8865        pub const _0: Self = Self::new(0);
8866
8867        #[doc = "Low output"]
8868        pub const _1: Self = Self::new(1);
8869    }
8870    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8871    pub struct Eorr01_SPEC;
8872    pub type Eorr01 = crate::EnumBitfieldStruct<u8, Eorr01_SPEC>;
8873    impl Eorr01 {
8874        #[doc = "No effect on output"]
8875        pub const _0: Self = Self::new(0);
8876
8877        #[doc = "Low output"]
8878        pub const _1: Self = Self::new(1);
8879    }
8880    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8881    pub struct Eorr02_SPEC;
8882    pub type Eorr02 = crate::EnumBitfieldStruct<u8, Eorr02_SPEC>;
8883    impl Eorr02 {
8884        #[doc = "No effect on output"]
8885        pub const _0: Self = Self::new(0);
8886
8887        #[doc = "Low output"]
8888        pub const _1: Self = Self::new(1);
8889    }
8890    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8891    pub struct Eorr03_SPEC;
8892    pub type Eorr03 = crate::EnumBitfieldStruct<u8, Eorr03_SPEC>;
8893    impl Eorr03 {
8894        #[doc = "No effect on output"]
8895        pub const _0: Self = Self::new(0);
8896
8897        #[doc = "Low output"]
8898        pub const _1: Self = Self::new(1);
8899    }
8900    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8901    pub struct Eorr04_SPEC;
8902    pub type Eorr04 = crate::EnumBitfieldStruct<u8, Eorr04_SPEC>;
8903    impl Eorr04 {
8904        #[doc = "No effect on output"]
8905        pub const _0: Self = Self::new(0);
8906
8907        #[doc = "Low output"]
8908        pub const _1: Self = Self::new(1);
8909    }
8910    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8911    pub struct Eorr05_SPEC;
8912    pub type Eorr05 = crate::EnumBitfieldStruct<u8, Eorr05_SPEC>;
8913    impl Eorr05 {
8914        #[doc = "No effect on output"]
8915        pub const _0: Self = Self::new(0);
8916
8917        #[doc = "Low output"]
8918        pub const _1: Self = Self::new(1);
8919    }
8920    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8921    pub struct Eorr06_SPEC;
8922    pub type Eorr06 = crate::EnumBitfieldStruct<u8, Eorr06_SPEC>;
8923    impl Eorr06 {
8924        #[doc = "No effect on output"]
8925        pub const _0: Self = Self::new(0);
8926
8927        #[doc = "Low output"]
8928        pub const _1: Self = Self::new(1);
8929    }
8930    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8931    pub struct Eorr07_SPEC;
8932    pub type Eorr07 = crate::EnumBitfieldStruct<u8, Eorr07_SPEC>;
8933    impl Eorr07 {
8934        #[doc = "No effect on output"]
8935        pub const _0: Self = Self::new(0);
8936
8937        #[doc = "Low output"]
8938        pub const _1: Self = Self::new(1);
8939    }
8940    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8941    pub struct Eorr08_SPEC;
8942    pub type Eorr08 = crate::EnumBitfieldStruct<u8, Eorr08_SPEC>;
8943    impl Eorr08 {
8944        #[doc = "No effect on output"]
8945        pub const _0: Self = Self::new(0);
8946
8947        #[doc = "Low output"]
8948        pub const _1: Self = Self::new(1);
8949    }
8950    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8951    pub struct Eorr09_SPEC;
8952    pub type Eorr09 = crate::EnumBitfieldStruct<u8, Eorr09_SPEC>;
8953    impl Eorr09 {
8954        #[doc = "No effect on output"]
8955        pub const _0: Self = Self::new(0);
8956
8957        #[doc = "Low output"]
8958        pub const _1: Self = Self::new(1);
8959    }
8960    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8961    pub struct Eorr10_SPEC;
8962    pub type Eorr10 = crate::EnumBitfieldStruct<u8, Eorr10_SPEC>;
8963    impl Eorr10 {
8964        #[doc = "No effect on output"]
8965        pub const _0: Self = Self::new(0);
8966
8967        #[doc = "Low output"]
8968        pub const _1: Self = Self::new(1);
8969    }
8970    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8971    pub struct Eorr11_SPEC;
8972    pub type Eorr11 = crate::EnumBitfieldStruct<u8, Eorr11_SPEC>;
8973    impl Eorr11 {
8974        #[doc = "No effect on output"]
8975        pub const _0: Self = Self::new(0);
8976
8977        #[doc = "Low output"]
8978        pub const _1: Self = Self::new(1);
8979    }
8980    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8981    pub struct Eorr12_SPEC;
8982    pub type Eorr12 = crate::EnumBitfieldStruct<u8, Eorr12_SPEC>;
8983    impl Eorr12 {
8984        #[doc = "No effect on output"]
8985        pub const _0: Self = Self::new(0);
8986
8987        #[doc = "Low output"]
8988        pub const _1: Self = Self::new(1);
8989    }
8990    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8991    pub struct Eorr13_SPEC;
8992    pub type Eorr13 = crate::EnumBitfieldStruct<u8, Eorr13_SPEC>;
8993    impl Eorr13 {
8994        #[doc = "No effect on output"]
8995        pub const _0: Self = Self::new(0);
8996
8997        #[doc = "Low output"]
8998        pub const _1: Self = Self::new(1);
8999    }
9000    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9001    pub struct Eorr14_SPEC;
9002    pub type Eorr14 = crate::EnumBitfieldStruct<u8, Eorr14_SPEC>;
9003    impl Eorr14 {
9004        #[doc = "No effect on output"]
9005        pub const _0: Self = Self::new(0);
9006
9007        #[doc = "Low output"]
9008        pub const _1: Self = Self::new(1);
9009    }
9010    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9011    pub struct Eorr15_SPEC;
9012    pub type Eorr15 = crate::EnumBitfieldStruct<u8, Eorr15_SPEC>;
9013    impl Eorr15 {
9014        #[doc = "No effect on output"]
9015        pub const _0: Self = Self::new(0);
9016
9017        #[doc = "Low output"]
9018        pub const _1: Self = Self::new(1);
9019    }
9020}
9021#[doc(hidden)]
9022#[derive(Copy, Clone, Eq, PartialEq)]
9023pub struct Eosr_SPEC;
9024impl crate::sealed::RegSpec for Eosr_SPEC {
9025    type DataType = u16;
9026}
9027
9028#[doc = "Port Control Register 4"]
9029pub type Eosr = crate::RegValueT<Eosr_SPEC>;
9030
9031impl Eosr {
9032    #[doc = "Pmn Event Output Set"]
9033    #[inline(always)]
9034    pub fn eosr00(
9035        self,
9036    ) -> crate::common::RegisterField<
9037        0,
9038        0x1,
9039        1,
9040        0,
9041        eosr::Eosr00,
9042        eosr::Eosr00,
9043        Eosr_SPEC,
9044        crate::common::RW,
9045    > {
9046        crate::common::RegisterField::<
9047            0,
9048            0x1,
9049            1,
9050            0,
9051            eosr::Eosr00,
9052            eosr::Eosr00,
9053            Eosr_SPEC,
9054            crate::common::RW,
9055        >::from_register(self, 0)
9056    }
9057
9058    #[doc = "Pmn Event Output Set"]
9059    #[inline(always)]
9060    pub fn eosr01(
9061        self,
9062    ) -> crate::common::RegisterField<
9063        1,
9064        0x1,
9065        1,
9066        0,
9067        eosr::Eosr01,
9068        eosr::Eosr01,
9069        Eosr_SPEC,
9070        crate::common::RW,
9071    > {
9072        crate::common::RegisterField::<
9073            1,
9074            0x1,
9075            1,
9076            0,
9077            eosr::Eosr01,
9078            eosr::Eosr01,
9079            Eosr_SPEC,
9080            crate::common::RW,
9081        >::from_register(self, 0)
9082    }
9083
9084    #[doc = "Pmn Event Output Set"]
9085    #[inline(always)]
9086    pub fn eosr02(
9087        self,
9088    ) -> crate::common::RegisterField<
9089        2,
9090        0x1,
9091        1,
9092        0,
9093        eosr::Eosr02,
9094        eosr::Eosr02,
9095        Eosr_SPEC,
9096        crate::common::RW,
9097    > {
9098        crate::common::RegisterField::<
9099            2,
9100            0x1,
9101            1,
9102            0,
9103            eosr::Eosr02,
9104            eosr::Eosr02,
9105            Eosr_SPEC,
9106            crate::common::RW,
9107        >::from_register(self, 0)
9108    }
9109
9110    #[doc = "Pmn Event Output Set"]
9111    #[inline(always)]
9112    pub fn eosr03(
9113        self,
9114    ) -> crate::common::RegisterField<
9115        3,
9116        0x1,
9117        1,
9118        0,
9119        eosr::Eosr03,
9120        eosr::Eosr03,
9121        Eosr_SPEC,
9122        crate::common::RW,
9123    > {
9124        crate::common::RegisterField::<
9125            3,
9126            0x1,
9127            1,
9128            0,
9129            eosr::Eosr03,
9130            eosr::Eosr03,
9131            Eosr_SPEC,
9132            crate::common::RW,
9133        >::from_register(self, 0)
9134    }
9135
9136    #[doc = "Pmn Event Output Set"]
9137    #[inline(always)]
9138    pub fn eosr04(
9139        self,
9140    ) -> crate::common::RegisterField<
9141        4,
9142        0x1,
9143        1,
9144        0,
9145        eosr::Eosr04,
9146        eosr::Eosr04,
9147        Eosr_SPEC,
9148        crate::common::RW,
9149    > {
9150        crate::common::RegisterField::<
9151            4,
9152            0x1,
9153            1,
9154            0,
9155            eosr::Eosr04,
9156            eosr::Eosr04,
9157            Eosr_SPEC,
9158            crate::common::RW,
9159        >::from_register(self, 0)
9160    }
9161
9162    #[doc = "Pmn Event Output Set"]
9163    #[inline(always)]
9164    pub fn eosr05(
9165        self,
9166    ) -> crate::common::RegisterField<
9167        5,
9168        0x1,
9169        1,
9170        0,
9171        eosr::Eosr05,
9172        eosr::Eosr05,
9173        Eosr_SPEC,
9174        crate::common::RW,
9175    > {
9176        crate::common::RegisterField::<
9177            5,
9178            0x1,
9179            1,
9180            0,
9181            eosr::Eosr05,
9182            eosr::Eosr05,
9183            Eosr_SPEC,
9184            crate::common::RW,
9185        >::from_register(self, 0)
9186    }
9187
9188    #[doc = "Pmn Event Output Set"]
9189    #[inline(always)]
9190    pub fn eosr06(
9191        self,
9192    ) -> crate::common::RegisterField<
9193        6,
9194        0x1,
9195        1,
9196        0,
9197        eosr::Eosr06,
9198        eosr::Eosr06,
9199        Eosr_SPEC,
9200        crate::common::RW,
9201    > {
9202        crate::common::RegisterField::<
9203            6,
9204            0x1,
9205            1,
9206            0,
9207            eosr::Eosr06,
9208            eosr::Eosr06,
9209            Eosr_SPEC,
9210            crate::common::RW,
9211        >::from_register(self, 0)
9212    }
9213
9214    #[doc = "Pmn Event Output Set"]
9215    #[inline(always)]
9216    pub fn eosr07(
9217        self,
9218    ) -> crate::common::RegisterField<
9219        7,
9220        0x1,
9221        1,
9222        0,
9223        eosr::Eosr07,
9224        eosr::Eosr07,
9225        Eosr_SPEC,
9226        crate::common::RW,
9227    > {
9228        crate::common::RegisterField::<
9229            7,
9230            0x1,
9231            1,
9232            0,
9233            eosr::Eosr07,
9234            eosr::Eosr07,
9235            Eosr_SPEC,
9236            crate::common::RW,
9237        >::from_register(self, 0)
9238    }
9239
9240    #[doc = "Pmn Event Output Set"]
9241    #[inline(always)]
9242    pub fn eosr08(
9243        self,
9244    ) -> crate::common::RegisterField<
9245        8,
9246        0x1,
9247        1,
9248        0,
9249        eosr::Eosr08,
9250        eosr::Eosr08,
9251        Eosr_SPEC,
9252        crate::common::RW,
9253    > {
9254        crate::common::RegisterField::<
9255            8,
9256            0x1,
9257            1,
9258            0,
9259            eosr::Eosr08,
9260            eosr::Eosr08,
9261            Eosr_SPEC,
9262            crate::common::RW,
9263        >::from_register(self, 0)
9264    }
9265
9266    #[doc = "Pmn Event Output Set"]
9267    #[inline(always)]
9268    pub fn eosr09(
9269        self,
9270    ) -> crate::common::RegisterField<
9271        9,
9272        0x1,
9273        1,
9274        0,
9275        eosr::Eosr09,
9276        eosr::Eosr09,
9277        Eosr_SPEC,
9278        crate::common::RW,
9279    > {
9280        crate::common::RegisterField::<
9281            9,
9282            0x1,
9283            1,
9284            0,
9285            eosr::Eosr09,
9286            eosr::Eosr09,
9287            Eosr_SPEC,
9288            crate::common::RW,
9289        >::from_register(self, 0)
9290    }
9291
9292    #[doc = "Pmn Event Output Set"]
9293    #[inline(always)]
9294    pub fn eosr10(
9295        self,
9296    ) -> crate::common::RegisterField<
9297        10,
9298        0x1,
9299        1,
9300        0,
9301        eosr::Eosr10,
9302        eosr::Eosr10,
9303        Eosr_SPEC,
9304        crate::common::RW,
9305    > {
9306        crate::common::RegisterField::<
9307            10,
9308            0x1,
9309            1,
9310            0,
9311            eosr::Eosr10,
9312            eosr::Eosr10,
9313            Eosr_SPEC,
9314            crate::common::RW,
9315        >::from_register(self, 0)
9316    }
9317
9318    #[doc = "Pmn Event Output Set"]
9319    #[inline(always)]
9320    pub fn eosr11(
9321        self,
9322    ) -> crate::common::RegisterField<
9323        11,
9324        0x1,
9325        1,
9326        0,
9327        eosr::Eosr11,
9328        eosr::Eosr11,
9329        Eosr_SPEC,
9330        crate::common::RW,
9331    > {
9332        crate::common::RegisterField::<
9333            11,
9334            0x1,
9335            1,
9336            0,
9337            eosr::Eosr11,
9338            eosr::Eosr11,
9339            Eosr_SPEC,
9340            crate::common::RW,
9341        >::from_register(self, 0)
9342    }
9343
9344    #[doc = "Pmn Event Output Set"]
9345    #[inline(always)]
9346    pub fn eosr12(
9347        self,
9348    ) -> crate::common::RegisterField<
9349        12,
9350        0x1,
9351        1,
9352        0,
9353        eosr::Eosr12,
9354        eosr::Eosr12,
9355        Eosr_SPEC,
9356        crate::common::RW,
9357    > {
9358        crate::common::RegisterField::<
9359            12,
9360            0x1,
9361            1,
9362            0,
9363            eosr::Eosr12,
9364            eosr::Eosr12,
9365            Eosr_SPEC,
9366            crate::common::RW,
9367        >::from_register(self, 0)
9368    }
9369
9370    #[doc = "Pmn Event Output Set"]
9371    #[inline(always)]
9372    pub fn eosr13(
9373        self,
9374    ) -> crate::common::RegisterField<
9375        13,
9376        0x1,
9377        1,
9378        0,
9379        eosr::Eosr13,
9380        eosr::Eosr13,
9381        Eosr_SPEC,
9382        crate::common::RW,
9383    > {
9384        crate::common::RegisterField::<
9385            13,
9386            0x1,
9387            1,
9388            0,
9389            eosr::Eosr13,
9390            eosr::Eosr13,
9391            Eosr_SPEC,
9392            crate::common::RW,
9393        >::from_register(self, 0)
9394    }
9395
9396    #[doc = "Pmn Event Output Set"]
9397    #[inline(always)]
9398    pub fn eosr14(
9399        self,
9400    ) -> crate::common::RegisterField<
9401        14,
9402        0x1,
9403        1,
9404        0,
9405        eosr::Eosr14,
9406        eosr::Eosr14,
9407        Eosr_SPEC,
9408        crate::common::RW,
9409    > {
9410        crate::common::RegisterField::<
9411            14,
9412            0x1,
9413            1,
9414            0,
9415            eosr::Eosr14,
9416            eosr::Eosr14,
9417            Eosr_SPEC,
9418            crate::common::RW,
9419        >::from_register(self, 0)
9420    }
9421
9422    #[doc = "Pmn Event Output Set"]
9423    #[inline(always)]
9424    pub fn eosr15(
9425        self,
9426    ) -> crate::common::RegisterField<
9427        15,
9428        0x1,
9429        1,
9430        0,
9431        eosr::Eosr15,
9432        eosr::Eosr15,
9433        Eosr_SPEC,
9434        crate::common::RW,
9435    > {
9436        crate::common::RegisterField::<
9437            15,
9438            0x1,
9439            1,
9440            0,
9441            eosr::Eosr15,
9442            eosr::Eosr15,
9443            Eosr_SPEC,
9444            crate::common::RW,
9445        >::from_register(self, 0)
9446    }
9447}
9448impl ::core::default::Default for Eosr {
9449    #[inline(always)]
9450    fn default() -> Eosr {
9451        <crate::RegValueT<Eosr_SPEC> as RegisterValue<_>>::new(0)
9452    }
9453}
9454pub mod eosr {
9455
9456    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9457    pub struct Eosr00_SPEC;
9458    pub type Eosr00 = crate::EnumBitfieldStruct<u8, Eosr00_SPEC>;
9459    impl Eosr00 {
9460        #[doc = "No effect on output"]
9461        pub const _0: Self = Self::new(0);
9462
9463        #[doc = "High output"]
9464        pub const _1: Self = Self::new(1);
9465    }
9466    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9467    pub struct Eosr01_SPEC;
9468    pub type Eosr01 = crate::EnumBitfieldStruct<u8, Eosr01_SPEC>;
9469    impl Eosr01 {
9470        #[doc = "No effect on output"]
9471        pub const _0: Self = Self::new(0);
9472
9473        #[doc = "High output"]
9474        pub const _1: Self = Self::new(1);
9475    }
9476    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9477    pub struct Eosr02_SPEC;
9478    pub type Eosr02 = crate::EnumBitfieldStruct<u8, Eosr02_SPEC>;
9479    impl Eosr02 {
9480        #[doc = "No effect on output"]
9481        pub const _0: Self = Self::new(0);
9482
9483        #[doc = "High output"]
9484        pub const _1: Self = Self::new(1);
9485    }
9486    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9487    pub struct Eosr03_SPEC;
9488    pub type Eosr03 = crate::EnumBitfieldStruct<u8, Eosr03_SPEC>;
9489    impl Eosr03 {
9490        #[doc = "No effect on output"]
9491        pub const _0: Self = Self::new(0);
9492
9493        #[doc = "High output"]
9494        pub const _1: Self = Self::new(1);
9495    }
9496    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9497    pub struct Eosr04_SPEC;
9498    pub type Eosr04 = crate::EnumBitfieldStruct<u8, Eosr04_SPEC>;
9499    impl Eosr04 {
9500        #[doc = "No effect on output"]
9501        pub const _0: Self = Self::new(0);
9502
9503        #[doc = "High output"]
9504        pub const _1: Self = Self::new(1);
9505    }
9506    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9507    pub struct Eosr05_SPEC;
9508    pub type Eosr05 = crate::EnumBitfieldStruct<u8, Eosr05_SPEC>;
9509    impl Eosr05 {
9510        #[doc = "No effect on output"]
9511        pub const _0: Self = Self::new(0);
9512
9513        #[doc = "High output"]
9514        pub const _1: Self = Self::new(1);
9515    }
9516    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9517    pub struct Eosr06_SPEC;
9518    pub type Eosr06 = crate::EnumBitfieldStruct<u8, Eosr06_SPEC>;
9519    impl Eosr06 {
9520        #[doc = "No effect on output"]
9521        pub const _0: Self = Self::new(0);
9522
9523        #[doc = "High output"]
9524        pub const _1: Self = Self::new(1);
9525    }
9526    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9527    pub struct Eosr07_SPEC;
9528    pub type Eosr07 = crate::EnumBitfieldStruct<u8, Eosr07_SPEC>;
9529    impl Eosr07 {
9530        #[doc = "No effect on output"]
9531        pub const _0: Self = Self::new(0);
9532
9533        #[doc = "High output"]
9534        pub const _1: Self = Self::new(1);
9535    }
9536    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9537    pub struct Eosr08_SPEC;
9538    pub type Eosr08 = crate::EnumBitfieldStruct<u8, Eosr08_SPEC>;
9539    impl Eosr08 {
9540        #[doc = "No effect on output"]
9541        pub const _0: Self = Self::new(0);
9542
9543        #[doc = "High output"]
9544        pub const _1: Self = Self::new(1);
9545    }
9546    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9547    pub struct Eosr09_SPEC;
9548    pub type Eosr09 = crate::EnumBitfieldStruct<u8, Eosr09_SPEC>;
9549    impl Eosr09 {
9550        #[doc = "No effect on output"]
9551        pub const _0: Self = Self::new(0);
9552
9553        #[doc = "High output"]
9554        pub const _1: Self = Self::new(1);
9555    }
9556    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9557    pub struct Eosr10_SPEC;
9558    pub type Eosr10 = crate::EnumBitfieldStruct<u8, Eosr10_SPEC>;
9559    impl Eosr10 {
9560        #[doc = "No effect on output"]
9561        pub const _0: Self = Self::new(0);
9562
9563        #[doc = "High output"]
9564        pub const _1: Self = Self::new(1);
9565    }
9566    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9567    pub struct Eosr11_SPEC;
9568    pub type Eosr11 = crate::EnumBitfieldStruct<u8, Eosr11_SPEC>;
9569    impl Eosr11 {
9570        #[doc = "No effect on output"]
9571        pub const _0: Self = Self::new(0);
9572
9573        #[doc = "High output"]
9574        pub const _1: Self = Self::new(1);
9575    }
9576    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9577    pub struct Eosr12_SPEC;
9578    pub type Eosr12 = crate::EnumBitfieldStruct<u8, Eosr12_SPEC>;
9579    impl Eosr12 {
9580        #[doc = "No effect on output"]
9581        pub const _0: Self = Self::new(0);
9582
9583        #[doc = "High output"]
9584        pub const _1: Self = Self::new(1);
9585    }
9586    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9587    pub struct Eosr13_SPEC;
9588    pub type Eosr13 = crate::EnumBitfieldStruct<u8, Eosr13_SPEC>;
9589    impl Eosr13 {
9590        #[doc = "No effect on output"]
9591        pub const _0: Self = Self::new(0);
9592
9593        #[doc = "High output"]
9594        pub const _1: Self = Self::new(1);
9595    }
9596    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9597    pub struct Eosr14_SPEC;
9598    pub type Eosr14 = crate::EnumBitfieldStruct<u8, Eosr14_SPEC>;
9599    impl Eosr14 {
9600        #[doc = "No effect on output"]
9601        pub const _0: Self = Self::new(0);
9602
9603        #[doc = "High output"]
9604        pub const _1: Self = Self::new(1);
9605    }
9606    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9607    pub struct Eosr15_SPEC;
9608    pub type Eosr15 = crate::EnumBitfieldStruct<u8, Eosr15_SPEC>;
9609    impl Eosr15 {
9610        #[doc = "No effect on output"]
9611        pub const _0: Self = Self::new(0);
9612
9613        #[doc = "High output"]
9614        pub const _1: Self = Self::new(1);
9615    }
9616}