ra4e1/port1/
eidr.rs

1#[doc = "Register `EIDR` reader"]
2pub struct R(crate::R<EIDR_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<EIDR_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<EIDR_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<EIDR_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "Field `EIDR00` reader - Port Event Input Data"]
17pub type EIDR00_R = crate::BitReader<EIDR00_A>;
18#[doc = "Port Event Input Data\n\nValue on reset: 0"]
19#[derive(Clone, Copy, Debug, PartialEq, Eq)]
20pub enum EIDR00_A {
21    #[doc = "0: Low input"]
22    _0 = 0,
23    #[doc = "1: High input"]
24    _1 = 1,
25}
26impl From<EIDR00_A> for bool {
27    #[inline(always)]
28    fn from(variant: EIDR00_A) -> Self {
29        variant as u8 != 0
30    }
31}
32impl EIDR00_R {
33    #[doc = "Get enumerated values variant"]
34    #[inline(always)]
35    pub fn variant(&self) -> EIDR00_A {
36        match self.bits {
37            false => EIDR00_A::_0,
38            true => EIDR00_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 == EIDR00_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 == EIDR00_A::_1
50    }
51}
52#[doc = "Field `EIDR01` reader - Port Event Input Data"]
53pub type EIDR01_R = crate::BitReader<EIDR01_A>;
54#[doc = "Port Event Input Data\n\nValue on reset: 0"]
55#[derive(Clone, Copy, Debug, PartialEq, Eq)]
56pub enum EIDR01_A {
57    #[doc = "0: Low input"]
58    _0 = 0,
59    #[doc = "1: High input"]
60    _1 = 1,
61}
62impl From<EIDR01_A> for bool {
63    #[inline(always)]
64    fn from(variant: EIDR01_A) -> Self {
65        variant as u8 != 0
66    }
67}
68impl EIDR01_R {
69    #[doc = "Get enumerated values variant"]
70    #[inline(always)]
71    pub fn variant(&self) -> EIDR01_A {
72        match self.bits {
73            false => EIDR01_A::_0,
74            true => EIDR01_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 == EIDR01_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 == EIDR01_A::_1
86    }
87}
88#[doc = "Field `EIDR02` reader - Port Event Input Data"]
89pub type EIDR02_R = crate::BitReader<EIDR02_A>;
90#[doc = "Port Event Input Data\n\nValue on reset: 0"]
91#[derive(Clone, Copy, Debug, PartialEq, Eq)]
92pub enum EIDR02_A {
93    #[doc = "0: Low input"]
94    _0 = 0,
95    #[doc = "1: High input"]
96    _1 = 1,
97}
98impl From<EIDR02_A> for bool {
99    #[inline(always)]
100    fn from(variant: EIDR02_A) -> Self {
101        variant as u8 != 0
102    }
103}
104impl EIDR02_R {
105    #[doc = "Get enumerated values variant"]
106    #[inline(always)]
107    pub fn variant(&self) -> EIDR02_A {
108        match self.bits {
109            false => EIDR02_A::_0,
110            true => EIDR02_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 == EIDR02_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 == EIDR02_A::_1
122    }
123}
124#[doc = "Field `EIDR03` reader - Port Event Input Data"]
125pub type EIDR03_R = crate::BitReader<EIDR03_A>;
126#[doc = "Port Event Input Data\n\nValue on reset: 0"]
127#[derive(Clone, Copy, Debug, PartialEq, Eq)]
128pub enum EIDR03_A {
129    #[doc = "0: Low input"]
130    _0 = 0,
131    #[doc = "1: High input"]
132    _1 = 1,
133}
134impl From<EIDR03_A> for bool {
135    #[inline(always)]
136    fn from(variant: EIDR03_A) -> Self {
137        variant as u8 != 0
138    }
139}
140impl EIDR03_R {
141    #[doc = "Get enumerated values variant"]
142    #[inline(always)]
143    pub fn variant(&self) -> EIDR03_A {
144        match self.bits {
145            false => EIDR03_A::_0,
146            true => EIDR03_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 == EIDR03_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 == EIDR03_A::_1
158    }
159}
160#[doc = "Field `EIDR04` reader - Port Event Input Data"]
161pub type EIDR04_R = crate::BitReader<EIDR04_A>;
162#[doc = "Port Event Input Data\n\nValue on reset: 0"]
163#[derive(Clone, Copy, Debug, PartialEq, Eq)]
164pub enum EIDR04_A {
165    #[doc = "0: Low input"]
166    _0 = 0,
167    #[doc = "1: High input"]
168    _1 = 1,
169}
170impl From<EIDR04_A> for bool {
171    #[inline(always)]
172    fn from(variant: EIDR04_A) -> Self {
173        variant as u8 != 0
174    }
175}
176impl EIDR04_R {
177    #[doc = "Get enumerated values variant"]
178    #[inline(always)]
179    pub fn variant(&self) -> EIDR04_A {
180        match self.bits {
181            false => EIDR04_A::_0,
182            true => EIDR04_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 == EIDR04_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 == EIDR04_A::_1
194    }
195}
196#[doc = "Field `EIDR05` reader - Port Event Input Data"]
197pub type EIDR05_R = crate::BitReader<EIDR05_A>;
198#[doc = "Port Event Input Data\n\nValue on reset: 0"]
199#[derive(Clone, Copy, Debug, PartialEq, Eq)]
200pub enum EIDR05_A {
201    #[doc = "0: Low input"]
202    _0 = 0,
203    #[doc = "1: High input"]
204    _1 = 1,
205}
206impl From<EIDR05_A> for bool {
207    #[inline(always)]
208    fn from(variant: EIDR05_A) -> Self {
209        variant as u8 != 0
210    }
211}
212impl EIDR05_R {
213    #[doc = "Get enumerated values variant"]
214    #[inline(always)]
215    pub fn variant(&self) -> EIDR05_A {
216        match self.bits {
217            false => EIDR05_A::_0,
218            true => EIDR05_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 == EIDR05_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 == EIDR05_A::_1
230    }
231}
232#[doc = "Field `EIDR06` reader - Port Event Input Data"]
233pub type EIDR06_R = crate::BitReader<EIDR06_A>;
234#[doc = "Port Event Input Data\n\nValue on reset: 0"]
235#[derive(Clone, Copy, Debug, PartialEq, Eq)]
236pub enum EIDR06_A {
237    #[doc = "0: Low input"]
238    _0 = 0,
239    #[doc = "1: High input"]
240    _1 = 1,
241}
242impl From<EIDR06_A> for bool {
243    #[inline(always)]
244    fn from(variant: EIDR06_A) -> Self {
245        variant as u8 != 0
246    }
247}
248impl EIDR06_R {
249    #[doc = "Get enumerated values variant"]
250    #[inline(always)]
251    pub fn variant(&self) -> EIDR06_A {
252        match self.bits {
253            false => EIDR06_A::_0,
254            true => EIDR06_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 == EIDR06_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 == EIDR06_A::_1
266    }
267}
268#[doc = "Field `EIDR07` reader - Port Event Input Data"]
269pub type EIDR07_R = crate::BitReader<EIDR07_A>;
270#[doc = "Port Event Input Data\n\nValue on reset: 0"]
271#[derive(Clone, Copy, Debug, PartialEq, Eq)]
272pub enum EIDR07_A {
273    #[doc = "0: Low input"]
274    _0 = 0,
275    #[doc = "1: High input"]
276    _1 = 1,
277}
278impl From<EIDR07_A> for bool {
279    #[inline(always)]
280    fn from(variant: EIDR07_A) -> Self {
281        variant as u8 != 0
282    }
283}
284impl EIDR07_R {
285    #[doc = "Get enumerated values variant"]
286    #[inline(always)]
287    pub fn variant(&self) -> EIDR07_A {
288        match self.bits {
289            false => EIDR07_A::_0,
290            true => EIDR07_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 == EIDR07_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 == EIDR07_A::_1
302    }
303}
304#[doc = "Field `EIDR08` reader - Port Event Input Data"]
305pub type EIDR08_R = crate::BitReader<EIDR08_A>;
306#[doc = "Port Event Input Data\n\nValue on reset: 0"]
307#[derive(Clone, Copy, Debug, PartialEq, Eq)]
308pub enum EIDR08_A {
309    #[doc = "0: Low input"]
310    _0 = 0,
311    #[doc = "1: High input"]
312    _1 = 1,
313}
314impl From<EIDR08_A> for bool {
315    #[inline(always)]
316    fn from(variant: EIDR08_A) -> Self {
317        variant as u8 != 0
318    }
319}
320impl EIDR08_R {
321    #[doc = "Get enumerated values variant"]
322    #[inline(always)]
323    pub fn variant(&self) -> EIDR08_A {
324        match self.bits {
325            false => EIDR08_A::_0,
326            true => EIDR08_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 == EIDR08_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 == EIDR08_A::_1
338    }
339}
340#[doc = "Field `EIDR09` reader - Port Event Input Data"]
341pub type EIDR09_R = crate::BitReader<EIDR09_A>;
342#[doc = "Port Event Input Data\n\nValue on reset: 0"]
343#[derive(Clone, Copy, Debug, PartialEq, Eq)]
344pub enum EIDR09_A {
345    #[doc = "0: Low input"]
346    _0 = 0,
347    #[doc = "1: High input"]
348    _1 = 1,
349}
350impl From<EIDR09_A> for bool {
351    #[inline(always)]
352    fn from(variant: EIDR09_A) -> Self {
353        variant as u8 != 0
354    }
355}
356impl EIDR09_R {
357    #[doc = "Get enumerated values variant"]
358    #[inline(always)]
359    pub fn variant(&self) -> EIDR09_A {
360        match self.bits {
361            false => EIDR09_A::_0,
362            true => EIDR09_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 == EIDR09_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 == EIDR09_A::_1
374    }
375}
376#[doc = "Field `EIDR10` reader - Port Event Input Data"]
377pub type EIDR10_R = crate::BitReader<EIDR10_A>;
378#[doc = "Port Event Input Data\n\nValue on reset: 0"]
379#[derive(Clone, Copy, Debug, PartialEq, Eq)]
380pub enum EIDR10_A {
381    #[doc = "0: Low input"]
382    _0 = 0,
383    #[doc = "1: High input"]
384    _1 = 1,
385}
386impl From<EIDR10_A> for bool {
387    #[inline(always)]
388    fn from(variant: EIDR10_A) -> Self {
389        variant as u8 != 0
390    }
391}
392impl EIDR10_R {
393    #[doc = "Get enumerated values variant"]
394    #[inline(always)]
395    pub fn variant(&self) -> EIDR10_A {
396        match self.bits {
397            false => EIDR10_A::_0,
398            true => EIDR10_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 == EIDR10_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 == EIDR10_A::_1
410    }
411}
412#[doc = "Field `EIDR11` reader - Port Event Input Data"]
413pub type EIDR11_R = crate::BitReader<EIDR11_A>;
414#[doc = "Port Event Input Data\n\nValue on reset: 0"]
415#[derive(Clone, Copy, Debug, PartialEq, Eq)]
416pub enum EIDR11_A {
417    #[doc = "0: Low input"]
418    _0 = 0,
419    #[doc = "1: High input"]
420    _1 = 1,
421}
422impl From<EIDR11_A> for bool {
423    #[inline(always)]
424    fn from(variant: EIDR11_A) -> Self {
425        variant as u8 != 0
426    }
427}
428impl EIDR11_R {
429    #[doc = "Get enumerated values variant"]
430    #[inline(always)]
431    pub fn variant(&self) -> EIDR11_A {
432        match self.bits {
433            false => EIDR11_A::_0,
434            true => EIDR11_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 == EIDR11_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 == EIDR11_A::_1
446    }
447}
448#[doc = "Field `EIDR12` reader - Port Event Input Data"]
449pub type EIDR12_R = crate::BitReader<EIDR12_A>;
450#[doc = "Port Event Input Data\n\nValue on reset: 0"]
451#[derive(Clone, Copy, Debug, PartialEq, Eq)]
452pub enum EIDR12_A {
453    #[doc = "0: Low input"]
454    _0 = 0,
455    #[doc = "1: High input"]
456    _1 = 1,
457}
458impl From<EIDR12_A> for bool {
459    #[inline(always)]
460    fn from(variant: EIDR12_A) -> Self {
461        variant as u8 != 0
462    }
463}
464impl EIDR12_R {
465    #[doc = "Get enumerated values variant"]
466    #[inline(always)]
467    pub fn variant(&self) -> EIDR12_A {
468        match self.bits {
469            false => EIDR12_A::_0,
470            true => EIDR12_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 == EIDR12_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 == EIDR12_A::_1
482    }
483}
484#[doc = "Field `EIDR13` reader - Port Event Input Data"]
485pub type EIDR13_R = crate::BitReader<EIDR13_A>;
486#[doc = "Port Event Input Data\n\nValue on reset: 0"]
487#[derive(Clone, Copy, Debug, PartialEq, Eq)]
488pub enum EIDR13_A {
489    #[doc = "0: Low input"]
490    _0 = 0,
491    #[doc = "1: High input"]
492    _1 = 1,
493}
494impl From<EIDR13_A> for bool {
495    #[inline(always)]
496    fn from(variant: EIDR13_A) -> Self {
497        variant as u8 != 0
498    }
499}
500impl EIDR13_R {
501    #[doc = "Get enumerated values variant"]
502    #[inline(always)]
503    pub fn variant(&self) -> EIDR13_A {
504        match self.bits {
505            false => EIDR13_A::_0,
506            true => EIDR13_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 == EIDR13_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 == EIDR13_A::_1
518    }
519}
520#[doc = "Field `EIDR14` reader - Port Event Input Data"]
521pub type EIDR14_R = crate::BitReader<EIDR14_A>;
522#[doc = "Port Event Input Data\n\nValue on reset: 0"]
523#[derive(Clone, Copy, Debug, PartialEq, Eq)]
524pub enum EIDR14_A {
525    #[doc = "0: Low input"]
526    _0 = 0,
527    #[doc = "1: High input"]
528    _1 = 1,
529}
530impl From<EIDR14_A> for bool {
531    #[inline(always)]
532    fn from(variant: EIDR14_A) -> Self {
533        variant as u8 != 0
534    }
535}
536impl EIDR14_R {
537    #[doc = "Get enumerated values variant"]
538    #[inline(always)]
539    pub fn variant(&self) -> EIDR14_A {
540        match self.bits {
541            false => EIDR14_A::_0,
542            true => EIDR14_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 == EIDR14_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 == EIDR14_A::_1
554    }
555}
556#[doc = "Field `EIDR15` reader - Port Event Input Data"]
557pub type EIDR15_R = crate::BitReader<EIDR15_A>;
558#[doc = "Port Event Input Data\n\nValue on reset: 0"]
559#[derive(Clone, Copy, Debug, PartialEq, Eq)]
560pub enum EIDR15_A {
561    #[doc = "0: Low input"]
562    _0 = 0,
563    #[doc = "1: High input"]
564    _1 = 1,
565}
566impl From<EIDR15_A> for bool {
567    #[inline(always)]
568    fn from(variant: EIDR15_A) -> Self {
569        variant as u8 != 0
570    }
571}
572impl EIDR15_R {
573    #[doc = "Get enumerated values variant"]
574    #[inline(always)]
575    pub fn variant(&self) -> EIDR15_A {
576        match self.bits {
577            false => EIDR15_A::_0,
578            true => EIDR15_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 == EIDR15_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 == EIDR15_A::_1
590    }
591}
592impl R {
593    #[doc = "Bit 0 - Port Event Input Data"]
594    #[inline(always)]
595    pub fn eidr00(&self) -> EIDR00_R {
596        EIDR00_R::new((self.bits & 1) != 0)
597    }
598    #[doc = "Bit 1 - Port Event Input Data"]
599    #[inline(always)]
600    pub fn eidr01(&self) -> EIDR01_R {
601        EIDR01_R::new(((self.bits >> 1) & 1) != 0)
602    }
603    #[doc = "Bit 2 - Port Event Input Data"]
604    #[inline(always)]
605    pub fn eidr02(&self) -> EIDR02_R {
606        EIDR02_R::new(((self.bits >> 2) & 1) != 0)
607    }
608    #[doc = "Bit 3 - Port Event Input Data"]
609    #[inline(always)]
610    pub fn eidr03(&self) -> EIDR03_R {
611        EIDR03_R::new(((self.bits >> 3) & 1) != 0)
612    }
613    #[doc = "Bit 4 - Port Event Input Data"]
614    #[inline(always)]
615    pub fn eidr04(&self) -> EIDR04_R {
616        EIDR04_R::new(((self.bits >> 4) & 1) != 0)
617    }
618    #[doc = "Bit 5 - Port Event Input Data"]
619    #[inline(always)]
620    pub fn eidr05(&self) -> EIDR05_R {
621        EIDR05_R::new(((self.bits >> 5) & 1) != 0)
622    }
623    #[doc = "Bit 6 - Port Event Input Data"]
624    #[inline(always)]
625    pub fn eidr06(&self) -> EIDR06_R {
626        EIDR06_R::new(((self.bits >> 6) & 1) != 0)
627    }
628    #[doc = "Bit 7 - Port Event Input Data"]
629    #[inline(always)]
630    pub fn eidr07(&self) -> EIDR07_R {
631        EIDR07_R::new(((self.bits >> 7) & 1) != 0)
632    }
633    #[doc = "Bit 8 - Port Event Input Data"]
634    #[inline(always)]
635    pub fn eidr08(&self) -> EIDR08_R {
636        EIDR08_R::new(((self.bits >> 8) & 1) != 0)
637    }
638    #[doc = "Bit 9 - Port Event Input Data"]
639    #[inline(always)]
640    pub fn eidr09(&self) -> EIDR09_R {
641        EIDR09_R::new(((self.bits >> 9) & 1) != 0)
642    }
643    #[doc = "Bit 10 - Port Event Input Data"]
644    #[inline(always)]
645    pub fn eidr10(&self) -> EIDR10_R {
646        EIDR10_R::new(((self.bits >> 10) & 1) != 0)
647    }
648    #[doc = "Bit 11 - Port Event Input Data"]
649    #[inline(always)]
650    pub fn eidr11(&self) -> EIDR11_R {
651        EIDR11_R::new(((self.bits >> 11) & 1) != 0)
652    }
653    #[doc = "Bit 12 - Port Event Input Data"]
654    #[inline(always)]
655    pub fn eidr12(&self) -> EIDR12_R {
656        EIDR12_R::new(((self.bits >> 12) & 1) != 0)
657    }
658    #[doc = "Bit 13 - Port Event Input Data"]
659    #[inline(always)]
660    pub fn eidr13(&self) -> EIDR13_R {
661        EIDR13_R::new(((self.bits >> 13) & 1) != 0)
662    }
663    #[doc = "Bit 14 - Port Event Input Data"]
664    #[inline(always)]
665    pub fn eidr14(&self) -> EIDR14_R {
666        EIDR14_R::new(((self.bits >> 14) & 1) != 0)
667    }
668    #[doc = "Bit 15 - Port Event Input Data"]
669    #[inline(always)]
670    pub fn eidr15(&self) -> EIDR15_R {
671        EIDR15_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 [eidr](index.html) module"]
675pub struct EIDR_SPEC;
676impl crate::RegisterSpec for EIDR_SPEC {
677    type Ux = u16;
678}
679#[doc = "`read()` method returns [eidr::R](R) reader structure"]
680impl crate::Readable for EIDR_SPEC {
681    type Reader = R;
682}
683#[doc = "`reset()` method sets EIDR to value 0"]
684impl crate::Resettable for EIDR_SPEC {
685    const RESET_VALUE: Self::Ux = 0;
686}