ra6t2/portb/
pidr.rs

1#[doc = "Register `PIDR` reader"]
2pub struct R(crate::R<PIDR_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<PIDR_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<PIDR_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<PIDR_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "Field `PIDR00` reader - Pmn State"]
17pub type PIDR00_R = crate::BitReader<PIDR00_A>;
18#[doc = "Pmn State\n\nValue on reset: 0"]
19#[derive(Clone, Copy, Debug, PartialEq, Eq)]
20pub enum PIDR00_A {
21    #[doc = "0: Low level"]
22    _0 = 0,
23    #[doc = "1: High level"]
24    _1 = 1,
25}
26impl From<PIDR00_A> for bool {
27    #[inline(always)]
28    fn from(variant: PIDR00_A) -> Self {
29        variant as u8 != 0
30    }
31}
32impl PIDR00_R {
33    #[doc = "Get enumerated values variant"]
34    #[inline(always)]
35    pub fn variant(&self) -> PIDR00_A {
36        match self.bits {
37            false => PIDR00_A::_0,
38            true => PIDR00_A::_1,
39        }
40    }
41    #[doc = "Checks if the value of the field is `_0`"]
42    #[inline(always)]
43    pub fn is_0(&self) -> bool {
44        *self == PIDR00_A::_0
45    }
46    #[doc = "Checks if the value of the field is `_1`"]
47    #[inline(always)]
48    pub fn is_1(&self) -> bool {
49        *self == PIDR00_A::_1
50    }
51}
52#[doc = "Field `PIDR01` reader - Pmn State"]
53pub type PIDR01_R = crate::BitReader<PIDR01_A>;
54#[doc = "Pmn State\n\nValue on reset: 0"]
55#[derive(Clone, Copy, Debug, PartialEq, Eq)]
56pub enum PIDR01_A {
57    #[doc = "0: Low level"]
58    _0 = 0,
59    #[doc = "1: High level"]
60    _1 = 1,
61}
62impl From<PIDR01_A> for bool {
63    #[inline(always)]
64    fn from(variant: PIDR01_A) -> Self {
65        variant as u8 != 0
66    }
67}
68impl PIDR01_R {
69    #[doc = "Get enumerated values variant"]
70    #[inline(always)]
71    pub fn variant(&self) -> PIDR01_A {
72        match self.bits {
73            false => PIDR01_A::_0,
74            true => PIDR01_A::_1,
75        }
76    }
77    #[doc = "Checks if the value of the field is `_0`"]
78    #[inline(always)]
79    pub fn is_0(&self) -> bool {
80        *self == PIDR01_A::_0
81    }
82    #[doc = "Checks if the value of the field is `_1`"]
83    #[inline(always)]
84    pub fn is_1(&self) -> bool {
85        *self == PIDR01_A::_1
86    }
87}
88#[doc = "Field `PIDR02` reader - Pmn State"]
89pub type PIDR02_R = crate::BitReader<PIDR02_A>;
90#[doc = "Pmn State\n\nValue on reset: 0"]
91#[derive(Clone, Copy, Debug, PartialEq, Eq)]
92pub enum PIDR02_A {
93    #[doc = "0: Low level"]
94    _0 = 0,
95    #[doc = "1: High level"]
96    _1 = 1,
97}
98impl From<PIDR02_A> for bool {
99    #[inline(always)]
100    fn from(variant: PIDR02_A) -> Self {
101        variant as u8 != 0
102    }
103}
104impl PIDR02_R {
105    #[doc = "Get enumerated values variant"]
106    #[inline(always)]
107    pub fn variant(&self) -> PIDR02_A {
108        match self.bits {
109            false => PIDR02_A::_0,
110            true => PIDR02_A::_1,
111        }
112    }
113    #[doc = "Checks if the value of the field is `_0`"]
114    #[inline(always)]
115    pub fn is_0(&self) -> bool {
116        *self == PIDR02_A::_0
117    }
118    #[doc = "Checks if the value of the field is `_1`"]
119    #[inline(always)]
120    pub fn is_1(&self) -> bool {
121        *self == PIDR02_A::_1
122    }
123}
124#[doc = "Field `PIDR03` reader - Pmn State"]
125pub type PIDR03_R = crate::BitReader<PIDR03_A>;
126#[doc = "Pmn State\n\nValue on reset: 0"]
127#[derive(Clone, Copy, Debug, PartialEq, Eq)]
128pub enum PIDR03_A {
129    #[doc = "0: Low level"]
130    _0 = 0,
131    #[doc = "1: High level"]
132    _1 = 1,
133}
134impl From<PIDR03_A> for bool {
135    #[inline(always)]
136    fn from(variant: PIDR03_A) -> Self {
137        variant as u8 != 0
138    }
139}
140impl PIDR03_R {
141    #[doc = "Get enumerated values variant"]
142    #[inline(always)]
143    pub fn variant(&self) -> PIDR03_A {
144        match self.bits {
145            false => PIDR03_A::_0,
146            true => PIDR03_A::_1,
147        }
148    }
149    #[doc = "Checks if the value of the field is `_0`"]
150    #[inline(always)]
151    pub fn is_0(&self) -> bool {
152        *self == PIDR03_A::_0
153    }
154    #[doc = "Checks if the value of the field is `_1`"]
155    #[inline(always)]
156    pub fn is_1(&self) -> bool {
157        *self == PIDR03_A::_1
158    }
159}
160#[doc = "Field `PIDR04` reader - Pmn State"]
161pub type PIDR04_R = crate::BitReader<PIDR04_A>;
162#[doc = "Pmn State\n\nValue on reset: 0"]
163#[derive(Clone, Copy, Debug, PartialEq, Eq)]
164pub enum PIDR04_A {
165    #[doc = "0: Low level"]
166    _0 = 0,
167    #[doc = "1: High level"]
168    _1 = 1,
169}
170impl From<PIDR04_A> for bool {
171    #[inline(always)]
172    fn from(variant: PIDR04_A) -> Self {
173        variant as u8 != 0
174    }
175}
176impl PIDR04_R {
177    #[doc = "Get enumerated values variant"]
178    #[inline(always)]
179    pub fn variant(&self) -> PIDR04_A {
180        match self.bits {
181            false => PIDR04_A::_0,
182            true => PIDR04_A::_1,
183        }
184    }
185    #[doc = "Checks if the value of the field is `_0`"]
186    #[inline(always)]
187    pub fn is_0(&self) -> bool {
188        *self == PIDR04_A::_0
189    }
190    #[doc = "Checks if the value of the field is `_1`"]
191    #[inline(always)]
192    pub fn is_1(&self) -> bool {
193        *self == PIDR04_A::_1
194    }
195}
196#[doc = "Field `PIDR05` reader - Pmn State"]
197pub type PIDR05_R = crate::BitReader<PIDR05_A>;
198#[doc = "Pmn State\n\nValue on reset: 0"]
199#[derive(Clone, Copy, Debug, PartialEq, Eq)]
200pub enum PIDR05_A {
201    #[doc = "0: Low level"]
202    _0 = 0,
203    #[doc = "1: High level"]
204    _1 = 1,
205}
206impl From<PIDR05_A> for bool {
207    #[inline(always)]
208    fn from(variant: PIDR05_A) -> Self {
209        variant as u8 != 0
210    }
211}
212impl PIDR05_R {
213    #[doc = "Get enumerated values variant"]
214    #[inline(always)]
215    pub fn variant(&self) -> PIDR05_A {
216        match self.bits {
217            false => PIDR05_A::_0,
218            true => PIDR05_A::_1,
219        }
220    }
221    #[doc = "Checks if the value of the field is `_0`"]
222    #[inline(always)]
223    pub fn is_0(&self) -> bool {
224        *self == PIDR05_A::_0
225    }
226    #[doc = "Checks if the value of the field is `_1`"]
227    #[inline(always)]
228    pub fn is_1(&self) -> bool {
229        *self == PIDR05_A::_1
230    }
231}
232#[doc = "Field `PIDR06` reader - Pmn State"]
233pub type PIDR06_R = crate::BitReader<PIDR06_A>;
234#[doc = "Pmn State\n\nValue on reset: 0"]
235#[derive(Clone, Copy, Debug, PartialEq, Eq)]
236pub enum PIDR06_A {
237    #[doc = "0: Low level"]
238    _0 = 0,
239    #[doc = "1: High level"]
240    _1 = 1,
241}
242impl From<PIDR06_A> for bool {
243    #[inline(always)]
244    fn from(variant: PIDR06_A) -> Self {
245        variant as u8 != 0
246    }
247}
248impl PIDR06_R {
249    #[doc = "Get enumerated values variant"]
250    #[inline(always)]
251    pub fn variant(&self) -> PIDR06_A {
252        match self.bits {
253            false => PIDR06_A::_0,
254            true => PIDR06_A::_1,
255        }
256    }
257    #[doc = "Checks if the value of the field is `_0`"]
258    #[inline(always)]
259    pub fn is_0(&self) -> bool {
260        *self == PIDR06_A::_0
261    }
262    #[doc = "Checks if the value of the field is `_1`"]
263    #[inline(always)]
264    pub fn is_1(&self) -> bool {
265        *self == PIDR06_A::_1
266    }
267}
268#[doc = "Field `PIDR07` reader - Pmn State"]
269pub type PIDR07_R = crate::BitReader<PIDR07_A>;
270#[doc = "Pmn State\n\nValue on reset: 0"]
271#[derive(Clone, Copy, Debug, PartialEq, Eq)]
272pub enum PIDR07_A {
273    #[doc = "0: Low level"]
274    _0 = 0,
275    #[doc = "1: High level"]
276    _1 = 1,
277}
278impl From<PIDR07_A> for bool {
279    #[inline(always)]
280    fn from(variant: PIDR07_A) -> Self {
281        variant as u8 != 0
282    }
283}
284impl PIDR07_R {
285    #[doc = "Get enumerated values variant"]
286    #[inline(always)]
287    pub fn variant(&self) -> PIDR07_A {
288        match self.bits {
289            false => PIDR07_A::_0,
290            true => PIDR07_A::_1,
291        }
292    }
293    #[doc = "Checks if the value of the field is `_0`"]
294    #[inline(always)]
295    pub fn is_0(&self) -> bool {
296        *self == PIDR07_A::_0
297    }
298    #[doc = "Checks if the value of the field is `_1`"]
299    #[inline(always)]
300    pub fn is_1(&self) -> bool {
301        *self == PIDR07_A::_1
302    }
303}
304#[doc = "Field `PIDR08` reader - Pmn State"]
305pub type PIDR08_R = crate::BitReader<PIDR08_A>;
306#[doc = "Pmn State\n\nValue on reset: 0"]
307#[derive(Clone, Copy, Debug, PartialEq, Eq)]
308pub enum PIDR08_A {
309    #[doc = "0: Low level"]
310    _0 = 0,
311    #[doc = "1: High level"]
312    _1 = 1,
313}
314impl From<PIDR08_A> for bool {
315    #[inline(always)]
316    fn from(variant: PIDR08_A) -> Self {
317        variant as u8 != 0
318    }
319}
320impl PIDR08_R {
321    #[doc = "Get enumerated values variant"]
322    #[inline(always)]
323    pub fn variant(&self) -> PIDR08_A {
324        match self.bits {
325            false => PIDR08_A::_0,
326            true => PIDR08_A::_1,
327        }
328    }
329    #[doc = "Checks if the value of the field is `_0`"]
330    #[inline(always)]
331    pub fn is_0(&self) -> bool {
332        *self == PIDR08_A::_0
333    }
334    #[doc = "Checks if the value of the field is `_1`"]
335    #[inline(always)]
336    pub fn is_1(&self) -> bool {
337        *self == PIDR08_A::_1
338    }
339}
340#[doc = "Field `PIDR09` reader - Pmn State"]
341pub type PIDR09_R = crate::BitReader<PIDR09_A>;
342#[doc = "Pmn State\n\nValue on reset: 0"]
343#[derive(Clone, Copy, Debug, PartialEq, Eq)]
344pub enum PIDR09_A {
345    #[doc = "0: Low level"]
346    _0 = 0,
347    #[doc = "1: High level"]
348    _1 = 1,
349}
350impl From<PIDR09_A> for bool {
351    #[inline(always)]
352    fn from(variant: PIDR09_A) -> Self {
353        variant as u8 != 0
354    }
355}
356impl PIDR09_R {
357    #[doc = "Get enumerated values variant"]
358    #[inline(always)]
359    pub fn variant(&self) -> PIDR09_A {
360        match self.bits {
361            false => PIDR09_A::_0,
362            true => PIDR09_A::_1,
363        }
364    }
365    #[doc = "Checks if the value of the field is `_0`"]
366    #[inline(always)]
367    pub fn is_0(&self) -> bool {
368        *self == PIDR09_A::_0
369    }
370    #[doc = "Checks if the value of the field is `_1`"]
371    #[inline(always)]
372    pub fn is_1(&self) -> bool {
373        *self == PIDR09_A::_1
374    }
375}
376#[doc = "Field `PIDR10` reader - Pmn State"]
377pub type PIDR10_R = crate::BitReader<PIDR10_A>;
378#[doc = "Pmn State\n\nValue on reset: 0"]
379#[derive(Clone, Copy, Debug, PartialEq, Eq)]
380pub enum PIDR10_A {
381    #[doc = "0: Low level"]
382    _0 = 0,
383    #[doc = "1: High level"]
384    _1 = 1,
385}
386impl From<PIDR10_A> for bool {
387    #[inline(always)]
388    fn from(variant: PIDR10_A) -> Self {
389        variant as u8 != 0
390    }
391}
392impl PIDR10_R {
393    #[doc = "Get enumerated values variant"]
394    #[inline(always)]
395    pub fn variant(&self) -> PIDR10_A {
396        match self.bits {
397            false => PIDR10_A::_0,
398            true => PIDR10_A::_1,
399        }
400    }
401    #[doc = "Checks if the value of the field is `_0`"]
402    #[inline(always)]
403    pub fn is_0(&self) -> bool {
404        *self == PIDR10_A::_0
405    }
406    #[doc = "Checks if the value of the field is `_1`"]
407    #[inline(always)]
408    pub fn is_1(&self) -> bool {
409        *self == PIDR10_A::_1
410    }
411}
412#[doc = "Field `PIDR11` reader - Pmn State"]
413pub type PIDR11_R = crate::BitReader<PIDR11_A>;
414#[doc = "Pmn State\n\nValue on reset: 0"]
415#[derive(Clone, Copy, Debug, PartialEq, Eq)]
416pub enum PIDR11_A {
417    #[doc = "0: Low level"]
418    _0 = 0,
419    #[doc = "1: High level"]
420    _1 = 1,
421}
422impl From<PIDR11_A> for bool {
423    #[inline(always)]
424    fn from(variant: PIDR11_A) -> Self {
425        variant as u8 != 0
426    }
427}
428impl PIDR11_R {
429    #[doc = "Get enumerated values variant"]
430    #[inline(always)]
431    pub fn variant(&self) -> PIDR11_A {
432        match self.bits {
433            false => PIDR11_A::_0,
434            true => PIDR11_A::_1,
435        }
436    }
437    #[doc = "Checks if the value of the field is `_0`"]
438    #[inline(always)]
439    pub fn is_0(&self) -> bool {
440        *self == PIDR11_A::_0
441    }
442    #[doc = "Checks if the value of the field is `_1`"]
443    #[inline(always)]
444    pub fn is_1(&self) -> bool {
445        *self == PIDR11_A::_1
446    }
447}
448#[doc = "Field `PIDR12` reader - Pmn State"]
449pub type PIDR12_R = crate::BitReader<PIDR12_A>;
450#[doc = "Pmn State\n\nValue on reset: 0"]
451#[derive(Clone, Copy, Debug, PartialEq, Eq)]
452pub enum PIDR12_A {
453    #[doc = "0: Low level"]
454    _0 = 0,
455    #[doc = "1: High level"]
456    _1 = 1,
457}
458impl From<PIDR12_A> for bool {
459    #[inline(always)]
460    fn from(variant: PIDR12_A) -> Self {
461        variant as u8 != 0
462    }
463}
464impl PIDR12_R {
465    #[doc = "Get enumerated values variant"]
466    #[inline(always)]
467    pub fn variant(&self) -> PIDR12_A {
468        match self.bits {
469            false => PIDR12_A::_0,
470            true => PIDR12_A::_1,
471        }
472    }
473    #[doc = "Checks if the value of the field is `_0`"]
474    #[inline(always)]
475    pub fn is_0(&self) -> bool {
476        *self == PIDR12_A::_0
477    }
478    #[doc = "Checks if the value of the field is `_1`"]
479    #[inline(always)]
480    pub fn is_1(&self) -> bool {
481        *self == PIDR12_A::_1
482    }
483}
484#[doc = "Field `PIDR13` reader - Pmn State"]
485pub type PIDR13_R = crate::BitReader<PIDR13_A>;
486#[doc = "Pmn State\n\nValue on reset: 0"]
487#[derive(Clone, Copy, Debug, PartialEq, Eq)]
488pub enum PIDR13_A {
489    #[doc = "0: Low level"]
490    _0 = 0,
491    #[doc = "1: High level"]
492    _1 = 1,
493}
494impl From<PIDR13_A> for bool {
495    #[inline(always)]
496    fn from(variant: PIDR13_A) -> Self {
497        variant as u8 != 0
498    }
499}
500impl PIDR13_R {
501    #[doc = "Get enumerated values variant"]
502    #[inline(always)]
503    pub fn variant(&self) -> PIDR13_A {
504        match self.bits {
505            false => PIDR13_A::_0,
506            true => PIDR13_A::_1,
507        }
508    }
509    #[doc = "Checks if the value of the field is `_0`"]
510    #[inline(always)]
511    pub fn is_0(&self) -> bool {
512        *self == PIDR13_A::_0
513    }
514    #[doc = "Checks if the value of the field is `_1`"]
515    #[inline(always)]
516    pub fn is_1(&self) -> bool {
517        *self == PIDR13_A::_1
518    }
519}
520#[doc = "Field `PIDR14` reader - Pmn State"]
521pub type PIDR14_R = crate::BitReader<PIDR14_A>;
522#[doc = "Pmn State\n\nValue on reset: 0"]
523#[derive(Clone, Copy, Debug, PartialEq, Eq)]
524pub enum PIDR14_A {
525    #[doc = "0: Low level"]
526    _0 = 0,
527    #[doc = "1: High level"]
528    _1 = 1,
529}
530impl From<PIDR14_A> for bool {
531    #[inline(always)]
532    fn from(variant: PIDR14_A) -> Self {
533        variant as u8 != 0
534    }
535}
536impl PIDR14_R {
537    #[doc = "Get enumerated values variant"]
538    #[inline(always)]
539    pub fn variant(&self) -> PIDR14_A {
540        match self.bits {
541            false => PIDR14_A::_0,
542            true => PIDR14_A::_1,
543        }
544    }
545    #[doc = "Checks if the value of the field is `_0`"]
546    #[inline(always)]
547    pub fn is_0(&self) -> bool {
548        *self == PIDR14_A::_0
549    }
550    #[doc = "Checks if the value of the field is `_1`"]
551    #[inline(always)]
552    pub fn is_1(&self) -> bool {
553        *self == PIDR14_A::_1
554    }
555}
556#[doc = "Field `PIDR15` reader - Pmn State"]
557pub type PIDR15_R = crate::BitReader<PIDR15_A>;
558#[doc = "Pmn State\n\nValue on reset: 0"]
559#[derive(Clone, Copy, Debug, PartialEq, Eq)]
560pub enum PIDR15_A {
561    #[doc = "0: Low level"]
562    _0 = 0,
563    #[doc = "1: High level"]
564    _1 = 1,
565}
566impl From<PIDR15_A> for bool {
567    #[inline(always)]
568    fn from(variant: PIDR15_A) -> Self {
569        variant as u8 != 0
570    }
571}
572impl PIDR15_R {
573    #[doc = "Get enumerated values variant"]
574    #[inline(always)]
575    pub fn variant(&self) -> PIDR15_A {
576        match self.bits {
577            false => PIDR15_A::_0,
578            true => PIDR15_A::_1,
579        }
580    }
581    #[doc = "Checks if the value of the field is `_0`"]
582    #[inline(always)]
583    pub fn is_0(&self) -> bool {
584        *self == PIDR15_A::_0
585    }
586    #[doc = "Checks if the value of the field is `_1`"]
587    #[inline(always)]
588    pub fn is_1(&self) -> bool {
589        *self == PIDR15_A::_1
590    }
591}
592impl R {
593    #[doc = "Bit 0 - Pmn State"]
594    #[inline(always)]
595    pub fn pidr00(&self) -> PIDR00_R {
596        PIDR00_R::new((self.bits & 1) != 0)
597    }
598    #[doc = "Bit 1 - Pmn State"]
599    #[inline(always)]
600    pub fn pidr01(&self) -> PIDR01_R {
601        PIDR01_R::new(((self.bits >> 1) & 1) != 0)
602    }
603    #[doc = "Bit 2 - Pmn State"]
604    #[inline(always)]
605    pub fn pidr02(&self) -> PIDR02_R {
606        PIDR02_R::new(((self.bits >> 2) & 1) != 0)
607    }
608    #[doc = "Bit 3 - Pmn State"]
609    #[inline(always)]
610    pub fn pidr03(&self) -> PIDR03_R {
611        PIDR03_R::new(((self.bits >> 3) & 1) != 0)
612    }
613    #[doc = "Bit 4 - Pmn State"]
614    #[inline(always)]
615    pub fn pidr04(&self) -> PIDR04_R {
616        PIDR04_R::new(((self.bits >> 4) & 1) != 0)
617    }
618    #[doc = "Bit 5 - Pmn State"]
619    #[inline(always)]
620    pub fn pidr05(&self) -> PIDR05_R {
621        PIDR05_R::new(((self.bits >> 5) & 1) != 0)
622    }
623    #[doc = "Bit 6 - Pmn State"]
624    #[inline(always)]
625    pub fn pidr06(&self) -> PIDR06_R {
626        PIDR06_R::new(((self.bits >> 6) & 1) != 0)
627    }
628    #[doc = "Bit 7 - Pmn State"]
629    #[inline(always)]
630    pub fn pidr07(&self) -> PIDR07_R {
631        PIDR07_R::new(((self.bits >> 7) & 1) != 0)
632    }
633    #[doc = "Bit 8 - Pmn State"]
634    #[inline(always)]
635    pub fn pidr08(&self) -> PIDR08_R {
636        PIDR08_R::new(((self.bits >> 8) & 1) != 0)
637    }
638    #[doc = "Bit 9 - Pmn State"]
639    #[inline(always)]
640    pub fn pidr09(&self) -> PIDR09_R {
641        PIDR09_R::new(((self.bits >> 9) & 1) != 0)
642    }
643    #[doc = "Bit 10 - Pmn State"]
644    #[inline(always)]
645    pub fn pidr10(&self) -> PIDR10_R {
646        PIDR10_R::new(((self.bits >> 10) & 1) != 0)
647    }
648    #[doc = "Bit 11 - Pmn State"]
649    #[inline(always)]
650    pub fn pidr11(&self) -> PIDR11_R {
651        PIDR11_R::new(((self.bits >> 11) & 1) != 0)
652    }
653    #[doc = "Bit 12 - Pmn State"]
654    #[inline(always)]
655    pub fn pidr12(&self) -> PIDR12_R {
656        PIDR12_R::new(((self.bits >> 12) & 1) != 0)
657    }
658    #[doc = "Bit 13 - Pmn State"]
659    #[inline(always)]
660    pub fn pidr13(&self) -> PIDR13_R {
661        PIDR13_R::new(((self.bits >> 13) & 1) != 0)
662    }
663    #[doc = "Bit 14 - Pmn State"]
664    #[inline(always)]
665    pub fn pidr14(&self) -> PIDR14_R {
666        PIDR14_R::new(((self.bits >> 14) & 1) != 0)
667    }
668    #[doc = "Bit 15 - Pmn State"]
669    #[inline(always)]
670    pub fn pidr15(&self) -> PIDR15_R {
671        PIDR15_R::new(((self.bits >> 15) & 1) != 0)
672    }
673}
674#[doc = "Port Control Register 2\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [pidr](index.html) module"]
675pub struct PIDR_SPEC;
676impl crate::RegisterSpec for PIDR_SPEC {
677    type Ux = u16;
678}
679#[doc = "`read()` method returns [pidr::R](R) reader structure"]
680impl crate::Readable for PIDR_SPEC {
681    type Reader = R;
682}
683#[doc = "`reset()` method sets PIDR to value 0"]
684impl crate::Resettable for PIDR_SPEC {
685    const RESET_VALUE: Self::Ux = 0;
686}