1#[doc = "Register `CHG[%s]` reader"]
2pub struct R(crate::R<CHG_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<CHG_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<CHG_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<CHG_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Register `CHG[%s]` writer"]
17pub struct W(crate::W<CHG_SPEC>);
18impl core::ops::Deref for W {
19 type Target = crate::W<CHG_SPEC>;
20 #[inline(always)]
21 fn deref(&self) -> &Self::Target {
22 &self.0
23 }
24}
25impl core::ops::DerefMut for W {
26 #[inline(always)]
27 fn deref_mut(&mut self) -> &mut Self::Target {
28 &mut self.0
29 }
30}
31impl From<crate::W<CHG_SPEC>> for W {
32 #[inline(always)]
33 fn from(writer: crate::W<CHG_SPEC>) -> Self {
34 W(writer)
35 }
36}
37#[doc = "Field `CH0` reader - Include or exclude channel 0"]
38pub type CH0_R = crate::BitReader<CH0_A>;
39#[doc = "Include or exclude channel 0\n\nValue on reset: 0"]
40#[derive(Clone, Copy, Debug, PartialEq)]
41pub enum CH0_A {
42 #[doc = "0: Exclude"]
43 EXCLUDED = 0,
44 #[doc = "1: Include"]
45 INCLUDED = 1,
46}
47impl From<CH0_A> for bool {
48 #[inline(always)]
49 fn from(variant: CH0_A) -> Self {
50 variant as u8 != 0
51 }
52}
53impl CH0_R {
54 #[doc = "Get enumerated values variant"]
55 #[inline(always)]
56 pub fn variant(&self) -> CH0_A {
57 match self.bits {
58 false => CH0_A::EXCLUDED,
59 true => CH0_A::INCLUDED,
60 }
61 }
62 #[doc = "Checks if the value of the field is `EXCLUDED`"]
63 #[inline(always)]
64 pub fn is_excluded(&self) -> bool {
65 *self == CH0_A::EXCLUDED
66 }
67 #[doc = "Checks if the value of the field is `INCLUDED`"]
68 #[inline(always)]
69 pub fn is_included(&self) -> bool {
70 *self == CH0_A::INCLUDED
71 }
72}
73#[doc = "Field `CH0` writer - Include or exclude channel 0"]
74pub type CH0_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH0_A, O>;
75impl<'a, const O: u8> CH0_W<'a, O> {
76 #[doc = "Exclude"]
77 #[inline(always)]
78 pub fn excluded(self) -> &'a mut W {
79 self.variant(CH0_A::EXCLUDED)
80 }
81 #[doc = "Include"]
82 #[inline(always)]
83 pub fn included(self) -> &'a mut W {
84 self.variant(CH0_A::INCLUDED)
85 }
86}
87#[doc = "Field `CH1` reader - Include or exclude channel 1"]
88pub type CH1_R = crate::BitReader<CH1_A>;
89#[doc = "Include or exclude channel 1\n\nValue on reset: 0"]
90#[derive(Clone, Copy, Debug, PartialEq)]
91pub enum CH1_A {
92 #[doc = "0: Exclude"]
93 EXCLUDED = 0,
94 #[doc = "1: Include"]
95 INCLUDED = 1,
96}
97impl From<CH1_A> for bool {
98 #[inline(always)]
99 fn from(variant: CH1_A) -> Self {
100 variant as u8 != 0
101 }
102}
103impl CH1_R {
104 #[doc = "Get enumerated values variant"]
105 #[inline(always)]
106 pub fn variant(&self) -> CH1_A {
107 match self.bits {
108 false => CH1_A::EXCLUDED,
109 true => CH1_A::INCLUDED,
110 }
111 }
112 #[doc = "Checks if the value of the field is `EXCLUDED`"]
113 #[inline(always)]
114 pub fn is_excluded(&self) -> bool {
115 *self == CH1_A::EXCLUDED
116 }
117 #[doc = "Checks if the value of the field is `INCLUDED`"]
118 #[inline(always)]
119 pub fn is_included(&self) -> bool {
120 *self == CH1_A::INCLUDED
121 }
122}
123#[doc = "Field `CH1` writer - Include or exclude channel 1"]
124pub type CH1_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH1_A, O>;
125impl<'a, const O: u8> CH1_W<'a, O> {
126 #[doc = "Exclude"]
127 #[inline(always)]
128 pub fn excluded(self) -> &'a mut W {
129 self.variant(CH1_A::EXCLUDED)
130 }
131 #[doc = "Include"]
132 #[inline(always)]
133 pub fn included(self) -> &'a mut W {
134 self.variant(CH1_A::INCLUDED)
135 }
136}
137#[doc = "Field `CH2` reader - Include or exclude channel 2"]
138pub type CH2_R = crate::BitReader<CH2_A>;
139#[doc = "Include or exclude channel 2\n\nValue on reset: 0"]
140#[derive(Clone, Copy, Debug, PartialEq)]
141pub enum CH2_A {
142 #[doc = "0: Exclude"]
143 EXCLUDED = 0,
144 #[doc = "1: Include"]
145 INCLUDED = 1,
146}
147impl From<CH2_A> for bool {
148 #[inline(always)]
149 fn from(variant: CH2_A) -> Self {
150 variant as u8 != 0
151 }
152}
153impl CH2_R {
154 #[doc = "Get enumerated values variant"]
155 #[inline(always)]
156 pub fn variant(&self) -> CH2_A {
157 match self.bits {
158 false => CH2_A::EXCLUDED,
159 true => CH2_A::INCLUDED,
160 }
161 }
162 #[doc = "Checks if the value of the field is `EXCLUDED`"]
163 #[inline(always)]
164 pub fn is_excluded(&self) -> bool {
165 *self == CH2_A::EXCLUDED
166 }
167 #[doc = "Checks if the value of the field is `INCLUDED`"]
168 #[inline(always)]
169 pub fn is_included(&self) -> bool {
170 *self == CH2_A::INCLUDED
171 }
172}
173#[doc = "Field `CH2` writer - Include or exclude channel 2"]
174pub type CH2_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH2_A, O>;
175impl<'a, const O: u8> CH2_W<'a, O> {
176 #[doc = "Exclude"]
177 #[inline(always)]
178 pub fn excluded(self) -> &'a mut W {
179 self.variant(CH2_A::EXCLUDED)
180 }
181 #[doc = "Include"]
182 #[inline(always)]
183 pub fn included(self) -> &'a mut W {
184 self.variant(CH2_A::INCLUDED)
185 }
186}
187#[doc = "Field `CH3` reader - Include or exclude channel 3"]
188pub type CH3_R = crate::BitReader<CH3_A>;
189#[doc = "Include or exclude channel 3\n\nValue on reset: 0"]
190#[derive(Clone, Copy, Debug, PartialEq)]
191pub enum CH3_A {
192 #[doc = "0: Exclude"]
193 EXCLUDED = 0,
194 #[doc = "1: Include"]
195 INCLUDED = 1,
196}
197impl From<CH3_A> for bool {
198 #[inline(always)]
199 fn from(variant: CH3_A) -> Self {
200 variant as u8 != 0
201 }
202}
203impl CH3_R {
204 #[doc = "Get enumerated values variant"]
205 #[inline(always)]
206 pub fn variant(&self) -> CH3_A {
207 match self.bits {
208 false => CH3_A::EXCLUDED,
209 true => CH3_A::INCLUDED,
210 }
211 }
212 #[doc = "Checks if the value of the field is `EXCLUDED`"]
213 #[inline(always)]
214 pub fn is_excluded(&self) -> bool {
215 *self == CH3_A::EXCLUDED
216 }
217 #[doc = "Checks if the value of the field is `INCLUDED`"]
218 #[inline(always)]
219 pub fn is_included(&self) -> bool {
220 *self == CH3_A::INCLUDED
221 }
222}
223#[doc = "Field `CH3` writer - Include or exclude channel 3"]
224pub type CH3_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH3_A, O>;
225impl<'a, const O: u8> CH3_W<'a, O> {
226 #[doc = "Exclude"]
227 #[inline(always)]
228 pub fn excluded(self) -> &'a mut W {
229 self.variant(CH3_A::EXCLUDED)
230 }
231 #[doc = "Include"]
232 #[inline(always)]
233 pub fn included(self) -> &'a mut W {
234 self.variant(CH3_A::INCLUDED)
235 }
236}
237#[doc = "Field `CH4` reader - Include or exclude channel 4"]
238pub type CH4_R = crate::BitReader<CH4_A>;
239#[doc = "Include or exclude channel 4\n\nValue on reset: 0"]
240#[derive(Clone, Copy, Debug, PartialEq)]
241pub enum CH4_A {
242 #[doc = "0: Exclude"]
243 EXCLUDED = 0,
244 #[doc = "1: Include"]
245 INCLUDED = 1,
246}
247impl From<CH4_A> for bool {
248 #[inline(always)]
249 fn from(variant: CH4_A) -> Self {
250 variant as u8 != 0
251 }
252}
253impl CH4_R {
254 #[doc = "Get enumerated values variant"]
255 #[inline(always)]
256 pub fn variant(&self) -> CH4_A {
257 match self.bits {
258 false => CH4_A::EXCLUDED,
259 true => CH4_A::INCLUDED,
260 }
261 }
262 #[doc = "Checks if the value of the field is `EXCLUDED`"]
263 #[inline(always)]
264 pub fn is_excluded(&self) -> bool {
265 *self == CH4_A::EXCLUDED
266 }
267 #[doc = "Checks if the value of the field is `INCLUDED`"]
268 #[inline(always)]
269 pub fn is_included(&self) -> bool {
270 *self == CH4_A::INCLUDED
271 }
272}
273#[doc = "Field `CH4` writer - Include or exclude channel 4"]
274pub type CH4_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH4_A, O>;
275impl<'a, const O: u8> CH4_W<'a, O> {
276 #[doc = "Exclude"]
277 #[inline(always)]
278 pub fn excluded(self) -> &'a mut W {
279 self.variant(CH4_A::EXCLUDED)
280 }
281 #[doc = "Include"]
282 #[inline(always)]
283 pub fn included(self) -> &'a mut W {
284 self.variant(CH4_A::INCLUDED)
285 }
286}
287#[doc = "Field `CH5` reader - Include or exclude channel 5"]
288pub type CH5_R = crate::BitReader<CH5_A>;
289#[doc = "Include or exclude channel 5\n\nValue on reset: 0"]
290#[derive(Clone, Copy, Debug, PartialEq)]
291pub enum CH5_A {
292 #[doc = "0: Exclude"]
293 EXCLUDED = 0,
294 #[doc = "1: Include"]
295 INCLUDED = 1,
296}
297impl From<CH5_A> for bool {
298 #[inline(always)]
299 fn from(variant: CH5_A) -> Self {
300 variant as u8 != 0
301 }
302}
303impl CH5_R {
304 #[doc = "Get enumerated values variant"]
305 #[inline(always)]
306 pub fn variant(&self) -> CH5_A {
307 match self.bits {
308 false => CH5_A::EXCLUDED,
309 true => CH5_A::INCLUDED,
310 }
311 }
312 #[doc = "Checks if the value of the field is `EXCLUDED`"]
313 #[inline(always)]
314 pub fn is_excluded(&self) -> bool {
315 *self == CH5_A::EXCLUDED
316 }
317 #[doc = "Checks if the value of the field is `INCLUDED`"]
318 #[inline(always)]
319 pub fn is_included(&self) -> bool {
320 *self == CH5_A::INCLUDED
321 }
322}
323#[doc = "Field `CH5` writer - Include or exclude channel 5"]
324pub type CH5_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH5_A, O>;
325impl<'a, const O: u8> CH5_W<'a, O> {
326 #[doc = "Exclude"]
327 #[inline(always)]
328 pub fn excluded(self) -> &'a mut W {
329 self.variant(CH5_A::EXCLUDED)
330 }
331 #[doc = "Include"]
332 #[inline(always)]
333 pub fn included(self) -> &'a mut W {
334 self.variant(CH5_A::INCLUDED)
335 }
336}
337#[doc = "Field `CH6` reader - Include or exclude channel 6"]
338pub type CH6_R = crate::BitReader<CH6_A>;
339#[doc = "Include or exclude channel 6\n\nValue on reset: 0"]
340#[derive(Clone, Copy, Debug, PartialEq)]
341pub enum CH6_A {
342 #[doc = "0: Exclude"]
343 EXCLUDED = 0,
344 #[doc = "1: Include"]
345 INCLUDED = 1,
346}
347impl From<CH6_A> for bool {
348 #[inline(always)]
349 fn from(variant: CH6_A) -> Self {
350 variant as u8 != 0
351 }
352}
353impl CH6_R {
354 #[doc = "Get enumerated values variant"]
355 #[inline(always)]
356 pub fn variant(&self) -> CH6_A {
357 match self.bits {
358 false => CH6_A::EXCLUDED,
359 true => CH6_A::INCLUDED,
360 }
361 }
362 #[doc = "Checks if the value of the field is `EXCLUDED`"]
363 #[inline(always)]
364 pub fn is_excluded(&self) -> bool {
365 *self == CH6_A::EXCLUDED
366 }
367 #[doc = "Checks if the value of the field is `INCLUDED`"]
368 #[inline(always)]
369 pub fn is_included(&self) -> bool {
370 *self == CH6_A::INCLUDED
371 }
372}
373#[doc = "Field `CH6` writer - Include or exclude channel 6"]
374pub type CH6_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH6_A, O>;
375impl<'a, const O: u8> CH6_W<'a, O> {
376 #[doc = "Exclude"]
377 #[inline(always)]
378 pub fn excluded(self) -> &'a mut W {
379 self.variant(CH6_A::EXCLUDED)
380 }
381 #[doc = "Include"]
382 #[inline(always)]
383 pub fn included(self) -> &'a mut W {
384 self.variant(CH6_A::INCLUDED)
385 }
386}
387#[doc = "Field `CH7` reader - Include or exclude channel 7"]
388pub type CH7_R = crate::BitReader<CH7_A>;
389#[doc = "Include or exclude channel 7\n\nValue on reset: 0"]
390#[derive(Clone, Copy, Debug, PartialEq)]
391pub enum CH7_A {
392 #[doc = "0: Exclude"]
393 EXCLUDED = 0,
394 #[doc = "1: Include"]
395 INCLUDED = 1,
396}
397impl From<CH7_A> for bool {
398 #[inline(always)]
399 fn from(variant: CH7_A) -> Self {
400 variant as u8 != 0
401 }
402}
403impl CH7_R {
404 #[doc = "Get enumerated values variant"]
405 #[inline(always)]
406 pub fn variant(&self) -> CH7_A {
407 match self.bits {
408 false => CH7_A::EXCLUDED,
409 true => CH7_A::INCLUDED,
410 }
411 }
412 #[doc = "Checks if the value of the field is `EXCLUDED`"]
413 #[inline(always)]
414 pub fn is_excluded(&self) -> bool {
415 *self == CH7_A::EXCLUDED
416 }
417 #[doc = "Checks if the value of the field is `INCLUDED`"]
418 #[inline(always)]
419 pub fn is_included(&self) -> bool {
420 *self == CH7_A::INCLUDED
421 }
422}
423#[doc = "Field `CH7` writer - Include or exclude channel 7"]
424pub type CH7_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH7_A, O>;
425impl<'a, const O: u8> CH7_W<'a, O> {
426 #[doc = "Exclude"]
427 #[inline(always)]
428 pub fn excluded(self) -> &'a mut W {
429 self.variant(CH7_A::EXCLUDED)
430 }
431 #[doc = "Include"]
432 #[inline(always)]
433 pub fn included(self) -> &'a mut W {
434 self.variant(CH7_A::INCLUDED)
435 }
436}
437#[doc = "Field `CH8` reader - Include or exclude channel 8"]
438pub type CH8_R = crate::BitReader<CH8_A>;
439#[doc = "Include or exclude channel 8\n\nValue on reset: 0"]
440#[derive(Clone, Copy, Debug, PartialEq)]
441pub enum CH8_A {
442 #[doc = "0: Exclude"]
443 EXCLUDED = 0,
444 #[doc = "1: Include"]
445 INCLUDED = 1,
446}
447impl From<CH8_A> for bool {
448 #[inline(always)]
449 fn from(variant: CH8_A) -> Self {
450 variant as u8 != 0
451 }
452}
453impl CH8_R {
454 #[doc = "Get enumerated values variant"]
455 #[inline(always)]
456 pub fn variant(&self) -> CH8_A {
457 match self.bits {
458 false => CH8_A::EXCLUDED,
459 true => CH8_A::INCLUDED,
460 }
461 }
462 #[doc = "Checks if the value of the field is `EXCLUDED`"]
463 #[inline(always)]
464 pub fn is_excluded(&self) -> bool {
465 *self == CH8_A::EXCLUDED
466 }
467 #[doc = "Checks if the value of the field is `INCLUDED`"]
468 #[inline(always)]
469 pub fn is_included(&self) -> bool {
470 *self == CH8_A::INCLUDED
471 }
472}
473#[doc = "Field `CH8` writer - Include or exclude channel 8"]
474pub type CH8_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH8_A, O>;
475impl<'a, const O: u8> CH8_W<'a, O> {
476 #[doc = "Exclude"]
477 #[inline(always)]
478 pub fn excluded(self) -> &'a mut W {
479 self.variant(CH8_A::EXCLUDED)
480 }
481 #[doc = "Include"]
482 #[inline(always)]
483 pub fn included(self) -> &'a mut W {
484 self.variant(CH8_A::INCLUDED)
485 }
486}
487#[doc = "Field `CH9` reader - Include or exclude channel 9"]
488pub type CH9_R = crate::BitReader<CH9_A>;
489#[doc = "Include or exclude channel 9\n\nValue on reset: 0"]
490#[derive(Clone, Copy, Debug, PartialEq)]
491pub enum CH9_A {
492 #[doc = "0: Exclude"]
493 EXCLUDED = 0,
494 #[doc = "1: Include"]
495 INCLUDED = 1,
496}
497impl From<CH9_A> for bool {
498 #[inline(always)]
499 fn from(variant: CH9_A) -> Self {
500 variant as u8 != 0
501 }
502}
503impl CH9_R {
504 #[doc = "Get enumerated values variant"]
505 #[inline(always)]
506 pub fn variant(&self) -> CH9_A {
507 match self.bits {
508 false => CH9_A::EXCLUDED,
509 true => CH9_A::INCLUDED,
510 }
511 }
512 #[doc = "Checks if the value of the field is `EXCLUDED`"]
513 #[inline(always)]
514 pub fn is_excluded(&self) -> bool {
515 *self == CH9_A::EXCLUDED
516 }
517 #[doc = "Checks if the value of the field is `INCLUDED`"]
518 #[inline(always)]
519 pub fn is_included(&self) -> bool {
520 *self == CH9_A::INCLUDED
521 }
522}
523#[doc = "Field `CH9` writer - Include or exclude channel 9"]
524pub type CH9_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH9_A, O>;
525impl<'a, const O: u8> CH9_W<'a, O> {
526 #[doc = "Exclude"]
527 #[inline(always)]
528 pub fn excluded(self) -> &'a mut W {
529 self.variant(CH9_A::EXCLUDED)
530 }
531 #[doc = "Include"]
532 #[inline(always)]
533 pub fn included(self) -> &'a mut W {
534 self.variant(CH9_A::INCLUDED)
535 }
536}
537#[doc = "Field `CH10` reader - Include or exclude channel 10"]
538pub type CH10_R = crate::BitReader<CH10_A>;
539#[doc = "Include or exclude channel 10\n\nValue on reset: 0"]
540#[derive(Clone, Copy, Debug, PartialEq)]
541pub enum CH10_A {
542 #[doc = "0: Exclude"]
543 EXCLUDED = 0,
544 #[doc = "1: Include"]
545 INCLUDED = 1,
546}
547impl From<CH10_A> for bool {
548 #[inline(always)]
549 fn from(variant: CH10_A) -> Self {
550 variant as u8 != 0
551 }
552}
553impl CH10_R {
554 #[doc = "Get enumerated values variant"]
555 #[inline(always)]
556 pub fn variant(&self) -> CH10_A {
557 match self.bits {
558 false => CH10_A::EXCLUDED,
559 true => CH10_A::INCLUDED,
560 }
561 }
562 #[doc = "Checks if the value of the field is `EXCLUDED`"]
563 #[inline(always)]
564 pub fn is_excluded(&self) -> bool {
565 *self == CH10_A::EXCLUDED
566 }
567 #[doc = "Checks if the value of the field is `INCLUDED`"]
568 #[inline(always)]
569 pub fn is_included(&self) -> bool {
570 *self == CH10_A::INCLUDED
571 }
572}
573#[doc = "Field `CH10` writer - Include or exclude channel 10"]
574pub type CH10_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH10_A, O>;
575impl<'a, const O: u8> CH10_W<'a, O> {
576 #[doc = "Exclude"]
577 #[inline(always)]
578 pub fn excluded(self) -> &'a mut W {
579 self.variant(CH10_A::EXCLUDED)
580 }
581 #[doc = "Include"]
582 #[inline(always)]
583 pub fn included(self) -> &'a mut W {
584 self.variant(CH10_A::INCLUDED)
585 }
586}
587#[doc = "Field `CH11` reader - Include or exclude channel 11"]
588pub type CH11_R = crate::BitReader<CH11_A>;
589#[doc = "Include or exclude channel 11\n\nValue on reset: 0"]
590#[derive(Clone, Copy, Debug, PartialEq)]
591pub enum CH11_A {
592 #[doc = "0: Exclude"]
593 EXCLUDED = 0,
594 #[doc = "1: Include"]
595 INCLUDED = 1,
596}
597impl From<CH11_A> for bool {
598 #[inline(always)]
599 fn from(variant: CH11_A) -> Self {
600 variant as u8 != 0
601 }
602}
603impl CH11_R {
604 #[doc = "Get enumerated values variant"]
605 #[inline(always)]
606 pub fn variant(&self) -> CH11_A {
607 match self.bits {
608 false => CH11_A::EXCLUDED,
609 true => CH11_A::INCLUDED,
610 }
611 }
612 #[doc = "Checks if the value of the field is `EXCLUDED`"]
613 #[inline(always)]
614 pub fn is_excluded(&self) -> bool {
615 *self == CH11_A::EXCLUDED
616 }
617 #[doc = "Checks if the value of the field is `INCLUDED`"]
618 #[inline(always)]
619 pub fn is_included(&self) -> bool {
620 *self == CH11_A::INCLUDED
621 }
622}
623#[doc = "Field `CH11` writer - Include or exclude channel 11"]
624pub type CH11_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH11_A, O>;
625impl<'a, const O: u8> CH11_W<'a, O> {
626 #[doc = "Exclude"]
627 #[inline(always)]
628 pub fn excluded(self) -> &'a mut W {
629 self.variant(CH11_A::EXCLUDED)
630 }
631 #[doc = "Include"]
632 #[inline(always)]
633 pub fn included(self) -> &'a mut W {
634 self.variant(CH11_A::INCLUDED)
635 }
636}
637#[doc = "Field `CH12` reader - Include or exclude channel 12"]
638pub type CH12_R = crate::BitReader<CH12_A>;
639#[doc = "Include or exclude channel 12\n\nValue on reset: 0"]
640#[derive(Clone, Copy, Debug, PartialEq)]
641pub enum CH12_A {
642 #[doc = "0: Exclude"]
643 EXCLUDED = 0,
644 #[doc = "1: Include"]
645 INCLUDED = 1,
646}
647impl From<CH12_A> for bool {
648 #[inline(always)]
649 fn from(variant: CH12_A) -> Self {
650 variant as u8 != 0
651 }
652}
653impl CH12_R {
654 #[doc = "Get enumerated values variant"]
655 #[inline(always)]
656 pub fn variant(&self) -> CH12_A {
657 match self.bits {
658 false => CH12_A::EXCLUDED,
659 true => CH12_A::INCLUDED,
660 }
661 }
662 #[doc = "Checks if the value of the field is `EXCLUDED`"]
663 #[inline(always)]
664 pub fn is_excluded(&self) -> bool {
665 *self == CH12_A::EXCLUDED
666 }
667 #[doc = "Checks if the value of the field is `INCLUDED`"]
668 #[inline(always)]
669 pub fn is_included(&self) -> bool {
670 *self == CH12_A::INCLUDED
671 }
672}
673#[doc = "Field `CH12` writer - Include or exclude channel 12"]
674pub type CH12_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH12_A, O>;
675impl<'a, const O: u8> CH12_W<'a, O> {
676 #[doc = "Exclude"]
677 #[inline(always)]
678 pub fn excluded(self) -> &'a mut W {
679 self.variant(CH12_A::EXCLUDED)
680 }
681 #[doc = "Include"]
682 #[inline(always)]
683 pub fn included(self) -> &'a mut W {
684 self.variant(CH12_A::INCLUDED)
685 }
686}
687#[doc = "Field `CH13` reader - Include or exclude channel 13"]
688pub type CH13_R = crate::BitReader<CH13_A>;
689#[doc = "Include or exclude channel 13\n\nValue on reset: 0"]
690#[derive(Clone, Copy, Debug, PartialEq)]
691pub enum CH13_A {
692 #[doc = "0: Exclude"]
693 EXCLUDED = 0,
694 #[doc = "1: Include"]
695 INCLUDED = 1,
696}
697impl From<CH13_A> for bool {
698 #[inline(always)]
699 fn from(variant: CH13_A) -> Self {
700 variant as u8 != 0
701 }
702}
703impl CH13_R {
704 #[doc = "Get enumerated values variant"]
705 #[inline(always)]
706 pub fn variant(&self) -> CH13_A {
707 match self.bits {
708 false => CH13_A::EXCLUDED,
709 true => CH13_A::INCLUDED,
710 }
711 }
712 #[doc = "Checks if the value of the field is `EXCLUDED`"]
713 #[inline(always)]
714 pub fn is_excluded(&self) -> bool {
715 *self == CH13_A::EXCLUDED
716 }
717 #[doc = "Checks if the value of the field is `INCLUDED`"]
718 #[inline(always)]
719 pub fn is_included(&self) -> bool {
720 *self == CH13_A::INCLUDED
721 }
722}
723#[doc = "Field `CH13` writer - Include or exclude channel 13"]
724pub type CH13_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH13_A, O>;
725impl<'a, const O: u8> CH13_W<'a, O> {
726 #[doc = "Exclude"]
727 #[inline(always)]
728 pub fn excluded(self) -> &'a mut W {
729 self.variant(CH13_A::EXCLUDED)
730 }
731 #[doc = "Include"]
732 #[inline(always)]
733 pub fn included(self) -> &'a mut W {
734 self.variant(CH13_A::INCLUDED)
735 }
736}
737#[doc = "Field `CH14` reader - Include or exclude channel 14"]
738pub type CH14_R = crate::BitReader<CH14_A>;
739#[doc = "Include or exclude channel 14\n\nValue on reset: 0"]
740#[derive(Clone, Copy, Debug, PartialEq)]
741pub enum CH14_A {
742 #[doc = "0: Exclude"]
743 EXCLUDED = 0,
744 #[doc = "1: Include"]
745 INCLUDED = 1,
746}
747impl From<CH14_A> for bool {
748 #[inline(always)]
749 fn from(variant: CH14_A) -> Self {
750 variant as u8 != 0
751 }
752}
753impl CH14_R {
754 #[doc = "Get enumerated values variant"]
755 #[inline(always)]
756 pub fn variant(&self) -> CH14_A {
757 match self.bits {
758 false => CH14_A::EXCLUDED,
759 true => CH14_A::INCLUDED,
760 }
761 }
762 #[doc = "Checks if the value of the field is `EXCLUDED`"]
763 #[inline(always)]
764 pub fn is_excluded(&self) -> bool {
765 *self == CH14_A::EXCLUDED
766 }
767 #[doc = "Checks if the value of the field is `INCLUDED`"]
768 #[inline(always)]
769 pub fn is_included(&self) -> bool {
770 *self == CH14_A::INCLUDED
771 }
772}
773#[doc = "Field `CH14` writer - Include or exclude channel 14"]
774pub type CH14_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH14_A, O>;
775impl<'a, const O: u8> CH14_W<'a, O> {
776 #[doc = "Exclude"]
777 #[inline(always)]
778 pub fn excluded(self) -> &'a mut W {
779 self.variant(CH14_A::EXCLUDED)
780 }
781 #[doc = "Include"]
782 #[inline(always)]
783 pub fn included(self) -> &'a mut W {
784 self.variant(CH14_A::INCLUDED)
785 }
786}
787#[doc = "Field `CH15` reader - Include or exclude channel 15"]
788pub type CH15_R = crate::BitReader<CH15_A>;
789#[doc = "Include or exclude channel 15\n\nValue on reset: 0"]
790#[derive(Clone, Copy, Debug, PartialEq)]
791pub enum CH15_A {
792 #[doc = "0: Exclude"]
793 EXCLUDED = 0,
794 #[doc = "1: Include"]
795 INCLUDED = 1,
796}
797impl From<CH15_A> for bool {
798 #[inline(always)]
799 fn from(variant: CH15_A) -> Self {
800 variant as u8 != 0
801 }
802}
803impl CH15_R {
804 #[doc = "Get enumerated values variant"]
805 #[inline(always)]
806 pub fn variant(&self) -> CH15_A {
807 match self.bits {
808 false => CH15_A::EXCLUDED,
809 true => CH15_A::INCLUDED,
810 }
811 }
812 #[doc = "Checks if the value of the field is `EXCLUDED`"]
813 #[inline(always)]
814 pub fn is_excluded(&self) -> bool {
815 *self == CH15_A::EXCLUDED
816 }
817 #[doc = "Checks if the value of the field is `INCLUDED`"]
818 #[inline(always)]
819 pub fn is_included(&self) -> bool {
820 *self == CH15_A::INCLUDED
821 }
822}
823#[doc = "Field `CH15` writer - Include or exclude channel 15"]
824pub type CH15_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH15_A, O>;
825impl<'a, const O: u8> CH15_W<'a, O> {
826 #[doc = "Exclude"]
827 #[inline(always)]
828 pub fn excluded(self) -> &'a mut W {
829 self.variant(CH15_A::EXCLUDED)
830 }
831 #[doc = "Include"]
832 #[inline(always)]
833 pub fn included(self) -> &'a mut W {
834 self.variant(CH15_A::INCLUDED)
835 }
836}
837#[doc = "Field `CH16` reader - Include or exclude channel 16"]
838pub type CH16_R = crate::BitReader<CH16_A>;
839#[doc = "Include or exclude channel 16\n\nValue on reset: 0"]
840#[derive(Clone, Copy, Debug, PartialEq)]
841pub enum CH16_A {
842 #[doc = "0: Exclude"]
843 EXCLUDED = 0,
844 #[doc = "1: Include"]
845 INCLUDED = 1,
846}
847impl From<CH16_A> for bool {
848 #[inline(always)]
849 fn from(variant: CH16_A) -> Self {
850 variant as u8 != 0
851 }
852}
853impl CH16_R {
854 #[doc = "Get enumerated values variant"]
855 #[inline(always)]
856 pub fn variant(&self) -> CH16_A {
857 match self.bits {
858 false => CH16_A::EXCLUDED,
859 true => CH16_A::INCLUDED,
860 }
861 }
862 #[doc = "Checks if the value of the field is `EXCLUDED`"]
863 #[inline(always)]
864 pub fn is_excluded(&self) -> bool {
865 *self == CH16_A::EXCLUDED
866 }
867 #[doc = "Checks if the value of the field is `INCLUDED`"]
868 #[inline(always)]
869 pub fn is_included(&self) -> bool {
870 *self == CH16_A::INCLUDED
871 }
872}
873#[doc = "Field `CH16` writer - Include or exclude channel 16"]
874pub type CH16_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH16_A, O>;
875impl<'a, const O: u8> CH16_W<'a, O> {
876 #[doc = "Exclude"]
877 #[inline(always)]
878 pub fn excluded(self) -> &'a mut W {
879 self.variant(CH16_A::EXCLUDED)
880 }
881 #[doc = "Include"]
882 #[inline(always)]
883 pub fn included(self) -> &'a mut W {
884 self.variant(CH16_A::INCLUDED)
885 }
886}
887#[doc = "Field `CH17` reader - Include or exclude channel 17"]
888pub type CH17_R = crate::BitReader<CH17_A>;
889#[doc = "Include or exclude channel 17\n\nValue on reset: 0"]
890#[derive(Clone, Copy, Debug, PartialEq)]
891pub enum CH17_A {
892 #[doc = "0: Exclude"]
893 EXCLUDED = 0,
894 #[doc = "1: Include"]
895 INCLUDED = 1,
896}
897impl From<CH17_A> for bool {
898 #[inline(always)]
899 fn from(variant: CH17_A) -> Self {
900 variant as u8 != 0
901 }
902}
903impl CH17_R {
904 #[doc = "Get enumerated values variant"]
905 #[inline(always)]
906 pub fn variant(&self) -> CH17_A {
907 match self.bits {
908 false => CH17_A::EXCLUDED,
909 true => CH17_A::INCLUDED,
910 }
911 }
912 #[doc = "Checks if the value of the field is `EXCLUDED`"]
913 #[inline(always)]
914 pub fn is_excluded(&self) -> bool {
915 *self == CH17_A::EXCLUDED
916 }
917 #[doc = "Checks if the value of the field is `INCLUDED`"]
918 #[inline(always)]
919 pub fn is_included(&self) -> bool {
920 *self == CH17_A::INCLUDED
921 }
922}
923#[doc = "Field `CH17` writer - Include or exclude channel 17"]
924pub type CH17_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH17_A, O>;
925impl<'a, const O: u8> CH17_W<'a, O> {
926 #[doc = "Exclude"]
927 #[inline(always)]
928 pub fn excluded(self) -> &'a mut W {
929 self.variant(CH17_A::EXCLUDED)
930 }
931 #[doc = "Include"]
932 #[inline(always)]
933 pub fn included(self) -> &'a mut W {
934 self.variant(CH17_A::INCLUDED)
935 }
936}
937#[doc = "Field `CH18` reader - Include or exclude channel 18"]
938pub type CH18_R = crate::BitReader<CH18_A>;
939#[doc = "Include or exclude channel 18\n\nValue on reset: 0"]
940#[derive(Clone, Copy, Debug, PartialEq)]
941pub enum CH18_A {
942 #[doc = "0: Exclude"]
943 EXCLUDED = 0,
944 #[doc = "1: Include"]
945 INCLUDED = 1,
946}
947impl From<CH18_A> for bool {
948 #[inline(always)]
949 fn from(variant: CH18_A) -> Self {
950 variant as u8 != 0
951 }
952}
953impl CH18_R {
954 #[doc = "Get enumerated values variant"]
955 #[inline(always)]
956 pub fn variant(&self) -> CH18_A {
957 match self.bits {
958 false => CH18_A::EXCLUDED,
959 true => CH18_A::INCLUDED,
960 }
961 }
962 #[doc = "Checks if the value of the field is `EXCLUDED`"]
963 #[inline(always)]
964 pub fn is_excluded(&self) -> bool {
965 *self == CH18_A::EXCLUDED
966 }
967 #[doc = "Checks if the value of the field is `INCLUDED`"]
968 #[inline(always)]
969 pub fn is_included(&self) -> bool {
970 *self == CH18_A::INCLUDED
971 }
972}
973#[doc = "Field `CH18` writer - Include or exclude channel 18"]
974pub type CH18_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH18_A, O>;
975impl<'a, const O: u8> CH18_W<'a, O> {
976 #[doc = "Exclude"]
977 #[inline(always)]
978 pub fn excluded(self) -> &'a mut W {
979 self.variant(CH18_A::EXCLUDED)
980 }
981 #[doc = "Include"]
982 #[inline(always)]
983 pub fn included(self) -> &'a mut W {
984 self.variant(CH18_A::INCLUDED)
985 }
986}
987#[doc = "Field `CH19` reader - Include or exclude channel 19"]
988pub type CH19_R = crate::BitReader<CH19_A>;
989#[doc = "Include or exclude channel 19\n\nValue on reset: 0"]
990#[derive(Clone, Copy, Debug, PartialEq)]
991pub enum CH19_A {
992 #[doc = "0: Exclude"]
993 EXCLUDED = 0,
994 #[doc = "1: Include"]
995 INCLUDED = 1,
996}
997impl From<CH19_A> for bool {
998 #[inline(always)]
999 fn from(variant: CH19_A) -> Self {
1000 variant as u8 != 0
1001 }
1002}
1003impl CH19_R {
1004 #[doc = "Get enumerated values variant"]
1005 #[inline(always)]
1006 pub fn variant(&self) -> CH19_A {
1007 match self.bits {
1008 false => CH19_A::EXCLUDED,
1009 true => CH19_A::INCLUDED,
1010 }
1011 }
1012 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1013 #[inline(always)]
1014 pub fn is_excluded(&self) -> bool {
1015 *self == CH19_A::EXCLUDED
1016 }
1017 #[doc = "Checks if the value of the field is `INCLUDED`"]
1018 #[inline(always)]
1019 pub fn is_included(&self) -> bool {
1020 *self == CH19_A::INCLUDED
1021 }
1022}
1023#[doc = "Field `CH19` writer - Include or exclude channel 19"]
1024pub type CH19_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH19_A, O>;
1025impl<'a, const O: u8> CH19_W<'a, O> {
1026 #[doc = "Exclude"]
1027 #[inline(always)]
1028 pub fn excluded(self) -> &'a mut W {
1029 self.variant(CH19_A::EXCLUDED)
1030 }
1031 #[doc = "Include"]
1032 #[inline(always)]
1033 pub fn included(self) -> &'a mut W {
1034 self.variant(CH19_A::INCLUDED)
1035 }
1036}
1037#[doc = "Field `CH20` reader - Include or exclude channel 20"]
1038pub type CH20_R = crate::BitReader<CH20_A>;
1039#[doc = "Include or exclude channel 20\n\nValue on reset: 0"]
1040#[derive(Clone, Copy, Debug, PartialEq)]
1041pub enum CH20_A {
1042 #[doc = "0: Exclude"]
1043 EXCLUDED = 0,
1044 #[doc = "1: Include"]
1045 INCLUDED = 1,
1046}
1047impl From<CH20_A> for bool {
1048 #[inline(always)]
1049 fn from(variant: CH20_A) -> Self {
1050 variant as u8 != 0
1051 }
1052}
1053impl CH20_R {
1054 #[doc = "Get enumerated values variant"]
1055 #[inline(always)]
1056 pub fn variant(&self) -> CH20_A {
1057 match self.bits {
1058 false => CH20_A::EXCLUDED,
1059 true => CH20_A::INCLUDED,
1060 }
1061 }
1062 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1063 #[inline(always)]
1064 pub fn is_excluded(&self) -> bool {
1065 *self == CH20_A::EXCLUDED
1066 }
1067 #[doc = "Checks if the value of the field is `INCLUDED`"]
1068 #[inline(always)]
1069 pub fn is_included(&self) -> bool {
1070 *self == CH20_A::INCLUDED
1071 }
1072}
1073#[doc = "Field `CH20` writer - Include or exclude channel 20"]
1074pub type CH20_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH20_A, O>;
1075impl<'a, const O: u8> CH20_W<'a, O> {
1076 #[doc = "Exclude"]
1077 #[inline(always)]
1078 pub fn excluded(self) -> &'a mut W {
1079 self.variant(CH20_A::EXCLUDED)
1080 }
1081 #[doc = "Include"]
1082 #[inline(always)]
1083 pub fn included(self) -> &'a mut W {
1084 self.variant(CH20_A::INCLUDED)
1085 }
1086}
1087#[doc = "Field `CH21` reader - Include or exclude channel 21"]
1088pub type CH21_R = crate::BitReader<CH21_A>;
1089#[doc = "Include or exclude channel 21\n\nValue on reset: 0"]
1090#[derive(Clone, Copy, Debug, PartialEq)]
1091pub enum CH21_A {
1092 #[doc = "0: Exclude"]
1093 EXCLUDED = 0,
1094 #[doc = "1: Include"]
1095 INCLUDED = 1,
1096}
1097impl From<CH21_A> for bool {
1098 #[inline(always)]
1099 fn from(variant: CH21_A) -> Self {
1100 variant as u8 != 0
1101 }
1102}
1103impl CH21_R {
1104 #[doc = "Get enumerated values variant"]
1105 #[inline(always)]
1106 pub fn variant(&self) -> CH21_A {
1107 match self.bits {
1108 false => CH21_A::EXCLUDED,
1109 true => CH21_A::INCLUDED,
1110 }
1111 }
1112 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1113 #[inline(always)]
1114 pub fn is_excluded(&self) -> bool {
1115 *self == CH21_A::EXCLUDED
1116 }
1117 #[doc = "Checks if the value of the field is `INCLUDED`"]
1118 #[inline(always)]
1119 pub fn is_included(&self) -> bool {
1120 *self == CH21_A::INCLUDED
1121 }
1122}
1123#[doc = "Field `CH21` writer - Include or exclude channel 21"]
1124pub type CH21_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH21_A, O>;
1125impl<'a, const O: u8> CH21_W<'a, O> {
1126 #[doc = "Exclude"]
1127 #[inline(always)]
1128 pub fn excluded(self) -> &'a mut W {
1129 self.variant(CH21_A::EXCLUDED)
1130 }
1131 #[doc = "Include"]
1132 #[inline(always)]
1133 pub fn included(self) -> &'a mut W {
1134 self.variant(CH21_A::INCLUDED)
1135 }
1136}
1137#[doc = "Field `CH22` reader - Include or exclude channel 22"]
1138pub type CH22_R = crate::BitReader<CH22_A>;
1139#[doc = "Include or exclude channel 22\n\nValue on reset: 0"]
1140#[derive(Clone, Copy, Debug, PartialEq)]
1141pub enum CH22_A {
1142 #[doc = "0: Exclude"]
1143 EXCLUDED = 0,
1144 #[doc = "1: Include"]
1145 INCLUDED = 1,
1146}
1147impl From<CH22_A> for bool {
1148 #[inline(always)]
1149 fn from(variant: CH22_A) -> Self {
1150 variant as u8 != 0
1151 }
1152}
1153impl CH22_R {
1154 #[doc = "Get enumerated values variant"]
1155 #[inline(always)]
1156 pub fn variant(&self) -> CH22_A {
1157 match self.bits {
1158 false => CH22_A::EXCLUDED,
1159 true => CH22_A::INCLUDED,
1160 }
1161 }
1162 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1163 #[inline(always)]
1164 pub fn is_excluded(&self) -> bool {
1165 *self == CH22_A::EXCLUDED
1166 }
1167 #[doc = "Checks if the value of the field is `INCLUDED`"]
1168 #[inline(always)]
1169 pub fn is_included(&self) -> bool {
1170 *self == CH22_A::INCLUDED
1171 }
1172}
1173#[doc = "Field `CH22` writer - Include or exclude channel 22"]
1174pub type CH22_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH22_A, O>;
1175impl<'a, const O: u8> CH22_W<'a, O> {
1176 #[doc = "Exclude"]
1177 #[inline(always)]
1178 pub fn excluded(self) -> &'a mut W {
1179 self.variant(CH22_A::EXCLUDED)
1180 }
1181 #[doc = "Include"]
1182 #[inline(always)]
1183 pub fn included(self) -> &'a mut W {
1184 self.variant(CH22_A::INCLUDED)
1185 }
1186}
1187#[doc = "Field `CH23` reader - Include or exclude channel 23"]
1188pub type CH23_R = crate::BitReader<CH23_A>;
1189#[doc = "Include or exclude channel 23\n\nValue on reset: 0"]
1190#[derive(Clone, Copy, Debug, PartialEq)]
1191pub enum CH23_A {
1192 #[doc = "0: Exclude"]
1193 EXCLUDED = 0,
1194 #[doc = "1: Include"]
1195 INCLUDED = 1,
1196}
1197impl From<CH23_A> for bool {
1198 #[inline(always)]
1199 fn from(variant: CH23_A) -> Self {
1200 variant as u8 != 0
1201 }
1202}
1203impl CH23_R {
1204 #[doc = "Get enumerated values variant"]
1205 #[inline(always)]
1206 pub fn variant(&self) -> CH23_A {
1207 match self.bits {
1208 false => CH23_A::EXCLUDED,
1209 true => CH23_A::INCLUDED,
1210 }
1211 }
1212 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1213 #[inline(always)]
1214 pub fn is_excluded(&self) -> bool {
1215 *self == CH23_A::EXCLUDED
1216 }
1217 #[doc = "Checks if the value of the field is `INCLUDED`"]
1218 #[inline(always)]
1219 pub fn is_included(&self) -> bool {
1220 *self == CH23_A::INCLUDED
1221 }
1222}
1223#[doc = "Field `CH23` writer - Include or exclude channel 23"]
1224pub type CH23_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH23_A, O>;
1225impl<'a, const O: u8> CH23_W<'a, O> {
1226 #[doc = "Exclude"]
1227 #[inline(always)]
1228 pub fn excluded(self) -> &'a mut W {
1229 self.variant(CH23_A::EXCLUDED)
1230 }
1231 #[doc = "Include"]
1232 #[inline(always)]
1233 pub fn included(self) -> &'a mut W {
1234 self.variant(CH23_A::INCLUDED)
1235 }
1236}
1237#[doc = "Field `CH24` reader - Include or exclude channel 24"]
1238pub type CH24_R = crate::BitReader<CH24_A>;
1239#[doc = "Include or exclude channel 24\n\nValue on reset: 0"]
1240#[derive(Clone, Copy, Debug, PartialEq)]
1241pub enum CH24_A {
1242 #[doc = "0: Exclude"]
1243 EXCLUDED = 0,
1244 #[doc = "1: Include"]
1245 INCLUDED = 1,
1246}
1247impl From<CH24_A> for bool {
1248 #[inline(always)]
1249 fn from(variant: CH24_A) -> Self {
1250 variant as u8 != 0
1251 }
1252}
1253impl CH24_R {
1254 #[doc = "Get enumerated values variant"]
1255 #[inline(always)]
1256 pub fn variant(&self) -> CH24_A {
1257 match self.bits {
1258 false => CH24_A::EXCLUDED,
1259 true => CH24_A::INCLUDED,
1260 }
1261 }
1262 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1263 #[inline(always)]
1264 pub fn is_excluded(&self) -> bool {
1265 *self == CH24_A::EXCLUDED
1266 }
1267 #[doc = "Checks if the value of the field is `INCLUDED`"]
1268 #[inline(always)]
1269 pub fn is_included(&self) -> bool {
1270 *self == CH24_A::INCLUDED
1271 }
1272}
1273#[doc = "Field `CH24` writer - Include or exclude channel 24"]
1274pub type CH24_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH24_A, O>;
1275impl<'a, const O: u8> CH24_W<'a, O> {
1276 #[doc = "Exclude"]
1277 #[inline(always)]
1278 pub fn excluded(self) -> &'a mut W {
1279 self.variant(CH24_A::EXCLUDED)
1280 }
1281 #[doc = "Include"]
1282 #[inline(always)]
1283 pub fn included(self) -> &'a mut W {
1284 self.variant(CH24_A::INCLUDED)
1285 }
1286}
1287#[doc = "Field `CH25` reader - Include or exclude channel 25"]
1288pub type CH25_R = crate::BitReader<CH25_A>;
1289#[doc = "Include or exclude channel 25\n\nValue on reset: 0"]
1290#[derive(Clone, Copy, Debug, PartialEq)]
1291pub enum CH25_A {
1292 #[doc = "0: Exclude"]
1293 EXCLUDED = 0,
1294 #[doc = "1: Include"]
1295 INCLUDED = 1,
1296}
1297impl From<CH25_A> for bool {
1298 #[inline(always)]
1299 fn from(variant: CH25_A) -> Self {
1300 variant as u8 != 0
1301 }
1302}
1303impl CH25_R {
1304 #[doc = "Get enumerated values variant"]
1305 #[inline(always)]
1306 pub fn variant(&self) -> CH25_A {
1307 match self.bits {
1308 false => CH25_A::EXCLUDED,
1309 true => CH25_A::INCLUDED,
1310 }
1311 }
1312 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1313 #[inline(always)]
1314 pub fn is_excluded(&self) -> bool {
1315 *self == CH25_A::EXCLUDED
1316 }
1317 #[doc = "Checks if the value of the field is `INCLUDED`"]
1318 #[inline(always)]
1319 pub fn is_included(&self) -> bool {
1320 *self == CH25_A::INCLUDED
1321 }
1322}
1323#[doc = "Field `CH25` writer - Include or exclude channel 25"]
1324pub type CH25_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH25_A, O>;
1325impl<'a, const O: u8> CH25_W<'a, O> {
1326 #[doc = "Exclude"]
1327 #[inline(always)]
1328 pub fn excluded(self) -> &'a mut W {
1329 self.variant(CH25_A::EXCLUDED)
1330 }
1331 #[doc = "Include"]
1332 #[inline(always)]
1333 pub fn included(self) -> &'a mut W {
1334 self.variant(CH25_A::INCLUDED)
1335 }
1336}
1337#[doc = "Field `CH26` reader - Include or exclude channel 26"]
1338pub type CH26_R = crate::BitReader<CH26_A>;
1339#[doc = "Include or exclude channel 26\n\nValue on reset: 0"]
1340#[derive(Clone, Copy, Debug, PartialEq)]
1341pub enum CH26_A {
1342 #[doc = "0: Exclude"]
1343 EXCLUDED = 0,
1344 #[doc = "1: Include"]
1345 INCLUDED = 1,
1346}
1347impl From<CH26_A> for bool {
1348 #[inline(always)]
1349 fn from(variant: CH26_A) -> Self {
1350 variant as u8 != 0
1351 }
1352}
1353impl CH26_R {
1354 #[doc = "Get enumerated values variant"]
1355 #[inline(always)]
1356 pub fn variant(&self) -> CH26_A {
1357 match self.bits {
1358 false => CH26_A::EXCLUDED,
1359 true => CH26_A::INCLUDED,
1360 }
1361 }
1362 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1363 #[inline(always)]
1364 pub fn is_excluded(&self) -> bool {
1365 *self == CH26_A::EXCLUDED
1366 }
1367 #[doc = "Checks if the value of the field is `INCLUDED`"]
1368 #[inline(always)]
1369 pub fn is_included(&self) -> bool {
1370 *self == CH26_A::INCLUDED
1371 }
1372}
1373#[doc = "Field `CH26` writer - Include or exclude channel 26"]
1374pub type CH26_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH26_A, O>;
1375impl<'a, const O: u8> CH26_W<'a, O> {
1376 #[doc = "Exclude"]
1377 #[inline(always)]
1378 pub fn excluded(self) -> &'a mut W {
1379 self.variant(CH26_A::EXCLUDED)
1380 }
1381 #[doc = "Include"]
1382 #[inline(always)]
1383 pub fn included(self) -> &'a mut W {
1384 self.variant(CH26_A::INCLUDED)
1385 }
1386}
1387#[doc = "Field `CH27` reader - Include or exclude channel 27"]
1388pub type CH27_R = crate::BitReader<CH27_A>;
1389#[doc = "Include or exclude channel 27\n\nValue on reset: 0"]
1390#[derive(Clone, Copy, Debug, PartialEq)]
1391pub enum CH27_A {
1392 #[doc = "0: Exclude"]
1393 EXCLUDED = 0,
1394 #[doc = "1: Include"]
1395 INCLUDED = 1,
1396}
1397impl From<CH27_A> for bool {
1398 #[inline(always)]
1399 fn from(variant: CH27_A) -> Self {
1400 variant as u8 != 0
1401 }
1402}
1403impl CH27_R {
1404 #[doc = "Get enumerated values variant"]
1405 #[inline(always)]
1406 pub fn variant(&self) -> CH27_A {
1407 match self.bits {
1408 false => CH27_A::EXCLUDED,
1409 true => CH27_A::INCLUDED,
1410 }
1411 }
1412 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1413 #[inline(always)]
1414 pub fn is_excluded(&self) -> bool {
1415 *self == CH27_A::EXCLUDED
1416 }
1417 #[doc = "Checks if the value of the field is `INCLUDED`"]
1418 #[inline(always)]
1419 pub fn is_included(&self) -> bool {
1420 *self == CH27_A::INCLUDED
1421 }
1422}
1423#[doc = "Field `CH27` writer - Include or exclude channel 27"]
1424pub type CH27_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH27_A, O>;
1425impl<'a, const O: u8> CH27_W<'a, O> {
1426 #[doc = "Exclude"]
1427 #[inline(always)]
1428 pub fn excluded(self) -> &'a mut W {
1429 self.variant(CH27_A::EXCLUDED)
1430 }
1431 #[doc = "Include"]
1432 #[inline(always)]
1433 pub fn included(self) -> &'a mut W {
1434 self.variant(CH27_A::INCLUDED)
1435 }
1436}
1437#[doc = "Field `CH28` reader - Include or exclude channel 28"]
1438pub type CH28_R = crate::BitReader<CH28_A>;
1439#[doc = "Include or exclude channel 28\n\nValue on reset: 0"]
1440#[derive(Clone, Copy, Debug, PartialEq)]
1441pub enum CH28_A {
1442 #[doc = "0: Exclude"]
1443 EXCLUDED = 0,
1444 #[doc = "1: Include"]
1445 INCLUDED = 1,
1446}
1447impl From<CH28_A> for bool {
1448 #[inline(always)]
1449 fn from(variant: CH28_A) -> Self {
1450 variant as u8 != 0
1451 }
1452}
1453impl CH28_R {
1454 #[doc = "Get enumerated values variant"]
1455 #[inline(always)]
1456 pub fn variant(&self) -> CH28_A {
1457 match self.bits {
1458 false => CH28_A::EXCLUDED,
1459 true => CH28_A::INCLUDED,
1460 }
1461 }
1462 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1463 #[inline(always)]
1464 pub fn is_excluded(&self) -> bool {
1465 *self == CH28_A::EXCLUDED
1466 }
1467 #[doc = "Checks if the value of the field is `INCLUDED`"]
1468 #[inline(always)]
1469 pub fn is_included(&self) -> bool {
1470 *self == CH28_A::INCLUDED
1471 }
1472}
1473#[doc = "Field `CH28` writer - Include or exclude channel 28"]
1474pub type CH28_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH28_A, O>;
1475impl<'a, const O: u8> CH28_W<'a, O> {
1476 #[doc = "Exclude"]
1477 #[inline(always)]
1478 pub fn excluded(self) -> &'a mut W {
1479 self.variant(CH28_A::EXCLUDED)
1480 }
1481 #[doc = "Include"]
1482 #[inline(always)]
1483 pub fn included(self) -> &'a mut W {
1484 self.variant(CH28_A::INCLUDED)
1485 }
1486}
1487#[doc = "Field `CH29` reader - Include or exclude channel 29"]
1488pub type CH29_R = crate::BitReader<CH29_A>;
1489#[doc = "Include or exclude channel 29\n\nValue on reset: 0"]
1490#[derive(Clone, Copy, Debug, PartialEq)]
1491pub enum CH29_A {
1492 #[doc = "0: Exclude"]
1493 EXCLUDED = 0,
1494 #[doc = "1: Include"]
1495 INCLUDED = 1,
1496}
1497impl From<CH29_A> for bool {
1498 #[inline(always)]
1499 fn from(variant: CH29_A) -> Self {
1500 variant as u8 != 0
1501 }
1502}
1503impl CH29_R {
1504 #[doc = "Get enumerated values variant"]
1505 #[inline(always)]
1506 pub fn variant(&self) -> CH29_A {
1507 match self.bits {
1508 false => CH29_A::EXCLUDED,
1509 true => CH29_A::INCLUDED,
1510 }
1511 }
1512 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1513 #[inline(always)]
1514 pub fn is_excluded(&self) -> bool {
1515 *self == CH29_A::EXCLUDED
1516 }
1517 #[doc = "Checks if the value of the field is `INCLUDED`"]
1518 #[inline(always)]
1519 pub fn is_included(&self) -> bool {
1520 *self == CH29_A::INCLUDED
1521 }
1522}
1523#[doc = "Field `CH29` writer - Include or exclude channel 29"]
1524pub type CH29_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH29_A, O>;
1525impl<'a, const O: u8> CH29_W<'a, O> {
1526 #[doc = "Exclude"]
1527 #[inline(always)]
1528 pub fn excluded(self) -> &'a mut W {
1529 self.variant(CH29_A::EXCLUDED)
1530 }
1531 #[doc = "Include"]
1532 #[inline(always)]
1533 pub fn included(self) -> &'a mut W {
1534 self.variant(CH29_A::INCLUDED)
1535 }
1536}
1537#[doc = "Field `CH30` reader - Include or exclude channel 30"]
1538pub type CH30_R = crate::BitReader<CH30_A>;
1539#[doc = "Include or exclude channel 30\n\nValue on reset: 0"]
1540#[derive(Clone, Copy, Debug, PartialEq)]
1541pub enum CH30_A {
1542 #[doc = "0: Exclude"]
1543 EXCLUDED = 0,
1544 #[doc = "1: Include"]
1545 INCLUDED = 1,
1546}
1547impl From<CH30_A> for bool {
1548 #[inline(always)]
1549 fn from(variant: CH30_A) -> Self {
1550 variant as u8 != 0
1551 }
1552}
1553impl CH30_R {
1554 #[doc = "Get enumerated values variant"]
1555 #[inline(always)]
1556 pub fn variant(&self) -> CH30_A {
1557 match self.bits {
1558 false => CH30_A::EXCLUDED,
1559 true => CH30_A::INCLUDED,
1560 }
1561 }
1562 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1563 #[inline(always)]
1564 pub fn is_excluded(&self) -> bool {
1565 *self == CH30_A::EXCLUDED
1566 }
1567 #[doc = "Checks if the value of the field is `INCLUDED`"]
1568 #[inline(always)]
1569 pub fn is_included(&self) -> bool {
1570 *self == CH30_A::INCLUDED
1571 }
1572}
1573#[doc = "Field `CH30` writer - Include or exclude channel 30"]
1574pub type CH30_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH30_A, O>;
1575impl<'a, const O: u8> CH30_W<'a, O> {
1576 #[doc = "Exclude"]
1577 #[inline(always)]
1578 pub fn excluded(self) -> &'a mut W {
1579 self.variant(CH30_A::EXCLUDED)
1580 }
1581 #[doc = "Include"]
1582 #[inline(always)]
1583 pub fn included(self) -> &'a mut W {
1584 self.variant(CH30_A::INCLUDED)
1585 }
1586}
1587#[doc = "Field `CH31` reader - Include or exclude channel 31"]
1588pub type CH31_R = crate::BitReader<CH31_A>;
1589#[doc = "Include or exclude channel 31\n\nValue on reset: 0"]
1590#[derive(Clone, Copy, Debug, PartialEq)]
1591pub enum CH31_A {
1592 #[doc = "0: Exclude"]
1593 EXCLUDED = 0,
1594 #[doc = "1: Include"]
1595 INCLUDED = 1,
1596}
1597impl From<CH31_A> for bool {
1598 #[inline(always)]
1599 fn from(variant: CH31_A) -> Self {
1600 variant as u8 != 0
1601 }
1602}
1603impl CH31_R {
1604 #[doc = "Get enumerated values variant"]
1605 #[inline(always)]
1606 pub fn variant(&self) -> CH31_A {
1607 match self.bits {
1608 false => CH31_A::EXCLUDED,
1609 true => CH31_A::INCLUDED,
1610 }
1611 }
1612 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1613 #[inline(always)]
1614 pub fn is_excluded(&self) -> bool {
1615 *self == CH31_A::EXCLUDED
1616 }
1617 #[doc = "Checks if the value of the field is `INCLUDED`"]
1618 #[inline(always)]
1619 pub fn is_included(&self) -> bool {
1620 *self == CH31_A::INCLUDED
1621 }
1622}
1623#[doc = "Field `CH31` writer - Include or exclude channel 31"]
1624pub type CH31_W<'a, const O: u8> = crate::BitWriter<'a, u32, CHG_SPEC, CH31_A, O>;
1625impl<'a, const O: u8> CH31_W<'a, O> {
1626 #[doc = "Exclude"]
1627 #[inline(always)]
1628 pub fn excluded(self) -> &'a mut W {
1629 self.variant(CH31_A::EXCLUDED)
1630 }
1631 #[doc = "Include"]
1632 #[inline(always)]
1633 pub fn included(self) -> &'a mut W {
1634 self.variant(CH31_A::INCLUDED)
1635 }
1636}
1637impl R {
1638 #[doc = "Bit 0 - Include or exclude channel 0"]
1639 #[inline(always)]
1640 pub fn ch0(&self) -> CH0_R {
1641 CH0_R::new((self.bits & 1) != 0)
1642 }
1643 #[doc = "Bit 1 - Include or exclude channel 1"]
1644 #[inline(always)]
1645 pub fn ch1(&self) -> CH1_R {
1646 CH1_R::new(((self.bits >> 1) & 1) != 0)
1647 }
1648 #[doc = "Bit 2 - Include or exclude channel 2"]
1649 #[inline(always)]
1650 pub fn ch2(&self) -> CH2_R {
1651 CH2_R::new(((self.bits >> 2) & 1) != 0)
1652 }
1653 #[doc = "Bit 3 - Include or exclude channel 3"]
1654 #[inline(always)]
1655 pub fn ch3(&self) -> CH3_R {
1656 CH3_R::new(((self.bits >> 3) & 1) != 0)
1657 }
1658 #[doc = "Bit 4 - Include or exclude channel 4"]
1659 #[inline(always)]
1660 pub fn ch4(&self) -> CH4_R {
1661 CH4_R::new(((self.bits >> 4) & 1) != 0)
1662 }
1663 #[doc = "Bit 5 - Include or exclude channel 5"]
1664 #[inline(always)]
1665 pub fn ch5(&self) -> CH5_R {
1666 CH5_R::new(((self.bits >> 5) & 1) != 0)
1667 }
1668 #[doc = "Bit 6 - Include or exclude channel 6"]
1669 #[inline(always)]
1670 pub fn ch6(&self) -> CH6_R {
1671 CH6_R::new(((self.bits >> 6) & 1) != 0)
1672 }
1673 #[doc = "Bit 7 - Include or exclude channel 7"]
1674 #[inline(always)]
1675 pub fn ch7(&self) -> CH7_R {
1676 CH7_R::new(((self.bits >> 7) & 1) != 0)
1677 }
1678 #[doc = "Bit 8 - Include or exclude channel 8"]
1679 #[inline(always)]
1680 pub fn ch8(&self) -> CH8_R {
1681 CH8_R::new(((self.bits >> 8) & 1) != 0)
1682 }
1683 #[doc = "Bit 9 - Include or exclude channel 9"]
1684 #[inline(always)]
1685 pub fn ch9(&self) -> CH9_R {
1686 CH9_R::new(((self.bits >> 9) & 1) != 0)
1687 }
1688 #[doc = "Bit 10 - Include or exclude channel 10"]
1689 #[inline(always)]
1690 pub fn ch10(&self) -> CH10_R {
1691 CH10_R::new(((self.bits >> 10) & 1) != 0)
1692 }
1693 #[doc = "Bit 11 - Include or exclude channel 11"]
1694 #[inline(always)]
1695 pub fn ch11(&self) -> CH11_R {
1696 CH11_R::new(((self.bits >> 11) & 1) != 0)
1697 }
1698 #[doc = "Bit 12 - Include or exclude channel 12"]
1699 #[inline(always)]
1700 pub fn ch12(&self) -> CH12_R {
1701 CH12_R::new(((self.bits >> 12) & 1) != 0)
1702 }
1703 #[doc = "Bit 13 - Include or exclude channel 13"]
1704 #[inline(always)]
1705 pub fn ch13(&self) -> CH13_R {
1706 CH13_R::new(((self.bits >> 13) & 1) != 0)
1707 }
1708 #[doc = "Bit 14 - Include or exclude channel 14"]
1709 #[inline(always)]
1710 pub fn ch14(&self) -> CH14_R {
1711 CH14_R::new(((self.bits >> 14) & 1) != 0)
1712 }
1713 #[doc = "Bit 15 - Include or exclude channel 15"]
1714 #[inline(always)]
1715 pub fn ch15(&self) -> CH15_R {
1716 CH15_R::new(((self.bits >> 15) & 1) != 0)
1717 }
1718 #[doc = "Bit 16 - Include or exclude channel 16"]
1719 #[inline(always)]
1720 pub fn ch16(&self) -> CH16_R {
1721 CH16_R::new(((self.bits >> 16) & 1) != 0)
1722 }
1723 #[doc = "Bit 17 - Include or exclude channel 17"]
1724 #[inline(always)]
1725 pub fn ch17(&self) -> CH17_R {
1726 CH17_R::new(((self.bits >> 17) & 1) != 0)
1727 }
1728 #[doc = "Bit 18 - Include or exclude channel 18"]
1729 #[inline(always)]
1730 pub fn ch18(&self) -> CH18_R {
1731 CH18_R::new(((self.bits >> 18) & 1) != 0)
1732 }
1733 #[doc = "Bit 19 - Include or exclude channel 19"]
1734 #[inline(always)]
1735 pub fn ch19(&self) -> CH19_R {
1736 CH19_R::new(((self.bits >> 19) & 1) != 0)
1737 }
1738 #[doc = "Bit 20 - Include or exclude channel 20"]
1739 #[inline(always)]
1740 pub fn ch20(&self) -> CH20_R {
1741 CH20_R::new(((self.bits >> 20) & 1) != 0)
1742 }
1743 #[doc = "Bit 21 - Include or exclude channel 21"]
1744 #[inline(always)]
1745 pub fn ch21(&self) -> CH21_R {
1746 CH21_R::new(((self.bits >> 21) & 1) != 0)
1747 }
1748 #[doc = "Bit 22 - Include or exclude channel 22"]
1749 #[inline(always)]
1750 pub fn ch22(&self) -> CH22_R {
1751 CH22_R::new(((self.bits >> 22) & 1) != 0)
1752 }
1753 #[doc = "Bit 23 - Include or exclude channel 23"]
1754 #[inline(always)]
1755 pub fn ch23(&self) -> CH23_R {
1756 CH23_R::new(((self.bits >> 23) & 1) != 0)
1757 }
1758 #[doc = "Bit 24 - Include or exclude channel 24"]
1759 #[inline(always)]
1760 pub fn ch24(&self) -> CH24_R {
1761 CH24_R::new(((self.bits >> 24) & 1) != 0)
1762 }
1763 #[doc = "Bit 25 - Include or exclude channel 25"]
1764 #[inline(always)]
1765 pub fn ch25(&self) -> CH25_R {
1766 CH25_R::new(((self.bits >> 25) & 1) != 0)
1767 }
1768 #[doc = "Bit 26 - Include or exclude channel 26"]
1769 #[inline(always)]
1770 pub fn ch26(&self) -> CH26_R {
1771 CH26_R::new(((self.bits >> 26) & 1) != 0)
1772 }
1773 #[doc = "Bit 27 - Include or exclude channel 27"]
1774 #[inline(always)]
1775 pub fn ch27(&self) -> CH27_R {
1776 CH27_R::new(((self.bits >> 27) & 1) != 0)
1777 }
1778 #[doc = "Bit 28 - Include or exclude channel 28"]
1779 #[inline(always)]
1780 pub fn ch28(&self) -> CH28_R {
1781 CH28_R::new(((self.bits >> 28) & 1) != 0)
1782 }
1783 #[doc = "Bit 29 - Include or exclude channel 29"]
1784 #[inline(always)]
1785 pub fn ch29(&self) -> CH29_R {
1786 CH29_R::new(((self.bits >> 29) & 1) != 0)
1787 }
1788 #[doc = "Bit 30 - Include or exclude channel 30"]
1789 #[inline(always)]
1790 pub fn ch30(&self) -> CH30_R {
1791 CH30_R::new(((self.bits >> 30) & 1) != 0)
1792 }
1793 #[doc = "Bit 31 - Include or exclude channel 31"]
1794 #[inline(always)]
1795 pub fn ch31(&self) -> CH31_R {
1796 CH31_R::new(((self.bits >> 31) & 1) != 0)
1797 }
1798}
1799impl W {
1800 #[doc = "Bit 0 - Include or exclude channel 0"]
1801 #[inline(always)]
1802 pub fn ch0(&mut self) -> CH0_W<0> {
1803 CH0_W::new(self)
1804 }
1805 #[doc = "Bit 1 - Include or exclude channel 1"]
1806 #[inline(always)]
1807 pub fn ch1(&mut self) -> CH1_W<1> {
1808 CH1_W::new(self)
1809 }
1810 #[doc = "Bit 2 - Include or exclude channel 2"]
1811 #[inline(always)]
1812 pub fn ch2(&mut self) -> CH2_W<2> {
1813 CH2_W::new(self)
1814 }
1815 #[doc = "Bit 3 - Include or exclude channel 3"]
1816 #[inline(always)]
1817 pub fn ch3(&mut self) -> CH3_W<3> {
1818 CH3_W::new(self)
1819 }
1820 #[doc = "Bit 4 - Include or exclude channel 4"]
1821 #[inline(always)]
1822 pub fn ch4(&mut self) -> CH4_W<4> {
1823 CH4_W::new(self)
1824 }
1825 #[doc = "Bit 5 - Include or exclude channel 5"]
1826 #[inline(always)]
1827 pub fn ch5(&mut self) -> CH5_W<5> {
1828 CH5_W::new(self)
1829 }
1830 #[doc = "Bit 6 - Include or exclude channel 6"]
1831 #[inline(always)]
1832 pub fn ch6(&mut self) -> CH6_W<6> {
1833 CH6_W::new(self)
1834 }
1835 #[doc = "Bit 7 - Include or exclude channel 7"]
1836 #[inline(always)]
1837 pub fn ch7(&mut self) -> CH7_W<7> {
1838 CH7_W::new(self)
1839 }
1840 #[doc = "Bit 8 - Include or exclude channel 8"]
1841 #[inline(always)]
1842 pub fn ch8(&mut self) -> CH8_W<8> {
1843 CH8_W::new(self)
1844 }
1845 #[doc = "Bit 9 - Include or exclude channel 9"]
1846 #[inline(always)]
1847 pub fn ch9(&mut self) -> CH9_W<9> {
1848 CH9_W::new(self)
1849 }
1850 #[doc = "Bit 10 - Include or exclude channel 10"]
1851 #[inline(always)]
1852 pub fn ch10(&mut self) -> CH10_W<10> {
1853 CH10_W::new(self)
1854 }
1855 #[doc = "Bit 11 - Include or exclude channel 11"]
1856 #[inline(always)]
1857 pub fn ch11(&mut self) -> CH11_W<11> {
1858 CH11_W::new(self)
1859 }
1860 #[doc = "Bit 12 - Include or exclude channel 12"]
1861 #[inline(always)]
1862 pub fn ch12(&mut self) -> CH12_W<12> {
1863 CH12_W::new(self)
1864 }
1865 #[doc = "Bit 13 - Include or exclude channel 13"]
1866 #[inline(always)]
1867 pub fn ch13(&mut self) -> CH13_W<13> {
1868 CH13_W::new(self)
1869 }
1870 #[doc = "Bit 14 - Include or exclude channel 14"]
1871 #[inline(always)]
1872 pub fn ch14(&mut self) -> CH14_W<14> {
1873 CH14_W::new(self)
1874 }
1875 #[doc = "Bit 15 - Include or exclude channel 15"]
1876 #[inline(always)]
1877 pub fn ch15(&mut self) -> CH15_W<15> {
1878 CH15_W::new(self)
1879 }
1880 #[doc = "Bit 16 - Include or exclude channel 16"]
1881 #[inline(always)]
1882 pub fn ch16(&mut self) -> CH16_W<16> {
1883 CH16_W::new(self)
1884 }
1885 #[doc = "Bit 17 - Include or exclude channel 17"]
1886 #[inline(always)]
1887 pub fn ch17(&mut self) -> CH17_W<17> {
1888 CH17_W::new(self)
1889 }
1890 #[doc = "Bit 18 - Include or exclude channel 18"]
1891 #[inline(always)]
1892 pub fn ch18(&mut self) -> CH18_W<18> {
1893 CH18_W::new(self)
1894 }
1895 #[doc = "Bit 19 - Include or exclude channel 19"]
1896 #[inline(always)]
1897 pub fn ch19(&mut self) -> CH19_W<19> {
1898 CH19_W::new(self)
1899 }
1900 #[doc = "Bit 20 - Include or exclude channel 20"]
1901 #[inline(always)]
1902 pub fn ch20(&mut self) -> CH20_W<20> {
1903 CH20_W::new(self)
1904 }
1905 #[doc = "Bit 21 - Include or exclude channel 21"]
1906 #[inline(always)]
1907 pub fn ch21(&mut self) -> CH21_W<21> {
1908 CH21_W::new(self)
1909 }
1910 #[doc = "Bit 22 - Include or exclude channel 22"]
1911 #[inline(always)]
1912 pub fn ch22(&mut self) -> CH22_W<22> {
1913 CH22_W::new(self)
1914 }
1915 #[doc = "Bit 23 - Include or exclude channel 23"]
1916 #[inline(always)]
1917 pub fn ch23(&mut self) -> CH23_W<23> {
1918 CH23_W::new(self)
1919 }
1920 #[doc = "Bit 24 - Include or exclude channel 24"]
1921 #[inline(always)]
1922 pub fn ch24(&mut self) -> CH24_W<24> {
1923 CH24_W::new(self)
1924 }
1925 #[doc = "Bit 25 - Include or exclude channel 25"]
1926 #[inline(always)]
1927 pub fn ch25(&mut self) -> CH25_W<25> {
1928 CH25_W::new(self)
1929 }
1930 #[doc = "Bit 26 - Include or exclude channel 26"]
1931 #[inline(always)]
1932 pub fn ch26(&mut self) -> CH26_W<26> {
1933 CH26_W::new(self)
1934 }
1935 #[doc = "Bit 27 - Include or exclude channel 27"]
1936 #[inline(always)]
1937 pub fn ch27(&mut self) -> CH27_W<27> {
1938 CH27_W::new(self)
1939 }
1940 #[doc = "Bit 28 - Include or exclude channel 28"]
1941 #[inline(always)]
1942 pub fn ch28(&mut self) -> CH28_W<28> {
1943 CH28_W::new(self)
1944 }
1945 #[doc = "Bit 29 - Include or exclude channel 29"]
1946 #[inline(always)]
1947 pub fn ch29(&mut self) -> CH29_W<29> {
1948 CH29_W::new(self)
1949 }
1950 #[doc = "Bit 30 - Include or exclude channel 30"]
1951 #[inline(always)]
1952 pub fn ch30(&mut self) -> CH30_W<30> {
1953 CH30_W::new(self)
1954 }
1955 #[doc = "Bit 31 - Include or exclude channel 31"]
1956 #[inline(always)]
1957 pub fn ch31(&mut self) -> CH31_W<31> {
1958 CH31_W::new(self)
1959 }
1960 #[doc = "Writes raw bits to the register."]
1961 #[inline(always)]
1962 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
1963 self.0.bits(bits);
1964 self
1965 }
1966}
1967#[doc = "Description collection\\[n\\]: Channel group n\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [chg](index.html) module"]
1968pub struct CHG_SPEC;
1969impl crate::RegisterSpec for CHG_SPEC {
1970 type Ux = u32;
1971}
1972#[doc = "`read()` method returns [chg::R](R) reader structure"]
1973impl crate::Readable for CHG_SPEC {
1974 type Reader = R;
1975}
1976#[doc = "`write(|w| ..)` method takes [chg::W](W) writer structure"]
1977impl crate::Writable for CHG_SPEC {
1978 type Writer = W;
1979}
1980#[doc = "`reset()` method sets CHG[%s]
1981to value 0"]
1982impl crate::Resettable for CHG_SPEC {
1983 #[inline(always)]
1984 fn reset_value() -> Self::Ux {
1985 0
1986 }
1987}