atsamd51g/sdhc0/
eisier.rs

1#[doc = "Register `EISIER` reader"]
2pub type R = crate::R<EisierSpec>;
3#[doc = "Register `EISIER` writer"]
4pub type W = crate::W<EisierSpec>;
5#[doc = "Command Timeout Error Signal Enable\n\nValue on reset: 0"]
6#[derive(Clone, Copy, Debug, PartialEq, Eq)]
7pub enum Cmdteoselect {
8    #[doc = "0: Masked"]
9    Masked = 0,
10    #[doc = "1: Enabled"]
11    Enabled = 1,
12}
13impl From<Cmdteoselect> for bool {
14    #[inline(always)]
15    fn from(variant: Cmdteoselect) -> Self {
16        variant as u8 != 0
17    }
18}
19#[doc = "Field `CMDTEO` reader - Command Timeout Error Signal Enable"]
20pub type CmdteoR = crate::BitReader<Cmdteoselect>;
21impl CmdteoR {
22    #[doc = "Get enumerated values variant"]
23    #[inline(always)]
24    pub const fn variant(&self) -> Cmdteoselect {
25        match self.bits {
26            false => Cmdteoselect::Masked,
27            true => Cmdteoselect::Enabled,
28        }
29    }
30    #[doc = "Masked"]
31    #[inline(always)]
32    pub fn is_masked(&self) -> bool {
33        *self == Cmdteoselect::Masked
34    }
35    #[doc = "Enabled"]
36    #[inline(always)]
37    pub fn is_enabled(&self) -> bool {
38        *self == Cmdteoselect::Enabled
39    }
40}
41#[doc = "Field `CMDTEO` writer - Command Timeout Error Signal Enable"]
42pub type CmdteoW<'a, REG> = crate::BitWriter<'a, REG, Cmdteoselect>;
43impl<'a, REG> CmdteoW<'a, REG>
44where
45    REG: crate::Writable + crate::RegisterSpec,
46{
47    #[doc = "Masked"]
48    #[inline(always)]
49    pub fn masked(self) -> &'a mut crate::W<REG> {
50        self.variant(Cmdteoselect::Masked)
51    }
52    #[doc = "Enabled"]
53    #[inline(always)]
54    pub fn enabled(self) -> &'a mut crate::W<REG> {
55        self.variant(Cmdteoselect::Enabled)
56    }
57}
58#[doc = "Command CRC Error Signal Enable\n\nValue on reset: 0"]
59#[derive(Clone, Copy, Debug, PartialEq, Eq)]
60pub enum Cmdcrcselect {
61    #[doc = "0: Masked"]
62    Masked = 0,
63    #[doc = "1: Enabled"]
64    Enabled = 1,
65}
66impl From<Cmdcrcselect> for bool {
67    #[inline(always)]
68    fn from(variant: Cmdcrcselect) -> Self {
69        variant as u8 != 0
70    }
71}
72#[doc = "Field `CMDCRC` reader - Command CRC Error Signal Enable"]
73pub type CmdcrcR = crate::BitReader<Cmdcrcselect>;
74impl CmdcrcR {
75    #[doc = "Get enumerated values variant"]
76    #[inline(always)]
77    pub const fn variant(&self) -> Cmdcrcselect {
78        match self.bits {
79            false => Cmdcrcselect::Masked,
80            true => Cmdcrcselect::Enabled,
81        }
82    }
83    #[doc = "Masked"]
84    #[inline(always)]
85    pub fn is_masked(&self) -> bool {
86        *self == Cmdcrcselect::Masked
87    }
88    #[doc = "Enabled"]
89    #[inline(always)]
90    pub fn is_enabled(&self) -> bool {
91        *self == Cmdcrcselect::Enabled
92    }
93}
94#[doc = "Field `CMDCRC` writer - Command CRC Error Signal Enable"]
95pub type CmdcrcW<'a, REG> = crate::BitWriter<'a, REG, Cmdcrcselect>;
96impl<'a, REG> CmdcrcW<'a, REG>
97where
98    REG: crate::Writable + crate::RegisterSpec,
99{
100    #[doc = "Masked"]
101    #[inline(always)]
102    pub fn masked(self) -> &'a mut crate::W<REG> {
103        self.variant(Cmdcrcselect::Masked)
104    }
105    #[doc = "Enabled"]
106    #[inline(always)]
107    pub fn enabled(self) -> &'a mut crate::W<REG> {
108        self.variant(Cmdcrcselect::Enabled)
109    }
110}
111#[doc = "Command End Bit Error Signal Enable\n\nValue on reset: 0"]
112#[derive(Clone, Copy, Debug, PartialEq, Eq)]
113pub enum Cmdendselect {
114    #[doc = "0: Masked"]
115    Masked = 0,
116    #[doc = "1: Enabled"]
117    Enabled = 1,
118}
119impl From<Cmdendselect> for bool {
120    #[inline(always)]
121    fn from(variant: Cmdendselect) -> Self {
122        variant as u8 != 0
123    }
124}
125#[doc = "Field `CMDEND` reader - Command End Bit Error Signal Enable"]
126pub type CmdendR = crate::BitReader<Cmdendselect>;
127impl CmdendR {
128    #[doc = "Get enumerated values variant"]
129    #[inline(always)]
130    pub const fn variant(&self) -> Cmdendselect {
131        match self.bits {
132            false => Cmdendselect::Masked,
133            true => Cmdendselect::Enabled,
134        }
135    }
136    #[doc = "Masked"]
137    #[inline(always)]
138    pub fn is_masked(&self) -> bool {
139        *self == Cmdendselect::Masked
140    }
141    #[doc = "Enabled"]
142    #[inline(always)]
143    pub fn is_enabled(&self) -> bool {
144        *self == Cmdendselect::Enabled
145    }
146}
147#[doc = "Field `CMDEND` writer - Command End Bit Error Signal Enable"]
148pub type CmdendW<'a, REG> = crate::BitWriter<'a, REG, Cmdendselect>;
149impl<'a, REG> CmdendW<'a, REG>
150where
151    REG: crate::Writable + crate::RegisterSpec,
152{
153    #[doc = "Masked"]
154    #[inline(always)]
155    pub fn masked(self) -> &'a mut crate::W<REG> {
156        self.variant(Cmdendselect::Masked)
157    }
158    #[doc = "Enabled"]
159    #[inline(always)]
160    pub fn enabled(self) -> &'a mut crate::W<REG> {
161        self.variant(Cmdendselect::Enabled)
162    }
163}
164#[doc = "Command Index Error Signal Enable\n\nValue on reset: 0"]
165#[derive(Clone, Copy, Debug, PartialEq, Eq)]
166pub enum Cmdidxselect {
167    #[doc = "0: Masked"]
168    Masked = 0,
169    #[doc = "1: Enabled"]
170    Enabled = 1,
171}
172impl From<Cmdidxselect> for bool {
173    #[inline(always)]
174    fn from(variant: Cmdidxselect) -> Self {
175        variant as u8 != 0
176    }
177}
178#[doc = "Field `CMDIDX` reader - Command Index Error Signal Enable"]
179pub type CmdidxR = crate::BitReader<Cmdidxselect>;
180impl CmdidxR {
181    #[doc = "Get enumerated values variant"]
182    #[inline(always)]
183    pub const fn variant(&self) -> Cmdidxselect {
184        match self.bits {
185            false => Cmdidxselect::Masked,
186            true => Cmdidxselect::Enabled,
187        }
188    }
189    #[doc = "Masked"]
190    #[inline(always)]
191    pub fn is_masked(&self) -> bool {
192        *self == Cmdidxselect::Masked
193    }
194    #[doc = "Enabled"]
195    #[inline(always)]
196    pub fn is_enabled(&self) -> bool {
197        *self == Cmdidxselect::Enabled
198    }
199}
200#[doc = "Field `CMDIDX` writer - Command Index Error Signal Enable"]
201pub type CmdidxW<'a, REG> = crate::BitWriter<'a, REG, Cmdidxselect>;
202impl<'a, REG> CmdidxW<'a, REG>
203where
204    REG: crate::Writable + crate::RegisterSpec,
205{
206    #[doc = "Masked"]
207    #[inline(always)]
208    pub fn masked(self) -> &'a mut crate::W<REG> {
209        self.variant(Cmdidxselect::Masked)
210    }
211    #[doc = "Enabled"]
212    #[inline(always)]
213    pub fn enabled(self) -> &'a mut crate::W<REG> {
214        self.variant(Cmdidxselect::Enabled)
215    }
216}
217#[doc = "Data Timeout Error Signal Enable\n\nValue on reset: 0"]
218#[derive(Clone, Copy, Debug, PartialEq, Eq)]
219pub enum Datteoselect {
220    #[doc = "0: Masked"]
221    Masked = 0,
222    #[doc = "1: Enabled"]
223    Enabled = 1,
224}
225impl From<Datteoselect> for bool {
226    #[inline(always)]
227    fn from(variant: Datteoselect) -> Self {
228        variant as u8 != 0
229    }
230}
231#[doc = "Field `DATTEO` reader - Data Timeout Error Signal Enable"]
232pub type DatteoR = crate::BitReader<Datteoselect>;
233impl DatteoR {
234    #[doc = "Get enumerated values variant"]
235    #[inline(always)]
236    pub const fn variant(&self) -> Datteoselect {
237        match self.bits {
238            false => Datteoselect::Masked,
239            true => Datteoselect::Enabled,
240        }
241    }
242    #[doc = "Masked"]
243    #[inline(always)]
244    pub fn is_masked(&self) -> bool {
245        *self == Datteoselect::Masked
246    }
247    #[doc = "Enabled"]
248    #[inline(always)]
249    pub fn is_enabled(&self) -> bool {
250        *self == Datteoselect::Enabled
251    }
252}
253#[doc = "Field `DATTEO` writer - Data Timeout Error Signal Enable"]
254pub type DatteoW<'a, REG> = crate::BitWriter<'a, REG, Datteoselect>;
255impl<'a, REG> DatteoW<'a, REG>
256where
257    REG: crate::Writable + crate::RegisterSpec,
258{
259    #[doc = "Masked"]
260    #[inline(always)]
261    pub fn masked(self) -> &'a mut crate::W<REG> {
262        self.variant(Datteoselect::Masked)
263    }
264    #[doc = "Enabled"]
265    #[inline(always)]
266    pub fn enabled(self) -> &'a mut crate::W<REG> {
267        self.variant(Datteoselect::Enabled)
268    }
269}
270#[doc = "Data CRC Error Signal Enable\n\nValue on reset: 0"]
271#[derive(Clone, Copy, Debug, PartialEq, Eq)]
272pub enum Datcrcselect {
273    #[doc = "0: Masked"]
274    Masked = 0,
275    #[doc = "1: Enabled"]
276    Enabled = 1,
277}
278impl From<Datcrcselect> for bool {
279    #[inline(always)]
280    fn from(variant: Datcrcselect) -> Self {
281        variant as u8 != 0
282    }
283}
284#[doc = "Field `DATCRC` reader - Data CRC Error Signal Enable"]
285pub type DatcrcR = crate::BitReader<Datcrcselect>;
286impl DatcrcR {
287    #[doc = "Get enumerated values variant"]
288    #[inline(always)]
289    pub const fn variant(&self) -> Datcrcselect {
290        match self.bits {
291            false => Datcrcselect::Masked,
292            true => Datcrcselect::Enabled,
293        }
294    }
295    #[doc = "Masked"]
296    #[inline(always)]
297    pub fn is_masked(&self) -> bool {
298        *self == Datcrcselect::Masked
299    }
300    #[doc = "Enabled"]
301    #[inline(always)]
302    pub fn is_enabled(&self) -> bool {
303        *self == Datcrcselect::Enabled
304    }
305}
306#[doc = "Field `DATCRC` writer - Data CRC Error Signal Enable"]
307pub type DatcrcW<'a, REG> = crate::BitWriter<'a, REG, Datcrcselect>;
308impl<'a, REG> DatcrcW<'a, REG>
309where
310    REG: crate::Writable + crate::RegisterSpec,
311{
312    #[doc = "Masked"]
313    #[inline(always)]
314    pub fn masked(self) -> &'a mut crate::W<REG> {
315        self.variant(Datcrcselect::Masked)
316    }
317    #[doc = "Enabled"]
318    #[inline(always)]
319    pub fn enabled(self) -> &'a mut crate::W<REG> {
320        self.variant(Datcrcselect::Enabled)
321    }
322}
323#[doc = "Data End Bit Error Signal Enable\n\nValue on reset: 0"]
324#[derive(Clone, Copy, Debug, PartialEq, Eq)]
325pub enum Datendselect {
326    #[doc = "0: Masked"]
327    Masked = 0,
328    #[doc = "1: Enabled"]
329    Enabled = 1,
330}
331impl From<Datendselect> for bool {
332    #[inline(always)]
333    fn from(variant: Datendselect) -> Self {
334        variant as u8 != 0
335    }
336}
337#[doc = "Field `DATEND` reader - Data End Bit Error Signal Enable"]
338pub type DatendR = crate::BitReader<Datendselect>;
339impl DatendR {
340    #[doc = "Get enumerated values variant"]
341    #[inline(always)]
342    pub const fn variant(&self) -> Datendselect {
343        match self.bits {
344            false => Datendselect::Masked,
345            true => Datendselect::Enabled,
346        }
347    }
348    #[doc = "Masked"]
349    #[inline(always)]
350    pub fn is_masked(&self) -> bool {
351        *self == Datendselect::Masked
352    }
353    #[doc = "Enabled"]
354    #[inline(always)]
355    pub fn is_enabled(&self) -> bool {
356        *self == Datendselect::Enabled
357    }
358}
359#[doc = "Field `DATEND` writer - Data End Bit Error Signal Enable"]
360pub type DatendW<'a, REG> = crate::BitWriter<'a, REG, Datendselect>;
361impl<'a, REG> DatendW<'a, REG>
362where
363    REG: crate::Writable + crate::RegisterSpec,
364{
365    #[doc = "Masked"]
366    #[inline(always)]
367    pub fn masked(self) -> &'a mut crate::W<REG> {
368        self.variant(Datendselect::Masked)
369    }
370    #[doc = "Enabled"]
371    #[inline(always)]
372    pub fn enabled(self) -> &'a mut crate::W<REG> {
373        self.variant(Datendselect::Enabled)
374    }
375}
376#[doc = "Current Limit Error Signal Enable\n\nValue on reset: 0"]
377#[derive(Clone, Copy, Debug, PartialEq, Eq)]
378pub enum Curlimselect {
379    #[doc = "0: Masked"]
380    Masked = 0,
381    #[doc = "1: Enabled"]
382    Enabled = 1,
383}
384impl From<Curlimselect> for bool {
385    #[inline(always)]
386    fn from(variant: Curlimselect) -> Self {
387        variant as u8 != 0
388    }
389}
390#[doc = "Field `CURLIM` reader - Current Limit Error Signal Enable"]
391pub type CurlimR = crate::BitReader<Curlimselect>;
392impl CurlimR {
393    #[doc = "Get enumerated values variant"]
394    #[inline(always)]
395    pub const fn variant(&self) -> Curlimselect {
396        match self.bits {
397            false => Curlimselect::Masked,
398            true => Curlimselect::Enabled,
399        }
400    }
401    #[doc = "Masked"]
402    #[inline(always)]
403    pub fn is_masked(&self) -> bool {
404        *self == Curlimselect::Masked
405    }
406    #[doc = "Enabled"]
407    #[inline(always)]
408    pub fn is_enabled(&self) -> bool {
409        *self == Curlimselect::Enabled
410    }
411}
412#[doc = "Field `CURLIM` writer - Current Limit Error Signal Enable"]
413pub type CurlimW<'a, REG> = crate::BitWriter<'a, REG, Curlimselect>;
414impl<'a, REG> CurlimW<'a, REG>
415where
416    REG: crate::Writable + crate::RegisterSpec,
417{
418    #[doc = "Masked"]
419    #[inline(always)]
420    pub fn masked(self) -> &'a mut crate::W<REG> {
421        self.variant(Curlimselect::Masked)
422    }
423    #[doc = "Enabled"]
424    #[inline(always)]
425    pub fn enabled(self) -> &'a mut crate::W<REG> {
426        self.variant(Curlimselect::Enabled)
427    }
428}
429#[doc = "Auto CMD Error Signal Enable\n\nValue on reset: 0"]
430#[derive(Clone, Copy, Debug, PartialEq, Eq)]
431pub enum Acmdselect {
432    #[doc = "0: Masked"]
433    Masked = 0,
434    #[doc = "1: Enabled"]
435    Enabled = 1,
436}
437impl From<Acmdselect> for bool {
438    #[inline(always)]
439    fn from(variant: Acmdselect) -> Self {
440        variant as u8 != 0
441    }
442}
443#[doc = "Field `ACMD` reader - Auto CMD Error Signal Enable"]
444pub type AcmdR = crate::BitReader<Acmdselect>;
445impl AcmdR {
446    #[doc = "Get enumerated values variant"]
447    #[inline(always)]
448    pub const fn variant(&self) -> Acmdselect {
449        match self.bits {
450            false => Acmdselect::Masked,
451            true => Acmdselect::Enabled,
452        }
453    }
454    #[doc = "Masked"]
455    #[inline(always)]
456    pub fn is_masked(&self) -> bool {
457        *self == Acmdselect::Masked
458    }
459    #[doc = "Enabled"]
460    #[inline(always)]
461    pub fn is_enabled(&self) -> bool {
462        *self == Acmdselect::Enabled
463    }
464}
465#[doc = "Field `ACMD` writer - Auto CMD Error Signal Enable"]
466pub type AcmdW<'a, REG> = crate::BitWriter<'a, REG, Acmdselect>;
467impl<'a, REG> AcmdW<'a, REG>
468where
469    REG: crate::Writable + crate::RegisterSpec,
470{
471    #[doc = "Masked"]
472    #[inline(always)]
473    pub fn masked(self) -> &'a mut crate::W<REG> {
474        self.variant(Acmdselect::Masked)
475    }
476    #[doc = "Enabled"]
477    #[inline(always)]
478    pub fn enabled(self) -> &'a mut crate::W<REG> {
479        self.variant(Acmdselect::Enabled)
480    }
481}
482#[doc = "ADMA Error Signal Enable\n\nValue on reset: 0"]
483#[derive(Clone, Copy, Debug, PartialEq, Eq)]
484pub enum Admaselect {
485    #[doc = "0: Masked"]
486    Masked = 0,
487    #[doc = "1: Enabled"]
488    Enabled = 1,
489}
490impl From<Admaselect> for bool {
491    #[inline(always)]
492    fn from(variant: Admaselect) -> Self {
493        variant as u8 != 0
494    }
495}
496#[doc = "Field `ADMA` reader - ADMA Error Signal Enable"]
497pub type AdmaR = crate::BitReader<Admaselect>;
498impl AdmaR {
499    #[doc = "Get enumerated values variant"]
500    #[inline(always)]
501    pub const fn variant(&self) -> Admaselect {
502        match self.bits {
503            false => Admaselect::Masked,
504            true => Admaselect::Enabled,
505        }
506    }
507    #[doc = "Masked"]
508    #[inline(always)]
509    pub fn is_masked(&self) -> bool {
510        *self == Admaselect::Masked
511    }
512    #[doc = "Enabled"]
513    #[inline(always)]
514    pub fn is_enabled(&self) -> bool {
515        *self == Admaselect::Enabled
516    }
517}
518#[doc = "Field `ADMA` writer - ADMA Error Signal Enable"]
519pub type AdmaW<'a, REG> = crate::BitWriter<'a, REG, Admaselect>;
520impl<'a, REG> AdmaW<'a, REG>
521where
522    REG: crate::Writable + crate::RegisterSpec,
523{
524    #[doc = "Masked"]
525    #[inline(always)]
526    pub fn masked(self) -> &'a mut crate::W<REG> {
527        self.variant(Admaselect::Masked)
528    }
529    #[doc = "Enabled"]
530    #[inline(always)]
531    pub fn enabled(self) -> &'a mut crate::W<REG> {
532        self.variant(Admaselect::Enabled)
533    }
534}
535impl R {
536    #[doc = "Bit 0 - Command Timeout Error Signal Enable"]
537    #[inline(always)]
538    pub fn cmdteo(&self) -> CmdteoR {
539        CmdteoR::new((self.bits & 1) != 0)
540    }
541    #[doc = "Bit 1 - Command CRC Error Signal Enable"]
542    #[inline(always)]
543    pub fn cmdcrc(&self) -> CmdcrcR {
544        CmdcrcR::new(((self.bits >> 1) & 1) != 0)
545    }
546    #[doc = "Bit 2 - Command End Bit Error Signal Enable"]
547    #[inline(always)]
548    pub fn cmdend(&self) -> CmdendR {
549        CmdendR::new(((self.bits >> 2) & 1) != 0)
550    }
551    #[doc = "Bit 3 - Command Index Error Signal Enable"]
552    #[inline(always)]
553    pub fn cmdidx(&self) -> CmdidxR {
554        CmdidxR::new(((self.bits >> 3) & 1) != 0)
555    }
556    #[doc = "Bit 4 - Data Timeout Error Signal Enable"]
557    #[inline(always)]
558    pub fn datteo(&self) -> DatteoR {
559        DatteoR::new(((self.bits >> 4) & 1) != 0)
560    }
561    #[doc = "Bit 5 - Data CRC Error Signal Enable"]
562    #[inline(always)]
563    pub fn datcrc(&self) -> DatcrcR {
564        DatcrcR::new(((self.bits >> 5) & 1) != 0)
565    }
566    #[doc = "Bit 6 - Data End Bit Error Signal Enable"]
567    #[inline(always)]
568    pub fn datend(&self) -> DatendR {
569        DatendR::new(((self.bits >> 6) & 1) != 0)
570    }
571    #[doc = "Bit 7 - Current Limit Error Signal Enable"]
572    #[inline(always)]
573    pub fn curlim(&self) -> CurlimR {
574        CurlimR::new(((self.bits >> 7) & 1) != 0)
575    }
576    #[doc = "Bit 8 - Auto CMD Error Signal Enable"]
577    #[inline(always)]
578    pub fn acmd(&self) -> AcmdR {
579        AcmdR::new(((self.bits >> 8) & 1) != 0)
580    }
581    #[doc = "Bit 9 - ADMA Error Signal Enable"]
582    #[inline(always)]
583    pub fn adma(&self) -> AdmaR {
584        AdmaR::new(((self.bits >> 9) & 1) != 0)
585    }
586}
587impl W {
588    #[doc = "Bit 0 - Command Timeout Error Signal Enable"]
589    #[inline(always)]
590    #[must_use]
591    pub fn cmdteo(&mut self) -> CmdteoW<EisierSpec> {
592        CmdteoW::new(self, 0)
593    }
594    #[doc = "Bit 1 - Command CRC Error Signal Enable"]
595    #[inline(always)]
596    #[must_use]
597    pub fn cmdcrc(&mut self) -> CmdcrcW<EisierSpec> {
598        CmdcrcW::new(self, 1)
599    }
600    #[doc = "Bit 2 - Command End Bit Error Signal Enable"]
601    #[inline(always)]
602    #[must_use]
603    pub fn cmdend(&mut self) -> CmdendW<EisierSpec> {
604        CmdendW::new(self, 2)
605    }
606    #[doc = "Bit 3 - Command Index Error Signal Enable"]
607    #[inline(always)]
608    #[must_use]
609    pub fn cmdidx(&mut self) -> CmdidxW<EisierSpec> {
610        CmdidxW::new(self, 3)
611    }
612    #[doc = "Bit 4 - Data Timeout Error Signal Enable"]
613    #[inline(always)]
614    #[must_use]
615    pub fn datteo(&mut self) -> DatteoW<EisierSpec> {
616        DatteoW::new(self, 4)
617    }
618    #[doc = "Bit 5 - Data CRC Error Signal Enable"]
619    #[inline(always)]
620    #[must_use]
621    pub fn datcrc(&mut self) -> DatcrcW<EisierSpec> {
622        DatcrcW::new(self, 5)
623    }
624    #[doc = "Bit 6 - Data End Bit Error Signal Enable"]
625    #[inline(always)]
626    #[must_use]
627    pub fn datend(&mut self) -> DatendW<EisierSpec> {
628        DatendW::new(self, 6)
629    }
630    #[doc = "Bit 7 - Current Limit Error Signal Enable"]
631    #[inline(always)]
632    #[must_use]
633    pub fn curlim(&mut self) -> CurlimW<EisierSpec> {
634        CurlimW::new(self, 7)
635    }
636    #[doc = "Bit 8 - Auto CMD Error Signal Enable"]
637    #[inline(always)]
638    #[must_use]
639    pub fn acmd(&mut self) -> AcmdW<EisierSpec> {
640        AcmdW::new(self, 8)
641    }
642    #[doc = "Bit 9 - ADMA Error Signal Enable"]
643    #[inline(always)]
644    #[must_use]
645    pub fn adma(&mut self) -> AdmaW<EisierSpec> {
646        AdmaW::new(self, 9)
647    }
648}
649#[doc = "Error Interrupt Signal Enable\n\nYou can [`read`](crate::Reg::read) this register and get [`eisier::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`eisier::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
650pub struct EisierSpec;
651impl crate::RegisterSpec for EisierSpec {
652    type Ux = u16;
653}
654#[doc = "`read()` method returns [`eisier::R`](R) reader structure"]
655impl crate::Readable for EisierSpec {}
656#[doc = "`write(|w| ..)` method takes [`eisier::W`](W) writer structure"]
657impl crate::Writable for EisierSpec {
658    type Safety = crate::Unsafe;
659    const ZERO_TO_MODIFY_FIELDS_BITMAP: u16 = 0;
660    const ONE_TO_MODIFY_FIELDS_BITMAP: u16 = 0;
661}
662#[doc = "`reset()` method sets EISIER to value 0"]
663impl crate::Resettable for EisierSpec {
664    const RESET_VALUE: u16 = 0;
665}