ra6t2/adc_b/
adlimchsr0.rs

1#[doc = "Register `ADLIMCHSR0` reader"]
2pub struct R(crate::R<ADLIMCHSR0_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<ADLIMCHSR0_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<ADLIMCHSR0_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<ADLIMCHSR0_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "Field `LIMCHF0` reader - Analog Channel n: Limiter Clip Flag"]
17pub type LIMCHF0_R = crate::BitReader<LIMCHF0_A>;
18#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
19#[derive(Clone, Copy, Debug, PartialEq, Eq)]
20pub enum LIMCHF0_A {
21    #[doc = "0: Limiter clip is not detected"]
22    _0 = 0,
23    #[doc = "1: Limiter clip is detected"]
24    _1 = 1,
25}
26impl From<LIMCHF0_A> for bool {
27    #[inline(always)]
28    fn from(variant: LIMCHF0_A) -> Self {
29        variant as u8 != 0
30    }
31}
32impl LIMCHF0_R {
33    #[doc = "Get enumerated values variant"]
34    #[inline(always)]
35    pub fn variant(&self) -> LIMCHF0_A {
36        match self.bits {
37            false => LIMCHF0_A::_0,
38            true => LIMCHF0_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 == LIMCHF0_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 == LIMCHF0_A::_1
50    }
51}
52#[doc = "Field `LIMCHF1` reader - Analog Channel n: Limiter Clip Flag"]
53pub type LIMCHF1_R = crate::BitReader<LIMCHF1_A>;
54#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
55#[derive(Clone, Copy, Debug, PartialEq, Eq)]
56pub enum LIMCHF1_A {
57    #[doc = "0: Limiter clip is not detected"]
58    _0 = 0,
59    #[doc = "1: Limiter clip is detected"]
60    _1 = 1,
61}
62impl From<LIMCHF1_A> for bool {
63    #[inline(always)]
64    fn from(variant: LIMCHF1_A) -> Self {
65        variant as u8 != 0
66    }
67}
68impl LIMCHF1_R {
69    #[doc = "Get enumerated values variant"]
70    #[inline(always)]
71    pub fn variant(&self) -> LIMCHF1_A {
72        match self.bits {
73            false => LIMCHF1_A::_0,
74            true => LIMCHF1_A::_1,
75        }
76    }
77    #[doc = "Checks if the value of the field is `_0`"]
78    #[inline(always)]
79    pub fn is_0(&self) -> bool {
80        *self == LIMCHF1_A::_0
81    }
82    #[doc = "Checks if the value of the field is `_1`"]
83    #[inline(always)]
84    pub fn is_1(&self) -> bool {
85        *self == LIMCHF1_A::_1
86    }
87}
88#[doc = "Field `LIMCHF2` reader - Analog Channel n: Limiter Clip Flag"]
89pub type LIMCHF2_R = crate::BitReader<LIMCHF2_A>;
90#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
91#[derive(Clone, Copy, Debug, PartialEq, Eq)]
92pub enum LIMCHF2_A {
93    #[doc = "0: Limiter clip is not detected"]
94    _0 = 0,
95    #[doc = "1: Limiter clip is detected"]
96    _1 = 1,
97}
98impl From<LIMCHF2_A> for bool {
99    #[inline(always)]
100    fn from(variant: LIMCHF2_A) -> Self {
101        variant as u8 != 0
102    }
103}
104impl LIMCHF2_R {
105    #[doc = "Get enumerated values variant"]
106    #[inline(always)]
107    pub fn variant(&self) -> LIMCHF2_A {
108        match self.bits {
109            false => LIMCHF2_A::_0,
110            true => LIMCHF2_A::_1,
111        }
112    }
113    #[doc = "Checks if the value of the field is `_0`"]
114    #[inline(always)]
115    pub fn is_0(&self) -> bool {
116        *self == LIMCHF2_A::_0
117    }
118    #[doc = "Checks if the value of the field is `_1`"]
119    #[inline(always)]
120    pub fn is_1(&self) -> bool {
121        *self == LIMCHF2_A::_1
122    }
123}
124#[doc = "Field `LIMCHF3` reader - Analog Channel n: Limiter Clip Flag"]
125pub type LIMCHF3_R = crate::BitReader<LIMCHF3_A>;
126#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
127#[derive(Clone, Copy, Debug, PartialEq, Eq)]
128pub enum LIMCHF3_A {
129    #[doc = "0: Limiter clip is not detected"]
130    _0 = 0,
131    #[doc = "1: Limiter clip is detected"]
132    _1 = 1,
133}
134impl From<LIMCHF3_A> for bool {
135    #[inline(always)]
136    fn from(variant: LIMCHF3_A) -> Self {
137        variant as u8 != 0
138    }
139}
140impl LIMCHF3_R {
141    #[doc = "Get enumerated values variant"]
142    #[inline(always)]
143    pub fn variant(&self) -> LIMCHF3_A {
144        match self.bits {
145            false => LIMCHF3_A::_0,
146            true => LIMCHF3_A::_1,
147        }
148    }
149    #[doc = "Checks if the value of the field is `_0`"]
150    #[inline(always)]
151    pub fn is_0(&self) -> bool {
152        *self == LIMCHF3_A::_0
153    }
154    #[doc = "Checks if the value of the field is `_1`"]
155    #[inline(always)]
156    pub fn is_1(&self) -> bool {
157        *self == LIMCHF3_A::_1
158    }
159}
160#[doc = "Field `LIMCHF4` reader - Analog Channel n: Limiter Clip Flag"]
161pub type LIMCHF4_R = crate::BitReader<LIMCHF4_A>;
162#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
163#[derive(Clone, Copy, Debug, PartialEq, Eq)]
164pub enum LIMCHF4_A {
165    #[doc = "0: Limiter clip is not detected"]
166    _0 = 0,
167    #[doc = "1: Limiter clip is detected"]
168    _1 = 1,
169}
170impl From<LIMCHF4_A> for bool {
171    #[inline(always)]
172    fn from(variant: LIMCHF4_A) -> Self {
173        variant as u8 != 0
174    }
175}
176impl LIMCHF4_R {
177    #[doc = "Get enumerated values variant"]
178    #[inline(always)]
179    pub fn variant(&self) -> LIMCHF4_A {
180        match self.bits {
181            false => LIMCHF4_A::_0,
182            true => LIMCHF4_A::_1,
183        }
184    }
185    #[doc = "Checks if the value of the field is `_0`"]
186    #[inline(always)]
187    pub fn is_0(&self) -> bool {
188        *self == LIMCHF4_A::_0
189    }
190    #[doc = "Checks if the value of the field is `_1`"]
191    #[inline(always)]
192    pub fn is_1(&self) -> bool {
193        *self == LIMCHF4_A::_1
194    }
195}
196#[doc = "Field `LIMCHF5` reader - Analog Channel n: Limiter Clip Flag"]
197pub type LIMCHF5_R = crate::BitReader<LIMCHF5_A>;
198#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
199#[derive(Clone, Copy, Debug, PartialEq, Eq)]
200pub enum LIMCHF5_A {
201    #[doc = "0: Limiter clip is not detected"]
202    _0 = 0,
203    #[doc = "1: Limiter clip is detected"]
204    _1 = 1,
205}
206impl From<LIMCHF5_A> for bool {
207    #[inline(always)]
208    fn from(variant: LIMCHF5_A) -> Self {
209        variant as u8 != 0
210    }
211}
212impl LIMCHF5_R {
213    #[doc = "Get enumerated values variant"]
214    #[inline(always)]
215    pub fn variant(&self) -> LIMCHF5_A {
216        match self.bits {
217            false => LIMCHF5_A::_0,
218            true => LIMCHF5_A::_1,
219        }
220    }
221    #[doc = "Checks if the value of the field is `_0`"]
222    #[inline(always)]
223    pub fn is_0(&self) -> bool {
224        *self == LIMCHF5_A::_0
225    }
226    #[doc = "Checks if the value of the field is `_1`"]
227    #[inline(always)]
228    pub fn is_1(&self) -> bool {
229        *self == LIMCHF5_A::_1
230    }
231}
232#[doc = "Field `LIMCHF6` reader - Analog Channel n: Limiter Clip Flag"]
233pub type LIMCHF6_R = crate::BitReader<LIMCHF6_A>;
234#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
235#[derive(Clone, Copy, Debug, PartialEq, Eq)]
236pub enum LIMCHF6_A {
237    #[doc = "0: Limiter clip is not detected"]
238    _0 = 0,
239    #[doc = "1: Limiter clip is detected"]
240    _1 = 1,
241}
242impl From<LIMCHF6_A> for bool {
243    #[inline(always)]
244    fn from(variant: LIMCHF6_A) -> Self {
245        variant as u8 != 0
246    }
247}
248impl LIMCHF6_R {
249    #[doc = "Get enumerated values variant"]
250    #[inline(always)]
251    pub fn variant(&self) -> LIMCHF6_A {
252        match self.bits {
253            false => LIMCHF6_A::_0,
254            true => LIMCHF6_A::_1,
255        }
256    }
257    #[doc = "Checks if the value of the field is `_0`"]
258    #[inline(always)]
259    pub fn is_0(&self) -> bool {
260        *self == LIMCHF6_A::_0
261    }
262    #[doc = "Checks if the value of the field is `_1`"]
263    #[inline(always)]
264    pub fn is_1(&self) -> bool {
265        *self == LIMCHF6_A::_1
266    }
267}
268#[doc = "Field `LIMCHF7` reader - Analog Channel n: Limiter Clip Flag"]
269pub type LIMCHF7_R = crate::BitReader<LIMCHF7_A>;
270#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
271#[derive(Clone, Copy, Debug, PartialEq, Eq)]
272pub enum LIMCHF7_A {
273    #[doc = "0: Limiter clip is not detected"]
274    _0 = 0,
275    #[doc = "1: Limiter clip is detected"]
276    _1 = 1,
277}
278impl From<LIMCHF7_A> for bool {
279    #[inline(always)]
280    fn from(variant: LIMCHF7_A) -> Self {
281        variant as u8 != 0
282    }
283}
284impl LIMCHF7_R {
285    #[doc = "Get enumerated values variant"]
286    #[inline(always)]
287    pub fn variant(&self) -> LIMCHF7_A {
288        match self.bits {
289            false => LIMCHF7_A::_0,
290            true => LIMCHF7_A::_1,
291        }
292    }
293    #[doc = "Checks if the value of the field is `_0`"]
294    #[inline(always)]
295    pub fn is_0(&self) -> bool {
296        *self == LIMCHF7_A::_0
297    }
298    #[doc = "Checks if the value of the field is `_1`"]
299    #[inline(always)]
300    pub fn is_1(&self) -> bool {
301        *self == LIMCHF7_A::_1
302    }
303}
304#[doc = "Field `LIMCHF8` reader - Analog Channel n: Limiter Clip Flag"]
305pub type LIMCHF8_R = crate::BitReader<LIMCHF8_A>;
306#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
307#[derive(Clone, Copy, Debug, PartialEq, Eq)]
308pub enum LIMCHF8_A {
309    #[doc = "0: Limiter clip is not detected"]
310    _0 = 0,
311    #[doc = "1: Limiter clip is detected"]
312    _1 = 1,
313}
314impl From<LIMCHF8_A> for bool {
315    #[inline(always)]
316    fn from(variant: LIMCHF8_A) -> Self {
317        variant as u8 != 0
318    }
319}
320impl LIMCHF8_R {
321    #[doc = "Get enumerated values variant"]
322    #[inline(always)]
323    pub fn variant(&self) -> LIMCHF8_A {
324        match self.bits {
325            false => LIMCHF8_A::_0,
326            true => LIMCHF8_A::_1,
327        }
328    }
329    #[doc = "Checks if the value of the field is `_0`"]
330    #[inline(always)]
331    pub fn is_0(&self) -> bool {
332        *self == LIMCHF8_A::_0
333    }
334    #[doc = "Checks if the value of the field is `_1`"]
335    #[inline(always)]
336    pub fn is_1(&self) -> bool {
337        *self == LIMCHF8_A::_1
338    }
339}
340#[doc = "Field `LIMCHF9` reader - Analog Channel n: Limiter Clip Flag"]
341pub type LIMCHF9_R = crate::BitReader<LIMCHF9_A>;
342#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
343#[derive(Clone, Copy, Debug, PartialEq, Eq)]
344pub enum LIMCHF9_A {
345    #[doc = "0: Limiter clip is not detected"]
346    _0 = 0,
347    #[doc = "1: Limiter clip is detected"]
348    _1 = 1,
349}
350impl From<LIMCHF9_A> for bool {
351    #[inline(always)]
352    fn from(variant: LIMCHF9_A) -> Self {
353        variant as u8 != 0
354    }
355}
356impl LIMCHF9_R {
357    #[doc = "Get enumerated values variant"]
358    #[inline(always)]
359    pub fn variant(&self) -> LIMCHF9_A {
360        match self.bits {
361            false => LIMCHF9_A::_0,
362            true => LIMCHF9_A::_1,
363        }
364    }
365    #[doc = "Checks if the value of the field is `_0`"]
366    #[inline(always)]
367    pub fn is_0(&self) -> bool {
368        *self == LIMCHF9_A::_0
369    }
370    #[doc = "Checks if the value of the field is `_1`"]
371    #[inline(always)]
372    pub fn is_1(&self) -> bool {
373        *self == LIMCHF9_A::_1
374    }
375}
376#[doc = "Field `LIMCHF10` reader - Analog Channel n: Limiter Clip Flag"]
377pub type LIMCHF10_R = crate::BitReader<LIMCHF10_A>;
378#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
379#[derive(Clone, Copy, Debug, PartialEq, Eq)]
380pub enum LIMCHF10_A {
381    #[doc = "0: Limiter clip is not detected"]
382    _0 = 0,
383    #[doc = "1: Limiter clip is detected"]
384    _1 = 1,
385}
386impl From<LIMCHF10_A> for bool {
387    #[inline(always)]
388    fn from(variant: LIMCHF10_A) -> Self {
389        variant as u8 != 0
390    }
391}
392impl LIMCHF10_R {
393    #[doc = "Get enumerated values variant"]
394    #[inline(always)]
395    pub fn variant(&self) -> LIMCHF10_A {
396        match self.bits {
397            false => LIMCHF10_A::_0,
398            true => LIMCHF10_A::_1,
399        }
400    }
401    #[doc = "Checks if the value of the field is `_0`"]
402    #[inline(always)]
403    pub fn is_0(&self) -> bool {
404        *self == LIMCHF10_A::_0
405    }
406    #[doc = "Checks if the value of the field is `_1`"]
407    #[inline(always)]
408    pub fn is_1(&self) -> bool {
409        *self == LIMCHF10_A::_1
410    }
411}
412#[doc = "Field `LIMCHF11` reader - Analog Channel n: Limiter Clip Flag"]
413pub type LIMCHF11_R = crate::BitReader<LIMCHF11_A>;
414#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
415#[derive(Clone, Copy, Debug, PartialEq, Eq)]
416pub enum LIMCHF11_A {
417    #[doc = "0: Limiter clip is not detected"]
418    _0 = 0,
419    #[doc = "1: Limiter clip is detected"]
420    _1 = 1,
421}
422impl From<LIMCHF11_A> for bool {
423    #[inline(always)]
424    fn from(variant: LIMCHF11_A) -> Self {
425        variant as u8 != 0
426    }
427}
428impl LIMCHF11_R {
429    #[doc = "Get enumerated values variant"]
430    #[inline(always)]
431    pub fn variant(&self) -> LIMCHF11_A {
432        match self.bits {
433            false => LIMCHF11_A::_0,
434            true => LIMCHF11_A::_1,
435        }
436    }
437    #[doc = "Checks if the value of the field is `_0`"]
438    #[inline(always)]
439    pub fn is_0(&self) -> bool {
440        *self == LIMCHF11_A::_0
441    }
442    #[doc = "Checks if the value of the field is `_1`"]
443    #[inline(always)]
444    pub fn is_1(&self) -> bool {
445        *self == LIMCHF11_A::_1
446    }
447}
448#[doc = "Field `LIMCHF12` reader - Analog Channel n: Limiter Clip Flag"]
449pub type LIMCHF12_R = crate::BitReader<LIMCHF12_A>;
450#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
451#[derive(Clone, Copy, Debug, PartialEq, Eq)]
452pub enum LIMCHF12_A {
453    #[doc = "0: Limiter clip is not detected"]
454    _0 = 0,
455    #[doc = "1: Limiter clip is detected"]
456    _1 = 1,
457}
458impl From<LIMCHF12_A> for bool {
459    #[inline(always)]
460    fn from(variant: LIMCHF12_A) -> Self {
461        variant as u8 != 0
462    }
463}
464impl LIMCHF12_R {
465    #[doc = "Get enumerated values variant"]
466    #[inline(always)]
467    pub fn variant(&self) -> LIMCHF12_A {
468        match self.bits {
469            false => LIMCHF12_A::_0,
470            true => LIMCHF12_A::_1,
471        }
472    }
473    #[doc = "Checks if the value of the field is `_0`"]
474    #[inline(always)]
475    pub fn is_0(&self) -> bool {
476        *self == LIMCHF12_A::_0
477    }
478    #[doc = "Checks if the value of the field is `_1`"]
479    #[inline(always)]
480    pub fn is_1(&self) -> bool {
481        *self == LIMCHF12_A::_1
482    }
483}
484#[doc = "Field `LIMCHF13` reader - Analog Channel n: Limiter Clip Flag"]
485pub type LIMCHF13_R = crate::BitReader<LIMCHF13_A>;
486#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
487#[derive(Clone, Copy, Debug, PartialEq, Eq)]
488pub enum LIMCHF13_A {
489    #[doc = "0: Limiter clip is not detected"]
490    _0 = 0,
491    #[doc = "1: Limiter clip is detected"]
492    _1 = 1,
493}
494impl From<LIMCHF13_A> for bool {
495    #[inline(always)]
496    fn from(variant: LIMCHF13_A) -> Self {
497        variant as u8 != 0
498    }
499}
500impl LIMCHF13_R {
501    #[doc = "Get enumerated values variant"]
502    #[inline(always)]
503    pub fn variant(&self) -> LIMCHF13_A {
504        match self.bits {
505            false => LIMCHF13_A::_0,
506            true => LIMCHF13_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 == LIMCHF13_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 == LIMCHF13_A::_1
518    }
519}
520#[doc = "Field `LIMCHF14` reader - Analog Channel n: Limiter Clip Flag"]
521pub type LIMCHF14_R = crate::BitReader<LIMCHF14_A>;
522#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
523#[derive(Clone, Copy, Debug, PartialEq, Eq)]
524pub enum LIMCHF14_A {
525    #[doc = "0: Limiter clip is not detected"]
526    _0 = 0,
527    #[doc = "1: Limiter clip is detected"]
528    _1 = 1,
529}
530impl From<LIMCHF14_A> for bool {
531    #[inline(always)]
532    fn from(variant: LIMCHF14_A) -> Self {
533        variant as u8 != 0
534    }
535}
536impl LIMCHF14_R {
537    #[doc = "Get enumerated values variant"]
538    #[inline(always)]
539    pub fn variant(&self) -> LIMCHF14_A {
540        match self.bits {
541            false => LIMCHF14_A::_0,
542            true => LIMCHF14_A::_1,
543        }
544    }
545    #[doc = "Checks if the value of the field is `_0`"]
546    #[inline(always)]
547    pub fn is_0(&self) -> bool {
548        *self == LIMCHF14_A::_0
549    }
550    #[doc = "Checks if the value of the field is `_1`"]
551    #[inline(always)]
552    pub fn is_1(&self) -> bool {
553        *self == LIMCHF14_A::_1
554    }
555}
556#[doc = "Field `LIMCHF15` reader - Analog Channel n: Limiter Clip Flag"]
557pub type LIMCHF15_R = crate::BitReader<LIMCHF15_A>;
558#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
559#[derive(Clone, Copy, Debug, PartialEq, Eq)]
560pub enum LIMCHF15_A {
561    #[doc = "0: Limiter clip is not detected"]
562    _0 = 0,
563    #[doc = "1: Limiter clip is detected"]
564    _1 = 1,
565}
566impl From<LIMCHF15_A> for bool {
567    #[inline(always)]
568    fn from(variant: LIMCHF15_A) -> Self {
569        variant as u8 != 0
570    }
571}
572impl LIMCHF15_R {
573    #[doc = "Get enumerated values variant"]
574    #[inline(always)]
575    pub fn variant(&self) -> LIMCHF15_A {
576        match self.bits {
577            false => LIMCHF15_A::_0,
578            true => LIMCHF15_A::_1,
579        }
580    }
581    #[doc = "Checks if the value of the field is `_0`"]
582    #[inline(always)]
583    pub fn is_0(&self) -> bool {
584        *self == LIMCHF15_A::_0
585    }
586    #[doc = "Checks if the value of the field is `_1`"]
587    #[inline(always)]
588    pub fn is_1(&self) -> bool {
589        *self == LIMCHF15_A::_1
590    }
591}
592#[doc = "Field `LIMCHF16` reader - Analog Channel n: Limiter Clip Flag"]
593pub type LIMCHF16_R = crate::BitReader<LIMCHF16_A>;
594#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
595#[derive(Clone, Copy, Debug, PartialEq, Eq)]
596pub enum LIMCHF16_A {
597    #[doc = "0: Limiter clip is not detected"]
598    _0 = 0,
599    #[doc = "1: Limiter clip is detected"]
600    _1 = 1,
601}
602impl From<LIMCHF16_A> for bool {
603    #[inline(always)]
604    fn from(variant: LIMCHF16_A) -> Self {
605        variant as u8 != 0
606    }
607}
608impl LIMCHF16_R {
609    #[doc = "Get enumerated values variant"]
610    #[inline(always)]
611    pub fn variant(&self) -> LIMCHF16_A {
612        match self.bits {
613            false => LIMCHF16_A::_0,
614            true => LIMCHF16_A::_1,
615        }
616    }
617    #[doc = "Checks if the value of the field is `_0`"]
618    #[inline(always)]
619    pub fn is_0(&self) -> bool {
620        *self == LIMCHF16_A::_0
621    }
622    #[doc = "Checks if the value of the field is `_1`"]
623    #[inline(always)]
624    pub fn is_1(&self) -> bool {
625        *self == LIMCHF16_A::_1
626    }
627}
628#[doc = "Field `LIMCHF17` reader - Analog Channel n: Limiter Clip Flag"]
629pub type LIMCHF17_R = crate::BitReader<LIMCHF17_A>;
630#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
631#[derive(Clone, Copy, Debug, PartialEq, Eq)]
632pub enum LIMCHF17_A {
633    #[doc = "0: Limiter clip is not detected"]
634    _0 = 0,
635    #[doc = "1: Limiter clip is detected"]
636    _1 = 1,
637}
638impl From<LIMCHF17_A> for bool {
639    #[inline(always)]
640    fn from(variant: LIMCHF17_A) -> Self {
641        variant as u8 != 0
642    }
643}
644impl LIMCHF17_R {
645    #[doc = "Get enumerated values variant"]
646    #[inline(always)]
647    pub fn variant(&self) -> LIMCHF17_A {
648        match self.bits {
649            false => LIMCHF17_A::_0,
650            true => LIMCHF17_A::_1,
651        }
652    }
653    #[doc = "Checks if the value of the field is `_0`"]
654    #[inline(always)]
655    pub fn is_0(&self) -> bool {
656        *self == LIMCHF17_A::_0
657    }
658    #[doc = "Checks if the value of the field is `_1`"]
659    #[inline(always)]
660    pub fn is_1(&self) -> bool {
661        *self == LIMCHF17_A::_1
662    }
663}
664#[doc = "Field `LIMCHF18` reader - Analog Channel n: Limiter Clip Flag"]
665pub type LIMCHF18_R = crate::BitReader<LIMCHF18_A>;
666#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
667#[derive(Clone, Copy, Debug, PartialEq, Eq)]
668pub enum LIMCHF18_A {
669    #[doc = "0: Limiter clip is not detected"]
670    _0 = 0,
671    #[doc = "1: Limiter clip is detected"]
672    _1 = 1,
673}
674impl From<LIMCHF18_A> for bool {
675    #[inline(always)]
676    fn from(variant: LIMCHF18_A) -> Self {
677        variant as u8 != 0
678    }
679}
680impl LIMCHF18_R {
681    #[doc = "Get enumerated values variant"]
682    #[inline(always)]
683    pub fn variant(&self) -> LIMCHF18_A {
684        match self.bits {
685            false => LIMCHF18_A::_0,
686            true => LIMCHF18_A::_1,
687        }
688    }
689    #[doc = "Checks if the value of the field is `_0`"]
690    #[inline(always)]
691    pub fn is_0(&self) -> bool {
692        *self == LIMCHF18_A::_0
693    }
694    #[doc = "Checks if the value of the field is `_1`"]
695    #[inline(always)]
696    pub fn is_1(&self) -> bool {
697        *self == LIMCHF18_A::_1
698    }
699}
700#[doc = "Field `LIMCHF19` reader - Analog Channel n: Limiter Clip Flag"]
701pub type LIMCHF19_R = crate::BitReader<LIMCHF19_A>;
702#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
703#[derive(Clone, Copy, Debug, PartialEq, Eq)]
704pub enum LIMCHF19_A {
705    #[doc = "0: Limiter clip is not detected"]
706    _0 = 0,
707    #[doc = "1: Limiter clip is detected"]
708    _1 = 1,
709}
710impl From<LIMCHF19_A> for bool {
711    #[inline(always)]
712    fn from(variant: LIMCHF19_A) -> Self {
713        variant as u8 != 0
714    }
715}
716impl LIMCHF19_R {
717    #[doc = "Get enumerated values variant"]
718    #[inline(always)]
719    pub fn variant(&self) -> LIMCHF19_A {
720        match self.bits {
721            false => LIMCHF19_A::_0,
722            true => LIMCHF19_A::_1,
723        }
724    }
725    #[doc = "Checks if the value of the field is `_0`"]
726    #[inline(always)]
727    pub fn is_0(&self) -> bool {
728        *self == LIMCHF19_A::_0
729    }
730    #[doc = "Checks if the value of the field is `_1`"]
731    #[inline(always)]
732    pub fn is_1(&self) -> bool {
733        *self == LIMCHF19_A::_1
734    }
735}
736#[doc = "Field `LIMCHF20` reader - Analog Channel n: Limiter Clip Flag"]
737pub type LIMCHF20_R = crate::BitReader<LIMCHF20_A>;
738#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
739#[derive(Clone, Copy, Debug, PartialEq, Eq)]
740pub enum LIMCHF20_A {
741    #[doc = "0: Limiter clip is not detected"]
742    _0 = 0,
743    #[doc = "1: Limiter clip is detected"]
744    _1 = 1,
745}
746impl From<LIMCHF20_A> for bool {
747    #[inline(always)]
748    fn from(variant: LIMCHF20_A) -> Self {
749        variant as u8 != 0
750    }
751}
752impl LIMCHF20_R {
753    #[doc = "Get enumerated values variant"]
754    #[inline(always)]
755    pub fn variant(&self) -> LIMCHF20_A {
756        match self.bits {
757            false => LIMCHF20_A::_0,
758            true => LIMCHF20_A::_1,
759        }
760    }
761    #[doc = "Checks if the value of the field is `_0`"]
762    #[inline(always)]
763    pub fn is_0(&self) -> bool {
764        *self == LIMCHF20_A::_0
765    }
766    #[doc = "Checks if the value of the field is `_1`"]
767    #[inline(always)]
768    pub fn is_1(&self) -> bool {
769        *self == LIMCHF20_A::_1
770    }
771}
772#[doc = "Field `LIMCHF21` reader - Analog Channel n: Limiter Clip Flag"]
773pub type LIMCHF21_R = crate::BitReader<LIMCHF21_A>;
774#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
775#[derive(Clone, Copy, Debug, PartialEq, Eq)]
776pub enum LIMCHF21_A {
777    #[doc = "0: Limiter clip is not detected"]
778    _0 = 0,
779    #[doc = "1: Limiter clip is detected"]
780    _1 = 1,
781}
782impl From<LIMCHF21_A> for bool {
783    #[inline(always)]
784    fn from(variant: LIMCHF21_A) -> Self {
785        variant as u8 != 0
786    }
787}
788impl LIMCHF21_R {
789    #[doc = "Get enumerated values variant"]
790    #[inline(always)]
791    pub fn variant(&self) -> LIMCHF21_A {
792        match self.bits {
793            false => LIMCHF21_A::_0,
794            true => LIMCHF21_A::_1,
795        }
796    }
797    #[doc = "Checks if the value of the field is `_0`"]
798    #[inline(always)]
799    pub fn is_0(&self) -> bool {
800        *self == LIMCHF21_A::_0
801    }
802    #[doc = "Checks if the value of the field is `_1`"]
803    #[inline(always)]
804    pub fn is_1(&self) -> bool {
805        *self == LIMCHF21_A::_1
806    }
807}
808#[doc = "Field `LIMCHF22` reader - Analog Channel n: Limiter Clip Flag"]
809pub type LIMCHF22_R = crate::BitReader<LIMCHF22_A>;
810#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
811#[derive(Clone, Copy, Debug, PartialEq, Eq)]
812pub enum LIMCHF22_A {
813    #[doc = "0: Limiter clip is not detected"]
814    _0 = 0,
815    #[doc = "1: Limiter clip is detected"]
816    _1 = 1,
817}
818impl From<LIMCHF22_A> for bool {
819    #[inline(always)]
820    fn from(variant: LIMCHF22_A) -> Self {
821        variant as u8 != 0
822    }
823}
824impl LIMCHF22_R {
825    #[doc = "Get enumerated values variant"]
826    #[inline(always)]
827    pub fn variant(&self) -> LIMCHF22_A {
828        match self.bits {
829            false => LIMCHF22_A::_0,
830            true => LIMCHF22_A::_1,
831        }
832    }
833    #[doc = "Checks if the value of the field is `_0`"]
834    #[inline(always)]
835    pub fn is_0(&self) -> bool {
836        *self == LIMCHF22_A::_0
837    }
838    #[doc = "Checks if the value of the field is `_1`"]
839    #[inline(always)]
840    pub fn is_1(&self) -> bool {
841        *self == LIMCHF22_A::_1
842    }
843}
844#[doc = "Field `LIMCHF23` reader - Analog Channel n: Limiter Clip Flag"]
845pub type LIMCHF23_R = crate::BitReader<LIMCHF23_A>;
846#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
847#[derive(Clone, Copy, Debug, PartialEq, Eq)]
848pub enum LIMCHF23_A {
849    #[doc = "0: Limiter clip is not detected"]
850    _0 = 0,
851    #[doc = "1: Limiter clip is detected"]
852    _1 = 1,
853}
854impl From<LIMCHF23_A> for bool {
855    #[inline(always)]
856    fn from(variant: LIMCHF23_A) -> Self {
857        variant as u8 != 0
858    }
859}
860impl LIMCHF23_R {
861    #[doc = "Get enumerated values variant"]
862    #[inline(always)]
863    pub fn variant(&self) -> LIMCHF23_A {
864        match self.bits {
865            false => LIMCHF23_A::_0,
866            true => LIMCHF23_A::_1,
867        }
868    }
869    #[doc = "Checks if the value of the field is `_0`"]
870    #[inline(always)]
871    pub fn is_0(&self) -> bool {
872        *self == LIMCHF23_A::_0
873    }
874    #[doc = "Checks if the value of the field is `_1`"]
875    #[inline(always)]
876    pub fn is_1(&self) -> bool {
877        *self == LIMCHF23_A::_1
878    }
879}
880#[doc = "Field `LIMCHF24` reader - Analog Channel n: Limiter Clip Flag"]
881pub type LIMCHF24_R = crate::BitReader<LIMCHF24_A>;
882#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
883#[derive(Clone, Copy, Debug, PartialEq, Eq)]
884pub enum LIMCHF24_A {
885    #[doc = "0: Limiter clip is not detected"]
886    _0 = 0,
887    #[doc = "1: Limiter clip is detected"]
888    _1 = 1,
889}
890impl From<LIMCHF24_A> for bool {
891    #[inline(always)]
892    fn from(variant: LIMCHF24_A) -> Self {
893        variant as u8 != 0
894    }
895}
896impl LIMCHF24_R {
897    #[doc = "Get enumerated values variant"]
898    #[inline(always)]
899    pub fn variant(&self) -> LIMCHF24_A {
900        match self.bits {
901            false => LIMCHF24_A::_0,
902            true => LIMCHF24_A::_1,
903        }
904    }
905    #[doc = "Checks if the value of the field is `_0`"]
906    #[inline(always)]
907    pub fn is_0(&self) -> bool {
908        *self == LIMCHF24_A::_0
909    }
910    #[doc = "Checks if the value of the field is `_1`"]
911    #[inline(always)]
912    pub fn is_1(&self) -> bool {
913        *self == LIMCHF24_A::_1
914    }
915}
916#[doc = "Field `LIMCHF25` reader - Analog Channel n: Limiter Clip Flag"]
917pub type LIMCHF25_R = crate::BitReader<LIMCHF25_A>;
918#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
919#[derive(Clone, Copy, Debug, PartialEq, Eq)]
920pub enum LIMCHF25_A {
921    #[doc = "0: Limiter clip is not detected"]
922    _0 = 0,
923    #[doc = "1: Limiter clip is detected"]
924    _1 = 1,
925}
926impl From<LIMCHF25_A> for bool {
927    #[inline(always)]
928    fn from(variant: LIMCHF25_A) -> Self {
929        variant as u8 != 0
930    }
931}
932impl LIMCHF25_R {
933    #[doc = "Get enumerated values variant"]
934    #[inline(always)]
935    pub fn variant(&self) -> LIMCHF25_A {
936        match self.bits {
937            false => LIMCHF25_A::_0,
938            true => LIMCHF25_A::_1,
939        }
940    }
941    #[doc = "Checks if the value of the field is `_0`"]
942    #[inline(always)]
943    pub fn is_0(&self) -> bool {
944        *self == LIMCHF25_A::_0
945    }
946    #[doc = "Checks if the value of the field is `_1`"]
947    #[inline(always)]
948    pub fn is_1(&self) -> bool {
949        *self == LIMCHF25_A::_1
950    }
951}
952#[doc = "Field `LIMCHF26` reader - Analog Channel n: Limiter Clip Flag"]
953pub type LIMCHF26_R = crate::BitReader<LIMCHF26_A>;
954#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
955#[derive(Clone, Copy, Debug, PartialEq, Eq)]
956pub enum LIMCHF26_A {
957    #[doc = "0: Limiter clip is not detected"]
958    _0 = 0,
959    #[doc = "1: Limiter clip is detected"]
960    _1 = 1,
961}
962impl From<LIMCHF26_A> for bool {
963    #[inline(always)]
964    fn from(variant: LIMCHF26_A) -> Self {
965        variant as u8 != 0
966    }
967}
968impl LIMCHF26_R {
969    #[doc = "Get enumerated values variant"]
970    #[inline(always)]
971    pub fn variant(&self) -> LIMCHF26_A {
972        match self.bits {
973            false => LIMCHF26_A::_0,
974            true => LIMCHF26_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 == LIMCHF26_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 == LIMCHF26_A::_1
986    }
987}
988#[doc = "Field `LIMCHF27` reader - Analog Channel n: Limiter Clip Flag"]
989pub type LIMCHF27_R = crate::BitReader<LIMCHF27_A>;
990#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
991#[derive(Clone, Copy, Debug, PartialEq, Eq)]
992pub enum LIMCHF27_A {
993    #[doc = "0: Limiter clip is not detected"]
994    _0 = 0,
995    #[doc = "1: Limiter clip is detected"]
996    _1 = 1,
997}
998impl From<LIMCHF27_A> for bool {
999    #[inline(always)]
1000    fn from(variant: LIMCHF27_A) -> Self {
1001        variant as u8 != 0
1002    }
1003}
1004impl LIMCHF27_R {
1005    #[doc = "Get enumerated values variant"]
1006    #[inline(always)]
1007    pub fn variant(&self) -> LIMCHF27_A {
1008        match self.bits {
1009            false => LIMCHF27_A::_0,
1010            true => LIMCHF27_A::_1,
1011        }
1012    }
1013    #[doc = "Checks if the value of the field is `_0`"]
1014    #[inline(always)]
1015    pub fn is_0(&self) -> bool {
1016        *self == LIMCHF27_A::_0
1017    }
1018    #[doc = "Checks if the value of the field is `_1`"]
1019    #[inline(always)]
1020    pub fn is_1(&self) -> bool {
1021        *self == LIMCHF27_A::_1
1022    }
1023}
1024#[doc = "Field `LIMCHF28` reader - Analog Channel n: Limiter Clip Flag"]
1025pub type LIMCHF28_R = crate::BitReader<LIMCHF28_A>;
1026#[doc = "Analog Channel n: Limiter Clip Flag\n\nValue on reset: 0"]
1027#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1028pub enum LIMCHF28_A {
1029    #[doc = "0: Limiter clip is not detected"]
1030    _0 = 0,
1031    #[doc = "1: Limiter clip is detected"]
1032    _1 = 1,
1033}
1034impl From<LIMCHF28_A> for bool {
1035    #[inline(always)]
1036    fn from(variant: LIMCHF28_A) -> Self {
1037        variant as u8 != 0
1038    }
1039}
1040impl LIMCHF28_R {
1041    #[doc = "Get enumerated values variant"]
1042    #[inline(always)]
1043    pub fn variant(&self) -> LIMCHF28_A {
1044        match self.bits {
1045            false => LIMCHF28_A::_0,
1046            true => LIMCHF28_A::_1,
1047        }
1048    }
1049    #[doc = "Checks if the value of the field is `_0`"]
1050    #[inline(always)]
1051    pub fn is_0(&self) -> bool {
1052        *self == LIMCHF28_A::_0
1053    }
1054    #[doc = "Checks if the value of the field is `_1`"]
1055    #[inline(always)]
1056    pub fn is_1(&self) -> bool {
1057        *self == LIMCHF28_A::_1
1058    }
1059}
1060impl R {
1061    #[doc = "Bit 0 - Analog Channel n: Limiter Clip Flag"]
1062    #[inline(always)]
1063    pub fn limchf0(&self) -> LIMCHF0_R {
1064        LIMCHF0_R::new((self.bits & 1) != 0)
1065    }
1066    #[doc = "Bit 1 - Analog Channel n: Limiter Clip Flag"]
1067    #[inline(always)]
1068    pub fn limchf1(&self) -> LIMCHF1_R {
1069        LIMCHF1_R::new(((self.bits >> 1) & 1) != 0)
1070    }
1071    #[doc = "Bit 2 - Analog Channel n: Limiter Clip Flag"]
1072    #[inline(always)]
1073    pub fn limchf2(&self) -> LIMCHF2_R {
1074        LIMCHF2_R::new(((self.bits >> 2) & 1) != 0)
1075    }
1076    #[doc = "Bit 3 - Analog Channel n: Limiter Clip Flag"]
1077    #[inline(always)]
1078    pub fn limchf3(&self) -> LIMCHF3_R {
1079        LIMCHF3_R::new(((self.bits >> 3) & 1) != 0)
1080    }
1081    #[doc = "Bit 4 - Analog Channel n: Limiter Clip Flag"]
1082    #[inline(always)]
1083    pub fn limchf4(&self) -> LIMCHF4_R {
1084        LIMCHF4_R::new(((self.bits >> 4) & 1) != 0)
1085    }
1086    #[doc = "Bit 5 - Analog Channel n: Limiter Clip Flag"]
1087    #[inline(always)]
1088    pub fn limchf5(&self) -> LIMCHF5_R {
1089        LIMCHF5_R::new(((self.bits >> 5) & 1) != 0)
1090    }
1091    #[doc = "Bit 6 - Analog Channel n: Limiter Clip Flag"]
1092    #[inline(always)]
1093    pub fn limchf6(&self) -> LIMCHF6_R {
1094        LIMCHF6_R::new(((self.bits >> 6) & 1) != 0)
1095    }
1096    #[doc = "Bit 7 - Analog Channel n: Limiter Clip Flag"]
1097    #[inline(always)]
1098    pub fn limchf7(&self) -> LIMCHF7_R {
1099        LIMCHF7_R::new(((self.bits >> 7) & 1) != 0)
1100    }
1101    #[doc = "Bit 8 - Analog Channel n: Limiter Clip Flag"]
1102    #[inline(always)]
1103    pub fn limchf8(&self) -> LIMCHF8_R {
1104        LIMCHF8_R::new(((self.bits >> 8) & 1) != 0)
1105    }
1106    #[doc = "Bit 9 - Analog Channel n: Limiter Clip Flag"]
1107    #[inline(always)]
1108    pub fn limchf9(&self) -> LIMCHF9_R {
1109        LIMCHF9_R::new(((self.bits >> 9) & 1) != 0)
1110    }
1111    #[doc = "Bit 10 - Analog Channel n: Limiter Clip Flag"]
1112    #[inline(always)]
1113    pub fn limchf10(&self) -> LIMCHF10_R {
1114        LIMCHF10_R::new(((self.bits >> 10) & 1) != 0)
1115    }
1116    #[doc = "Bit 11 - Analog Channel n: Limiter Clip Flag"]
1117    #[inline(always)]
1118    pub fn limchf11(&self) -> LIMCHF11_R {
1119        LIMCHF11_R::new(((self.bits >> 11) & 1) != 0)
1120    }
1121    #[doc = "Bit 12 - Analog Channel n: Limiter Clip Flag"]
1122    #[inline(always)]
1123    pub fn limchf12(&self) -> LIMCHF12_R {
1124        LIMCHF12_R::new(((self.bits >> 12) & 1) != 0)
1125    }
1126    #[doc = "Bit 13 - Analog Channel n: Limiter Clip Flag"]
1127    #[inline(always)]
1128    pub fn limchf13(&self) -> LIMCHF13_R {
1129        LIMCHF13_R::new(((self.bits >> 13) & 1) != 0)
1130    }
1131    #[doc = "Bit 14 - Analog Channel n: Limiter Clip Flag"]
1132    #[inline(always)]
1133    pub fn limchf14(&self) -> LIMCHF14_R {
1134        LIMCHF14_R::new(((self.bits >> 14) & 1) != 0)
1135    }
1136    #[doc = "Bit 15 - Analog Channel n: Limiter Clip Flag"]
1137    #[inline(always)]
1138    pub fn limchf15(&self) -> LIMCHF15_R {
1139        LIMCHF15_R::new(((self.bits >> 15) & 1) != 0)
1140    }
1141    #[doc = "Bit 16 - Analog Channel n: Limiter Clip Flag"]
1142    #[inline(always)]
1143    pub fn limchf16(&self) -> LIMCHF16_R {
1144        LIMCHF16_R::new(((self.bits >> 16) & 1) != 0)
1145    }
1146    #[doc = "Bit 17 - Analog Channel n: Limiter Clip Flag"]
1147    #[inline(always)]
1148    pub fn limchf17(&self) -> LIMCHF17_R {
1149        LIMCHF17_R::new(((self.bits >> 17) & 1) != 0)
1150    }
1151    #[doc = "Bit 18 - Analog Channel n: Limiter Clip Flag"]
1152    #[inline(always)]
1153    pub fn limchf18(&self) -> LIMCHF18_R {
1154        LIMCHF18_R::new(((self.bits >> 18) & 1) != 0)
1155    }
1156    #[doc = "Bit 19 - Analog Channel n: Limiter Clip Flag"]
1157    #[inline(always)]
1158    pub fn limchf19(&self) -> LIMCHF19_R {
1159        LIMCHF19_R::new(((self.bits >> 19) & 1) != 0)
1160    }
1161    #[doc = "Bit 20 - Analog Channel n: Limiter Clip Flag"]
1162    #[inline(always)]
1163    pub fn limchf20(&self) -> LIMCHF20_R {
1164        LIMCHF20_R::new(((self.bits >> 20) & 1) != 0)
1165    }
1166    #[doc = "Bit 21 - Analog Channel n: Limiter Clip Flag"]
1167    #[inline(always)]
1168    pub fn limchf21(&self) -> LIMCHF21_R {
1169        LIMCHF21_R::new(((self.bits >> 21) & 1) != 0)
1170    }
1171    #[doc = "Bit 22 - Analog Channel n: Limiter Clip Flag"]
1172    #[inline(always)]
1173    pub fn limchf22(&self) -> LIMCHF22_R {
1174        LIMCHF22_R::new(((self.bits >> 22) & 1) != 0)
1175    }
1176    #[doc = "Bit 23 - Analog Channel n: Limiter Clip Flag"]
1177    #[inline(always)]
1178    pub fn limchf23(&self) -> LIMCHF23_R {
1179        LIMCHF23_R::new(((self.bits >> 23) & 1) != 0)
1180    }
1181    #[doc = "Bit 24 - Analog Channel n: Limiter Clip Flag"]
1182    #[inline(always)]
1183    pub fn limchf24(&self) -> LIMCHF24_R {
1184        LIMCHF24_R::new(((self.bits >> 24) & 1) != 0)
1185    }
1186    #[doc = "Bit 25 - Analog Channel n: Limiter Clip Flag"]
1187    #[inline(always)]
1188    pub fn limchf25(&self) -> LIMCHF25_R {
1189        LIMCHF25_R::new(((self.bits >> 25) & 1) != 0)
1190    }
1191    #[doc = "Bit 26 - Analog Channel n: Limiter Clip Flag"]
1192    #[inline(always)]
1193    pub fn limchf26(&self) -> LIMCHF26_R {
1194        LIMCHF26_R::new(((self.bits >> 26) & 1) != 0)
1195    }
1196    #[doc = "Bit 27 - Analog Channel n: Limiter Clip Flag"]
1197    #[inline(always)]
1198    pub fn limchf27(&self) -> LIMCHF27_R {
1199        LIMCHF27_R::new(((self.bits >> 27) & 1) != 0)
1200    }
1201    #[doc = "Bit 28 - Analog Channel n: Limiter Clip Flag"]
1202    #[inline(always)]
1203    pub fn limchf28(&self) -> LIMCHF28_R {
1204        LIMCHF28_R::new(((self.bits >> 28) & 1) != 0)
1205    }
1206}
1207#[doc = "Limiter Clip Channel Status Register 0\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [adlimchsr0](index.html) module"]
1208pub struct ADLIMCHSR0_SPEC;
1209impl crate::RegisterSpec for ADLIMCHSR0_SPEC {
1210    type Ux = u32;
1211}
1212#[doc = "`read()` method returns [adlimchsr0::R](R) reader structure"]
1213impl crate::Readable for ADLIMCHSR0_SPEC {
1214    type Reader = R;
1215}
1216#[doc = "`reset()` method sets ADLIMCHSR0 to value 0"]
1217impl crate::Resettable for ADLIMCHSR0_SPEC {
1218    const RESET_VALUE: Self::Ux = 0;
1219}