mk66f18/can0/
imask1.rs

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