ra4e2_pac/
port0.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.30.00, with svd2pac 0.4.0 on Sat, 12 Apr 2025 22:15:35 +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 0 Control RegistersPmn Pin Function Control Register"]
28unsafe impl ::core::marker::Send for super::Port0 {}
29unsafe impl ::core::marker::Sync for super::Port0 {}
30impl super::Port0 {
31    #[allow(unused)]
32    #[inline(always)]
33    pub(crate) const fn _svd2pac_as_ptr(&self) -> *mut u8 {
34        self.ptr
35    }
36    #[doc = "Port Control Register 1"]
37    #[inline(always)]
38    pub const fn pcntr1(
39        &self,
40    ) -> &'static crate::common::Reg<self::Pcntr1_SPEC, crate::common::RW> {
41        unsafe {
42            crate::common::Reg::<self::Pcntr1_SPEC, crate::common::RW>::from_ptr(
43                self._svd2pac_as_ptr().add(0usize),
44            )
45        }
46    }
47
48    #[doc = "Port Control Register 1"]
49    #[inline(always)]
50    pub const fn podr(&self) -> &'static crate::common::Reg<self::Podr_SPEC, crate::common::RW> {
51        unsafe {
52            crate::common::Reg::<self::Podr_SPEC, crate::common::RW>::from_ptr(
53                self._svd2pac_as_ptr().add(0usize),
54            )
55        }
56    }
57
58    #[doc = "Port Control Register 1"]
59    #[inline(always)]
60    pub const fn pdr(&self) -> &'static crate::common::Reg<self::Pdr_SPEC, crate::common::RW> {
61        unsafe {
62            crate::common::Reg::<self::Pdr_SPEC, crate::common::RW>::from_ptr(
63                self._svd2pac_as_ptr().add(2usize),
64            )
65        }
66    }
67
68    #[doc = "Port Control Register 2"]
69    #[inline(always)]
70    pub const fn pcntr2(&self) -> &'static crate::common::Reg<self::Pcntr2_SPEC, crate::common::R> {
71        unsafe {
72            crate::common::Reg::<self::Pcntr2_SPEC, crate::common::R>::from_ptr(
73                self._svd2pac_as_ptr().add(4usize),
74            )
75        }
76    }
77
78    #[doc = "Port Control Register 2"]
79    #[inline(always)]
80    pub const fn pidr(&self) -> &'static crate::common::Reg<self::Pidr_SPEC, crate::common::R> {
81        unsafe {
82            crate::common::Reg::<self::Pidr_SPEC, crate::common::R>::from_ptr(
83                self._svd2pac_as_ptr().add(6usize),
84            )
85        }
86    }
87
88    #[doc = "Port Control Register 3"]
89    #[inline(always)]
90    pub const fn pcntr3(&self) -> &'static crate::common::Reg<self::Pcntr3_SPEC, crate::common::W> {
91        unsafe {
92            crate::common::Reg::<self::Pcntr3_SPEC, crate::common::W>::from_ptr(
93                self._svd2pac_as_ptr().add(8usize),
94            )
95        }
96    }
97
98    #[doc = "Port Control Register 3"]
99    #[inline(always)]
100    pub const fn porr(&self) -> &'static crate::common::Reg<self::Porr_SPEC, crate::common::W> {
101        unsafe {
102            crate::common::Reg::<self::Porr_SPEC, crate::common::W>::from_ptr(
103                self._svd2pac_as_ptr().add(8usize),
104            )
105        }
106    }
107
108    #[doc = "Port Control Register 3"]
109    #[inline(always)]
110    pub const fn posr(&self) -> &'static crate::common::Reg<self::Posr_SPEC, crate::common::W> {
111        unsafe {
112            crate::common::Reg::<self::Posr_SPEC, crate::common::W>::from_ptr(
113                self._svd2pac_as_ptr().add(10usize),
114            )
115        }
116    }
117}
118#[doc(hidden)]
119#[derive(Copy, Clone, Eq, PartialEq)]
120pub struct Pcntr1_SPEC;
121impl crate::sealed::RegSpec for Pcntr1_SPEC {
122    type DataType = u32;
123}
124#[doc = "Port Control Register 1"]
125pub type Pcntr1 = crate::RegValueT<Pcntr1_SPEC>;
126
127impl Pcntr1 {
128    #[doc = "Pmn Direction"]
129    #[inline(always)]
130    pub fn pdr00(
131        self,
132    ) -> crate::common::RegisterField<0, 0x1, 1, 0, pcntr1::Pdr00, Pcntr1_SPEC, crate::common::RW>
133    {
134        crate::common::RegisterField::<0,0x1,1,0,pcntr1::Pdr00, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
135    }
136    #[doc = "Pmn Direction"]
137    #[inline(always)]
138    pub fn pdr01(
139        self,
140    ) -> crate::common::RegisterField<1, 0x1, 1, 0, pcntr1::Pdr01, Pcntr1_SPEC, crate::common::RW>
141    {
142        crate::common::RegisterField::<1,0x1,1,0,pcntr1::Pdr01, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
143    }
144    #[doc = "Pmn Direction"]
145    #[inline(always)]
146    pub fn pdr02(
147        self,
148    ) -> crate::common::RegisterField<2, 0x1, 1, 0, pcntr1::Pdr02, Pcntr1_SPEC, crate::common::RW>
149    {
150        crate::common::RegisterField::<2,0x1,1,0,pcntr1::Pdr02, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
151    }
152    #[doc = "Pmn Direction"]
153    #[inline(always)]
154    pub fn pdr03(
155        self,
156    ) -> crate::common::RegisterField<3, 0x1, 1, 0, pcntr1::Pdr03, Pcntr1_SPEC, crate::common::RW>
157    {
158        crate::common::RegisterField::<3,0x1,1,0,pcntr1::Pdr03, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
159    }
160    #[doc = "Pmn Direction"]
161    #[inline(always)]
162    pub fn pdr04(
163        self,
164    ) -> crate::common::RegisterField<4, 0x1, 1, 0, pcntr1::Pdr04, Pcntr1_SPEC, crate::common::RW>
165    {
166        crate::common::RegisterField::<4,0x1,1,0,pcntr1::Pdr04, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
167    }
168    #[doc = "Pmn Direction"]
169    #[inline(always)]
170    pub fn pdr05(
171        self,
172    ) -> crate::common::RegisterField<5, 0x1, 1, 0, pcntr1::Pdr05, Pcntr1_SPEC, crate::common::RW>
173    {
174        crate::common::RegisterField::<5,0x1,1,0,pcntr1::Pdr05, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
175    }
176    #[doc = "Pmn Direction"]
177    #[inline(always)]
178    pub fn pdr06(
179        self,
180    ) -> crate::common::RegisterField<6, 0x1, 1, 0, pcntr1::Pdr06, Pcntr1_SPEC, crate::common::RW>
181    {
182        crate::common::RegisterField::<6,0x1,1,0,pcntr1::Pdr06, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
183    }
184    #[doc = "Pmn Direction"]
185    #[inline(always)]
186    pub fn pdr07(
187        self,
188    ) -> crate::common::RegisterField<7, 0x1, 1, 0, pcntr1::Pdr07, Pcntr1_SPEC, crate::common::RW>
189    {
190        crate::common::RegisterField::<7,0x1,1,0,pcntr1::Pdr07, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
191    }
192    #[doc = "Pmn Direction"]
193    #[inline(always)]
194    pub fn pdr08(
195        self,
196    ) -> crate::common::RegisterField<8, 0x1, 1, 0, pcntr1::Pdr08, Pcntr1_SPEC, crate::common::RW>
197    {
198        crate::common::RegisterField::<8,0x1,1,0,pcntr1::Pdr08, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
199    }
200    #[doc = "Pmn Direction"]
201    #[inline(always)]
202    pub fn pdr09(
203        self,
204    ) -> crate::common::RegisterField<9, 0x1, 1, 0, pcntr1::Pdr09, Pcntr1_SPEC, crate::common::RW>
205    {
206        crate::common::RegisterField::<9,0x1,1,0,pcntr1::Pdr09, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
207    }
208    #[doc = "Pmn Direction"]
209    #[inline(always)]
210    pub fn pdr10(
211        self,
212    ) -> crate::common::RegisterField<10, 0x1, 1, 0, pcntr1::Pdr10, Pcntr1_SPEC, crate::common::RW>
213    {
214        crate::common::RegisterField::<10,0x1,1,0,pcntr1::Pdr10, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
215    }
216    #[doc = "Pmn Direction"]
217    #[inline(always)]
218    pub fn pdr11(
219        self,
220    ) -> crate::common::RegisterField<11, 0x1, 1, 0, pcntr1::Pdr11, Pcntr1_SPEC, crate::common::RW>
221    {
222        crate::common::RegisterField::<11,0x1,1,0,pcntr1::Pdr11, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
223    }
224    #[doc = "Pmn Direction"]
225    #[inline(always)]
226    pub fn pdr12(
227        self,
228    ) -> crate::common::RegisterField<12, 0x1, 1, 0, pcntr1::Pdr12, Pcntr1_SPEC, crate::common::RW>
229    {
230        crate::common::RegisterField::<12,0x1,1,0,pcntr1::Pdr12, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
231    }
232    #[doc = "Pmn Direction"]
233    #[inline(always)]
234    pub fn pdr13(
235        self,
236    ) -> crate::common::RegisterField<13, 0x1, 1, 0, pcntr1::Pdr13, Pcntr1_SPEC, crate::common::RW>
237    {
238        crate::common::RegisterField::<13,0x1,1,0,pcntr1::Pdr13, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
239    }
240    #[doc = "Pmn Direction"]
241    #[inline(always)]
242    pub fn pdr14(
243        self,
244    ) -> crate::common::RegisterField<14, 0x1, 1, 0, pcntr1::Pdr14, Pcntr1_SPEC, crate::common::RW>
245    {
246        crate::common::RegisterField::<14,0x1,1,0,pcntr1::Pdr14, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
247    }
248    #[doc = "Pmn Direction"]
249    #[inline(always)]
250    pub fn pdr15(
251        self,
252    ) -> crate::common::RegisterField<15, 0x1, 1, 0, pcntr1::Pdr15, Pcntr1_SPEC, crate::common::RW>
253    {
254        crate::common::RegisterField::<15,0x1,1,0,pcntr1::Pdr15, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
255    }
256    #[doc = "Pmn Output Data"]
257    #[inline(always)]
258    pub fn podr00(
259        self,
260    ) -> crate::common::RegisterField<16, 0x1, 1, 0, pcntr1::Podr00, Pcntr1_SPEC, crate::common::RW>
261    {
262        crate::common::RegisterField::<16,0x1,1,0,pcntr1::Podr00, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
263    }
264    #[doc = "Pmn Output Data"]
265    #[inline(always)]
266    pub fn podr01(
267        self,
268    ) -> crate::common::RegisterField<17, 0x1, 1, 0, pcntr1::Podr01, Pcntr1_SPEC, crate::common::RW>
269    {
270        crate::common::RegisterField::<17,0x1,1,0,pcntr1::Podr01, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
271    }
272    #[doc = "Pmn Output Data"]
273    #[inline(always)]
274    pub fn podr02(
275        self,
276    ) -> crate::common::RegisterField<18, 0x1, 1, 0, pcntr1::Podr02, Pcntr1_SPEC, crate::common::RW>
277    {
278        crate::common::RegisterField::<18,0x1,1,0,pcntr1::Podr02, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
279    }
280    #[doc = "Pmn Output Data"]
281    #[inline(always)]
282    pub fn podr03(
283        self,
284    ) -> crate::common::RegisterField<19, 0x1, 1, 0, pcntr1::Podr03, Pcntr1_SPEC, crate::common::RW>
285    {
286        crate::common::RegisterField::<19,0x1,1,0,pcntr1::Podr03, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
287    }
288    #[doc = "Pmn Output Data"]
289    #[inline(always)]
290    pub fn podr04(
291        self,
292    ) -> crate::common::RegisterField<20, 0x1, 1, 0, pcntr1::Podr04, Pcntr1_SPEC, crate::common::RW>
293    {
294        crate::common::RegisterField::<20,0x1,1,0,pcntr1::Podr04, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
295    }
296    #[doc = "Pmn Output Data"]
297    #[inline(always)]
298    pub fn podr05(
299        self,
300    ) -> crate::common::RegisterField<21, 0x1, 1, 0, pcntr1::Podr05, Pcntr1_SPEC, crate::common::RW>
301    {
302        crate::common::RegisterField::<21,0x1,1,0,pcntr1::Podr05, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
303    }
304    #[doc = "Pmn Output Data"]
305    #[inline(always)]
306    pub fn podr06(
307        self,
308    ) -> crate::common::RegisterField<22, 0x1, 1, 0, pcntr1::Podr06, Pcntr1_SPEC, crate::common::RW>
309    {
310        crate::common::RegisterField::<22,0x1,1,0,pcntr1::Podr06, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
311    }
312    #[doc = "Pmn Output Data"]
313    #[inline(always)]
314    pub fn podr07(
315        self,
316    ) -> crate::common::RegisterField<23, 0x1, 1, 0, pcntr1::Podr07, Pcntr1_SPEC, crate::common::RW>
317    {
318        crate::common::RegisterField::<23,0x1,1,0,pcntr1::Podr07, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
319    }
320    #[doc = "Pmn Output Data"]
321    #[inline(always)]
322    pub fn podr08(
323        self,
324    ) -> crate::common::RegisterField<24, 0x1, 1, 0, pcntr1::Podr08, Pcntr1_SPEC, crate::common::RW>
325    {
326        crate::common::RegisterField::<24,0x1,1,0,pcntr1::Podr08, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
327    }
328    #[doc = "Pmn Output Data"]
329    #[inline(always)]
330    pub fn podr09(
331        self,
332    ) -> crate::common::RegisterField<25, 0x1, 1, 0, pcntr1::Podr09, Pcntr1_SPEC, crate::common::RW>
333    {
334        crate::common::RegisterField::<25,0x1,1,0,pcntr1::Podr09, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
335    }
336    #[doc = "Pmn Output Data"]
337    #[inline(always)]
338    pub fn podr10(
339        self,
340    ) -> crate::common::RegisterField<26, 0x1, 1, 0, pcntr1::Podr10, Pcntr1_SPEC, crate::common::RW>
341    {
342        crate::common::RegisterField::<26,0x1,1,0,pcntr1::Podr10, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
343    }
344    #[doc = "Pmn Output Data"]
345    #[inline(always)]
346    pub fn podr11(
347        self,
348    ) -> crate::common::RegisterField<27, 0x1, 1, 0, pcntr1::Podr11, Pcntr1_SPEC, crate::common::RW>
349    {
350        crate::common::RegisterField::<27,0x1,1,0,pcntr1::Podr11, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
351    }
352    #[doc = "Pmn Output Data"]
353    #[inline(always)]
354    pub fn podr12(
355        self,
356    ) -> crate::common::RegisterField<28, 0x1, 1, 0, pcntr1::Podr12, Pcntr1_SPEC, crate::common::RW>
357    {
358        crate::common::RegisterField::<28,0x1,1,0,pcntr1::Podr12, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
359    }
360    #[doc = "Pmn Output Data"]
361    #[inline(always)]
362    pub fn podr13(
363        self,
364    ) -> crate::common::RegisterField<29, 0x1, 1, 0, pcntr1::Podr13, Pcntr1_SPEC, crate::common::RW>
365    {
366        crate::common::RegisterField::<29,0x1,1,0,pcntr1::Podr13, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
367    }
368    #[doc = "Pmn Output Data"]
369    #[inline(always)]
370    pub fn podr14(
371        self,
372    ) -> crate::common::RegisterField<30, 0x1, 1, 0, pcntr1::Podr14, Pcntr1_SPEC, crate::common::RW>
373    {
374        crate::common::RegisterField::<30,0x1,1,0,pcntr1::Podr14, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
375    }
376    #[doc = "Pmn Output Data"]
377    #[inline(always)]
378    pub fn podr15(
379        self,
380    ) -> crate::common::RegisterField<31, 0x1, 1, 0, pcntr1::Podr15, Pcntr1_SPEC, crate::common::RW>
381    {
382        crate::common::RegisterField::<31,0x1,1,0,pcntr1::Podr15, Pcntr1_SPEC,crate::common::RW>::from_register(self,0)
383    }
384}
385impl ::core::default::Default for Pcntr1 {
386    #[inline(always)]
387    fn default() -> Pcntr1 {
388        <crate::RegValueT<Pcntr1_SPEC> as RegisterValue<_>>::new(0)
389    }
390}
391pub mod pcntr1 {
392
393    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
394    pub struct Pdr00_SPEC;
395    pub type Pdr00 = crate::EnumBitfieldStruct<u8, Pdr00_SPEC>;
396    impl Pdr00 {
397        #[doc = "Input (functions as an input pin)"]
398        pub const _0: Self = Self::new(0);
399        #[doc = "Output (functions as an output pin)"]
400        pub const _1: Self = Self::new(1);
401    }
402    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
403    pub struct Pdr01_SPEC;
404    pub type Pdr01 = crate::EnumBitfieldStruct<u8, Pdr01_SPEC>;
405    impl Pdr01 {
406        #[doc = "Input (functions as an input pin)"]
407        pub const _0: Self = Self::new(0);
408        #[doc = "Output (functions as an output pin)"]
409        pub const _1: Self = Self::new(1);
410    }
411    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
412    pub struct Pdr02_SPEC;
413    pub type Pdr02 = crate::EnumBitfieldStruct<u8, Pdr02_SPEC>;
414    impl Pdr02 {
415        #[doc = "Input (functions as an input pin)"]
416        pub const _0: Self = Self::new(0);
417        #[doc = "Output (functions as an output pin)"]
418        pub const _1: Self = Self::new(1);
419    }
420    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
421    pub struct Pdr03_SPEC;
422    pub type Pdr03 = crate::EnumBitfieldStruct<u8, Pdr03_SPEC>;
423    impl Pdr03 {
424        #[doc = "Input (functions as an input pin)"]
425        pub const _0: Self = Self::new(0);
426        #[doc = "Output (functions as an output pin)"]
427        pub const _1: Self = Self::new(1);
428    }
429    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
430    pub struct Pdr04_SPEC;
431    pub type Pdr04 = crate::EnumBitfieldStruct<u8, Pdr04_SPEC>;
432    impl Pdr04 {
433        #[doc = "Input (functions as an input pin)"]
434        pub const _0: Self = Self::new(0);
435        #[doc = "Output (functions as an output pin)"]
436        pub const _1: Self = Self::new(1);
437    }
438    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
439    pub struct Pdr05_SPEC;
440    pub type Pdr05 = crate::EnumBitfieldStruct<u8, Pdr05_SPEC>;
441    impl Pdr05 {
442        #[doc = "Input (functions as an input pin)"]
443        pub const _0: Self = Self::new(0);
444        #[doc = "Output (functions as an output pin)"]
445        pub const _1: Self = Self::new(1);
446    }
447    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
448    pub struct Pdr06_SPEC;
449    pub type Pdr06 = crate::EnumBitfieldStruct<u8, Pdr06_SPEC>;
450    impl Pdr06 {
451        #[doc = "Input (functions as an input pin)"]
452        pub const _0: Self = Self::new(0);
453        #[doc = "Output (functions as an output pin)"]
454        pub const _1: Self = Self::new(1);
455    }
456    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
457    pub struct Pdr07_SPEC;
458    pub type Pdr07 = crate::EnumBitfieldStruct<u8, Pdr07_SPEC>;
459    impl Pdr07 {
460        #[doc = "Input (functions as an input pin)"]
461        pub const _0: Self = Self::new(0);
462        #[doc = "Output (functions as an output pin)"]
463        pub const _1: Self = Self::new(1);
464    }
465    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
466    pub struct Pdr08_SPEC;
467    pub type Pdr08 = crate::EnumBitfieldStruct<u8, Pdr08_SPEC>;
468    impl Pdr08 {
469        #[doc = "Input (functions as an input pin)"]
470        pub const _0: Self = Self::new(0);
471        #[doc = "Output (functions as an output pin)"]
472        pub const _1: Self = Self::new(1);
473    }
474    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
475    pub struct Pdr09_SPEC;
476    pub type Pdr09 = crate::EnumBitfieldStruct<u8, Pdr09_SPEC>;
477    impl Pdr09 {
478        #[doc = "Input (functions as an input pin)"]
479        pub const _0: Self = Self::new(0);
480        #[doc = "Output (functions as an output pin)"]
481        pub const _1: Self = Self::new(1);
482    }
483    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
484    pub struct Pdr10_SPEC;
485    pub type Pdr10 = crate::EnumBitfieldStruct<u8, Pdr10_SPEC>;
486    impl Pdr10 {
487        #[doc = "Input (functions as an input pin)"]
488        pub const _0: Self = Self::new(0);
489        #[doc = "Output (functions as an output pin)"]
490        pub const _1: Self = Self::new(1);
491    }
492    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
493    pub struct Pdr11_SPEC;
494    pub type Pdr11 = crate::EnumBitfieldStruct<u8, Pdr11_SPEC>;
495    impl Pdr11 {
496        #[doc = "Input (functions as an input pin)"]
497        pub const _0: Self = Self::new(0);
498        #[doc = "Output (functions as an output pin)"]
499        pub const _1: Self = Self::new(1);
500    }
501    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
502    pub struct Pdr12_SPEC;
503    pub type Pdr12 = crate::EnumBitfieldStruct<u8, Pdr12_SPEC>;
504    impl Pdr12 {
505        #[doc = "Input (functions as an input pin)"]
506        pub const _0: Self = Self::new(0);
507        #[doc = "Output (functions as an output pin)"]
508        pub const _1: Self = Self::new(1);
509    }
510    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
511    pub struct Pdr13_SPEC;
512    pub type Pdr13 = crate::EnumBitfieldStruct<u8, Pdr13_SPEC>;
513    impl Pdr13 {
514        #[doc = "Input (functions as an input pin)"]
515        pub const _0: Self = Self::new(0);
516        #[doc = "Output (functions as an output pin)"]
517        pub const _1: Self = Self::new(1);
518    }
519    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
520    pub struct Pdr14_SPEC;
521    pub type Pdr14 = crate::EnumBitfieldStruct<u8, Pdr14_SPEC>;
522    impl Pdr14 {
523        #[doc = "Input (functions as an input pin)"]
524        pub const _0: Self = Self::new(0);
525        #[doc = "Output (functions as an output pin)"]
526        pub const _1: Self = Self::new(1);
527    }
528    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
529    pub struct Pdr15_SPEC;
530    pub type Pdr15 = crate::EnumBitfieldStruct<u8, Pdr15_SPEC>;
531    impl Pdr15 {
532        #[doc = "Input (functions as an input pin)"]
533        pub const _0: Self = Self::new(0);
534        #[doc = "Output (functions as an output pin)"]
535        pub const _1: Self = Self::new(1);
536    }
537    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
538    pub struct Podr00_SPEC;
539    pub type Podr00 = crate::EnumBitfieldStruct<u8, Podr00_SPEC>;
540    impl Podr00 {
541        #[doc = "Low output"]
542        pub const _0: Self = Self::new(0);
543        #[doc = "High output"]
544        pub const _1: Self = Self::new(1);
545    }
546    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
547    pub struct Podr01_SPEC;
548    pub type Podr01 = crate::EnumBitfieldStruct<u8, Podr01_SPEC>;
549    impl Podr01 {
550        #[doc = "Low output"]
551        pub const _0: Self = Self::new(0);
552        #[doc = "High output"]
553        pub const _1: Self = Self::new(1);
554    }
555    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
556    pub struct Podr02_SPEC;
557    pub type Podr02 = crate::EnumBitfieldStruct<u8, Podr02_SPEC>;
558    impl Podr02 {
559        #[doc = "Low output"]
560        pub const _0: Self = Self::new(0);
561        #[doc = "High output"]
562        pub const _1: Self = Self::new(1);
563    }
564    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
565    pub struct Podr03_SPEC;
566    pub type Podr03 = crate::EnumBitfieldStruct<u8, Podr03_SPEC>;
567    impl Podr03 {
568        #[doc = "Low output"]
569        pub const _0: Self = Self::new(0);
570        #[doc = "High output"]
571        pub const _1: Self = Self::new(1);
572    }
573    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
574    pub struct Podr04_SPEC;
575    pub type Podr04 = crate::EnumBitfieldStruct<u8, Podr04_SPEC>;
576    impl Podr04 {
577        #[doc = "Low output"]
578        pub const _0: Self = Self::new(0);
579        #[doc = "High output"]
580        pub const _1: Self = Self::new(1);
581    }
582    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
583    pub struct Podr05_SPEC;
584    pub type Podr05 = crate::EnumBitfieldStruct<u8, Podr05_SPEC>;
585    impl Podr05 {
586        #[doc = "Low output"]
587        pub const _0: Self = Self::new(0);
588        #[doc = "High output"]
589        pub const _1: Self = Self::new(1);
590    }
591    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
592    pub struct Podr06_SPEC;
593    pub type Podr06 = crate::EnumBitfieldStruct<u8, Podr06_SPEC>;
594    impl Podr06 {
595        #[doc = "Low output"]
596        pub const _0: Self = Self::new(0);
597        #[doc = "High output"]
598        pub const _1: Self = Self::new(1);
599    }
600    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
601    pub struct Podr07_SPEC;
602    pub type Podr07 = crate::EnumBitfieldStruct<u8, Podr07_SPEC>;
603    impl Podr07 {
604        #[doc = "Low output"]
605        pub const _0: Self = Self::new(0);
606        #[doc = "High output"]
607        pub const _1: Self = Self::new(1);
608    }
609    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
610    pub struct Podr08_SPEC;
611    pub type Podr08 = crate::EnumBitfieldStruct<u8, Podr08_SPEC>;
612    impl Podr08 {
613        #[doc = "Low output"]
614        pub const _0: Self = Self::new(0);
615        #[doc = "High output"]
616        pub const _1: Self = Self::new(1);
617    }
618    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
619    pub struct Podr09_SPEC;
620    pub type Podr09 = crate::EnumBitfieldStruct<u8, Podr09_SPEC>;
621    impl Podr09 {
622        #[doc = "Low output"]
623        pub const _0: Self = Self::new(0);
624        #[doc = "High output"]
625        pub const _1: Self = Self::new(1);
626    }
627    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
628    pub struct Podr10_SPEC;
629    pub type Podr10 = crate::EnumBitfieldStruct<u8, Podr10_SPEC>;
630    impl Podr10 {
631        #[doc = "Low output"]
632        pub const _0: Self = Self::new(0);
633        #[doc = "High output"]
634        pub const _1: Self = Self::new(1);
635    }
636    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
637    pub struct Podr11_SPEC;
638    pub type Podr11 = crate::EnumBitfieldStruct<u8, Podr11_SPEC>;
639    impl Podr11 {
640        #[doc = "Low output"]
641        pub const _0: Self = Self::new(0);
642        #[doc = "High output"]
643        pub const _1: Self = Self::new(1);
644    }
645    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
646    pub struct Podr12_SPEC;
647    pub type Podr12 = crate::EnumBitfieldStruct<u8, Podr12_SPEC>;
648    impl Podr12 {
649        #[doc = "Low output"]
650        pub const _0: Self = Self::new(0);
651        #[doc = "High output"]
652        pub const _1: Self = Self::new(1);
653    }
654    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
655    pub struct Podr13_SPEC;
656    pub type Podr13 = crate::EnumBitfieldStruct<u8, Podr13_SPEC>;
657    impl Podr13 {
658        #[doc = "Low output"]
659        pub const _0: Self = Self::new(0);
660        #[doc = "High output"]
661        pub const _1: Self = Self::new(1);
662    }
663    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
664    pub struct Podr14_SPEC;
665    pub type Podr14 = crate::EnumBitfieldStruct<u8, Podr14_SPEC>;
666    impl Podr14 {
667        #[doc = "Low output"]
668        pub const _0: Self = Self::new(0);
669        #[doc = "High output"]
670        pub const _1: Self = Self::new(1);
671    }
672    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
673    pub struct Podr15_SPEC;
674    pub type Podr15 = crate::EnumBitfieldStruct<u8, Podr15_SPEC>;
675    impl Podr15 {
676        #[doc = "Low output"]
677        pub const _0: Self = Self::new(0);
678        #[doc = "High output"]
679        pub const _1: Self = Self::new(1);
680    }
681}
682#[doc(hidden)]
683#[derive(Copy, Clone, Eq, PartialEq)]
684pub struct Podr_SPEC;
685impl crate::sealed::RegSpec for Podr_SPEC {
686    type DataType = u16;
687}
688#[doc = "Port Control Register 1"]
689pub type Podr = crate::RegValueT<Podr_SPEC>;
690
691impl Podr {
692    #[doc = "Pmn Output Data"]
693    #[inline(always)]
694    pub fn podr00(
695        self,
696    ) -> crate::common::RegisterField<0, 0x1, 1, 0, podr::Podr00, Podr_SPEC, crate::common::RW>
697    {
698        crate::common::RegisterField::<0,0x1,1,0,podr::Podr00, Podr_SPEC,crate::common::RW>::from_register(self,0)
699    }
700    #[doc = "Pmn Output Data"]
701    #[inline(always)]
702    pub fn podr01(
703        self,
704    ) -> crate::common::RegisterField<1, 0x1, 1, 0, podr::Podr01, Podr_SPEC, crate::common::RW>
705    {
706        crate::common::RegisterField::<1,0x1,1,0,podr::Podr01, Podr_SPEC,crate::common::RW>::from_register(self,0)
707    }
708    #[doc = "Pmn Output Data"]
709    #[inline(always)]
710    pub fn podr02(
711        self,
712    ) -> crate::common::RegisterField<2, 0x1, 1, 0, podr::Podr02, Podr_SPEC, crate::common::RW>
713    {
714        crate::common::RegisterField::<2,0x1,1,0,podr::Podr02, Podr_SPEC,crate::common::RW>::from_register(self,0)
715    }
716    #[doc = "Pmn Output Data"]
717    #[inline(always)]
718    pub fn podr03(
719        self,
720    ) -> crate::common::RegisterField<3, 0x1, 1, 0, podr::Podr03, Podr_SPEC, crate::common::RW>
721    {
722        crate::common::RegisterField::<3,0x1,1,0,podr::Podr03, Podr_SPEC,crate::common::RW>::from_register(self,0)
723    }
724    #[doc = "Pmn Output Data"]
725    #[inline(always)]
726    pub fn podr04(
727        self,
728    ) -> crate::common::RegisterField<4, 0x1, 1, 0, podr::Podr04, Podr_SPEC, crate::common::RW>
729    {
730        crate::common::RegisterField::<4,0x1,1,0,podr::Podr04, Podr_SPEC,crate::common::RW>::from_register(self,0)
731    }
732    #[doc = "Pmn Output Data"]
733    #[inline(always)]
734    pub fn podr05(
735        self,
736    ) -> crate::common::RegisterField<5, 0x1, 1, 0, podr::Podr05, Podr_SPEC, crate::common::RW>
737    {
738        crate::common::RegisterField::<5,0x1,1,0,podr::Podr05, Podr_SPEC,crate::common::RW>::from_register(self,0)
739    }
740    #[doc = "Pmn Output Data"]
741    #[inline(always)]
742    pub fn podr06(
743        self,
744    ) -> crate::common::RegisterField<6, 0x1, 1, 0, podr::Podr06, Podr_SPEC, crate::common::RW>
745    {
746        crate::common::RegisterField::<6,0x1,1,0,podr::Podr06, Podr_SPEC,crate::common::RW>::from_register(self,0)
747    }
748    #[doc = "Pmn Output Data"]
749    #[inline(always)]
750    pub fn podr07(
751        self,
752    ) -> crate::common::RegisterField<7, 0x1, 1, 0, podr::Podr07, Podr_SPEC, crate::common::RW>
753    {
754        crate::common::RegisterField::<7,0x1,1,0,podr::Podr07, Podr_SPEC,crate::common::RW>::from_register(self,0)
755    }
756    #[doc = "Pmn Output Data"]
757    #[inline(always)]
758    pub fn podr08(
759        self,
760    ) -> crate::common::RegisterField<8, 0x1, 1, 0, podr::Podr08, Podr_SPEC, crate::common::RW>
761    {
762        crate::common::RegisterField::<8,0x1,1,0,podr::Podr08, Podr_SPEC,crate::common::RW>::from_register(self,0)
763    }
764    #[doc = "Pmn Output Data"]
765    #[inline(always)]
766    pub fn podr09(
767        self,
768    ) -> crate::common::RegisterField<9, 0x1, 1, 0, podr::Podr09, Podr_SPEC, crate::common::RW>
769    {
770        crate::common::RegisterField::<9,0x1,1,0,podr::Podr09, Podr_SPEC,crate::common::RW>::from_register(self,0)
771    }
772    #[doc = "Pmn Output Data"]
773    #[inline(always)]
774    pub fn podr10(
775        self,
776    ) -> crate::common::RegisterField<10, 0x1, 1, 0, podr::Podr10, Podr_SPEC, crate::common::RW>
777    {
778        crate::common::RegisterField::<10,0x1,1,0,podr::Podr10, Podr_SPEC,crate::common::RW>::from_register(self,0)
779    }
780    #[doc = "Pmn Output Data"]
781    #[inline(always)]
782    pub fn podr11(
783        self,
784    ) -> crate::common::RegisterField<11, 0x1, 1, 0, podr::Podr11, Podr_SPEC, crate::common::RW>
785    {
786        crate::common::RegisterField::<11,0x1,1,0,podr::Podr11, Podr_SPEC,crate::common::RW>::from_register(self,0)
787    }
788    #[doc = "Pmn Output Data"]
789    #[inline(always)]
790    pub fn podr12(
791        self,
792    ) -> crate::common::RegisterField<12, 0x1, 1, 0, podr::Podr12, Podr_SPEC, crate::common::RW>
793    {
794        crate::common::RegisterField::<12,0x1,1,0,podr::Podr12, Podr_SPEC,crate::common::RW>::from_register(self,0)
795    }
796    #[doc = "Pmn Output Data"]
797    #[inline(always)]
798    pub fn podr13(
799        self,
800    ) -> crate::common::RegisterField<13, 0x1, 1, 0, podr::Podr13, Podr_SPEC, crate::common::RW>
801    {
802        crate::common::RegisterField::<13,0x1,1,0,podr::Podr13, Podr_SPEC,crate::common::RW>::from_register(self,0)
803    }
804    #[doc = "Pmn Output Data"]
805    #[inline(always)]
806    pub fn podr14(
807        self,
808    ) -> crate::common::RegisterField<14, 0x1, 1, 0, podr::Podr14, Podr_SPEC, crate::common::RW>
809    {
810        crate::common::RegisterField::<14,0x1,1,0,podr::Podr14, Podr_SPEC,crate::common::RW>::from_register(self,0)
811    }
812    #[doc = "Pmn Output Data"]
813    #[inline(always)]
814    pub fn podr15(
815        self,
816    ) -> crate::common::RegisterField<15, 0x1, 1, 0, podr::Podr15, Podr_SPEC, crate::common::RW>
817    {
818        crate::common::RegisterField::<15,0x1,1,0,podr::Podr15, Podr_SPEC,crate::common::RW>::from_register(self,0)
819    }
820}
821impl ::core::default::Default for Podr {
822    #[inline(always)]
823    fn default() -> Podr {
824        <crate::RegValueT<Podr_SPEC> as RegisterValue<_>>::new(0)
825    }
826}
827pub mod podr {
828
829    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
830    pub struct Podr00_SPEC;
831    pub type Podr00 = crate::EnumBitfieldStruct<u8, Podr00_SPEC>;
832    impl Podr00 {
833        #[doc = "Low output"]
834        pub const _0: Self = Self::new(0);
835        #[doc = "High output"]
836        pub const _1: Self = Self::new(1);
837    }
838    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
839    pub struct Podr01_SPEC;
840    pub type Podr01 = crate::EnumBitfieldStruct<u8, Podr01_SPEC>;
841    impl Podr01 {
842        #[doc = "Low output"]
843        pub const _0: Self = Self::new(0);
844        #[doc = "High output"]
845        pub const _1: Self = Self::new(1);
846    }
847    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
848    pub struct Podr02_SPEC;
849    pub type Podr02 = crate::EnumBitfieldStruct<u8, Podr02_SPEC>;
850    impl Podr02 {
851        #[doc = "Low output"]
852        pub const _0: Self = Self::new(0);
853        #[doc = "High output"]
854        pub const _1: Self = Self::new(1);
855    }
856    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
857    pub struct Podr03_SPEC;
858    pub type Podr03 = crate::EnumBitfieldStruct<u8, Podr03_SPEC>;
859    impl Podr03 {
860        #[doc = "Low output"]
861        pub const _0: Self = Self::new(0);
862        #[doc = "High output"]
863        pub const _1: Self = Self::new(1);
864    }
865    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
866    pub struct Podr04_SPEC;
867    pub type Podr04 = crate::EnumBitfieldStruct<u8, Podr04_SPEC>;
868    impl Podr04 {
869        #[doc = "Low output"]
870        pub const _0: Self = Self::new(0);
871        #[doc = "High output"]
872        pub const _1: Self = Self::new(1);
873    }
874    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
875    pub struct Podr05_SPEC;
876    pub type Podr05 = crate::EnumBitfieldStruct<u8, Podr05_SPEC>;
877    impl Podr05 {
878        #[doc = "Low output"]
879        pub const _0: Self = Self::new(0);
880        #[doc = "High output"]
881        pub const _1: Self = Self::new(1);
882    }
883    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
884    pub struct Podr06_SPEC;
885    pub type Podr06 = crate::EnumBitfieldStruct<u8, Podr06_SPEC>;
886    impl Podr06 {
887        #[doc = "Low output"]
888        pub const _0: Self = Self::new(0);
889        #[doc = "High output"]
890        pub const _1: Self = Self::new(1);
891    }
892    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
893    pub struct Podr07_SPEC;
894    pub type Podr07 = crate::EnumBitfieldStruct<u8, Podr07_SPEC>;
895    impl Podr07 {
896        #[doc = "Low output"]
897        pub const _0: Self = Self::new(0);
898        #[doc = "High output"]
899        pub const _1: Self = Self::new(1);
900    }
901    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
902    pub struct Podr08_SPEC;
903    pub type Podr08 = crate::EnumBitfieldStruct<u8, Podr08_SPEC>;
904    impl Podr08 {
905        #[doc = "Low output"]
906        pub const _0: Self = Self::new(0);
907        #[doc = "High output"]
908        pub const _1: Self = Self::new(1);
909    }
910    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
911    pub struct Podr09_SPEC;
912    pub type Podr09 = crate::EnumBitfieldStruct<u8, Podr09_SPEC>;
913    impl Podr09 {
914        #[doc = "Low output"]
915        pub const _0: Self = Self::new(0);
916        #[doc = "High output"]
917        pub const _1: Self = Self::new(1);
918    }
919    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
920    pub struct Podr10_SPEC;
921    pub type Podr10 = crate::EnumBitfieldStruct<u8, Podr10_SPEC>;
922    impl Podr10 {
923        #[doc = "Low output"]
924        pub const _0: Self = Self::new(0);
925        #[doc = "High output"]
926        pub const _1: Self = Self::new(1);
927    }
928    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
929    pub struct Podr11_SPEC;
930    pub type Podr11 = crate::EnumBitfieldStruct<u8, Podr11_SPEC>;
931    impl Podr11 {
932        #[doc = "Low output"]
933        pub const _0: Self = Self::new(0);
934        #[doc = "High output"]
935        pub const _1: Self = Self::new(1);
936    }
937    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
938    pub struct Podr12_SPEC;
939    pub type Podr12 = crate::EnumBitfieldStruct<u8, Podr12_SPEC>;
940    impl Podr12 {
941        #[doc = "Low output"]
942        pub const _0: Self = Self::new(0);
943        #[doc = "High output"]
944        pub const _1: Self = Self::new(1);
945    }
946    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
947    pub struct Podr13_SPEC;
948    pub type Podr13 = crate::EnumBitfieldStruct<u8, Podr13_SPEC>;
949    impl Podr13 {
950        #[doc = "Low output"]
951        pub const _0: Self = Self::new(0);
952        #[doc = "High output"]
953        pub const _1: Self = Self::new(1);
954    }
955    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
956    pub struct Podr14_SPEC;
957    pub type Podr14 = crate::EnumBitfieldStruct<u8, Podr14_SPEC>;
958    impl Podr14 {
959        #[doc = "Low output"]
960        pub const _0: Self = Self::new(0);
961        #[doc = "High output"]
962        pub const _1: Self = Self::new(1);
963    }
964    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
965    pub struct Podr15_SPEC;
966    pub type Podr15 = crate::EnumBitfieldStruct<u8, Podr15_SPEC>;
967    impl Podr15 {
968        #[doc = "Low output"]
969        pub const _0: Self = Self::new(0);
970        #[doc = "High output"]
971        pub const _1: Self = Self::new(1);
972    }
973}
974#[doc(hidden)]
975#[derive(Copy, Clone, Eq, PartialEq)]
976pub struct Pdr_SPEC;
977impl crate::sealed::RegSpec for Pdr_SPEC {
978    type DataType = u16;
979}
980#[doc = "Port Control Register 1"]
981pub type Pdr = crate::RegValueT<Pdr_SPEC>;
982
983impl Pdr {
984    #[doc = "Pmn Direction"]
985    #[inline(always)]
986    pub fn pdr00(
987        self,
988    ) -> crate::common::RegisterField<0, 0x1, 1, 0, pdr::Pdr00, Pdr_SPEC, crate::common::RW> {
989        crate::common::RegisterField::<0,0x1,1,0,pdr::Pdr00, Pdr_SPEC,crate::common::RW>::from_register(self,0)
990    }
991    #[doc = "Pmn Direction"]
992    #[inline(always)]
993    pub fn pdr01(
994        self,
995    ) -> crate::common::RegisterField<1, 0x1, 1, 0, pdr::Pdr01, Pdr_SPEC, crate::common::RW> {
996        crate::common::RegisterField::<1,0x1,1,0,pdr::Pdr01, Pdr_SPEC,crate::common::RW>::from_register(self,0)
997    }
998    #[doc = "Pmn Direction"]
999    #[inline(always)]
1000    pub fn pdr02(
1001        self,
1002    ) -> crate::common::RegisterField<2, 0x1, 1, 0, pdr::Pdr02, Pdr_SPEC, crate::common::RW> {
1003        crate::common::RegisterField::<2,0x1,1,0,pdr::Pdr02, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1004    }
1005    #[doc = "Pmn Direction"]
1006    #[inline(always)]
1007    pub fn pdr03(
1008        self,
1009    ) -> crate::common::RegisterField<3, 0x1, 1, 0, pdr::Pdr03, Pdr_SPEC, crate::common::RW> {
1010        crate::common::RegisterField::<3,0x1,1,0,pdr::Pdr03, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1011    }
1012    #[doc = "Pmn Direction"]
1013    #[inline(always)]
1014    pub fn pdr04(
1015        self,
1016    ) -> crate::common::RegisterField<4, 0x1, 1, 0, pdr::Pdr04, Pdr_SPEC, crate::common::RW> {
1017        crate::common::RegisterField::<4,0x1,1,0,pdr::Pdr04, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1018    }
1019    #[doc = "Pmn Direction"]
1020    #[inline(always)]
1021    pub fn pdr05(
1022        self,
1023    ) -> crate::common::RegisterField<5, 0x1, 1, 0, pdr::Pdr05, Pdr_SPEC, crate::common::RW> {
1024        crate::common::RegisterField::<5,0x1,1,0,pdr::Pdr05, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1025    }
1026    #[doc = "Pmn Direction"]
1027    #[inline(always)]
1028    pub fn pdr06(
1029        self,
1030    ) -> crate::common::RegisterField<6, 0x1, 1, 0, pdr::Pdr06, Pdr_SPEC, crate::common::RW> {
1031        crate::common::RegisterField::<6,0x1,1,0,pdr::Pdr06, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1032    }
1033    #[doc = "Pmn Direction"]
1034    #[inline(always)]
1035    pub fn pdr07(
1036        self,
1037    ) -> crate::common::RegisterField<7, 0x1, 1, 0, pdr::Pdr07, Pdr_SPEC, crate::common::RW> {
1038        crate::common::RegisterField::<7,0x1,1,0,pdr::Pdr07, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1039    }
1040    #[doc = "Pmn Direction"]
1041    #[inline(always)]
1042    pub fn pdr08(
1043        self,
1044    ) -> crate::common::RegisterField<8, 0x1, 1, 0, pdr::Pdr08, Pdr_SPEC, crate::common::RW> {
1045        crate::common::RegisterField::<8,0x1,1,0,pdr::Pdr08, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1046    }
1047    #[doc = "Pmn Direction"]
1048    #[inline(always)]
1049    pub fn pdr09(
1050        self,
1051    ) -> crate::common::RegisterField<9, 0x1, 1, 0, pdr::Pdr09, Pdr_SPEC, crate::common::RW> {
1052        crate::common::RegisterField::<9,0x1,1,0,pdr::Pdr09, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1053    }
1054    #[doc = "Pmn Direction"]
1055    #[inline(always)]
1056    pub fn pdr10(
1057        self,
1058    ) -> crate::common::RegisterField<10, 0x1, 1, 0, pdr::Pdr10, Pdr_SPEC, crate::common::RW> {
1059        crate::common::RegisterField::<10,0x1,1,0,pdr::Pdr10, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1060    }
1061    #[doc = "Pmn Direction"]
1062    #[inline(always)]
1063    pub fn pdr11(
1064        self,
1065    ) -> crate::common::RegisterField<11, 0x1, 1, 0, pdr::Pdr11, Pdr_SPEC, crate::common::RW> {
1066        crate::common::RegisterField::<11,0x1,1,0,pdr::Pdr11, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1067    }
1068    #[doc = "Pmn Direction"]
1069    #[inline(always)]
1070    pub fn pdr12(
1071        self,
1072    ) -> crate::common::RegisterField<12, 0x1, 1, 0, pdr::Pdr12, Pdr_SPEC, crate::common::RW> {
1073        crate::common::RegisterField::<12,0x1,1,0,pdr::Pdr12, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1074    }
1075    #[doc = "Pmn Direction"]
1076    #[inline(always)]
1077    pub fn pdr13(
1078        self,
1079    ) -> crate::common::RegisterField<13, 0x1, 1, 0, pdr::Pdr13, Pdr_SPEC, crate::common::RW> {
1080        crate::common::RegisterField::<13,0x1,1,0,pdr::Pdr13, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1081    }
1082    #[doc = "Pmn Direction"]
1083    #[inline(always)]
1084    pub fn pdr14(
1085        self,
1086    ) -> crate::common::RegisterField<14, 0x1, 1, 0, pdr::Pdr14, Pdr_SPEC, crate::common::RW> {
1087        crate::common::RegisterField::<14,0x1,1,0,pdr::Pdr14, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1088    }
1089    #[doc = "Pmn Direction"]
1090    #[inline(always)]
1091    pub fn pdr15(
1092        self,
1093    ) -> crate::common::RegisterField<15, 0x1, 1, 0, pdr::Pdr15, Pdr_SPEC, crate::common::RW> {
1094        crate::common::RegisterField::<15,0x1,1,0,pdr::Pdr15, Pdr_SPEC,crate::common::RW>::from_register(self,0)
1095    }
1096}
1097impl ::core::default::Default for Pdr {
1098    #[inline(always)]
1099    fn default() -> Pdr {
1100        <crate::RegValueT<Pdr_SPEC> as RegisterValue<_>>::new(0)
1101    }
1102}
1103pub mod pdr {
1104
1105    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1106    pub struct Pdr00_SPEC;
1107    pub type Pdr00 = crate::EnumBitfieldStruct<u8, Pdr00_SPEC>;
1108    impl Pdr00 {
1109        #[doc = "Input (functions as an input pin)"]
1110        pub const _0: Self = Self::new(0);
1111        #[doc = "Output (functions as an output pin)"]
1112        pub const _1: Self = Self::new(1);
1113    }
1114    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1115    pub struct Pdr01_SPEC;
1116    pub type Pdr01 = crate::EnumBitfieldStruct<u8, Pdr01_SPEC>;
1117    impl Pdr01 {
1118        #[doc = "Input (functions as an input pin)"]
1119        pub const _0: Self = Self::new(0);
1120        #[doc = "Output (functions as an output pin)"]
1121        pub const _1: Self = Self::new(1);
1122    }
1123    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1124    pub struct Pdr02_SPEC;
1125    pub type Pdr02 = crate::EnumBitfieldStruct<u8, Pdr02_SPEC>;
1126    impl Pdr02 {
1127        #[doc = "Input (functions as an input pin)"]
1128        pub const _0: Self = Self::new(0);
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 Pdr03_SPEC;
1134    pub type Pdr03 = crate::EnumBitfieldStruct<u8, Pdr03_SPEC>;
1135    impl Pdr03 {
1136        #[doc = "Input (functions as an input pin)"]
1137        pub const _0: Self = Self::new(0);
1138        #[doc = "Output (functions as an output pin)"]
1139        pub const _1: Self = Self::new(1);
1140    }
1141    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1142    pub struct Pdr04_SPEC;
1143    pub type Pdr04 = crate::EnumBitfieldStruct<u8, Pdr04_SPEC>;
1144    impl Pdr04 {
1145        #[doc = "Input (functions as an input pin)"]
1146        pub const _0: Self = Self::new(0);
1147        #[doc = "Output (functions as an output pin)"]
1148        pub const _1: Self = Self::new(1);
1149    }
1150    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1151    pub struct Pdr05_SPEC;
1152    pub type Pdr05 = crate::EnumBitfieldStruct<u8, Pdr05_SPEC>;
1153    impl Pdr05 {
1154        #[doc = "Input (functions as an input pin)"]
1155        pub const _0: Self = Self::new(0);
1156        #[doc = "Output (functions as an output pin)"]
1157        pub const _1: Self = Self::new(1);
1158    }
1159    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1160    pub struct Pdr06_SPEC;
1161    pub type Pdr06 = crate::EnumBitfieldStruct<u8, Pdr06_SPEC>;
1162    impl Pdr06 {
1163        #[doc = "Input (functions as an input pin)"]
1164        pub const _0: Self = Self::new(0);
1165        #[doc = "Output (functions as an output pin)"]
1166        pub const _1: Self = Self::new(1);
1167    }
1168    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1169    pub struct Pdr07_SPEC;
1170    pub type Pdr07 = crate::EnumBitfieldStruct<u8, Pdr07_SPEC>;
1171    impl Pdr07 {
1172        #[doc = "Input (functions as an input pin)"]
1173        pub const _0: Self = Self::new(0);
1174        #[doc = "Output (functions as an output pin)"]
1175        pub const _1: Self = Self::new(1);
1176    }
1177    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1178    pub struct Pdr08_SPEC;
1179    pub type Pdr08 = crate::EnumBitfieldStruct<u8, Pdr08_SPEC>;
1180    impl Pdr08 {
1181        #[doc = "Input (functions as an input pin)"]
1182        pub const _0: Self = Self::new(0);
1183        #[doc = "Output (functions as an output pin)"]
1184        pub const _1: Self = Self::new(1);
1185    }
1186    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1187    pub struct Pdr09_SPEC;
1188    pub type Pdr09 = crate::EnumBitfieldStruct<u8, Pdr09_SPEC>;
1189    impl Pdr09 {
1190        #[doc = "Input (functions as an input pin)"]
1191        pub const _0: Self = Self::new(0);
1192        #[doc = "Output (functions as an output pin)"]
1193        pub const _1: Self = Self::new(1);
1194    }
1195    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1196    pub struct Pdr10_SPEC;
1197    pub type Pdr10 = crate::EnumBitfieldStruct<u8, Pdr10_SPEC>;
1198    impl Pdr10 {
1199        #[doc = "Input (functions as an input pin)"]
1200        pub const _0: Self = Self::new(0);
1201        #[doc = "Output (functions as an output pin)"]
1202        pub const _1: Self = Self::new(1);
1203    }
1204    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1205    pub struct Pdr11_SPEC;
1206    pub type Pdr11 = crate::EnumBitfieldStruct<u8, Pdr11_SPEC>;
1207    impl Pdr11 {
1208        #[doc = "Input (functions as an input pin)"]
1209        pub const _0: Self = Self::new(0);
1210        #[doc = "Output (functions as an output pin)"]
1211        pub const _1: Self = Self::new(1);
1212    }
1213    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1214    pub struct Pdr12_SPEC;
1215    pub type Pdr12 = crate::EnumBitfieldStruct<u8, Pdr12_SPEC>;
1216    impl Pdr12 {
1217        #[doc = "Input (functions as an input pin)"]
1218        pub const _0: Self = Self::new(0);
1219        #[doc = "Output (functions as an output pin)"]
1220        pub const _1: Self = Self::new(1);
1221    }
1222    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1223    pub struct Pdr13_SPEC;
1224    pub type Pdr13 = crate::EnumBitfieldStruct<u8, Pdr13_SPEC>;
1225    impl Pdr13 {
1226        #[doc = "Input (functions as an input pin)"]
1227        pub const _0: Self = Self::new(0);
1228        #[doc = "Output (functions as an output pin)"]
1229        pub const _1: Self = Self::new(1);
1230    }
1231    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1232    pub struct Pdr14_SPEC;
1233    pub type Pdr14 = crate::EnumBitfieldStruct<u8, Pdr14_SPEC>;
1234    impl Pdr14 {
1235        #[doc = "Input (functions as an input pin)"]
1236        pub const _0: Self = Self::new(0);
1237        #[doc = "Output (functions as an output pin)"]
1238        pub const _1: Self = Self::new(1);
1239    }
1240    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1241    pub struct Pdr15_SPEC;
1242    pub type Pdr15 = crate::EnumBitfieldStruct<u8, Pdr15_SPEC>;
1243    impl Pdr15 {
1244        #[doc = "Input (functions as an input pin)"]
1245        pub const _0: Self = Self::new(0);
1246        #[doc = "Output (functions as an output pin)"]
1247        pub const _1: Self = Self::new(1);
1248    }
1249}
1250#[doc(hidden)]
1251#[derive(Copy, Clone, Eq, PartialEq)]
1252pub struct Pcntr2_SPEC;
1253impl crate::sealed::RegSpec for Pcntr2_SPEC {
1254    type DataType = u32;
1255}
1256#[doc = "Port Control Register 2"]
1257pub type Pcntr2 = crate::RegValueT<Pcntr2_SPEC>;
1258
1259impl Pcntr2 {
1260    #[doc = "Pmn State"]
1261    #[inline(always)]
1262    pub fn pidr00(
1263        self,
1264    ) -> crate::common::RegisterField<0, 0x1, 1, 0, pcntr2::Pidr00, Pcntr2_SPEC, crate::common::R>
1265    {
1266        crate::common::RegisterField::<0,0x1,1,0,pcntr2::Pidr00, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1267    }
1268    #[doc = "Pmn State"]
1269    #[inline(always)]
1270    pub fn pidr01(
1271        self,
1272    ) -> crate::common::RegisterField<1, 0x1, 1, 0, pcntr2::Pidr01, Pcntr2_SPEC, crate::common::R>
1273    {
1274        crate::common::RegisterField::<1,0x1,1,0,pcntr2::Pidr01, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1275    }
1276    #[doc = "Pmn State"]
1277    #[inline(always)]
1278    pub fn pidr02(
1279        self,
1280    ) -> crate::common::RegisterField<2, 0x1, 1, 0, pcntr2::Pidr02, Pcntr2_SPEC, crate::common::R>
1281    {
1282        crate::common::RegisterField::<2,0x1,1,0,pcntr2::Pidr02, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1283    }
1284    #[doc = "Pmn State"]
1285    #[inline(always)]
1286    pub fn pidr03(
1287        self,
1288    ) -> crate::common::RegisterField<3, 0x1, 1, 0, pcntr2::Pidr03, Pcntr2_SPEC, crate::common::R>
1289    {
1290        crate::common::RegisterField::<3,0x1,1,0,pcntr2::Pidr03, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1291    }
1292    #[doc = "Pmn State"]
1293    #[inline(always)]
1294    pub fn pidr04(
1295        self,
1296    ) -> crate::common::RegisterField<4, 0x1, 1, 0, pcntr2::Pidr04, Pcntr2_SPEC, crate::common::R>
1297    {
1298        crate::common::RegisterField::<4,0x1,1,0,pcntr2::Pidr04, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1299    }
1300    #[doc = "Pmn State"]
1301    #[inline(always)]
1302    pub fn pidr05(
1303        self,
1304    ) -> crate::common::RegisterField<5, 0x1, 1, 0, pcntr2::Pidr05, Pcntr2_SPEC, crate::common::R>
1305    {
1306        crate::common::RegisterField::<5,0x1,1,0,pcntr2::Pidr05, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1307    }
1308    #[doc = "Pmn State"]
1309    #[inline(always)]
1310    pub fn pidr06(
1311        self,
1312    ) -> crate::common::RegisterField<6, 0x1, 1, 0, pcntr2::Pidr06, Pcntr2_SPEC, crate::common::R>
1313    {
1314        crate::common::RegisterField::<6,0x1,1,0,pcntr2::Pidr06, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1315    }
1316    #[doc = "Pmn State"]
1317    #[inline(always)]
1318    pub fn pidr07(
1319        self,
1320    ) -> crate::common::RegisterField<7, 0x1, 1, 0, pcntr2::Pidr07, Pcntr2_SPEC, crate::common::R>
1321    {
1322        crate::common::RegisterField::<7,0x1,1,0,pcntr2::Pidr07, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1323    }
1324    #[doc = "Pmn State"]
1325    #[inline(always)]
1326    pub fn pidr08(
1327        self,
1328    ) -> crate::common::RegisterField<8, 0x1, 1, 0, pcntr2::Pidr08, Pcntr2_SPEC, crate::common::R>
1329    {
1330        crate::common::RegisterField::<8,0x1,1,0,pcntr2::Pidr08, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1331    }
1332    #[doc = "Pmn State"]
1333    #[inline(always)]
1334    pub fn pidr09(
1335        self,
1336    ) -> crate::common::RegisterField<9, 0x1, 1, 0, pcntr2::Pidr09, Pcntr2_SPEC, crate::common::R>
1337    {
1338        crate::common::RegisterField::<9,0x1,1,0,pcntr2::Pidr09, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1339    }
1340    #[doc = "Pmn State"]
1341    #[inline(always)]
1342    pub fn pidr10(
1343        self,
1344    ) -> crate::common::RegisterField<10, 0x1, 1, 0, pcntr2::Pidr10, Pcntr2_SPEC, crate::common::R>
1345    {
1346        crate::common::RegisterField::<10,0x1,1,0,pcntr2::Pidr10, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1347    }
1348    #[doc = "Pmn State"]
1349    #[inline(always)]
1350    pub fn pidr11(
1351        self,
1352    ) -> crate::common::RegisterField<11, 0x1, 1, 0, pcntr2::Pidr11, Pcntr2_SPEC, crate::common::R>
1353    {
1354        crate::common::RegisterField::<11,0x1,1,0,pcntr2::Pidr11, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1355    }
1356    #[doc = "Pmn State"]
1357    #[inline(always)]
1358    pub fn pidr12(
1359        self,
1360    ) -> crate::common::RegisterField<12, 0x1, 1, 0, pcntr2::Pidr12, Pcntr2_SPEC, crate::common::R>
1361    {
1362        crate::common::RegisterField::<12,0x1,1,0,pcntr2::Pidr12, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1363    }
1364    #[doc = "Pmn State"]
1365    #[inline(always)]
1366    pub fn pidr13(
1367        self,
1368    ) -> crate::common::RegisterField<13, 0x1, 1, 0, pcntr2::Pidr13, Pcntr2_SPEC, crate::common::R>
1369    {
1370        crate::common::RegisterField::<13,0x1,1,0,pcntr2::Pidr13, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1371    }
1372    #[doc = "Pmn State"]
1373    #[inline(always)]
1374    pub fn pidr14(
1375        self,
1376    ) -> crate::common::RegisterField<14, 0x1, 1, 0, pcntr2::Pidr14, Pcntr2_SPEC, crate::common::R>
1377    {
1378        crate::common::RegisterField::<14,0x1,1,0,pcntr2::Pidr14, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1379    }
1380    #[doc = "Pmn State"]
1381    #[inline(always)]
1382    pub fn pidr15(
1383        self,
1384    ) -> crate::common::RegisterField<15, 0x1, 1, 0, pcntr2::Pidr15, Pcntr2_SPEC, crate::common::R>
1385    {
1386        crate::common::RegisterField::<15,0x1,1,0,pcntr2::Pidr15, Pcntr2_SPEC,crate::common::R>::from_register(self,0)
1387    }
1388}
1389impl ::core::default::Default for Pcntr2 {
1390    #[inline(always)]
1391    fn default() -> Pcntr2 {
1392        <crate::RegValueT<Pcntr2_SPEC> as RegisterValue<_>>::new(0)
1393    }
1394}
1395pub mod pcntr2 {
1396
1397    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1398    pub struct Pidr00_SPEC;
1399    pub type Pidr00 = crate::EnumBitfieldStruct<u8, Pidr00_SPEC>;
1400    impl Pidr00 {
1401        #[doc = "Low level"]
1402        pub const _0: Self = Self::new(0);
1403        #[doc = "High level"]
1404        pub const _1: Self = Self::new(1);
1405    }
1406    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1407    pub struct Pidr01_SPEC;
1408    pub type Pidr01 = crate::EnumBitfieldStruct<u8, Pidr01_SPEC>;
1409    impl Pidr01 {
1410        #[doc = "Low level"]
1411        pub const _0: Self = Self::new(0);
1412        #[doc = "High level"]
1413        pub const _1: Self = Self::new(1);
1414    }
1415    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1416    pub struct Pidr02_SPEC;
1417    pub type Pidr02 = crate::EnumBitfieldStruct<u8, Pidr02_SPEC>;
1418    impl Pidr02 {
1419        #[doc = "Low level"]
1420        pub const _0: Self = Self::new(0);
1421        #[doc = "High level"]
1422        pub const _1: Self = Self::new(1);
1423    }
1424    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1425    pub struct Pidr03_SPEC;
1426    pub type Pidr03 = crate::EnumBitfieldStruct<u8, Pidr03_SPEC>;
1427    impl Pidr03 {
1428        #[doc = "Low level"]
1429        pub const _0: Self = Self::new(0);
1430        #[doc = "High level"]
1431        pub const _1: Self = Self::new(1);
1432    }
1433    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1434    pub struct Pidr04_SPEC;
1435    pub type Pidr04 = crate::EnumBitfieldStruct<u8, Pidr04_SPEC>;
1436    impl Pidr04 {
1437        #[doc = "Low level"]
1438        pub const _0: Self = Self::new(0);
1439        #[doc = "High level"]
1440        pub const _1: Self = Self::new(1);
1441    }
1442    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1443    pub struct Pidr05_SPEC;
1444    pub type Pidr05 = crate::EnumBitfieldStruct<u8, Pidr05_SPEC>;
1445    impl Pidr05 {
1446        #[doc = "Low level"]
1447        pub const _0: Self = Self::new(0);
1448        #[doc = "High level"]
1449        pub const _1: Self = Self::new(1);
1450    }
1451    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1452    pub struct Pidr06_SPEC;
1453    pub type Pidr06 = crate::EnumBitfieldStruct<u8, Pidr06_SPEC>;
1454    impl Pidr06 {
1455        #[doc = "Low level"]
1456        pub const _0: Self = Self::new(0);
1457        #[doc = "High level"]
1458        pub const _1: Self = Self::new(1);
1459    }
1460    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1461    pub struct Pidr07_SPEC;
1462    pub type Pidr07 = crate::EnumBitfieldStruct<u8, Pidr07_SPEC>;
1463    impl Pidr07 {
1464        #[doc = "Low level"]
1465        pub const _0: Self = Self::new(0);
1466        #[doc = "High level"]
1467        pub const _1: Self = Self::new(1);
1468    }
1469    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1470    pub struct Pidr08_SPEC;
1471    pub type Pidr08 = crate::EnumBitfieldStruct<u8, Pidr08_SPEC>;
1472    impl Pidr08 {
1473        #[doc = "Low level"]
1474        pub const _0: Self = Self::new(0);
1475        #[doc = "High level"]
1476        pub const _1: Self = Self::new(1);
1477    }
1478    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1479    pub struct Pidr09_SPEC;
1480    pub type Pidr09 = crate::EnumBitfieldStruct<u8, Pidr09_SPEC>;
1481    impl Pidr09 {
1482        #[doc = "Low level"]
1483        pub const _0: Self = Self::new(0);
1484        #[doc = "High level"]
1485        pub const _1: Self = Self::new(1);
1486    }
1487    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1488    pub struct Pidr10_SPEC;
1489    pub type Pidr10 = crate::EnumBitfieldStruct<u8, Pidr10_SPEC>;
1490    impl Pidr10 {
1491        #[doc = "Low level"]
1492        pub const _0: Self = Self::new(0);
1493        #[doc = "High level"]
1494        pub const _1: Self = Self::new(1);
1495    }
1496    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1497    pub struct Pidr11_SPEC;
1498    pub type Pidr11 = crate::EnumBitfieldStruct<u8, Pidr11_SPEC>;
1499    impl Pidr11 {
1500        #[doc = "Low level"]
1501        pub const _0: Self = Self::new(0);
1502        #[doc = "High level"]
1503        pub const _1: Self = Self::new(1);
1504    }
1505    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1506    pub struct Pidr12_SPEC;
1507    pub type Pidr12 = crate::EnumBitfieldStruct<u8, Pidr12_SPEC>;
1508    impl Pidr12 {
1509        #[doc = "Low level"]
1510        pub const _0: Self = Self::new(0);
1511        #[doc = "High level"]
1512        pub const _1: Self = Self::new(1);
1513    }
1514    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1515    pub struct Pidr13_SPEC;
1516    pub type Pidr13 = crate::EnumBitfieldStruct<u8, Pidr13_SPEC>;
1517    impl Pidr13 {
1518        #[doc = "Low level"]
1519        pub const _0: Self = Self::new(0);
1520        #[doc = "High level"]
1521        pub const _1: Self = Self::new(1);
1522    }
1523    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1524    pub struct Pidr14_SPEC;
1525    pub type Pidr14 = crate::EnumBitfieldStruct<u8, Pidr14_SPEC>;
1526    impl Pidr14 {
1527        #[doc = "Low level"]
1528        pub const _0: Self = Self::new(0);
1529        #[doc = "High level"]
1530        pub const _1: Self = Self::new(1);
1531    }
1532    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1533    pub struct Pidr15_SPEC;
1534    pub type Pidr15 = crate::EnumBitfieldStruct<u8, Pidr15_SPEC>;
1535    impl Pidr15 {
1536        #[doc = "Low level"]
1537        pub const _0: Self = Self::new(0);
1538        #[doc = "High level"]
1539        pub const _1: Self = Self::new(1);
1540    }
1541}
1542#[doc(hidden)]
1543#[derive(Copy, Clone, Eq, PartialEq)]
1544pub struct Pidr_SPEC;
1545impl crate::sealed::RegSpec for Pidr_SPEC {
1546    type DataType = u16;
1547}
1548#[doc = "Port Control Register 2"]
1549pub type Pidr = crate::RegValueT<Pidr_SPEC>;
1550
1551impl Pidr {
1552    #[doc = "Pmn State"]
1553    #[inline(always)]
1554    pub fn pidr00(
1555        self,
1556    ) -> crate::common::RegisterField<0, 0x1, 1, 0, pidr::Pidr00, Pidr_SPEC, crate::common::R> {
1557        crate::common::RegisterField::<0,0x1,1,0,pidr::Pidr00, Pidr_SPEC,crate::common::R>::from_register(self,0)
1558    }
1559    #[doc = "Pmn State"]
1560    #[inline(always)]
1561    pub fn pidr01(
1562        self,
1563    ) -> crate::common::RegisterField<1, 0x1, 1, 0, pidr::Pidr01, Pidr_SPEC, crate::common::R> {
1564        crate::common::RegisterField::<1,0x1,1,0,pidr::Pidr01, Pidr_SPEC,crate::common::R>::from_register(self,0)
1565    }
1566    #[doc = "Pmn State"]
1567    #[inline(always)]
1568    pub fn pidr02(
1569        self,
1570    ) -> crate::common::RegisterField<2, 0x1, 1, 0, pidr::Pidr02, Pidr_SPEC, crate::common::R> {
1571        crate::common::RegisterField::<2,0x1,1,0,pidr::Pidr02, Pidr_SPEC,crate::common::R>::from_register(self,0)
1572    }
1573    #[doc = "Pmn State"]
1574    #[inline(always)]
1575    pub fn pidr03(
1576        self,
1577    ) -> crate::common::RegisterField<3, 0x1, 1, 0, pidr::Pidr03, Pidr_SPEC, crate::common::R> {
1578        crate::common::RegisterField::<3,0x1,1,0,pidr::Pidr03, Pidr_SPEC,crate::common::R>::from_register(self,0)
1579    }
1580    #[doc = "Pmn State"]
1581    #[inline(always)]
1582    pub fn pidr04(
1583        self,
1584    ) -> crate::common::RegisterField<4, 0x1, 1, 0, pidr::Pidr04, Pidr_SPEC, crate::common::R> {
1585        crate::common::RegisterField::<4,0x1,1,0,pidr::Pidr04, Pidr_SPEC,crate::common::R>::from_register(self,0)
1586    }
1587    #[doc = "Pmn State"]
1588    #[inline(always)]
1589    pub fn pidr05(
1590        self,
1591    ) -> crate::common::RegisterField<5, 0x1, 1, 0, pidr::Pidr05, Pidr_SPEC, crate::common::R> {
1592        crate::common::RegisterField::<5,0x1,1,0,pidr::Pidr05, Pidr_SPEC,crate::common::R>::from_register(self,0)
1593    }
1594    #[doc = "Pmn State"]
1595    #[inline(always)]
1596    pub fn pidr06(
1597        self,
1598    ) -> crate::common::RegisterField<6, 0x1, 1, 0, pidr::Pidr06, Pidr_SPEC, crate::common::R> {
1599        crate::common::RegisterField::<6,0x1,1,0,pidr::Pidr06, Pidr_SPEC,crate::common::R>::from_register(self,0)
1600    }
1601    #[doc = "Pmn State"]
1602    #[inline(always)]
1603    pub fn pidr07(
1604        self,
1605    ) -> crate::common::RegisterField<7, 0x1, 1, 0, pidr::Pidr07, Pidr_SPEC, crate::common::R> {
1606        crate::common::RegisterField::<7,0x1,1,0,pidr::Pidr07, Pidr_SPEC,crate::common::R>::from_register(self,0)
1607    }
1608    #[doc = "Pmn State"]
1609    #[inline(always)]
1610    pub fn pidr08(
1611        self,
1612    ) -> crate::common::RegisterField<8, 0x1, 1, 0, pidr::Pidr08, Pidr_SPEC, crate::common::R> {
1613        crate::common::RegisterField::<8,0x1,1,0,pidr::Pidr08, Pidr_SPEC,crate::common::R>::from_register(self,0)
1614    }
1615    #[doc = "Pmn State"]
1616    #[inline(always)]
1617    pub fn pidr09(
1618        self,
1619    ) -> crate::common::RegisterField<9, 0x1, 1, 0, pidr::Pidr09, Pidr_SPEC, crate::common::R> {
1620        crate::common::RegisterField::<9,0x1,1,0,pidr::Pidr09, Pidr_SPEC,crate::common::R>::from_register(self,0)
1621    }
1622    #[doc = "Pmn State"]
1623    #[inline(always)]
1624    pub fn pidr10(
1625        self,
1626    ) -> crate::common::RegisterField<10, 0x1, 1, 0, pidr::Pidr10, Pidr_SPEC, crate::common::R>
1627    {
1628        crate::common::RegisterField::<10,0x1,1,0,pidr::Pidr10, Pidr_SPEC,crate::common::R>::from_register(self,0)
1629    }
1630    #[doc = "Pmn State"]
1631    #[inline(always)]
1632    pub fn pidr11(
1633        self,
1634    ) -> crate::common::RegisterField<11, 0x1, 1, 0, pidr::Pidr11, Pidr_SPEC, crate::common::R>
1635    {
1636        crate::common::RegisterField::<11,0x1,1,0,pidr::Pidr11, Pidr_SPEC,crate::common::R>::from_register(self,0)
1637    }
1638    #[doc = "Pmn State"]
1639    #[inline(always)]
1640    pub fn pidr12(
1641        self,
1642    ) -> crate::common::RegisterField<12, 0x1, 1, 0, pidr::Pidr12, Pidr_SPEC, crate::common::R>
1643    {
1644        crate::common::RegisterField::<12,0x1,1,0,pidr::Pidr12, Pidr_SPEC,crate::common::R>::from_register(self,0)
1645    }
1646    #[doc = "Pmn State"]
1647    #[inline(always)]
1648    pub fn pidr13(
1649        self,
1650    ) -> crate::common::RegisterField<13, 0x1, 1, 0, pidr::Pidr13, Pidr_SPEC, crate::common::R>
1651    {
1652        crate::common::RegisterField::<13,0x1,1,0,pidr::Pidr13, Pidr_SPEC,crate::common::R>::from_register(self,0)
1653    }
1654    #[doc = "Pmn State"]
1655    #[inline(always)]
1656    pub fn pidr14(
1657        self,
1658    ) -> crate::common::RegisterField<14, 0x1, 1, 0, pidr::Pidr14, Pidr_SPEC, crate::common::R>
1659    {
1660        crate::common::RegisterField::<14,0x1,1,0,pidr::Pidr14, Pidr_SPEC,crate::common::R>::from_register(self,0)
1661    }
1662    #[doc = "Pmn State"]
1663    #[inline(always)]
1664    pub fn pidr15(
1665        self,
1666    ) -> crate::common::RegisterField<15, 0x1, 1, 0, pidr::Pidr15, Pidr_SPEC, crate::common::R>
1667    {
1668        crate::common::RegisterField::<15,0x1,1,0,pidr::Pidr15, Pidr_SPEC,crate::common::R>::from_register(self,0)
1669    }
1670}
1671impl ::core::default::Default for Pidr {
1672    #[inline(always)]
1673    fn default() -> Pidr {
1674        <crate::RegValueT<Pidr_SPEC> as RegisterValue<_>>::new(0)
1675    }
1676}
1677pub mod pidr {
1678
1679    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1680    pub struct Pidr00_SPEC;
1681    pub type Pidr00 = crate::EnumBitfieldStruct<u8, Pidr00_SPEC>;
1682    impl Pidr00 {
1683        #[doc = "Low level"]
1684        pub const _0: Self = Self::new(0);
1685        #[doc = "High level"]
1686        pub const _1: Self = Self::new(1);
1687    }
1688    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1689    pub struct Pidr01_SPEC;
1690    pub type Pidr01 = crate::EnumBitfieldStruct<u8, Pidr01_SPEC>;
1691    impl Pidr01 {
1692        #[doc = "Low level"]
1693        pub const _0: Self = Self::new(0);
1694        #[doc = "High level"]
1695        pub const _1: Self = Self::new(1);
1696    }
1697    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1698    pub struct Pidr02_SPEC;
1699    pub type Pidr02 = crate::EnumBitfieldStruct<u8, Pidr02_SPEC>;
1700    impl Pidr02 {
1701        #[doc = "Low level"]
1702        pub const _0: Self = Self::new(0);
1703        #[doc = "High level"]
1704        pub const _1: Self = Self::new(1);
1705    }
1706    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1707    pub struct Pidr03_SPEC;
1708    pub type Pidr03 = crate::EnumBitfieldStruct<u8, Pidr03_SPEC>;
1709    impl Pidr03 {
1710        #[doc = "Low level"]
1711        pub const _0: Self = Self::new(0);
1712        #[doc = "High level"]
1713        pub const _1: Self = Self::new(1);
1714    }
1715    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1716    pub struct Pidr04_SPEC;
1717    pub type Pidr04 = crate::EnumBitfieldStruct<u8, Pidr04_SPEC>;
1718    impl Pidr04 {
1719        #[doc = "Low level"]
1720        pub const _0: Self = Self::new(0);
1721        #[doc = "High level"]
1722        pub const _1: Self = Self::new(1);
1723    }
1724    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1725    pub struct Pidr05_SPEC;
1726    pub type Pidr05 = crate::EnumBitfieldStruct<u8, Pidr05_SPEC>;
1727    impl Pidr05 {
1728        #[doc = "Low level"]
1729        pub const _0: Self = Self::new(0);
1730        #[doc = "High level"]
1731        pub const _1: Self = Self::new(1);
1732    }
1733    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1734    pub struct Pidr06_SPEC;
1735    pub type Pidr06 = crate::EnumBitfieldStruct<u8, Pidr06_SPEC>;
1736    impl Pidr06 {
1737        #[doc = "Low level"]
1738        pub const _0: Self = Self::new(0);
1739        #[doc = "High level"]
1740        pub const _1: Self = Self::new(1);
1741    }
1742    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1743    pub struct Pidr07_SPEC;
1744    pub type Pidr07 = crate::EnumBitfieldStruct<u8, Pidr07_SPEC>;
1745    impl Pidr07 {
1746        #[doc = "Low level"]
1747        pub const _0: Self = Self::new(0);
1748        #[doc = "High level"]
1749        pub const _1: Self = Self::new(1);
1750    }
1751    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1752    pub struct Pidr08_SPEC;
1753    pub type Pidr08 = crate::EnumBitfieldStruct<u8, Pidr08_SPEC>;
1754    impl Pidr08 {
1755        #[doc = "Low level"]
1756        pub const _0: Self = Self::new(0);
1757        #[doc = "High level"]
1758        pub const _1: Self = Self::new(1);
1759    }
1760    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1761    pub struct Pidr09_SPEC;
1762    pub type Pidr09 = crate::EnumBitfieldStruct<u8, Pidr09_SPEC>;
1763    impl Pidr09 {
1764        #[doc = "Low level"]
1765        pub const _0: Self = Self::new(0);
1766        #[doc = "High level"]
1767        pub const _1: Self = Self::new(1);
1768    }
1769    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1770    pub struct Pidr10_SPEC;
1771    pub type Pidr10 = crate::EnumBitfieldStruct<u8, Pidr10_SPEC>;
1772    impl Pidr10 {
1773        #[doc = "Low level"]
1774        pub const _0: Self = Self::new(0);
1775        #[doc = "High level"]
1776        pub const _1: Self = Self::new(1);
1777    }
1778    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1779    pub struct Pidr11_SPEC;
1780    pub type Pidr11 = crate::EnumBitfieldStruct<u8, Pidr11_SPEC>;
1781    impl Pidr11 {
1782        #[doc = "Low level"]
1783        pub const _0: Self = Self::new(0);
1784        #[doc = "High level"]
1785        pub const _1: Self = Self::new(1);
1786    }
1787    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1788    pub struct Pidr12_SPEC;
1789    pub type Pidr12 = crate::EnumBitfieldStruct<u8, Pidr12_SPEC>;
1790    impl Pidr12 {
1791        #[doc = "Low level"]
1792        pub const _0: Self = Self::new(0);
1793        #[doc = "High level"]
1794        pub const _1: Self = Self::new(1);
1795    }
1796    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1797    pub struct Pidr13_SPEC;
1798    pub type Pidr13 = crate::EnumBitfieldStruct<u8, Pidr13_SPEC>;
1799    impl Pidr13 {
1800        #[doc = "Low level"]
1801        pub const _0: Self = Self::new(0);
1802        #[doc = "High level"]
1803        pub const _1: Self = Self::new(1);
1804    }
1805    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1806    pub struct Pidr14_SPEC;
1807    pub type Pidr14 = crate::EnumBitfieldStruct<u8, Pidr14_SPEC>;
1808    impl Pidr14 {
1809        #[doc = "Low level"]
1810        pub const _0: Self = Self::new(0);
1811        #[doc = "High level"]
1812        pub const _1: Self = Self::new(1);
1813    }
1814    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
1815    pub struct Pidr15_SPEC;
1816    pub type Pidr15 = crate::EnumBitfieldStruct<u8, Pidr15_SPEC>;
1817    impl Pidr15 {
1818        #[doc = "Low level"]
1819        pub const _0: Self = Self::new(0);
1820        #[doc = "High level"]
1821        pub const _1: Self = Self::new(1);
1822    }
1823}
1824#[doc(hidden)]
1825#[derive(Copy, Clone, Eq, PartialEq)]
1826pub struct Pcntr3_SPEC;
1827impl crate::sealed::RegSpec for Pcntr3_SPEC {
1828    type DataType = u32;
1829}
1830#[doc = "Port Control Register 3"]
1831pub type Pcntr3 = crate::RegValueT<Pcntr3_SPEC>;
1832
1833impl Pcntr3 {
1834    #[doc = "Pmn Output Set"]
1835    #[inline(always)]
1836    pub fn posr00(
1837        self,
1838    ) -> crate::common::RegisterField<0, 0x1, 1, 0, pcntr3::Posr00, Pcntr3_SPEC, crate::common::W>
1839    {
1840        crate::common::RegisterField::<0,0x1,1,0,pcntr3::Posr00, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1841    }
1842    #[doc = "Pmn Output Set"]
1843    #[inline(always)]
1844    pub fn posr01(
1845        self,
1846    ) -> crate::common::RegisterField<1, 0x1, 1, 0, pcntr3::Posr01, Pcntr3_SPEC, crate::common::W>
1847    {
1848        crate::common::RegisterField::<1,0x1,1,0,pcntr3::Posr01, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1849    }
1850    #[doc = "Pmn Output Set"]
1851    #[inline(always)]
1852    pub fn posr02(
1853        self,
1854    ) -> crate::common::RegisterField<2, 0x1, 1, 0, pcntr3::Posr02, Pcntr3_SPEC, crate::common::W>
1855    {
1856        crate::common::RegisterField::<2,0x1,1,0,pcntr3::Posr02, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1857    }
1858    #[doc = "Pmn Output Set"]
1859    #[inline(always)]
1860    pub fn posr03(
1861        self,
1862    ) -> crate::common::RegisterField<3, 0x1, 1, 0, pcntr3::Posr03, Pcntr3_SPEC, crate::common::W>
1863    {
1864        crate::common::RegisterField::<3,0x1,1,0,pcntr3::Posr03, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1865    }
1866    #[doc = "Pmn Output Set"]
1867    #[inline(always)]
1868    pub fn posr04(
1869        self,
1870    ) -> crate::common::RegisterField<4, 0x1, 1, 0, pcntr3::Posr04, Pcntr3_SPEC, crate::common::W>
1871    {
1872        crate::common::RegisterField::<4,0x1,1,0,pcntr3::Posr04, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1873    }
1874    #[doc = "Pmn Output Set"]
1875    #[inline(always)]
1876    pub fn posr05(
1877        self,
1878    ) -> crate::common::RegisterField<5, 0x1, 1, 0, pcntr3::Posr05, Pcntr3_SPEC, crate::common::W>
1879    {
1880        crate::common::RegisterField::<5,0x1,1,0,pcntr3::Posr05, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1881    }
1882    #[doc = "Pmn Output Set"]
1883    #[inline(always)]
1884    pub fn posr06(
1885        self,
1886    ) -> crate::common::RegisterField<6, 0x1, 1, 0, pcntr3::Posr06, Pcntr3_SPEC, crate::common::W>
1887    {
1888        crate::common::RegisterField::<6,0x1,1,0,pcntr3::Posr06, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1889    }
1890    #[doc = "Pmn Output Set"]
1891    #[inline(always)]
1892    pub fn posr07(
1893        self,
1894    ) -> crate::common::RegisterField<7, 0x1, 1, 0, pcntr3::Posr07, Pcntr3_SPEC, crate::common::W>
1895    {
1896        crate::common::RegisterField::<7,0x1,1,0,pcntr3::Posr07, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1897    }
1898    #[doc = "Pmn Output Set"]
1899    #[inline(always)]
1900    pub fn posr08(
1901        self,
1902    ) -> crate::common::RegisterField<8, 0x1, 1, 0, pcntr3::Posr08, Pcntr3_SPEC, crate::common::W>
1903    {
1904        crate::common::RegisterField::<8,0x1,1,0,pcntr3::Posr08, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1905    }
1906    #[doc = "Pmn Output Set"]
1907    #[inline(always)]
1908    pub fn posr09(
1909        self,
1910    ) -> crate::common::RegisterField<9, 0x1, 1, 0, pcntr3::Posr09, Pcntr3_SPEC, crate::common::W>
1911    {
1912        crate::common::RegisterField::<9,0x1,1,0,pcntr3::Posr09, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1913    }
1914    #[doc = "Pmn Output Set"]
1915    #[inline(always)]
1916    pub fn posr10(
1917        self,
1918    ) -> crate::common::RegisterField<10, 0x1, 1, 0, pcntr3::Posr10, Pcntr3_SPEC, crate::common::W>
1919    {
1920        crate::common::RegisterField::<10,0x1,1,0,pcntr3::Posr10, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1921    }
1922    #[doc = "Pmn Output Set"]
1923    #[inline(always)]
1924    pub fn posr11(
1925        self,
1926    ) -> crate::common::RegisterField<11, 0x1, 1, 0, pcntr3::Posr11, Pcntr3_SPEC, crate::common::W>
1927    {
1928        crate::common::RegisterField::<11,0x1,1,0,pcntr3::Posr11, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1929    }
1930    #[doc = "Pmn Output Set"]
1931    #[inline(always)]
1932    pub fn posr12(
1933        self,
1934    ) -> crate::common::RegisterField<12, 0x1, 1, 0, pcntr3::Posr12, Pcntr3_SPEC, crate::common::W>
1935    {
1936        crate::common::RegisterField::<12,0x1,1,0,pcntr3::Posr12, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1937    }
1938    #[doc = "Pmn Output Set"]
1939    #[inline(always)]
1940    pub fn posr13(
1941        self,
1942    ) -> crate::common::RegisterField<13, 0x1, 1, 0, pcntr3::Posr13, Pcntr3_SPEC, crate::common::W>
1943    {
1944        crate::common::RegisterField::<13,0x1,1,0,pcntr3::Posr13, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1945    }
1946    #[doc = "Pmn Output Set"]
1947    #[inline(always)]
1948    pub fn posr14(
1949        self,
1950    ) -> crate::common::RegisterField<14, 0x1, 1, 0, pcntr3::Posr14, Pcntr3_SPEC, crate::common::W>
1951    {
1952        crate::common::RegisterField::<14,0x1,1,0,pcntr3::Posr14, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1953    }
1954    #[doc = "Pmn Output Set"]
1955    #[inline(always)]
1956    pub fn posr15(
1957        self,
1958    ) -> crate::common::RegisterField<15, 0x1, 1, 0, pcntr3::Posr15, Pcntr3_SPEC, crate::common::W>
1959    {
1960        crate::common::RegisterField::<15,0x1,1,0,pcntr3::Posr15, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1961    }
1962    #[doc = "Pmn Output Reset"]
1963    #[inline(always)]
1964    pub fn porr00(
1965        self,
1966    ) -> crate::common::RegisterField<16, 0x1, 1, 0, pcntr3::Porr00, Pcntr3_SPEC, crate::common::W>
1967    {
1968        crate::common::RegisterField::<16,0x1,1,0,pcntr3::Porr00, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1969    }
1970    #[doc = "Pmn Output Reset"]
1971    #[inline(always)]
1972    pub fn porr01(
1973        self,
1974    ) -> crate::common::RegisterField<17, 0x1, 1, 0, pcntr3::Porr01, Pcntr3_SPEC, crate::common::W>
1975    {
1976        crate::common::RegisterField::<17,0x1,1,0,pcntr3::Porr01, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1977    }
1978    #[doc = "Pmn Output Reset"]
1979    #[inline(always)]
1980    pub fn porr02(
1981        self,
1982    ) -> crate::common::RegisterField<18, 0x1, 1, 0, pcntr3::Porr02, Pcntr3_SPEC, crate::common::W>
1983    {
1984        crate::common::RegisterField::<18,0x1,1,0,pcntr3::Porr02, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1985    }
1986    #[doc = "Pmn Output Reset"]
1987    #[inline(always)]
1988    pub fn porr03(
1989        self,
1990    ) -> crate::common::RegisterField<19, 0x1, 1, 0, pcntr3::Porr03, Pcntr3_SPEC, crate::common::W>
1991    {
1992        crate::common::RegisterField::<19,0x1,1,0,pcntr3::Porr03, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
1993    }
1994    #[doc = "Pmn Output Reset"]
1995    #[inline(always)]
1996    pub fn porr04(
1997        self,
1998    ) -> crate::common::RegisterField<20, 0x1, 1, 0, pcntr3::Porr04, Pcntr3_SPEC, crate::common::W>
1999    {
2000        crate::common::RegisterField::<20,0x1,1,0,pcntr3::Porr04, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2001    }
2002    #[doc = "Pmn Output Reset"]
2003    #[inline(always)]
2004    pub fn porr05(
2005        self,
2006    ) -> crate::common::RegisterField<21, 0x1, 1, 0, pcntr3::Porr05, Pcntr3_SPEC, crate::common::W>
2007    {
2008        crate::common::RegisterField::<21,0x1,1,0,pcntr3::Porr05, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2009    }
2010    #[doc = "Pmn Output Reset"]
2011    #[inline(always)]
2012    pub fn porr06(
2013        self,
2014    ) -> crate::common::RegisterField<22, 0x1, 1, 0, pcntr3::Porr06, Pcntr3_SPEC, crate::common::W>
2015    {
2016        crate::common::RegisterField::<22,0x1,1,0,pcntr3::Porr06, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2017    }
2018    #[doc = "Pmn Output Reset"]
2019    #[inline(always)]
2020    pub fn porr07(
2021        self,
2022    ) -> crate::common::RegisterField<23, 0x1, 1, 0, pcntr3::Porr07, Pcntr3_SPEC, crate::common::W>
2023    {
2024        crate::common::RegisterField::<23,0x1,1,0,pcntr3::Porr07, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2025    }
2026    #[doc = "Pmn Output Reset"]
2027    #[inline(always)]
2028    pub fn porr08(
2029        self,
2030    ) -> crate::common::RegisterField<24, 0x1, 1, 0, pcntr3::Porr08, Pcntr3_SPEC, crate::common::W>
2031    {
2032        crate::common::RegisterField::<24,0x1,1,0,pcntr3::Porr08, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2033    }
2034    #[doc = "Pmn Output Reset"]
2035    #[inline(always)]
2036    pub fn porr09(
2037        self,
2038    ) -> crate::common::RegisterField<25, 0x1, 1, 0, pcntr3::Porr09, Pcntr3_SPEC, crate::common::W>
2039    {
2040        crate::common::RegisterField::<25,0x1,1,0,pcntr3::Porr09, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2041    }
2042    #[doc = "Pmn Output Reset"]
2043    #[inline(always)]
2044    pub fn porr10(
2045        self,
2046    ) -> crate::common::RegisterField<26, 0x1, 1, 0, pcntr3::Porr10, Pcntr3_SPEC, crate::common::W>
2047    {
2048        crate::common::RegisterField::<26,0x1,1,0,pcntr3::Porr10, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2049    }
2050    #[doc = "Pmn Output Reset"]
2051    #[inline(always)]
2052    pub fn porr11(
2053        self,
2054    ) -> crate::common::RegisterField<27, 0x1, 1, 0, pcntr3::Porr11, Pcntr3_SPEC, crate::common::W>
2055    {
2056        crate::common::RegisterField::<27,0x1,1,0,pcntr3::Porr11, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2057    }
2058    #[doc = "Pmn Output Reset"]
2059    #[inline(always)]
2060    pub fn porr12(
2061        self,
2062    ) -> crate::common::RegisterField<28, 0x1, 1, 0, pcntr3::Porr12, Pcntr3_SPEC, crate::common::W>
2063    {
2064        crate::common::RegisterField::<28,0x1,1,0,pcntr3::Porr12, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2065    }
2066    #[doc = "Pmn Output Reset"]
2067    #[inline(always)]
2068    pub fn porr13(
2069        self,
2070    ) -> crate::common::RegisterField<29, 0x1, 1, 0, pcntr3::Porr13, Pcntr3_SPEC, crate::common::W>
2071    {
2072        crate::common::RegisterField::<29,0x1,1,0,pcntr3::Porr13, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2073    }
2074    #[doc = "Pmn Output Reset"]
2075    #[inline(always)]
2076    pub fn porr14(
2077        self,
2078    ) -> crate::common::RegisterField<30, 0x1, 1, 0, pcntr3::Porr14, Pcntr3_SPEC, crate::common::W>
2079    {
2080        crate::common::RegisterField::<30,0x1,1,0,pcntr3::Porr14, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2081    }
2082    #[doc = "Pmn Output Reset"]
2083    #[inline(always)]
2084    pub fn porr15(
2085        self,
2086    ) -> crate::common::RegisterField<31, 0x1, 1, 0, pcntr3::Porr15, Pcntr3_SPEC, crate::common::W>
2087    {
2088        crate::common::RegisterField::<31,0x1,1,0,pcntr3::Porr15, Pcntr3_SPEC,crate::common::W>::from_register(self,0)
2089    }
2090}
2091impl ::core::default::Default for Pcntr3 {
2092    #[inline(always)]
2093    fn default() -> Pcntr3 {
2094        <crate::RegValueT<Pcntr3_SPEC> as RegisterValue<_>>::new(0)
2095    }
2096}
2097pub mod pcntr3 {
2098
2099    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2100    pub struct Posr00_SPEC;
2101    pub type Posr00 = crate::EnumBitfieldStruct<u8, Posr00_SPEC>;
2102    impl Posr00 {
2103        #[doc = "No effect on output"]
2104        pub const _0: Self = Self::new(0);
2105        #[doc = "High output"]
2106        pub const _1: Self = Self::new(1);
2107    }
2108    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2109    pub struct Posr01_SPEC;
2110    pub type Posr01 = crate::EnumBitfieldStruct<u8, Posr01_SPEC>;
2111    impl Posr01 {
2112        #[doc = "No effect on output"]
2113        pub const _0: Self = Self::new(0);
2114        #[doc = "High output"]
2115        pub const _1: Self = Self::new(1);
2116    }
2117    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2118    pub struct Posr02_SPEC;
2119    pub type Posr02 = crate::EnumBitfieldStruct<u8, Posr02_SPEC>;
2120    impl Posr02 {
2121        #[doc = "No effect on output"]
2122        pub const _0: Self = Self::new(0);
2123        #[doc = "High output"]
2124        pub const _1: Self = Self::new(1);
2125    }
2126    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2127    pub struct Posr03_SPEC;
2128    pub type Posr03 = crate::EnumBitfieldStruct<u8, Posr03_SPEC>;
2129    impl Posr03 {
2130        #[doc = "No effect on output"]
2131        pub const _0: Self = Self::new(0);
2132        #[doc = "High output"]
2133        pub const _1: Self = Self::new(1);
2134    }
2135    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2136    pub struct Posr04_SPEC;
2137    pub type Posr04 = crate::EnumBitfieldStruct<u8, Posr04_SPEC>;
2138    impl Posr04 {
2139        #[doc = "No effect on output"]
2140        pub const _0: Self = Self::new(0);
2141        #[doc = "High output"]
2142        pub const _1: Self = Self::new(1);
2143    }
2144    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2145    pub struct Posr05_SPEC;
2146    pub type Posr05 = crate::EnumBitfieldStruct<u8, Posr05_SPEC>;
2147    impl Posr05 {
2148        #[doc = "No effect on output"]
2149        pub const _0: Self = Self::new(0);
2150        #[doc = "High output"]
2151        pub const _1: Self = Self::new(1);
2152    }
2153    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2154    pub struct Posr06_SPEC;
2155    pub type Posr06 = crate::EnumBitfieldStruct<u8, Posr06_SPEC>;
2156    impl Posr06 {
2157        #[doc = "No effect on output"]
2158        pub const _0: Self = Self::new(0);
2159        #[doc = "High output"]
2160        pub const _1: Self = Self::new(1);
2161    }
2162    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2163    pub struct Posr07_SPEC;
2164    pub type Posr07 = crate::EnumBitfieldStruct<u8, Posr07_SPEC>;
2165    impl Posr07 {
2166        #[doc = "No effect on output"]
2167        pub const _0: Self = Self::new(0);
2168        #[doc = "High output"]
2169        pub const _1: Self = Self::new(1);
2170    }
2171    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2172    pub struct Posr08_SPEC;
2173    pub type Posr08 = crate::EnumBitfieldStruct<u8, Posr08_SPEC>;
2174    impl Posr08 {
2175        #[doc = "No effect on output"]
2176        pub const _0: Self = Self::new(0);
2177        #[doc = "High output"]
2178        pub const _1: Self = Self::new(1);
2179    }
2180    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2181    pub struct Posr09_SPEC;
2182    pub type Posr09 = crate::EnumBitfieldStruct<u8, Posr09_SPEC>;
2183    impl Posr09 {
2184        #[doc = "No effect on output"]
2185        pub const _0: Self = Self::new(0);
2186        #[doc = "High output"]
2187        pub const _1: Self = Self::new(1);
2188    }
2189    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2190    pub struct Posr10_SPEC;
2191    pub type Posr10 = crate::EnumBitfieldStruct<u8, Posr10_SPEC>;
2192    impl Posr10 {
2193        #[doc = "No effect on output"]
2194        pub const _0: Self = Self::new(0);
2195        #[doc = "High output"]
2196        pub const _1: Self = Self::new(1);
2197    }
2198    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2199    pub struct Posr11_SPEC;
2200    pub type Posr11 = crate::EnumBitfieldStruct<u8, Posr11_SPEC>;
2201    impl Posr11 {
2202        #[doc = "No effect on output"]
2203        pub const _0: Self = Self::new(0);
2204        #[doc = "High output"]
2205        pub const _1: Self = Self::new(1);
2206    }
2207    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2208    pub struct Posr12_SPEC;
2209    pub type Posr12 = crate::EnumBitfieldStruct<u8, Posr12_SPEC>;
2210    impl Posr12 {
2211        #[doc = "No effect on output"]
2212        pub const _0: Self = Self::new(0);
2213        #[doc = "High output"]
2214        pub const _1: Self = Self::new(1);
2215    }
2216    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2217    pub struct Posr13_SPEC;
2218    pub type Posr13 = crate::EnumBitfieldStruct<u8, Posr13_SPEC>;
2219    impl Posr13 {
2220        #[doc = "No effect on output"]
2221        pub const _0: Self = Self::new(0);
2222        #[doc = "High output"]
2223        pub const _1: Self = Self::new(1);
2224    }
2225    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2226    pub struct Posr14_SPEC;
2227    pub type Posr14 = crate::EnumBitfieldStruct<u8, Posr14_SPEC>;
2228    impl Posr14 {
2229        #[doc = "No effect on output"]
2230        pub const _0: Self = Self::new(0);
2231        #[doc = "High output"]
2232        pub const _1: Self = Self::new(1);
2233    }
2234    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2235    pub struct Posr15_SPEC;
2236    pub type Posr15 = crate::EnumBitfieldStruct<u8, Posr15_SPEC>;
2237    impl Posr15 {
2238        #[doc = "No effect on output"]
2239        pub const _0: Self = Self::new(0);
2240        #[doc = "High output"]
2241        pub const _1: Self = Self::new(1);
2242    }
2243    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2244    pub struct Porr00_SPEC;
2245    pub type Porr00 = crate::EnumBitfieldStruct<u8, Porr00_SPEC>;
2246    impl Porr00 {
2247        #[doc = "No effect on output"]
2248        pub const _0: Self = Self::new(0);
2249        #[doc = "Low output"]
2250        pub const _1: Self = Self::new(1);
2251    }
2252    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2253    pub struct Porr01_SPEC;
2254    pub type Porr01 = crate::EnumBitfieldStruct<u8, Porr01_SPEC>;
2255    impl Porr01 {
2256        #[doc = "No effect on output"]
2257        pub const _0: Self = Self::new(0);
2258        #[doc = "Low output"]
2259        pub const _1: Self = Self::new(1);
2260    }
2261    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2262    pub struct Porr02_SPEC;
2263    pub type Porr02 = crate::EnumBitfieldStruct<u8, Porr02_SPEC>;
2264    impl Porr02 {
2265        #[doc = "No effect on output"]
2266        pub const _0: Self = Self::new(0);
2267        #[doc = "Low output"]
2268        pub const _1: Self = Self::new(1);
2269    }
2270    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2271    pub struct Porr03_SPEC;
2272    pub type Porr03 = crate::EnumBitfieldStruct<u8, Porr03_SPEC>;
2273    impl Porr03 {
2274        #[doc = "No effect on output"]
2275        pub const _0: Self = Self::new(0);
2276        #[doc = "Low output"]
2277        pub const _1: Self = Self::new(1);
2278    }
2279    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2280    pub struct Porr04_SPEC;
2281    pub type Porr04 = crate::EnumBitfieldStruct<u8, Porr04_SPEC>;
2282    impl Porr04 {
2283        #[doc = "No effect on output"]
2284        pub const _0: Self = Self::new(0);
2285        #[doc = "Low output"]
2286        pub const _1: Self = Self::new(1);
2287    }
2288    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2289    pub struct Porr05_SPEC;
2290    pub type Porr05 = crate::EnumBitfieldStruct<u8, Porr05_SPEC>;
2291    impl Porr05 {
2292        #[doc = "No effect on output"]
2293        pub const _0: Self = Self::new(0);
2294        #[doc = "Low output"]
2295        pub const _1: Self = Self::new(1);
2296    }
2297    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2298    pub struct Porr06_SPEC;
2299    pub type Porr06 = crate::EnumBitfieldStruct<u8, Porr06_SPEC>;
2300    impl Porr06 {
2301        #[doc = "No effect on output"]
2302        pub const _0: Self = Self::new(0);
2303        #[doc = "Low output"]
2304        pub const _1: Self = Self::new(1);
2305    }
2306    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2307    pub struct Porr07_SPEC;
2308    pub type Porr07 = crate::EnumBitfieldStruct<u8, Porr07_SPEC>;
2309    impl Porr07 {
2310        #[doc = "No effect on output"]
2311        pub const _0: Self = Self::new(0);
2312        #[doc = "Low output"]
2313        pub const _1: Self = Self::new(1);
2314    }
2315    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2316    pub struct Porr08_SPEC;
2317    pub type Porr08 = crate::EnumBitfieldStruct<u8, Porr08_SPEC>;
2318    impl Porr08 {
2319        #[doc = "No effect on output"]
2320        pub const _0: Self = Self::new(0);
2321        #[doc = "Low output"]
2322        pub const _1: Self = Self::new(1);
2323    }
2324    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2325    pub struct Porr09_SPEC;
2326    pub type Porr09 = crate::EnumBitfieldStruct<u8, Porr09_SPEC>;
2327    impl Porr09 {
2328        #[doc = "No effect on output"]
2329        pub const _0: Self = Self::new(0);
2330        #[doc = "Low output"]
2331        pub const _1: Self = Self::new(1);
2332    }
2333    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2334    pub struct Porr10_SPEC;
2335    pub type Porr10 = crate::EnumBitfieldStruct<u8, Porr10_SPEC>;
2336    impl Porr10 {
2337        #[doc = "No effect on output"]
2338        pub const _0: Self = Self::new(0);
2339        #[doc = "Low output"]
2340        pub const _1: Self = Self::new(1);
2341    }
2342    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2343    pub struct Porr11_SPEC;
2344    pub type Porr11 = crate::EnumBitfieldStruct<u8, Porr11_SPEC>;
2345    impl Porr11 {
2346        #[doc = "No effect on output"]
2347        pub const _0: Self = Self::new(0);
2348        #[doc = "Low output"]
2349        pub const _1: Self = Self::new(1);
2350    }
2351    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2352    pub struct Porr12_SPEC;
2353    pub type Porr12 = crate::EnumBitfieldStruct<u8, Porr12_SPEC>;
2354    impl Porr12 {
2355        #[doc = "No effect on output"]
2356        pub const _0: Self = Self::new(0);
2357        #[doc = "Low output"]
2358        pub const _1: Self = Self::new(1);
2359    }
2360    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2361    pub struct Porr13_SPEC;
2362    pub type Porr13 = crate::EnumBitfieldStruct<u8, Porr13_SPEC>;
2363    impl Porr13 {
2364        #[doc = "No effect on output"]
2365        pub const _0: Self = Self::new(0);
2366        #[doc = "Low output"]
2367        pub const _1: Self = Self::new(1);
2368    }
2369    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2370    pub struct Porr14_SPEC;
2371    pub type Porr14 = crate::EnumBitfieldStruct<u8, Porr14_SPEC>;
2372    impl Porr14 {
2373        #[doc = "No effect on output"]
2374        pub const _0: Self = Self::new(0);
2375        #[doc = "Low output"]
2376        pub const _1: Self = Self::new(1);
2377    }
2378    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2379    pub struct Porr15_SPEC;
2380    pub type Porr15 = crate::EnumBitfieldStruct<u8, Porr15_SPEC>;
2381    impl Porr15 {
2382        #[doc = "No effect on output"]
2383        pub const _0: Self = Self::new(0);
2384        #[doc = "Low output"]
2385        pub const _1: Self = Self::new(1);
2386    }
2387}
2388#[doc(hidden)]
2389#[derive(Copy, Clone, Eq, PartialEq)]
2390pub struct Porr_SPEC;
2391impl crate::sealed::RegSpec for Porr_SPEC {
2392    type DataType = u16;
2393}
2394#[doc = "Port Control Register 3"]
2395pub type Porr = crate::RegValueT<Porr_SPEC>;
2396
2397impl Porr {
2398    #[doc = "Pmn Output Reset"]
2399    #[inline(always)]
2400    pub fn porr00(
2401        self,
2402    ) -> crate::common::RegisterField<0, 0x1, 1, 0, porr::Porr00, Porr_SPEC, crate::common::W> {
2403        crate::common::RegisterField::<0,0x1,1,0,porr::Porr00, Porr_SPEC,crate::common::W>::from_register(self,0)
2404    }
2405    #[doc = "Pmn Output Reset"]
2406    #[inline(always)]
2407    pub fn porr01(
2408        self,
2409    ) -> crate::common::RegisterField<1, 0x1, 1, 0, porr::Porr01, Porr_SPEC, crate::common::W> {
2410        crate::common::RegisterField::<1,0x1,1,0,porr::Porr01, Porr_SPEC,crate::common::W>::from_register(self,0)
2411    }
2412    #[doc = "Pmn Output Reset"]
2413    #[inline(always)]
2414    pub fn porr02(
2415        self,
2416    ) -> crate::common::RegisterField<2, 0x1, 1, 0, porr::Porr02, Porr_SPEC, crate::common::W> {
2417        crate::common::RegisterField::<2,0x1,1,0,porr::Porr02, Porr_SPEC,crate::common::W>::from_register(self,0)
2418    }
2419    #[doc = "Pmn Output Reset"]
2420    #[inline(always)]
2421    pub fn porr03(
2422        self,
2423    ) -> crate::common::RegisterField<3, 0x1, 1, 0, porr::Porr03, Porr_SPEC, crate::common::W> {
2424        crate::common::RegisterField::<3,0x1,1,0,porr::Porr03, Porr_SPEC,crate::common::W>::from_register(self,0)
2425    }
2426    #[doc = "Pmn Output Reset"]
2427    #[inline(always)]
2428    pub fn porr04(
2429        self,
2430    ) -> crate::common::RegisterField<4, 0x1, 1, 0, porr::Porr04, Porr_SPEC, crate::common::W> {
2431        crate::common::RegisterField::<4,0x1,1,0,porr::Porr04, Porr_SPEC,crate::common::W>::from_register(self,0)
2432    }
2433    #[doc = "Pmn Output Reset"]
2434    #[inline(always)]
2435    pub fn porr05(
2436        self,
2437    ) -> crate::common::RegisterField<5, 0x1, 1, 0, porr::Porr05, Porr_SPEC, crate::common::W> {
2438        crate::common::RegisterField::<5,0x1,1,0,porr::Porr05, Porr_SPEC,crate::common::W>::from_register(self,0)
2439    }
2440    #[doc = "Pmn Output Reset"]
2441    #[inline(always)]
2442    pub fn porr06(
2443        self,
2444    ) -> crate::common::RegisterField<6, 0x1, 1, 0, porr::Porr06, Porr_SPEC, crate::common::W> {
2445        crate::common::RegisterField::<6,0x1,1,0,porr::Porr06, Porr_SPEC,crate::common::W>::from_register(self,0)
2446    }
2447    #[doc = "Pmn Output Reset"]
2448    #[inline(always)]
2449    pub fn porr07(
2450        self,
2451    ) -> crate::common::RegisterField<7, 0x1, 1, 0, porr::Porr07, Porr_SPEC, crate::common::W> {
2452        crate::common::RegisterField::<7,0x1,1,0,porr::Porr07, Porr_SPEC,crate::common::W>::from_register(self,0)
2453    }
2454    #[doc = "Pmn Output Reset"]
2455    #[inline(always)]
2456    pub fn porr08(
2457        self,
2458    ) -> crate::common::RegisterField<8, 0x1, 1, 0, porr::Porr08, Porr_SPEC, crate::common::W> {
2459        crate::common::RegisterField::<8,0x1,1,0,porr::Porr08, Porr_SPEC,crate::common::W>::from_register(self,0)
2460    }
2461    #[doc = "Pmn Output Reset"]
2462    #[inline(always)]
2463    pub fn porr09(
2464        self,
2465    ) -> crate::common::RegisterField<9, 0x1, 1, 0, porr::Porr09, Porr_SPEC, crate::common::W> {
2466        crate::common::RegisterField::<9,0x1,1,0,porr::Porr09, Porr_SPEC,crate::common::W>::from_register(self,0)
2467    }
2468    #[doc = "Pmn Output Reset"]
2469    #[inline(always)]
2470    pub fn porr10(
2471        self,
2472    ) -> crate::common::RegisterField<10, 0x1, 1, 0, porr::Porr10, Porr_SPEC, crate::common::W>
2473    {
2474        crate::common::RegisterField::<10,0x1,1,0,porr::Porr10, Porr_SPEC,crate::common::W>::from_register(self,0)
2475    }
2476    #[doc = "Pmn Output Reset"]
2477    #[inline(always)]
2478    pub fn porr11(
2479        self,
2480    ) -> crate::common::RegisterField<11, 0x1, 1, 0, porr::Porr11, Porr_SPEC, crate::common::W>
2481    {
2482        crate::common::RegisterField::<11,0x1,1,0,porr::Porr11, Porr_SPEC,crate::common::W>::from_register(self,0)
2483    }
2484    #[doc = "Pmn Output Reset"]
2485    #[inline(always)]
2486    pub fn porr12(
2487        self,
2488    ) -> crate::common::RegisterField<12, 0x1, 1, 0, porr::Porr12, Porr_SPEC, crate::common::W>
2489    {
2490        crate::common::RegisterField::<12,0x1,1,0,porr::Porr12, Porr_SPEC,crate::common::W>::from_register(self,0)
2491    }
2492    #[doc = "Pmn Output Reset"]
2493    #[inline(always)]
2494    pub fn porr13(
2495        self,
2496    ) -> crate::common::RegisterField<13, 0x1, 1, 0, porr::Porr13, Porr_SPEC, crate::common::W>
2497    {
2498        crate::common::RegisterField::<13,0x1,1,0,porr::Porr13, Porr_SPEC,crate::common::W>::from_register(self,0)
2499    }
2500    #[doc = "Pmn Output Reset"]
2501    #[inline(always)]
2502    pub fn porr14(
2503        self,
2504    ) -> crate::common::RegisterField<14, 0x1, 1, 0, porr::Porr14, Porr_SPEC, crate::common::W>
2505    {
2506        crate::common::RegisterField::<14,0x1,1,0,porr::Porr14, Porr_SPEC,crate::common::W>::from_register(self,0)
2507    }
2508    #[doc = "Pmn Output Reset"]
2509    #[inline(always)]
2510    pub fn porr15(
2511        self,
2512    ) -> crate::common::RegisterField<15, 0x1, 1, 0, porr::Porr15, Porr_SPEC, crate::common::W>
2513    {
2514        crate::common::RegisterField::<15,0x1,1,0,porr::Porr15, Porr_SPEC,crate::common::W>::from_register(self,0)
2515    }
2516}
2517impl ::core::default::Default for Porr {
2518    #[inline(always)]
2519    fn default() -> Porr {
2520        <crate::RegValueT<Porr_SPEC> as RegisterValue<_>>::new(0)
2521    }
2522}
2523pub mod porr {
2524
2525    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2526    pub struct Porr00_SPEC;
2527    pub type Porr00 = crate::EnumBitfieldStruct<u8, Porr00_SPEC>;
2528    impl Porr00 {
2529        #[doc = "No effect on output"]
2530        pub const _0: Self = Self::new(0);
2531        #[doc = "Low output"]
2532        pub const _1: Self = Self::new(1);
2533    }
2534    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2535    pub struct Porr01_SPEC;
2536    pub type Porr01 = crate::EnumBitfieldStruct<u8, Porr01_SPEC>;
2537    impl Porr01 {
2538        #[doc = "No effect on output"]
2539        pub const _0: Self = Self::new(0);
2540        #[doc = "Low output"]
2541        pub const _1: Self = Self::new(1);
2542    }
2543    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2544    pub struct Porr02_SPEC;
2545    pub type Porr02 = crate::EnumBitfieldStruct<u8, Porr02_SPEC>;
2546    impl Porr02 {
2547        #[doc = "No effect on output"]
2548        pub const _0: Self = Self::new(0);
2549        #[doc = "Low output"]
2550        pub const _1: Self = Self::new(1);
2551    }
2552    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2553    pub struct Porr03_SPEC;
2554    pub type Porr03 = crate::EnumBitfieldStruct<u8, Porr03_SPEC>;
2555    impl Porr03 {
2556        #[doc = "No effect on output"]
2557        pub const _0: Self = Self::new(0);
2558        #[doc = "Low output"]
2559        pub const _1: Self = Self::new(1);
2560    }
2561    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2562    pub struct Porr04_SPEC;
2563    pub type Porr04 = crate::EnumBitfieldStruct<u8, Porr04_SPEC>;
2564    impl Porr04 {
2565        #[doc = "No effect on output"]
2566        pub const _0: Self = Self::new(0);
2567        #[doc = "Low output"]
2568        pub const _1: Self = Self::new(1);
2569    }
2570    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2571    pub struct Porr05_SPEC;
2572    pub type Porr05 = crate::EnumBitfieldStruct<u8, Porr05_SPEC>;
2573    impl Porr05 {
2574        #[doc = "No effect on output"]
2575        pub const _0: Self = Self::new(0);
2576        #[doc = "Low output"]
2577        pub const _1: Self = Self::new(1);
2578    }
2579    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2580    pub struct Porr06_SPEC;
2581    pub type Porr06 = crate::EnumBitfieldStruct<u8, Porr06_SPEC>;
2582    impl Porr06 {
2583        #[doc = "No effect on output"]
2584        pub const _0: Self = Self::new(0);
2585        #[doc = "Low output"]
2586        pub const _1: Self = Self::new(1);
2587    }
2588    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2589    pub struct Porr07_SPEC;
2590    pub type Porr07 = crate::EnumBitfieldStruct<u8, Porr07_SPEC>;
2591    impl Porr07 {
2592        #[doc = "No effect on output"]
2593        pub const _0: Self = Self::new(0);
2594        #[doc = "Low output"]
2595        pub const _1: Self = Self::new(1);
2596    }
2597    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2598    pub struct Porr08_SPEC;
2599    pub type Porr08 = crate::EnumBitfieldStruct<u8, Porr08_SPEC>;
2600    impl Porr08 {
2601        #[doc = "No effect on output"]
2602        pub const _0: Self = Self::new(0);
2603        #[doc = "Low output"]
2604        pub const _1: Self = Self::new(1);
2605    }
2606    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2607    pub struct Porr09_SPEC;
2608    pub type Porr09 = crate::EnumBitfieldStruct<u8, Porr09_SPEC>;
2609    impl Porr09 {
2610        #[doc = "No effect on output"]
2611        pub const _0: Self = Self::new(0);
2612        #[doc = "Low output"]
2613        pub const _1: Self = Self::new(1);
2614    }
2615    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2616    pub struct Porr10_SPEC;
2617    pub type Porr10 = crate::EnumBitfieldStruct<u8, Porr10_SPEC>;
2618    impl Porr10 {
2619        #[doc = "No effect on output"]
2620        pub const _0: Self = Self::new(0);
2621        #[doc = "Low output"]
2622        pub const _1: Self = Self::new(1);
2623    }
2624    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2625    pub struct Porr11_SPEC;
2626    pub type Porr11 = crate::EnumBitfieldStruct<u8, Porr11_SPEC>;
2627    impl Porr11 {
2628        #[doc = "No effect on output"]
2629        pub const _0: Self = Self::new(0);
2630        #[doc = "Low output"]
2631        pub const _1: Self = Self::new(1);
2632    }
2633    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2634    pub struct Porr12_SPEC;
2635    pub type Porr12 = crate::EnumBitfieldStruct<u8, Porr12_SPEC>;
2636    impl Porr12 {
2637        #[doc = "No effect on output"]
2638        pub const _0: Self = Self::new(0);
2639        #[doc = "Low output"]
2640        pub const _1: Self = Self::new(1);
2641    }
2642    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2643    pub struct Porr13_SPEC;
2644    pub type Porr13 = crate::EnumBitfieldStruct<u8, Porr13_SPEC>;
2645    impl Porr13 {
2646        #[doc = "No effect on output"]
2647        pub const _0: Self = Self::new(0);
2648        #[doc = "Low output"]
2649        pub const _1: Self = Self::new(1);
2650    }
2651    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2652    pub struct Porr14_SPEC;
2653    pub type Porr14 = crate::EnumBitfieldStruct<u8, Porr14_SPEC>;
2654    impl Porr14 {
2655        #[doc = "No effect on output"]
2656        pub const _0: Self = Self::new(0);
2657        #[doc = "Low output"]
2658        pub const _1: Self = Self::new(1);
2659    }
2660    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2661    pub struct Porr15_SPEC;
2662    pub type Porr15 = crate::EnumBitfieldStruct<u8, Porr15_SPEC>;
2663    impl Porr15 {
2664        #[doc = "No effect on output"]
2665        pub const _0: Self = Self::new(0);
2666        #[doc = "Low output"]
2667        pub const _1: Self = Self::new(1);
2668    }
2669}
2670#[doc(hidden)]
2671#[derive(Copy, Clone, Eq, PartialEq)]
2672pub struct Posr_SPEC;
2673impl crate::sealed::RegSpec for Posr_SPEC {
2674    type DataType = u16;
2675}
2676#[doc = "Port Control Register 3"]
2677pub type Posr = crate::RegValueT<Posr_SPEC>;
2678
2679impl Posr {
2680    #[doc = "Pmn Output Set"]
2681    #[inline(always)]
2682    pub fn posr00(
2683        self,
2684    ) -> crate::common::RegisterField<0, 0x1, 1, 0, posr::Posr00, Posr_SPEC, crate::common::W> {
2685        crate::common::RegisterField::<0,0x1,1,0,posr::Posr00, Posr_SPEC,crate::common::W>::from_register(self,0)
2686    }
2687    #[doc = "Pmn Output Set"]
2688    #[inline(always)]
2689    pub fn posr01(
2690        self,
2691    ) -> crate::common::RegisterField<1, 0x1, 1, 0, posr::Posr01, Posr_SPEC, crate::common::W> {
2692        crate::common::RegisterField::<1,0x1,1,0,posr::Posr01, Posr_SPEC,crate::common::W>::from_register(self,0)
2693    }
2694    #[doc = "Pmn Output Set"]
2695    #[inline(always)]
2696    pub fn posr02(
2697        self,
2698    ) -> crate::common::RegisterField<2, 0x1, 1, 0, posr::Posr02, Posr_SPEC, crate::common::W> {
2699        crate::common::RegisterField::<2,0x1,1,0,posr::Posr02, Posr_SPEC,crate::common::W>::from_register(self,0)
2700    }
2701    #[doc = "Pmn Output Set"]
2702    #[inline(always)]
2703    pub fn posr03(
2704        self,
2705    ) -> crate::common::RegisterField<3, 0x1, 1, 0, posr::Posr03, Posr_SPEC, crate::common::W> {
2706        crate::common::RegisterField::<3,0x1,1,0,posr::Posr03, Posr_SPEC,crate::common::W>::from_register(self,0)
2707    }
2708    #[doc = "Pmn Output Set"]
2709    #[inline(always)]
2710    pub fn posr04(
2711        self,
2712    ) -> crate::common::RegisterField<4, 0x1, 1, 0, posr::Posr04, Posr_SPEC, crate::common::W> {
2713        crate::common::RegisterField::<4,0x1,1,0,posr::Posr04, Posr_SPEC,crate::common::W>::from_register(self,0)
2714    }
2715    #[doc = "Pmn Output Set"]
2716    #[inline(always)]
2717    pub fn posr05(
2718        self,
2719    ) -> crate::common::RegisterField<5, 0x1, 1, 0, posr::Posr05, Posr_SPEC, crate::common::W> {
2720        crate::common::RegisterField::<5,0x1,1,0,posr::Posr05, Posr_SPEC,crate::common::W>::from_register(self,0)
2721    }
2722    #[doc = "Pmn Output Set"]
2723    #[inline(always)]
2724    pub fn posr06(
2725        self,
2726    ) -> crate::common::RegisterField<6, 0x1, 1, 0, posr::Posr06, Posr_SPEC, crate::common::W> {
2727        crate::common::RegisterField::<6,0x1,1,0,posr::Posr06, Posr_SPEC,crate::common::W>::from_register(self,0)
2728    }
2729    #[doc = "Pmn Output Set"]
2730    #[inline(always)]
2731    pub fn posr07(
2732        self,
2733    ) -> crate::common::RegisterField<7, 0x1, 1, 0, posr::Posr07, Posr_SPEC, crate::common::W> {
2734        crate::common::RegisterField::<7,0x1,1,0,posr::Posr07, Posr_SPEC,crate::common::W>::from_register(self,0)
2735    }
2736    #[doc = "Pmn Output Set"]
2737    #[inline(always)]
2738    pub fn posr08(
2739        self,
2740    ) -> crate::common::RegisterField<8, 0x1, 1, 0, posr::Posr08, Posr_SPEC, crate::common::W> {
2741        crate::common::RegisterField::<8,0x1,1,0,posr::Posr08, Posr_SPEC,crate::common::W>::from_register(self,0)
2742    }
2743    #[doc = "Pmn Output Set"]
2744    #[inline(always)]
2745    pub fn posr09(
2746        self,
2747    ) -> crate::common::RegisterField<9, 0x1, 1, 0, posr::Posr09, Posr_SPEC, crate::common::W> {
2748        crate::common::RegisterField::<9,0x1,1,0,posr::Posr09, Posr_SPEC,crate::common::W>::from_register(self,0)
2749    }
2750    #[doc = "Pmn Output Set"]
2751    #[inline(always)]
2752    pub fn posr10(
2753        self,
2754    ) -> crate::common::RegisterField<10, 0x1, 1, 0, posr::Posr10, Posr_SPEC, crate::common::W>
2755    {
2756        crate::common::RegisterField::<10,0x1,1,0,posr::Posr10, Posr_SPEC,crate::common::W>::from_register(self,0)
2757    }
2758    #[doc = "Pmn Output Set"]
2759    #[inline(always)]
2760    pub fn posr11(
2761        self,
2762    ) -> crate::common::RegisterField<11, 0x1, 1, 0, posr::Posr11, Posr_SPEC, crate::common::W>
2763    {
2764        crate::common::RegisterField::<11,0x1,1,0,posr::Posr11, Posr_SPEC,crate::common::W>::from_register(self,0)
2765    }
2766    #[doc = "Pmn Output Set"]
2767    #[inline(always)]
2768    pub fn posr12(
2769        self,
2770    ) -> crate::common::RegisterField<12, 0x1, 1, 0, posr::Posr12, Posr_SPEC, crate::common::W>
2771    {
2772        crate::common::RegisterField::<12,0x1,1,0,posr::Posr12, Posr_SPEC,crate::common::W>::from_register(self,0)
2773    }
2774    #[doc = "Pmn Output Set"]
2775    #[inline(always)]
2776    pub fn posr13(
2777        self,
2778    ) -> crate::common::RegisterField<13, 0x1, 1, 0, posr::Posr13, Posr_SPEC, crate::common::W>
2779    {
2780        crate::common::RegisterField::<13,0x1,1,0,posr::Posr13, Posr_SPEC,crate::common::W>::from_register(self,0)
2781    }
2782    #[doc = "Pmn Output Set"]
2783    #[inline(always)]
2784    pub fn posr14(
2785        self,
2786    ) -> crate::common::RegisterField<14, 0x1, 1, 0, posr::Posr14, Posr_SPEC, crate::common::W>
2787    {
2788        crate::common::RegisterField::<14,0x1,1,0,posr::Posr14, Posr_SPEC,crate::common::W>::from_register(self,0)
2789    }
2790    #[doc = "Pmn Output Set"]
2791    #[inline(always)]
2792    pub fn posr15(
2793        self,
2794    ) -> crate::common::RegisterField<15, 0x1, 1, 0, posr::Posr15, Posr_SPEC, crate::common::W>
2795    {
2796        crate::common::RegisterField::<15,0x1,1,0,posr::Posr15, Posr_SPEC,crate::common::W>::from_register(self,0)
2797    }
2798}
2799impl ::core::default::Default for Posr {
2800    #[inline(always)]
2801    fn default() -> Posr {
2802        <crate::RegValueT<Posr_SPEC> as RegisterValue<_>>::new(0)
2803    }
2804}
2805pub mod posr {
2806
2807    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2808    pub struct Posr00_SPEC;
2809    pub type Posr00 = crate::EnumBitfieldStruct<u8, Posr00_SPEC>;
2810    impl Posr00 {
2811        #[doc = "No effect on output"]
2812        pub const _0: Self = Self::new(0);
2813        #[doc = "High output"]
2814        pub const _1: Self = Self::new(1);
2815    }
2816    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2817    pub struct Posr01_SPEC;
2818    pub type Posr01 = crate::EnumBitfieldStruct<u8, Posr01_SPEC>;
2819    impl Posr01 {
2820        #[doc = "No effect on output"]
2821        pub const _0: Self = Self::new(0);
2822        #[doc = "High output"]
2823        pub const _1: Self = Self::new(1);
2824    }
2825    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2826    pub struct Posr02_SPEC;
2827    pub type Posr02 = crate::EnumBitfieldStruct<u8, Posr02_SPEC>;
2828    impl Posr02 {
2829        #[doc = "No effect on output"]
2830        pub const _0: Self = Self::new(0);
2831        #[doc = "High output"]
2832        pub const _1: Self = Self::new(1);
2833    }
2834    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2835    pub struct Posr03_SPEC;
2836    pub type Posr03 = crate::EnumBitfieldStruct<u8, Posr03_SPEC>;
2837    impl Posr03 {
2838        #[doc = "No effect on output"]
2839        pub const _0: Self = Self::new(0);
2840        #[doc = "High output"]
2841        pub const _1: Self = Self::new(1);
2842    }
2843    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2844    pub struct Posr04_SPEC;
2845    pub type Posr04 = crate::EnumBitfieldStruct<u8, Posr04_SPEC>;
2846    impl Posr04 {
2847        #[doc = "No effect on output"]
2848        pub const _0: Self = Self::new(0);
2849        #[doc = "High output"]
2850        pub const _1: Self = Self::new(1);
2851    }
2852    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2853    pub struct Posr05_SPEC;
2854    pub type Posr05 = crate::EnumBitfieldStruct<u8, Posr05_SPEC>;
2855    impl Posr05 {
2856        #[doc = "No effect on output"]
2857        pub const _0: Self = Self::new(0);
2858        #[doc = "High output"]
2859        pub const _1: Self = Self::new(1);
2860    }
2861    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2862    pub struct Posr06_SPEC;
2863    pub type Posr06 = crate::EnumBitfieldStruct<u8, Posr06_SPEC>;
2864    impl Posr06 {
2865        #[doc = "No effect on output"]
2866        pub const _0: Self = Self::new(0);
2867        #[doc = "High output"]
2868        pub const _1: Self = Self::new(1);
2869    }
2870    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2871    pub struct Posr07_SPEC;
2872    pub type Posr07 = crate::EnumBitfieldStruct<u8, Posr07_SPEC>;
2873    impl Posr07 {
2874        #[doc = "No effect on output"]
2875        pub const _0: Self = Self::new(0);
2876        #[doc = "High output"]
2877        pub const _1: Self = Self::new(1);
2878    }
2879    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2880    pub struct Posr08_SPEC;
2881    pub type Posr08 = crate::EnumBitfieldStruct<u8, Posr08_SPEC>;
2882    impl Posr08 {
2883        #[doc = "No effect on output"]
2884        pub const _0: Self = Self::new(0);
2885        #[doc = "High output"]
2886        pub const _1: Self = Self::new(1);
2887    }
2888    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2889    pub struct Posr09_SPEC;
2890    pub type Posr09 = crate::EnumBitfieldStruct<u8, Posr09_SPEC>;
2891    impl Posr09 {
2892        #[doc = "No effect on output"]
2893        pub const _0: Self = Self::new(0);
2894        #[doc = "High output"]
2895        pub const _1: Self = Self::new(1);
2896    }
2897    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2898    pub struct Posr10_SPEC;
2899    pub type Posr10 = crate::EnumBitfieldStruct<u8, Posr10_SPEC>;
2900    impl Posr10 {
2901        #[doc = "No effect on output"]
2902        pub const _0: Self = Self::new(0);
2903        #[doc = "High output"]
2904        pub const _1: Self = Self::new(1);
2905    }
2906    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2907    pub struct Posr11_SPEC;
2908    pub type Posr11 = crate::EnumBitfieldStruct<u8, Posr11_SPEC>;
2909    impl Posr11 {
2910        #[doc = "No effect on output"]
2911        pub const _0: Self = Self::new(0);
2912        #[doc = "High output"]
2913        pub const _1: Self = Self::new(1);
2914    }
2915    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2916    pub struct Posr12_SPEC;
2917    pub type Posr12 = crate::EnumBitfieldStruct<u8, Posr12_SPEC>;
2918    impl Posr12 {
2919        #[doc = "No effect on output"]
2920        pub const _0: Self = Self::new(0);
2921        #[doc = "High output"]
2922        pub const _1: Self = Self::new(1);
2923    }
2924    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2925    pub struct Posr13_SPEC;
2926    pub type Posr13 = crate::EnumBitfieldStruct<u8, Posr13_SPEC>;
2927    impl Posr13 {
2928        #[doc = "No effect on output"]
2929        pub const _0: Self = Self::new(0);
2930        #[doc = "High output"]
2931        pub const _1: Self = Self::new(1);
2932    }
2933    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2934    pub struct Posr14_SPEC;
2935    pub type Posr14 = crate::EnumBitfieldStruct<u8, Posr14_SPEC>;
2936    impl Posr14 {
2937        #[doc = "No effect on output"]
2938        pub const _0: Self = Self::new(0);
2939        #[doc = "High output"]
2940        pub const _1: Self = Self::new(1);
2941    }
2942    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
2943    pub struct Posr15_SPEC;
2944    pub type Posr15 = crate::EnumBitfieldStruct<u8, Posr15_SPEC>;
2945    impl Posr15 {
2946        #[doc = "No effect on output"]
2947        pub const _0: Self = Self::new(0);
2948        #[doc = "High output"]
2949        pub const _1: Self = Self::new(1);
2950    }
2951}