1#[doc = r" Value read from the register"]
2pub struct R {
3 bits: u32,
4}
5#[doc = r" Value to write to the register"]
6pub struct W {
7 bits: u32,
8}
9impl super::CHG {
10 #[doc = r" Modifies the contents of the register"]
11 #[inline]
12 pub fn modify<F>(&self, f: F)
13 where
14 for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W,
15 {
16 let bits = self.register.get();
17 let r = R { bits: bits };
18 let mut w = W { bits: bits };
19 f(&r, &mut w);
20 self.register.set(w.bits);
21 }
22 #[doc = r" Reads the contents of the register"]
23 #[inline]
24 pub fn read(&self) -> R {
25 R {
26 bits: self.register.get(),
27 }
28 }
29 #[doc = r" Writes to the register"]
30 #[inline]
31 pub fn write<F>(&self, f: F)
32 where
33 F: FnOnce(&mut W) -> &mut W,
34 {
35 let mut w = W::reset_value();
36 f(&mut w);
37 self.register.set(w.bits);
38 }
39 #[doc = r" Writes the reset value to the register"]
40 #[inline]
41 pub fn reset(&self) {
42 self.write(|w| w)
43 }
44}
45#[doc = "Possible values of the field `CH0`"]
46#[derive(Clone, Copy, Debug, PartialEq)]
47pub enum CH0R {
48 #[doc = "Exclude"]
49 EXCLUDED,
50 #[doc = "Include"]
51 INCLUDED,
52}
53impl CH0R {
54 #[doc = r" Returns `true` if the bit is clear (0)"]
55 #[inline]
56 pub fn bit_is_clear(&self) -> bool {
57 !self.bit()
58 }
59 #[doc = r" Returns `true` if the bit is set (1)"]
60 #[inline]
61 pub fn bit_is_set(&self) -> bool {
62 self.bit()
63 }
64 #[doc = r" Value of the field as raw bits"]
65 #[inline]
66 pub fn bit(&self) -> bool {
67 match *self {
68 CH0R::EXCLUDED => false,
69 CH0R::INCLUDED => true,
70 }
71 }
72 #[allow(missing_docs)]
73 #[doc(hidden)]
74 #[inline]
75 pub fn _from(value: bool) -> CH0R {
76 match value {
77 false => CH0R::EXCLUDED,
78 true => CH0R::INCLUDED,
79 }
80 }
81 #[doc = "Checks if the value of the field is `EXCLUDED`"]
82 #[inline]
83 pub fn is_excluded(&self) -> bool {
84 *self == CH0R::EXCLUDED
85 }
86 #[doc = "Checks if the value of the field is `INCLUDED`"]
87 #[inline]
88 pub fn is_included(&self) -> bool {
89 *self == CH0R::INCLUDED
90 }
91}
92#[doc = "Possible values of the field `CH1`"]
93#[derive(Clone, Copy, Debug, PartialEq)]
94pub enum CH1R {
95 #[doc = "Exclude"]
96 EXCLUDED,
97 #[doc = "Include"]
98 INCLUDED,
99}
100impl CH1R {
101 #[doc = r" Returns `true` if the bit is clear (0)"]
102 #[inline]
103 pub fn bit_is_clear(&self) -> bool {
104 !self.bit()
105 }
106 #[doc = r" Returns `true` if the bit is set (1)"]
107 #[inline]
108 pub fn bit_is_set(&self) -> bool {
109 self.bit()
110 }
111 #[doc = r" Value of the field as raw bits"]
112 #[inline]
113 pub fn bit(&self) -> bool {
114 match *self {
115 CH1R::EXCLUDED => false,
116 CH1R::INCLUDED => true,
117 }
118 }
119 #[allow(missing_docs)]
120 #[doc(hidden)]
121 #[inline]
122 pub fn _from(value: bool) -> CH1R {
123 match value {
124 false => CH1R::EXCLUDED,
125 true => CH1R::INCLUDED,
126 }
127 }
128 #[doc = "Checks if the value of the field is `EXCLUDED`"]
129 #[inline]
130 pub fn is_excluded(&self) -> bool {
131 *self == CH1R::EXCLUDED
132 }
133 #[doc = "Checks if the value of the field is `INCLUDED`"]
134 #[inline]
135 pub fn is_included(&self) -> bool {
136 *self == CH1R::INCLUDED
137 }
138}
139#[doc = "Possible values of the field `CH2`"]
140#[derive(Clone, Copy, Debug, PartialEq)]
141pub enum CH2R {
142 #[doc = "Exclude"]
143 EXCLUDED,
144 #[doc = "Include"]
145 INCLUDED,
146}
147impl CH2R {
148 #[doc = r" Returns `true` if the bit is clear (0)"]
149 #[inline]
150 pub fn bit_is_clear(&self) -> bool {
151 !self.bit()
152 }
153 #[doc = r" Returns `true` if the bit is set (1)"]
154 #[inline]
155 pub fn bit_is_set(&self) -> bool {
156 self.bit()
157 }
158 #[doc = r" Value of the field as raw bits"]
159 #[inline]
160 pub fn bit(&self) -> bool {
161 match *self {
162 CH2R::EXCLUDED => false,
163 CH2R::INCLUDED => true,
164 }
165 }
166 #[allow(missing_docs)]
167 #[doc(hidden)]
168 #[inline]
169 pub fn _from(value: bool) -> CH2R {
170 match value {
171 false => CH2R::EXCLUDED,
172 true => CH2R::INCLUDED,
173 }
174 }
175 #[doc = "Checks if the value of the field is `EXCLUDED`"]
176 #[inline]
177 pub fn is_excluded(&self) -> bool {
178 *self == CH2R::EXCLUDED
179 }
180 #[doc = "Checks if the value of the field is `INCLUDED`"]
181 #[inline]
182 pub fn is_included(&self) -> bool {
183 *self == CH2R::INCLUDED
184 }
185}
186#[doc = "Possible values of the field `CH3`"]
187#[derive(Clone, Copy, Debug, PartialEq)]
188pub enum CH3R {
189 #[doc = "Exclude"]
190 EXCLUDED,
191 #[doc = "Include"]
192 INCLUDED,
193}
194impl CH3R {
195 #[doc = r" Returns `true` if the bit is clear (0)"]
196 #[inline]
197 pub fn bit_is_clear(&self) -> bool {
198 !self.bit()
199 }
200 #[doc = r" Returns `true` if the bit is set (1)"]
201 #[inline]
202 pub fn bit_is_set(&self) -> bool {
203 self.bit()
204 }
205 #[doc = r" Value of the field as raw bits"]
206 #[inline]
207 pub fn bit(&self) -> bool {
208 match *self {
209 CH3R::EXCLUDED => false,
210 CH3R::INCLUDED => true,
211 }
212 }
213 #[allow(missing_docs)]
214 #[doc(hidden)]
215 #[inline]
216 pub fn _from(value: bool) -> CH3R {
217 match value {
218 false => CH3R::EXCLUDED,
219 true => CH3R::INCLUDED,
220 }
221 }
222 #[doc = "Checks if the value of the field is `EXCLUDED`"]
223 #[inline]
224 pub fn is_excluded(&self) -> bool {
225 *self == CH3R::EXCLUDED
226 }
227 #[doc = "Checks if the value of the field is `INCLUDED`"]
228 #[inline]
229 pub fn is_included(&self) -> bool {
230 *self == CH3R::INCLUDED
231 }
232}
233#[doc = "Possible values of the field `CH4`"]
234#[derive(Clone, Copy, Debug, PartialEq)]
235pub enum CH4R {
236 #[doc = "Exclude"]
237 EXCLUDED,
238 #[doc = "Include"]
239 INCLUDED,
240}
241impl CH4R {
242 #[doc = r" Returns `true` if the bit is clear (0)"]
243 #[inline]
244 pub fn bit_is_clear(&self) -> bool {
245 !self.bit()
246 }
247 #[doc = r" Returns `true` if the bit is set (1)"]
248 #[inline]
249 pub fn bit_is_set(&self) -> bool {
250 self.bit()
251 }
252 #[doc = r" Value of the field as raw bits"]
253 #[inline]
254 pub fn bit(&self) -> bool {
255 match *self {
256 CH4R::EXCLUDED => false,
257 CH4R::INCLUDED => true,
258 }
259 }
260 #[allow(missing_docs)]
261 #[doc(hidden)]
262 #[inline]
263 pub fn _from(value: bool) -> CH4R {
264 match value {
265 false => CH4R::EXCLUDED,
266 true => CH4R::INCLUDED,
267 }
268 }
269 #[doc = "Checks if the value of the field is `EXCLUDED`"]
270 #[inline]
271 pub fn is_excluded(&self) -> bool {
272 *self == CH4R::EXCLUDED
273 }
274 #[doc = "Checks if the value of the field is `INCLUDED`"]
275 #[inline]
276 pub fn is_included(&self) -> bool {
277 *self == CH4R::INCLUDED
278 }
279}
280#[doc = "Possible values of the field `CH5`"]
281#[derive(Clone, Copy, Debug, PartialEq)]
282pub enum CH5R {
283 #[doc = "Exclude"]
284 EXCLUDED,
285 #[doc = "Include"]
286 INCLUDED,
287}
288impl CH5R {
289 #[doc = r" Returns `true` if the bit is clear (0)"]
290 #[inline]
291 pub fn bit_is_clear(&self) -> bool {
292 !self.bit()
293 }
294 #[doc = r" Returns `true` if the bit is set (1)"]
295 #[inline]
296 pub fn bit_is_set(&self) -> bool {
297 self.bit()
298 }
299 #[doc = r" Value of the field as raw bits"]
300 #[inline]
301 pub fn bit(&self) -> bool {
302 match *self {
303 CH5R::EXCLUDED => false,
304 CH5R::INCLUDED => true,
305 }
306 }
307 #[allow(missing_docs)]
308 #[doc(hidden)]
309 #[inline]
310 pub fn _from(value: bool) -> CH5R {
311 match value {
312 false => CH5R::EXCLUDED,
313 true => CH5R::INCLUDED,
314 }
315 }
316 #[doc = "Checks if the value of the field is `EXCLUDED`"]
317 #[inline]
318 pub fn is_excluded(&self) -> bool {
319 *self == CH5R::EXCLUDED
320 }
321 #[doc = "Checks if the value of the field is `INCLUDED`"]
322 #[inline]
323 pub fn is_included(&self) -> bool {
324 *self == CH5R::INCLUDED
325 }
326}
327#[doc = "Possible values of the field `CH6`"]
328#[derive(Clone, Copy, Debug, PartialEq)]
329pub enum CH6R {
330 #[doc = "Exclude"]
331 EXCLUDED,
332 #[doc = "Include"]
333 INCLUDED,
334}
335impl CH6R {
336 #[doc = r" Returns `true` if the bit is clear (0)"]
337 #[inline]
338 pub fn bit_is_clear(&self) -> bool {
339 !self.bit()
340 }
341 #[doc = r" Returns `true` if the bit is set (1)"]
342 #[inline]
343 pub fn bit_is_set(&self) -> bool {
344 self.bit()
345 }
346 #[doc = r" Value of the field as raw bits"]
347 #[inline]
348 pub fn bit(&self) -> bool {
349 match *self {
350 CH6R::EXCLUDED => false,
351 CH6R::INCLUDED => true,
352 }
353 }
354 #[allow(missing_docs)]
355 #[doc(hidden)]
356 #[inline]
357 pub fn _from(value: bool) -> CH6R {
358 match value {
359 false => CH6R::EXCLUDED,
360 true => CH6R::INCLUDED,
361 }
362 }
363 #[doc = "Checks if the value of the field is `EXCLUDED`"]
364 #[inline]
365 pub fn is_excluded(&self) -> bool {
366 *self == CH6R::EXCLUDED
367 }
368 #[doc = "Checks if the value of the field is `INCLUDED`"]
369 #[inline]
370 pub fn is_included(&self) -> bool {
371 *self == CH6R::INCLUDED
372 }
373}
374#[doc = "Possible values of the field `CH7`"]
375#[derive(Clone, Copy, Debug, PartialEq)]
376pub enum CH7R {
377 #[doc = "Exclude"]
378 EXCLUDED,
379 #[doc = "Include"]
380 INCLUDED,
381}
382impl CH7R {
383 #[doc = r" Returns `true` if the bit is clear (0)"]
384 #[inline]
385 pub fn bit_is_clear(&self) -> bool {
386 !self.bit()
387 }
388 #[doc = r" Returns `true` if the bit is set (1)"]
389 #[inline]
390 pub fn bit_is_set(&self) -> bool {
391 self.bit()
392 }
393 #[doc = r" Value of the field as raw bits"]
394 #[inline]
395 pub fn bit(&self) -> bool {
396 match *self {
397 CH7R::EXCLUDED => false,
398 CH7R::INCLUDED => true,
399 }
400 }
401 #[allow(missing_docs)]
402 #[doc(hidden)]
403 #[inline]
404 pub fn _from(value: bool) -> CH7R {
405 match value {
406 false => CH7R::EXCLUDED,
407 true => CH7R::INCLUDED,
408 }
409 }
410 #[doc = "Checks if the value of the field is `EXCLUDED`"]
411 #[inline]
412 pub fn is_excluded(&self) -> bool {
413 *self == CH7R::EXCLUDED
414 }
415 #[doc = "Checks if the value of the field is `INCLUDED`"]
416 #[inline]
417 pub fn is_included(&self) -> bool {
418 *self == CH7R::INCLUDED
419 }
420}
421#[doc = "Possible values of the field `CH8`"]
422#[derive(Clone, Copy, Debug, PartialEq)]
423pub enum CH8R {
424 #[doc = "Exclude"]
425 EXCLUDED,
426 #[doc = "Include"]
427 INCLUDED,
428}
429impl CH8R {
430 #[doc = r" Returns `true` if the bit is clear (0)"]
431 #[inline]
432 pub fn bit_is_clear(&self) -> bool {
433 !self.bit()
434 }
435 #[doc = r" Returns `true` if the bit is set (1)"]
436 #[inline]
437 pub fn bit_is_set(&self) -> bool {
438 self.bit()
439 }
440 #[doc = r" Value of the field as raw bits"]
441 #[inline]
442 pub fn bit(&self) -> bool {
443 match *self {
444 CH8R::EXCLUDED => false,
445 CH8R::INCLUDED => true,
446 }
447 }
448 #[allow(missing_docs)]
449 #[doc(hidden)]
450 #[inline]
451 pub fn _from(value: bool) -> CH8R {
452 match value {
453 false => CH8R::EXCLUDED,
454 true => CH8R::INCLUDED,
455 }
456 }
457 #[doc = "Checks if the value of the field is `EXCLUDED`"]
458 #[inline]
459 pub fn is_excluded(&self) -> bool {
460 *self == CH8R::EXCLUDED
461 }
462 #[doc = "Checks if the value of the field is `INCLUDED`"]
463 #[inline]
464 pub fn is_included(&self) -> bool {
465 *self == CH8R::INCLUDED
466 }
467}
468#[doc = "Possible values of the field `CH9`"]
469#[derive(Clone, Copy, Debug, PartialEq)]
470pub enum CH9R {
471 #[doc = "Exclude"]
472 EXCLUDED,
473 #[doc = "Include"]
474 INCLUDED,
475}
476impl CH9R {
477 #[doc = r" Returns `true` if the bit is clear (0)"]
478 #[inline]
479 pub fn bit_is_clear(&self) -> bool {
480 !self.bit()
481 }
482 #[doc = r" Returns `true` if the bit is set (1)"]
483 #[inline]
484 pub fn bit_is_set(&self) -> bool {
485 self.bit()
486 }
487 #[doc = r" Value of the field as raw bits"]
488 #[inline]
489 pub fn bit(&self) -> bool {
490 match *self {
491 CH9R::EXCLUDED => false,
492 CH9R::INCLUDED => true,
493 }
494 }
495 #[allow(missing_docs)]
496 #[doc(hidden)]
497 #[inline]
498 pub fn _from(value: bool) -> CH9R {
499 match value {
500 false => CH9R::EXCLUDED,
501 true => CH9R::INCLUDED,
502 }
503 }
504 #[doc = "Checks if the value of the field is `EXCLUDED`"]
505 #[inline]
506 pub fn is_excluded(&self) -> bool {
507 *self == CH9R::EXCLUDED
508 }
509 #[doc = "Checks if the value of the field is `INCLUDED`"]
510 #[inline]
511 pub fn is_included(&self) -> bool {
512 *self == CH9R::INCLUDED
513 }
514}
515#[doc = "Possible values of the field `CH10`"]
516#[derive(Clone, Copy, Debug, PartialEq)]
517pub enum CH10R {
518 #[doc = "Exclude"]
519 EXCLUDED,
520 #[doc = "Include"]
521 INCLUDED,
522}
523impl CH10R {
524 #[doc = r" Returns `true` if the bit is clear (0)"]
525 #[inline]
526 pub fn bit_is_clear(&self) -> bool {
527 !self.bit()
528 }
529 #[doc = r" Returns `true` if the bit is set (1)"]
530 #[inline]
531 pub fn bit_is_set(&self) -> bool {
532 self.bit()
533 }
534 #[doc = r" Value of the field as raw bits"]
535 #[inline]
536 pub fn bit(&self) -> bool {
537 match *self {
538 CH10R::EXCLUDED => false,
539 CH10R::INCLUDED => true,
540 }
541 }
542 #[allow(missing_docs)]
543 #[doc(hidden)]
544 #[inline]
545 pub fn _from(value: bool) -> CH10R {
546 match value {
547 false => CH10R::EXCLUDED,
548 true => CH10R::INCLUDED,
549 }
550 }
551 #[doc = "Checks if the value of the field is `EXCLUDED`"]
552 #[inline]
553 pub fn is_excluded(&self) -> bool {
554 *self == CH10R::EXCLUDED
555 }
556 #[doc = "Checks if the value of the field is `INCLUDED`"]
557 #[inline]
558 pub fn is_included(&self) -> bool {
559 *self == CH10R::INCLUDED
560 }
561}
562#[doc = "Possible values of the field `CH11`"]
563#[derive(Clone, Copy, Debug, PartialEq)]
564pub enum CH11R {
565 #[doc = "Exclude"]
566 EXCLUDED,
567 #[doc = "Include"]
568 INCLUDED,
569}
570impl CH11R {
571 #[doc = r" Returns `true` if the bit is clear (0)"]
572 #[inline]
573 pub fn bit_is_clear(&self) -> bool {
574 !self.bit()
575 }
576 #[doc = r" Returns `true` if the bit is set (1)"]
577 #[inline]
578 pub fn bit_is_set(&self) -> bool {
579 self.bit()
580 }
581 #[doc = r" Value of the field as raw bits"]
582 #[inline]
583 pub fn bit(&self) -> bool {
584 match *self {
585 CH11R::EXCLUDED => false,
586 CH11R::INCLUDED => true,
587 }
588 }
589 #[allow(missing_docs)]
590 #[doc(hidden)]
591 #[inline]
592 pub fn _from(value: bool) -> CH11R {
593 match value {
594 false => CH11R::EXCLUDED,
595 true => CH11R::INCLUDED,
596 }
597 }
598 #[doc = "Checks if the value of the field is `EXCLUDED`"]
599 #[inline]
600 pub fn is_excluded(&self) -> bool {
601 *self == CH11R::EXCLUDED
602 }
603 #[doc = "Checks if the value of the field is `INCLUDED`"]
604 #[inline]
605 pub fn is_included(&self) -> bool {
606 *self == CH11R::INCLUDED
607 }
608}
609#[doc = "Possible values of the field `CH12`"]
610#[derive(Clone, Copy, Debug, PartialEq)]
611pub enum CH12R {
612 #[doc = "Exclude"]
613 EXCLUDED,
614 #[doc = "Include"]
615 INCLUDED,
616}
617impl CH12R {
618 #[doc = r" Returns `true` if the bit is clear (0)"]
619 #[inline]
620 pub fn bit_is_clear(&self) -> bool {
621 !self.bit()
622 }
623 #[doc = r" Returns `true` if the bit is set (1)"]
624 #[inline]
625 pub fn bit_is_set(&self) -> bool {
626 self.bit()
627 }
628 #[doc = r" Value of the field as raw bits"]
629 #[inline]
630 pub fn bit(&self) -> bool {
631 match *self {
632 CH12R::EXCLUDED => false,
633 CH12R::INCLUDED => true,
634 }
635 }
636 #[allow(missing_docs)]
637 #[doc(hidden)]
638 #[inline]
639 pub fn _from(value: bool) -> CH12R {
640 match value {
641 false => CH12R::EXCLUDED,
642 true => CH12R::INCLUDED,
643 }
644 }
645 #[doc = "Checks if the value of the field is `EXCLUDED`"]
646 #[inline]
647 pub fn is_excluded(&self) -> bool {
648 *self == CH12R::EXCLUDED
649 }
650 #[doc = "Checks if the value of the field is `INCLUDED`"]
651 #[inline]
652 pub fn is_included(&self) -> bool {
653 *self == CH12R::INCLUDED
654 }
655}
656#[doc = "Possible values of the field `CH13`"]
657#[derive(Clone, Copy, Debug, PartialEq)]
658pub enum CH13R {
659 #[doc = "Exclude"]
660 EXCLUDED,
661 #[doc = "Include"]
662 INCLUDED,
663}
664impl CH13R {
665 #[doc = r" Returns `true` if the bit is clear (0)"]
666 #[inline]
667 pub fn bit_is_clear(&self) -> bool {
668 !self.bit()
669 }
670 #[doc = r" Returns `true` if the bit is set (1)"]
671 #[inline]
672 pub fn bit_is_set(&self) -> bool {
673 self.bit()
674 }
675 #[doc = r" Value of the field as raw bits"]
676 #[inline]
677 pub fn bit(&self) -> bool {
678 match *self {
679 CH13R::EXCLUDED => false,
680 CH13R::INCLUDED => true,
681 }
682 }
683 #[allow(missing_docs)]
684 #[doc(hidden)]
685 #[inline]
686 pub fn _from(value: bool) -> CH13R {
687 match value {
688 false => CH13R::EXCLUDED,
689 true => CH13R::INCLUDED,
690 }
691 }
692 #[doc = "Checks if the value of the field is `EXCLUDED`"]
693 #[inline]
694 pub fn is_excluded(&self) -> bool {
695 *self == CH13R::EXCLUDED
696 }
697 #[doc = "Checks if the value of the field is `INCLUDED`"]
698 #[inline]
699 pub fn is_included(&self) -> bool {
700 *self == CH13R::INCLUDED
701 }
702}
703#[doc = "Possible values of the field `CH14`"]
704#[derive(Clone, Copy, Debug, PartialEq)]
705pub enum CH14R {
706 #[doc = "Exclude"]
707 EXCLUDED,
708 #[doc = "Include"]
709 INCLUDED,
710}
711impl CH14R {
712 #[doc = r" Returns `true` if the bit is clear (0)"]
713 #[inline]
714 pub fn bit_is_clear(&self) -> bool {
715 !self.bit()
716 }
717 #[doc = r" Returns `true` if the bit is set (1)"]
718 #[inline]
719 pub fn bit_is_set(&self) -> bool {
720 self.bit()
721 }
722 #[doc = r" Value of the field as raw bits"]
723 #[inline]
724 pub fn bit(&self) -> bool {
725 match *self {
726 CH14R::EXCLUDED => false,
727 CH14R::INCLUDED => true,
728 }
729 }
730 #[allow(missing_docs)]
731 #[doc(hidden)]
732 #[inline]
733 pub fn _from(value: bool) -> CH14R {
734 match value {
735 false => CH14R::EXCLUDED,
736 true => CH14R::INCLUDED,
737 }
738 }
739 #[doc = "Checks if the value of the field is `EXCLUDED`"]
740 #[inline]
741 pub fn is_excluded(&self) -> bool {
742 *self == CH14R::EXCLUDED
743 }
744 #[doc = "Checks if the value of the field is `INCLUDED`"]
745 #[inline]
746 pub fn is_included(&self) -> bool {
747 *self == CH14R::INCLUDED
748 }
749}
750#[doc = "Possible values of the field `CH15`"]
751#[derive(Clone, Copy, Debug, PartialEq)]
752pub enum CH15R {
753 #[doc = "Exclude"]
754 EXCLUDED,
755 #[doc = "Include"]
756 INCLUDED,
757}
758impl CH15R {
759 #[doc = r" Returns `true` if the bit is clear (0)"]
760 #[inline]
761 pub fn bit_is_clear(&self) -> bool {
762 !self.bit()
763 }
764 #[doc = r" Returns `true` if the bit is set (1)"]
765 #[inline]
766 pub fn bit_is_set(&self) -> bool {
767 self.bit()
768 }
769 #[doc = r" Value of the field as raw bits"]
770 #[inline]
771 pub fn bit(&self) -> bool {
772 match *self {
773 CH15R::EXCLUDED => false,
774 CH15R::INCLUDED => true,
775 }
776 }
777 #[allow(missing_docs)]
778 #[doc(hidden)]
779 #[inline]
780 pub fn _from(value: bool) -> CH15R {
781 match value {
782 false => CH15R::EXCLUDED,
783 true => CH15R::INCLUDED,
784 }
785 }
786 #[doc = "Checks if the value of the field is `EXCLUDED`"]
787 #[inline]
788 pub fn is_excluded(&self) -> bool {
789 *self == CH15R::EXCLUDED
790 }
791 #[doc = "Checks if the value of the field is `INCLUDED`"]
792 #[inline]
793 pub fn is_included(&self) -> bool {
794 *self == CH15R::INCLUDED
795 }
796}
797#[doc = "Possible values of the field `CH16`"]
798#[derive(Clone, Copy, Debug, PartialEq)]
799pub enum CH16R {
800 #[doc = "Exclude"]
801 EXCLUDED,
802 #[doc = "Include"]
803 INCLUDED,
804}
805impl CH16R {
806 #[doc = r" Returns `true` if the bit is clear (0)"]
807 #[inline]
808 pub fn bit_is_clear(&self) -> bool {
809 !self.bit()
810 }
811 #[doc = r" Returns `true` if the bit is set (1)"]
812 #[inline]
813 pub fn bit_is_set(&self) -> bool {
814 self.bit()
815 }
816 #[doc = r" Value of the field as raw bits"]
817 #[inline]
818 pub fn bit(&self) -> bool {
819 match *self {
820 CH16R::EXCLUDED => false,
821 CH16R::INCLUDED => true,
822 }
823 }
824 #[allow(missing_docs)]
825 #[doc(hidden)]
826 #[inline]
827 pub fn _from(value: bool) -> CH16R {
828 match value {
829 false => CH16R::EXCLUDED,
830 true => CH16R::INCLUDED,
831 }
832 }
833 #[doc = "Checks if the value of the field is `EXCLUDED`"]
834 #[inline]
835 pub fn is_excluded(&self) -> bool {
836 *self == CH16R::EXCLUDED
837 }
838 #[doc = "Checks if the value of the field is `INCLUDED`"]
839 #[inline]
840 pub fn is_included(&self) -> bool {
841 *self == CH16R::INCLUDED
842 }
843}
844#[doc = "Possible values of the field `CH17`"]
845#[derive(Clone, Copy, Debug, PartialEq)]
846pub enum CH17R {
847 #[doc = "Exclude"]
848 EXCLUDED,
849 #[doc = "Include"]
850 INCLUDED,
851}
852impl CH17R {
853 #[doc = r" Returns `true` if the bit is clear (0)"]
854 #[inline]
855 pub fn bit_is_clear(&self) -> bool {
856 !self.bit()
857 }
858 #[doc = r" Returns `true` if the bit is set (1)"]
859 #[inline]
860 pub fn bit_is_set(&self) -> bool {
861 self.bit()
862 }
863 #[doc = r" Value of the field as raw bits"]
864 #[inline]
865 pub fn bit(&self) -> bool {
866 match *self {
867 CH17R::EXCLUDED => false,
868 CH17R::INCLUDED => true,
869 }
870 }
871 #[allow(missing_docs)]
872 #[doc(hidden)]
873 #[inline]
874 pub fn _from(value: bool) -> CH17R {
875 match value {
876 false => CH17R::EXCLUDED,
877 true => CH17R::INCLUDED,
878 }
879 }
880 #[doc = "Checks if the value of the field is `EXCLUDED`"]
881 #[inline]
882 pub fn is_excluded(&self) -> bool {
883 *self == CH17R::EXCLUDED
884 }
885 #[doc = "Checks if the value of the field is `INCLUDED`"]
886 #[inline]
887 pub fn is_included(&self) -> bool {
888 *self == CH17R::INCLUDED
889 }
890}
891#[doc = "Possible values of the field `CH18`"]
892#[derive(Clone, Copy, Debug, PartialEq)]
893pub enum CH18R {
894 #[doc = "Exclude"]
895 EXCLUDED,
896 #[doc = "Include"]
897 INCLUDED,
898}
899impl CH18R {
900 #[doc = r" Returns `true` if the bit is clear (0)"]
901 #[inline]
902 pub fn bit_is_clear(&self) -> bool {
903 !self.bit()
904 }
905 #[doc = r" Returns `true` if the bit is set (1)"]
906 #[inline]
907 pub fn bit_is_set(&self) -> bool {
908 self.bit()
909 }
910 #[doc = r" Value of the field as raw bits"]
911 #[inline]
912 pub fn bit(&self) -> bool {
913 match *self {
914 CH18R::EXCLUDED => false,
915 CH18R::INCLUDED => true,
916 }
917 }
918 #[allow(missing_docs)]
919 #[doc(hidden)]
920 #[inline]
921 pub fn _from(value: bool) -> CH18R {
922 match value {
923 false => CH18R::EXCLUDED,
924 true => CH18R::INCLUDED,
925 }
926 }
927 #[doc = "Checks if the value of the field is `EXCLUDED`"]
928 #[inline]
929 pub fn is_excluded(&self) -> bool {
930 *self == CH18R::EXCLUDED
931 }
932 #[doc = "Checks if the value of the field is `INCLUDED`"]
933 #[inline]
934 pub fn is_included(&self) -> bool {
935 *self == CH18R::INCLUDED
936 }
937}
938#[doc = "Possible values of the field `CH19`"]
939#[derive(Clone, Copy, Debug, PartialEq)]
940pub enum CH19R {
941 #[doc = "Exclude"]
942 EXCLUDED,
943 #[doc = "Include"]
944 INCLUDED,
945}
946impl CH19R {
947 #[doc = r" Returns `true` if the bit is clear (0)"]
948 #[inline]
949 pub fn bit_is_clear(&self) -> bool {
950 !self.bit()
951 }
952 #[doc = r" Returns `true` if the bit is set (1)"]
953 #[inline]
954 pub fn bit_is_set(&self) -> bool {
955 self.bit()
956 }
957 #[doc = r" Value of the field as raw bits"]
958 #[inline]
959 pub fn bit(&self) -> bool {
960 match *self {
961 CH19R::EXCLUDED => false,
962 CH19R::INCLUDED => true,
963 }
964 }
965 #[allow(missing_docs)]
966 #[doc(hidden)]
967 #[inline]
968 pub fn _from(value: bool) -> CH19R {
969 match value {
970 false => CH19R::EXCLUDED,
971 true => CH19R::INCLUDED,
972 }
973 }
974 #[doc = "Checks if the value of the field is `EXCLUDED`"]
975 #[inline]
976 pub fn is_excluded(&self) -> bool {
977 *self == CH19R::EXCLUDED
978 }
979 #[doc = "Checks if the value of the field is `INCLUDED`"]
980 #[inline]
981 pub fn is_included(&self) -> bool {
982 *self == CH19R::INCLUDED
983 }
984}
985#[doc = "Possible values of the field `CH20`"]
986#[derive(Clone, Copy, Debug, PartialEq)]
987pub enum CH20R {
988 #[doc = "Exclude"]
989 EXCLUDED,
990 #[doc = "Include"]
991 INCLUDED,
992}
993impl CH20R {
994 #[doc = r" Returns `true` if the bit is clear (0)"]
995 #[inline]
996 pub fn bit_is_clear(&self) -> bool {
997 !self.bit()
998 }
999 #[doc = r" Returns `true` if the bit is set (1)"]
1000 #[inline]
1001 pub fn bit_is_set(&self) -> bool {
1002 self.bit()
1003 }
1004 #[doc = r" Value of the field as raw bits"]
1005 #[inline]
1006 pub fn bit(&self) -> bool {
1007 match *self {
1008 CH20R::EXCLUDED => false,
1009 CH20R::INCLUDED => true,
1010 }
1011 }
1012 #[allow(missing_docs)]
1013 #[doc(hidden)]
1014 #[inline]
1015 pub fn _from(value: bool) -> CH20R {
1016 match value {
1017 false => CH20R::EXCLUDED,
1018 true => CH20R::INCLUDED,
1019 }
1020 }
1021 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1022 #[inline]
1023 pub fn is_excluded(&self) -> bool {
1024 *self == CH20R::EXCLUDED
1025 }
1026 #[doc = "Checks if the value of the field is `INCLUDED`"]
1027 #[inline]
1028 pub fn is_included(&self) -> bool {
1029 *self == CH20R::INCLUDED
1030 }
1031}
1032#[doc = "Possible values of the field `CH21`"]
1033#[derive(Clone, Copy, Debug, PartialEq)]
1034pub enum CH21R {
1035 #[doc = "Exclude"]
1036 EXCLUDED,
1037 #[doc = "Include"]
1038 INCLUDED,
1039}
1040impl CH21R {
1041 #[doc = r" Returns `true` if the bit is clear (0)"]
1042 #[inline]
1043 pub fn bit_is_clear(&self) -> bool {
1044 !self.bit()
1045 }
1046 #[doc = r" Returns `true` if the bit is set (1)"]
1047 #[inline]
1048 pub fn bit_is_set(&self) -> bool {
1049 self.bit()
1050 }
1051 #[doc = r" Value of the field as raw bits"]
1052 #[inline]
1053 pub fn bit(&self) -> bool {
1054 match *self {
1055 CH21R::EXCLUDED => false,
1056 CH21R::INCLUDED => true,
1057 }
1058 }
1059 #[allow(missing_docs)]
1060 #[doc(hidden)]
1061 #[inline]
1062 pub fn _from(value: bool) -> CH21R {
1063 match value {
1064 false => CH21R::EXCLUDED,
1065 true => CH21R::INCLUDED,
1066 }
1067 }
1068 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1069 #[inline]
1070 pub fn is_excluded(&self) -> bool {
1071 *self == CH21R::EXCLUDED
1072 }
1073 #[doc = "Checks if the value of the field is `INCLUDED`"]
1074 #[inline]
1075 pub fn is_included(&self) -> bool {
1076 *self == CH21R::INCLUDED
1077 }
1078}
1079#[doc = "Possible values of the field `CH22`"]
1080#[derive(Clone, Copy, Debug, PartialEq)]
1081pub enum CH22R {
1082 #[doc = "Exclude"]
1083 EXCLUDED,
1084 #[doc = "Include"]
1085 INCLUDED,
1086}
1087impl CH22R {
1088 #[doc = r" Returns `true` if the bit is clear (0)"]
1089 #[inline]
1090 pub fn bit_is_clear(&self) -> bool {
1091 !self.bit()
1092 }
1093 #[doc = r" Returns `true` if the bit is set (1)"]
1094 #[inline]
1095 pub fn bit_is_set(&self) -> bool {
1096 self.bit()
1097 }
1098 #[doc = r" Value of the field as raw bits"]
1099 #[inline]
1100 pub fn bit(&self) -> bool {
1101 match *self {
1102 CH22R::EXCLUDED => false,
1103 CH22R::INCLUDED => true,
1104 }
1105 }
1106 #[allow(missing_docs)]
1107 #[doc(hidden)]
1108 #[inline]
1109 pub fn _from(value: bool) -> CH22R {
1110 match value {
1111 false => CH22R::EXCLUDED,
1112 true => CH22R::INCLUDED,
1113 }
1114 }
1115 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1116 #[inline]
1117 pub fn is_excluded(&self) -> bool {
1118 *self == CH22R::EXCLUDED
1119 }
1120 #[doc = "Checks if the value of the field is `INCLUDED`"]
1121 #[inline]
1122 pub fn is_included(&self) -> bool {
1123 *self == CH22R::INCLUDED
1124 }
1125}
1126#[doc = "Possible values of the field `CH23`"]
1127#[derive(Clone, Copy, Debug, PartialEq)]
1128pub enum CH23R {
1129 #[doc = "Exclude"]
1130 EXCLUDED,
1131 #[doc = "Include"]
1132 INCLUDED,
1133}
1134impl CH23R {
1135 #[doc = r" Returns `true` if the bit is clear (0)"]
1136 #[inline]
1137 pub fn bit_is_clear(&self) -> bool {
1138 !self.bit()
1139 }
1140 #[doc = r" Returns `true` if the bit is set (1)"]
1141 #[inline]
1142 pub fn bit_is_set(&self) -> bool {
1143 self.bit()
1144 }
1145 #[doc = r" Value of the field as raw bits"]
1146 #[inline]
1147 pub fn bit(&self) -> bool {
1148 match *self {
1149 CH23R::EXCLUDED => false,
1150 CH23R::INCLUDED => true,
1151 }
1152 }
1153 #[allow(missing_docs)]
1154 #[doc(hidden)]
1155 #[inline]
1156 pub fn _from(value: bool) -> CH23R {
1157 match value {
1158 false => CH23R::EXCLUDED,
1159 true => CH23R::INCLUDED,
1160 }
1161 }
1162 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1163 #[inline]
1164 pub fn is_excluded(&self) -> bool {
1165 *self == CH23R::EXCLUDED
1166 }
1167 #[doc = "Checks if the value of the field is `INCLUDED`"]
1168 #[inline]
1169 pub fn is_included(&self) -> bool {
1170 *self == CH23R::INCLUDED
1171 }
1172}
1173#[doc = "Possible values of the field `CH24`"]
1174#[derive(Clone, Copy, Debug, PartialEq)]
1175pub enum CH24R {
1176 #[doc = "Exclude"]
1177 EXCLUDED,
1178 #[doc = "Include"]
1179 INCLUDED,
1180}
1181impl CH24R {
1182 #[doc = r" Returns `true` if the bit is clear (0)"]
1183 #[inline]
1184 pub fn bit_is_clear(&self) -> bool {
1185 !self.bit()
1186 }
1187 #[doc = r" Returns `true` if the bit is set (1)"]
1188 #[inline]
1189 pub fn bit_is_set(&self) -> bool {
1190 self.bit()
1191 }
1192 #[doc = r" Value of the field as raw bits"]
1193 #[inline]
1194 pub fn bit(&self) -> bool {
1195 match *self {
1196 CH24R::EXCLUDED => false,
1197 CH24R::INCLUDED => true,
1198 }
1199 }
1200 #[allow(missing_docs)]
1201 #[doc(hidden)]
1202 #[inline]
1203 pub fn _from(value: bool) -> CH24R {
1204 match value {
1205 false => CH24R::EXCLUDED,
1206 true => CH24R::INCLUDED,
1207 }
1208 }
1209 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1210 #[inline]
1211 pub fn is_excluded(&self) -> bool {
1212 *self == CH24R::EXCLUDED
1213 }
1214 #[doc = "Checks if the value of the field is `INCLUDED`"]
1215 #[inline]
1216 pub fn is_included(&self) -> bool {
1217 *self == CH24R::INCLUDED
1218 }
1219}
1220#[doc = "Possible values of the field `CH25`"]
1221#[derive(Clone, Copy, Debug, PartialEq)]
1222pub enum CH25R {
1223 #[doc = "Exclude"]
1224 EXCLUDED,
1225 #[doc = "Include"]
1226 INCLUDED,
1227}
1228impl CH25R {
1229 #[doc = r" Returns `true` if the bit is clear (0)"]
1230 #[inline]
1231 pub fn bit_is_clear(&self) -> bool {
1232 !self.bit()
1233 }
1234 #[doc = r" Returns `true` if the bit is set (1)"]
1235 #[inline]
1236 pub fn bit_is_set(&self) -> bool {
1237 self.bit()
1238 }
1239 #[doc = r" Value of the field as raw bits"]
1240 #[inline]
1241 pub fn bit(&self) -> bool {
1242 match *self {
1243 CH25R::EXCLUDED => false,
1244 CH25R::INCLUDED => true,
1245 }
1246 }
1247 #[allow(missing_docs)]
1248 #[doc(hidden)]
1249 #[inline]
1250 pub fn _from(value: bool) -> CH25R {
1251 match value {
1252 false => CH25R::EXCLUDED,
1253 true => CH25R::INCLUDED,
1254 }
1255 }
1256 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1257 #[inline]
1258 pub fn is_excluded(&self) -> bool {
1259 *self == CH25R::EXCLUDED
1260 }
1261 #[doc = "Checks if the value of the field is `INCLUDED`"]
1262 #[inline]
1263 pub fn is_included(&self) -> bool {
1264 *self == CH25R::INCLUDED
1265 }
1266}
1267#[doc = "Possible values of the field `CH26`"]
1268#[derive(Clone, Copy, Debug, PartialEq)]
1269pub enum CH26R {
1270 #[doc = "Exclude"]
1271 EXCLUDED,
1272 #[doc = "Include"]
1273 INCLUDED,
1274}
1275impl CH26R {
1276 #[doc = r" Returns `true` if the bit is clear (0)"]
1277 #[inline]
1278 pub fn bit_is_clear(&self) -> bool {
1279 !self.bit()
1280 }
1281 #[doc = r" Returns `true` if the bit is set (1)"]
1282 #[inline]
1283 pub fn bit_is_set(&self) -> bool {
1284 self.bit()
1285 }
1286 #[doc = r" Value of the field as raw bits"]
1287 #[inline]
1288 pub fn bit(&self) -> bool {
1289 match *self {
1290 CH26R::EXCLUDED => false,
1291 CH26R::INCLUDED => true,
1292 }
1293 }
1294 #[allow(missing_docs)]
1295 #[doc(hidden)]
1296 #[inline]
1297 pub fn _from(value: bool) -> CH26R {
1298 match value {
1299 false => CH26R::EXCLUDED,
1300 true => CH26R::INCLUDED,
1301 }
1302 }
1303 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1304 #[inline]
1305 pub fn is_excluded(&self) -> bool {
1306 *self == CH26R::EXCLUDED
1307 }
1308 #[doc = "Checks if the value of the field is `INCLUDED`"]
1309 #[inline]
1310 pub fn is_included(&self) -> bool {
1311 *self == CH26R::INCLUDED
1312 }
1313}
1314#[doc = "Possible values of the field `CH27`"]
1315#[derive(Clone, Copy, Debug, PartialEq)]
1316pub enum CH27R {
1317 #[doc = "Exclude"]
1318 EXCLUDED,
1319 #[doc = "Include"]
1320 INCLUDED,
1321}
1322impl CH27R {
1323 #[doc = r" Returns `true` if the bit is clear (0)"]
1324 #[inline]
1325 pub fn bit_is_clear(&self) -> bool {
1326 !self.bit()
1327 }
1328 #[doc = r" Returns `true` if the bit is set (1)"]
1329 #[inline]
1330 pub fn bit_is_set(&self) -> bool {
1331 self.bit()
1332 }
1333 #[doc = r" Value of the field as raw bits"]
1334 #[inline]
1335 pub fn bit(&self) -> bool {
1336 match *self {
1337 CH27R::EXCLUDED => false,
1338 CH27R::INCLUDED => true,
1339 }
1340 }
1341 #[allow(missing_docs)]
1342 #[doc(hidden)]
1343 #[inline]
1344 pub fn _from(value: bool) -> CH27R {
1345 match value {
1346 false => CH27R::EXCLUDED,
1347 true => CH27R::INCLUDED,
1348 }
1349 }
1350 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1351 #[inline]
1352 pub fn is_excluded(&self) -> bool {
1353 *self == CH27R::EXCLUDED
1354 }
1355 #[doc = "Checks if the value of the field is `INCLUDED`"]
1356 #[inline]
1357 pub fn is_included(&self) -> bool {
1358 *self == CH27R::INCLUDED
1359 }
1360}
1361#[doc = "Possible values of the field `CH28`"]
1362#[derive(Clone, Copy, Debug, PartialEq)]
1363pub enum CH28R {
1364 #[doc = "Exclude"]
1365 EXCLUDED,
1366 #[doc = "Include"]
1367 INCLUDED,
1368}
1369impl CH28R {
1370 #[doc = r" Returns `true` if the bit is clear (0)"]
1371 #[inline]
1372 pub fn bit_is_clear(&self) -> bool {
1373 !self.bit()
1374 }
1375 #[doc = r" Returns `true` if the bit is set (1)"]
1376 #[inline]
1377 pub fn bit_is_set(&self) -> bool {
1378 self.bit()
1379 }
1380 #[doc = r" Value of the field as raw bits"]
1381 #[inline]
1382 pub fn bit(&self) -> bool {
1383 match *self {
1384 CH28R::EXCLUDED => false,
1385 CH28R::INCLUDED => true,
1386 }
1387 }
1388 #[allow(missing_docs)]
1389 #[doc(hidden)]
1390 #[inline]
1391 pub fn _from(value: bool) -> CH28R {
1392 match value {
1393 false => CH28R::EXCLUDED,
1394 true => CH28R::INCLUDED,
1395 }
1396 }
1397 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1398 #[inline]
1399 pub fn is_excluded(&self) -> bool {
1400 *self == CH28R::EXCLUDED
1401 }
1402 #[doc = "Checks if the value of the field is `INCLUDED`"]
1403 #[inline]
1404 pub fn is_included(&self) -> bool {
1405 *self == CH28R::INCLUDED
1406 }
1407}
1408#[doc = "Possible values of the field `CH29`"]
1409#[derive(Clone, Copy, Debug, PartialEq)]
1410pub enum CH29R {
1411 #[doc = "Exclude"]
1412 EXCLUDED,
1413 #[doc = "Include"]
1414 INCLUDED,
1415}
1416impl CH29R {
1417 #[doc = r" Returns `true` if the bit is clear (0)"]
1418 #[inline]
1419 pub fn bit_is_clear(&self) -> bool {
1420 !self.bit()
1421 }
1422 #[doc = r" Returns `true` if the bit is set (1)"]
1423 #[inline]
1424 pub fn bit_is_set(&self) -> bool {
1425 self.bit()
1426 }
1427 #[doc = r" Value of the field as raw bits"]
1428 #[inline]
1429 pub fn bit(&self) -> bool {
1430 match *self {
1431 CH29R::EXCLUDED => false,
1432 CH29R::INCLUDED => true,
1433 }
1434 }
1435 #[allow(missing_docs)]
1436 #[doc(hidden)]
1437 #[inline]
1438 pub fn _from(value: bool) -> CH29R {
1439 match value {
1440 false => CH29R::EXCLUDED,
1441 true => CH29R::INCLUDED,
1442 }
1443 }
1444 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1445 #[inline]
1446 pub fn is_excluded(&self) -> bool {
1447 *self == CH29R::EXCLUDED
1448 }
1449 #[doc = "Checks if the value of the field is `INCLUDED`"]
1450 #[inline]
1451 pub fn is_included(&self) -> bool {
1452 *self == CH29R::INCLUDED
1453 }
1454}
1455#[doc = "Possible values of the field `CH30`"]
1456#[derive(Clone, Copy, Debug, PartialEq)]
1457pub enum CH30R {
1458 #[doc = "Exclude"]
1459 EXCLUDED,
1460 #[doc = "Include"]
1461 INCLUDED,
1462}
1463impl CH30R {
1464 #[doc = r" Returns `true` if the bit is clear (0)"]
1465 #[inline]
1466 pub fn bit_is_clear(&self) -> bool {
1467 !self.bit()
1468 }
1469 #[doc = r" Returns `true` if the bit is set (1)"]
1470 #[inline]
1471 pub fn bit_is_set(&self) -> bool {
1472 self.bit()
1473 }
1474 #[doc = r" Value of the field as raw bits"]
1475 #[inline]
1476 pub fn bit(&self) -> bool {
1477 match *self {
1478 CH30R::EXCLUDED => false,
1479 CH30R::INCLUDED => true,
1480 }
1481 }
1482 #[allow(missing_docs)]
1483 #[doc(hidden)]
1484 #[inline]
1485 pub fn _from(value: bool) -> CH30R {
1486 match value {
1487 false => CH30R::EXCLUDED,
1488 true => CH30R::INCLUDED,
1489 }
1490 }
1491 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1492 #[inline]
1493 pub fn is_excluded(&self) -> bool {
1494 *self == CH30R::EXCLUDED
1495 }
1496 #[doc = "Checks if the value of the field is `INCLUDED`"]
1497 #[inline]
1498 pub fn is_included(&self) -> bool {
1499 *self == CH30R::INCLUDED
1500 }
1501}
1502#[doc = "Possible values of the field `CH31`"]
1503#[derive(Clone, Copy, Debug, PartialEq)]
1504pub enum CH31R {
1505 #[doc = "Exclude"]
1506 EXCLUDED,
1507 #[doc = "Include"]
1508 INCLUDED,
1509}
1510impl CH31R {
1511 #[doc = r" Returns `true` if the bit is clear (0)"]
1512 #[inline]
1513 pub fn bit_is_clear(&self) -> bool {
1514 !self.bit()
1515 }
1516 #[doc = r" Returns `true` if the bit is set (1)"]
1517 #[inline]
1518 pub fn bit_is_set(&self) -> bool {
1519 self.bit()
1520 }
1521 #[doc = r" Value of the field as raw bits"]
1522 #[inline]
1523 pub fn bit(&self) -> bool {
1524 match *self {
1525 CH31R::EXCLUDED => false,
1526 CH31R::INCLUDED => true,
1527 }
1528 }
1529 #[allow(missing_docs)]
1530 #[doc(hidden)]
1531 #[inline]
1532 pub fn _from(value: bool) -> CH31R {
1533 match value {
1534 false => CH31R::EXCLUDED,
1535 true => CH31R::INCLUDED,
1536 }
1537 }
1538 #[doc = "Checks if the value of the field is `EXCLUDED`"]
1539 #[inline]
1540 pub fn is_excluded(&self) -> bool {
1541 *self == CH31R::EXCLUDED
1542 }
1543 #[doc = "Checks if the value of the field is `INCLUDED`"]
1544 #[inline]
1545 pub fn is_included(&self) -> bool {
1546 *self == CH31R::INCLUDED
1547 }
1548}
1549#[doc = "Values that can be written to the field `CH0`"]
1550pub enum CH0W {
1551 #[doc = "Exclude"]
1552 EXCLUDED,
1553 #[doc = "Include"]
1554 INCLUDED,
1555}
1556impl CH0W {
1557 #[allow(missing_docs)]
1558 #[doc(hidden)]
1559 #[inline]
1560 pub fn _bits(&self) -> bool {
1561 match *self {
1562 CH0W::EXCLUDED => false,
1563 CH0W::INCLUDED => true,
1564 }
1565 }
1566}
1567#[doc = r" Proxy"]
1568pub struct _CH0W<'a> {
1569 w: &'a mut W,
1570}
1571impl<'a> _CH0W<'a> {
1572 #[doc = r" Writes `variant` to the field"]
1573 #[inline]
1574 pub fn variant(self, variant: CH0W) -> &'a mut W {
1575 {
1576 self.bit(variant._bits())
1577 }
1578 }
1579 #[doc = "Exclude"]
1580 #[inline]
1581 pub fn excluded(self) -> &'a mut W {
1582 self.variant(CH0W::EXCLUDED)
1583 }
1584 #[doc = "Include"]
1585 #[inline]
1586 pub fn included(self) -> &'a mut W {
1587 self.variant(CH0W::INCLUDED)
1588 }
1589 #[doc = r" Sets the field bit"]
1590 pub fn set_bit(self) -> &'a mut W {
1591 self.bit(true)
1592 }
1593 #[doc = r" Clears the field bit"]
1594 pub fn clear_bit(self) -> &'a mut W {
1595 self.bit(false)
1596 }
1597 #[doc = r" Writes raw bits to the field"]
1598 #[inline]
1599 pub fn bit(self, value: bool) -> &'a mut W {
1600 const MASK: bool = true;
1601 const OFFSET: u8 = 0;
1602 self.w.bits &= !((MASK as u32) << OFFSET);
1603 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1604 self.w
1605 }
1606}
1607#[doc = "Values that can be written to the field `CH1`"]
1608pub enum CH1W {
1609 #[doc = "Exclude"]
1610 EXCLUDED,
1611 #[doc = "Include"]
1612 INCLUDED,
1613}
1614impl CH1W {
1615 #[allow(missing_docs)]
1616 #[doc(hidden)]
1617 #[inline]
1618 pub fn _bits(&self) -> bool {
1619 match *self {
1620 CH1W::EXCLUDED => false,
1621 CH1W::INCLUDED => true,
1622 }
1623 }
1624}
1625#[doc = r" Proxy"]
1626pub struct _CH1W<'a> {
1627 w: &'a mut W,
1628}
1629impl<'a> _CH1W<'a> {
1630 #[doc = r" Writes `variant` to the field"]
1631 #[inline]
1632 pub fn variant(self, variant: CH1W) -> &'a mut W {
1633 {
1634 self.bit(variant._bits())
1635 }
1636 }
1637 #[doc = "Exclude"]
1638 #[inline]
1639 pub fn excluded(self) -> &'a mut W {
1640 self.variant(CH1W::EXCLUDED)
1641 }
1642 #[doc = "Include"]
1643 #[inline]
1644 pub fn included(self) -> &'a mut W {
1645 self.variant(CH1W::INCLUDED)
1646 }
1647 #[doc = r" Sets the field bit"]
1648 pub fn set_bit(self) -> &'a mut W {
1649 self.bit(true)
1650 }
1651 #[doc = r" Clears the field bit"]
1652 pub fn clear_bit(self) -> &'a mut W {
1653 self.bit(false)
1654 }
1655 #[doc = r" Writes raw bits to the field"]
1656 #[inline]
1657 pub fn bit(self, value: bool) -> &'a mut W {
1658 const MASK: bool = true;
1659 const OFFSET: u8 = 1;
1660 self.w.bits &= !((MASK as u32) << OFFSET);
1661 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1662 self.w
1663 }
1664}
1665#[doc = "Values that can be written to the field `CH2`"]
1666pub enum CH2W {
1667 #[doc = "Exclude"]
1668 EXCLUDED,
1669 #[doc = "Include"]
1670 INCLUDED,
1671}
1672impl CH2W {
1673 #[allow(missing_docs)]
1674 #[doc(hidden)]
1675 #[inline]
1676 pub fn _bits(&self) -> bool {
1677 match *self {
1678 CH2W::EXCLUDED => false,
1679 CH2W::INCLUDED => true,
1680 }
1681 }
1682}
1683#[doc = r" Proxy"]
1684pub struct _CH2W<'a> {
1685 w: &'a mut W,
1686}
1687impl<'a> _CH2W<'a> {
1688 #[doc = r" Writes `variant` to the field"]
1689 #[inline]
1690 pub fn variant(self, variant: CH2W) -> &'a mut W {
1691 {
1692 self.bit(variant._bits())
1693 }
1694 }
1695 #[doc = "Exclude"]
1696 #[inline]
1697 pub fn excluded(self) -> &'a mut W {
1698 self.variant(CH2W::EXCLUDED)
1699 }
1700 #[doc = "Include"]
1701 #[inline]
1702 pub fn included(self) -> &'a mut W {
1703 self.variant(CH2W::INCLUDED)
1704 }
1705 #[doc = r" Sets the field bit"]
1706 pub fn set_bit(self) -> &'a mut W {
1707 self.bit(true)
1708 }
1709 #[doc = r" Clears the field bit"]
1710 pub fn clear_bit(self) -> &'a mut W {
1711 self.bit(false)
1712 }
1713 #[doc = r" Writes raw bits to the field"]
1714 #[inline]
1715 pub fn bit(self, value: bool) -> &'a mut W {
1716 const MASK: bool = true;
1717 const OFFSET: u8 = 2;
1718 self.w.bits &= !((MASK as u32) << OFFSET);
1719 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1720 self.w
1721 }
1722}
1723#[doc = "Values that can be written to the field `CH3`"]
1724pub enum CH3W {
1725 #[doc = "Exclude"]
1726 EXCLUDED,
1727 #[doc = "Include"]
1728 INCLUDED,
1729}
1730impl CH3W {
1731 #[allow(missing_docs)]
1732 #[doc(hidden)]
1733 #[inline]
1734 pub fn _bits(&self) -> bool {
1735 match *self {
1736 CH3W::EXCLUDED => false,
1737 CH3W::INCLUDED => true,
1738 }
1739 }
1740}
1741#[doc = r" Proxy"]
1742pub struct _CH3W<'a> {
1743 w: &'a mut W,
1744}
1745impl<'a> _CH3W<'a> {
1746 #[doc = r" Writes `variant` to the field"]
1747 #[inline]
1748 pub fn variant(self, variant: CH3W) -> &'a mut W {
1749 {
1750 self.bit(variant._bits())
1751 }
1752 }
1753 #[doc = "Exclude"]
1754 #[inline]
1755 pub fn excluded(self) -> &'a mut W {
1756 self.variant(CH3W::EXCLUDED)
1757 }
1758 #[doc = "Include"]
1759 #[inline]
1760 pub fn included(self) -> &'a mut W {
1761 self.variant(CH3W::INCLUDED)
1762 }
1763 #[doc = r" Sets the field bit"]
1764 pub fn set_bit(self) -> &'a mut W {
1765 self.bit(true)
1766 }
1767 #[doc = r" Clears the field bit"]
1768 pub fn clear_bit(self) -> &'a mut W {
1769 self.bit(false)
1770 }
1771 #[doc = r" Writes raw bits to the field"]
1772 #[inline]
1773 pub fn bit(self, value: bool) -> &'a mut W {
1774 const MASK: bool = true;
1775 const OFFSET: u8 = 3;
1776 self.w.bits &= !((MASK as u32) << OFFSET);
1777 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1778 self.w
1779 }
1780}
1781#[doc = "Values that can be written to the field `CH4`"]
1782pub enum CH4W {
1783 #[doc = "Exclude"]
1784 EXCLUDED,
1785 #[doc = "Include"]
1786 INCLUDED,
1787}
1788impl CH4W {
1789 #[allow(missing_docs)]
1790 #[doc(hidden)]
1791 #[inline]
1792 pub fn _bits(&self) -> bool {
1793 match *self {
1794 CH4W::EXCLUDED => false,
1795 CH4W::INCLUDED => true,
1796 }
1797 }
1798}
1799#[doc = r" Proxy"]
1800pub struct _CH4W<'a> {
1801 w: &'a mut W,
1802}
1803impl<'a> _CH4W<'a> {
1804 #[doc = r" Writes `variant` to the field"]
1805 #[inline]
1806 pub fn variant(self, variant: CH4W) -> &'a mut W {
1807 {
1808 self.bit(variant._bits())
1809 }
1810 }
1811 #[doc = "Exclude"]
1812 #[inline]
1813 pub fn excluded(self) -> &'a mut W {
1814 self.variant(CH4W::EXCLUDED)
1815 }
1816 #[doc = "Include"]
1817 #[inline]
1818 pub fn included(self) -> &'a mut W {
1819 self.variant(CH4W::INCLUDED)
1820 }
1821 #[doc = r" Sets the field bit"]
1822 pub fn set_bit(self) -> &'a mut W {
1823 self.bit(true)
1824 }
1825 #[doc = r" Clears the field bit"]
1826 pub fn clear_bit(self) -> &'a mut W {
1827 self.bit(false)
1828 }
1829 #[doc = r" Writes raw bits to the field"]
1830 #[inline]
1831 pub fn bit(self, value: bool) -> &'a mut W {
1832 const MASK: bool = true;
1833 const OFFSET: u8 = 4;
1834 self.w.bits &= !((MASK as u32) << OFFSET);
1835 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1836 self.w
1837 }
1838}
1839#[doc = "Values that can be written to the field `CH5`"]
1840pub enum CH5W {
1841 #[doc = "Exclude"]
1842 EXCLUDED,
1843 #[doc = "Include"]
1844 INCLUDED,
1845}
1846impl CH5W {
1847 #[allow(missing_docs)]
1848 #[doc(hidden)]
1849 #[inline]
1850 pub fn _bits(&self) -> bool {
1851 match *self {
1852 CH5W::EXCLUDED => false,
1853 CH5W::INCLUDED => true,
1854 }
1855 }
1856}
1857#[doc = r" Proxy"]
1858pub struct _CH5W<'a> {
1859 w: &'a mut W,
1860}
1861impl<'a> _CH5W<'a> {
1862 #[doc = r" Writes `variant` to the field"]
1863 #[inline]
1864 pub fn variant(self, variant: CH5W) -> &'a mut W {
1865 {
1866 self.bit(variant._bits())
1867 }
1868 }
1869 #[doc = "Exclude"]
1870 #[inline]
1871 pub fn excluded(self) -> &'a mut W {
1872 self.variant(CH5W::EXCLUDED)
1873 }
1874 #[doc = "Include"]
1875 #[inline]
1876 pub fn included(self) -> &'a mut W {
1877 self.variant(CH5W::INCLUDED)
1878 }
1879 #[doc = r" Sets the field bit"]
1880 pub fn set_bit(self) -> &'a mut W {
1881 self.bit(true)
1882 }
1883 #[doc = r" Clears the field bit"]
1884 pub fn clear_bit(self) -> &'a mut W {
1885 self.bit(false)
1886 }
1887 #[doc = r" Writes raw bits to the field"]
1888 #[inline]
1889 pub fn bit(self, value: bool) -> &'a mut W {
1890 const MASK: bool = true;
1891 const OFFSET: u8 = 5;
1892 self.w.bits &= !((MASK as u32) << OFFSET);
1893 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1894 self.w
1895 }
1896}
1897#[doc = "Values that can be written to the field `CH6`"]
1898pub enum CH6W {
1899 #[doc = "Exclude"]
1900 EXCLUDED,
1901 #[doc = "Include"]
1902 INCLUDED,
1903}
1904impl CH6W {
1905 #[allow(missing_docs)]
1906 #[doc(hidden)]
1907 #[inline]
1908 pub fn _bits(&self) -> bool {
1909 match *self {
1910 CH6W::EXCLUDED => false,
1911 CH6W::INCLUDED => true,
1912 }
1913 }
1914}
1915#[doc = r" Proxy"]
1916pub struct _CH6W<'a> {
1917 w: &'a mut W,
1918}
1919impl<'a> _CH6W<'a> {
1920 #[doc = r" Writes `variant` to the field"]
1921 #[inline]
1922 pub fn variant(self, variant: CH6W) -> &'a mut W {
1923 {
1924 self.bit(variant._bits())
1925 }
1926 }
1927 #[doc = "Exclude"]
1928 #[inline]
1929 pub fn excluded(self) -> &'a mut W {
1930 self.variant(CH6W::EXCLUDED)
1931 }
1932 #[doc = "Include"]
1933 #[inline]
1934 pub fn included(self) -> &'a mut W {
1935 self.variant(CH6W::INCLUDED)
1936 }
1937 #[doc = r" Sets the field bit"]
1938 pub fn set_bit(self) -> &'a mut W {
1939 self.bit(true)
1940 }
1941 #[doc = r" Clears the field bit"]
1942 pub fn clear_bit(self) -> &'a mut W {
1943 self.bit(false)
1944 }
1945 #[doc = r" Writes raw bits to the field"]
1946 #[inline]
1947 pub fn bit(self, value: bool) -> &'a mut W {
1948 const MASK: bool = true;
1949 const OFFSET: u8 = 6;
1950 self.w.bits &= !((MASK as u32) << OFFSET);
1951 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1952 self.w
1953 }
1954}
1955#[doc = "Values that can be written to the field `CH7`"]
1956pub enum CH7W {
1957 #[doc = "Exclude"]
1958 EXCLUDED,
1959 #[doc = "Include"]
1960 INCLUDED,
1961}
1962impl CH7W {
1963 #[allow(missing_docs)]
1964 #[doc(hidden)]
1965 #[inline]
1966 pub fn _bits(&self) -> bool {
1967 match *self {
1968 CH7W::EXCLUDED => false,
1969 CH7W::INCLUDED => true,
1970 }
1971 }
1972}
1973#[doc = r" Proxy"]
1974pub struct _CH7W<'a> {
1975 w: &'a mut W,
1976}
1977impl<'a> _CH7W<'a> {
1978 #[doc = r" Writes `variant` to the field"]
1979 #[inline]
1980 pub fn variant(self, variant: CH7W) -> &'a mut W {
1981 {
1982 self.bit(variant._bits())
1983 }
1984 }
1985 #[doc = "Exclude"]
1986 #[inline]
1987 pub fn excluded(self) -> &'a mut W {
1988 self.variant(CH7W::EXCLUDED)
1989 }
1990 #[doc = "Include"]
1991 #[inline]
1992 pub fn included(self) -> &'a mut W {
1993 self.variant(CH7W::INCLUDED)
1994 }
1995 #[doc = r" Sets the field bit"]
1996 pub fn set_bit(self) -> &'a mut W {
1997 self.bit(true)
1998 }
1999 #[doc = r" Clears the field bit"]
2000 pub fn clear_bit(self) -> &'a mut W {
2001 self.bit(false)
2002 }
2003 #[doc = r" Writes raw bits to the field"]
2004 #[inline]
2005 pub fn bit(self, value: bool) -> &'a mut W {
2006 const MASK: bool = true;
2007 const OFFSET: u8 = 7;
2008 self.w.bits &= !((MASK as u32) << OFFSET);
2009 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2010 self.w
2011 }
2012}
2013#[doc = "Values that can be written to the field `CH8`"]
2014pub enum CH8W {
2015 #[doc = "Exclude"]
2016 EXCLUDED,
2017 #[doc = "Include"]
2018 INCLUDED,
2019}
2020impl CH8W {
2021 #[allow(missing_docs)]
2022 #[doc(hidden)]
2023 #[inline]
2024 pub fn _bits(&self) -> bool {
2025 match *self {
2026 CH8W::EXCLUDED => false,
2027 CH8W::INCLUDED => true,
2028 }
2029 }
2030}
2031#[doc = r" Proxy"]
2032pub struct _CH8W<'a> {
2033 w: &'a mut W,
2034}
2035impl<'a> _CH8W<'a> {
2036 #[doc = r" Writes `variant` to the field"]
2037 #[inline]
2038 pub fn variant(self, variant: CH8W) -> &'a mut W {
2039 {
2040 self.bit(variant._bits())
2041 }
2042 }
2043 #[doc = "Exclude"]
2044 #[inline]
2045 pub fn excluded(self) -> &'a mut W {
2046 self.variant(CH8W::EXCLUDED)
2047 }
2048 #[doc = "Include"]
2049 #[inline]
2050 pub fn included(self) -> &'a mut W {
2051 self.variant(CH8W::INCLUDED)
2052 }
2053 #[doc = r" Sets the field bit"]
2054 pub fn set_bit(self) -> &'a mut W {
2055 self.bit(true)
2056 }
2057 #[doc = r" Clears the field bit"]
2058 pub fn clear_bit(self) -> &'a mut W {
2059 self.bit(false)
2060 }
2061 #[doc = r" Writes raw bits to the field"]
2062 #[inline]
2063 pub fn bit(self, value: bool) -> &'a mut W {
2064 const MASK: bool = true;
2065 const OFFSET: u8 = 8;
2066 self.w.bits &= !((MASK as u32) << OFFSET);
2067 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2068 self.w
2069 }
2070}
2071#[doc = "Values that can be written to the field `CH9`"]
2072pub enum CH9W {
2073 #[doc = "Exclude"]
2074 EXCLUDED,
2075 #[doc = "Include"]
2076 INCLUDED,
2077}
2078impl CH9W {
2079 #[allow(missing_docs)]
2080 #[doc(hidden)]
2081 #[inline]
2082 pub fn _bits(&self) -> bool {
2083 match *self {
2084 CH9W::EXCLUDED => false,
2085 CH9W::INCLUDED => true,
2086 }
2087 }
2088}
2089#[doc = r" Proxy"]
2090pub struct _CH9W<'a> {
2091 w: &'a mut W,
2092}
2093impl<'a> _CH9W<'a> {
2094 #[doc = r" Writes `variant` to the field"]
2095 #[inline]
2096 pub fn variant(self, variant: CH9W) -> &'a mut W {
2097 {
2098 self.bit(variant._bits())
2099 }
2100 }
2101 #[doc = "Exclude"]
2102 #[inline]
2103 pub fn excluded(self) -> &'a mut W {
2104 self.variant(CH9W::EXCLUDED)
2105 }
2106 #[doc = "Include"]
2107 #[inline]
2108 pub fn included(self) -> &'a mut W {
2109 self.variant(CH9W::INCLUDED)
2110 }
2111 #[doc = r" Sets the field bit"]
2112 pub fn set_bit(self) -> &'a mut W {
2113 self.bit(true)
2114 }
2115 #[doc = r" Clears the field bit"]
2116 pub fn clear_bit(self) -> &'a mut W {
2117 self.bit(false)
2118 }
2119 #[doc = r" Writes raw bits to the field"]
2120 #[inline]
2121 pub fn bit(self, value: bool) -> &'a mut W {
2122 const MASK: bool = true;
2123 const OFFSET: u8 = 9;
2124 self.w.bits &= !((MASK as u32) << OFFSET);
2125 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2126 self.w
2127 }
2128}
2129#[doc = "Values that can be written to the field `CH10`"]
2130pub enum CH10W {
2131 #[doc = "Exclude"]
2132 EXCLUDED,
2133 #[doc = "Include"]
2134 INCLUDED,
2135}
2136impl CH10W {
2137 #[allow(missing_docs)]
2138 #[doc(hidden)]
2139 #[inline]
2140 pub fn _bits(&self) -> bool {
2141 match *self {
2142 CH10W::EXCLUDED => false,
2143 CH10W::INCLUDED => true,
2144 }
2145 }
2146}
2147#[doc = r" Proxy"]
2148pub struct _CH10W<'a> {
2149 w: &'a mut W,
2150}
2151impl<'a> _CH10W<'a> {
2152 #[doc = r" Writes `variant` to the field"]
2153 #[inline]
2154 pub fn variant(self, variant: CH10W) -> &'a mut W {
2155 {
2156 self.bit(variant._bits())
2157 }
2158 }
2159 #[doc = "Exclude"]
2160 #[inline]
2161 pub fn excluded(self) -> &'a mut W {
2162 self.variant(CH10W::EXCLUDED)
2163 }
2164 #[doc = "Include"]
2165 #[inline]
2166 pub fn included(self) -> &'a mut W {
2167 self.variant(CH10W::INCLUDED)
2168 }
2169 #[doc = r" Sets the field bit"]
2170 pub fn set_bit(self) -> &'a mut W {
2171 self.bit(true)
2172 }
2173 #[doc = r" Clears the field bit"]
2174 pub fn clear_bit(self) -> &'a mut W {
2175 self.bit(false)
2176 }
2177 #[doc = r" Writes raw bits to the field"]
2178 #[inline]
2179 pub fn bit(self, value: bool) -> &'a mut W {
2180 const MASK: bool = true;
2181 const OFFSET: u8 = 10;
2182 self.w.bits &= !((MASK as u32) << OFFSET);
2183 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2184 self.w
2185 }
2186}
2187#[doc = "Values that can be written to the field `CH11`"]
2188pub enum CH11W {
2189 #[doc = "Exclude"]
2190 EXCLUDED,
2191 #[doc = "Include"]
2192 INCLUDED,
2193}
2194impl CH11W {
2195 #[allow(missing_docs)]
2196 #[doc(hidden)]
2197 #[inline]
2198 pub fn _bits(&self) -> bool {
2199 match *self {
2200 CH11W::EXCLUDED => false,
2201 CH11W::INCLUDED => true,
2202 }
2203 }
2204}
2205#[doc = r" Proxy"]
2206pub struct _CH11W<'a> {
2207 w: &'a mut W,
2208}
2209impl<'a> _CH11W<'a> {
2210 #[doc = r" Writes `variant` to the field"]
2211 #[inline]
2212 pub fn variant(self, variant: CH11W) -> &'a mut W {
2213 {
2214 self.bit(variant._bits())
2215 }
2216 }
2217 #[doc = "Exclude"]
2218 #[inline]
2219 pub fn excluded(self) -> &'a mut W {
2220 self.variant(CH11W::EXCLUDED)
2221 }
2222 #[doc = "Include"]
2223 #[inline]
2224 pub fn included(self) -> &'a mut W {
2225 self.variant(CH11W::INCLUDED)
2226 }
2227 #[doc = r" Sets the field bit"]
2228 pub fn set_bit(self) -> &'a mut W {
2229 self.bit(true)
2230 }
2231 #[doc = r" Clears the field bit"]
2232 pub fn clear_bit(self) -> &'a mut W {
2233 self.bit(false)
2234 }
2235 #[doc = r" Writes raw bits to the field"]
2236 #[inline]
2237 pub fn bit(self, value: bool) -> &'a mut W {
2238 const MASK: bool = true;
2239 const OFFSET: u8 = 11;
2240 self.w.bits &= !((MASK as u32) << OFFSET);
2241 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2242 self.w
2243 }
2244}
2245#[doc = "Values that can be written to the field `CH12`"]
2246pub enum CH12W {
2247 #[doc = "Exclude"]
2248 EXCLUDED,
2249 #[doc = "Include"]
2250 INCLUDED,
2251}
2252impl CH12W {
2253 #[allow(missing_docs)]
2254 #[doc(hidden)]
2255 #[inline]
2256 pub fn _bits(&self) -> bool {
2257 match *self {
2258 CH12W::EXCLUDED => false,
2259 CH12W::INCLUDED => true,
2260 }
2261 }
2262}
2263#[doc = r" Proxy"]
2264pub struct _CH12W<'a> {
2265 w: &'a mut W,
2266}
2267impl<'a> _CH12W<'a> {
2268 #[doc = r" Writes `variant` to the field"]
2269 #[inline]
2270 pub fn variant(self, variant: CH12W) -> &'a mut W {
2271 {
2272 self.bit(variant._bits())
2273 }
2274 }
2275 #[doc = "Exclude"]
2276 #[inline]
2277 pub fn excluded(self) -> &'a mut W {
2278 self.variant(CH12W::EXCLUDED)
2279 }
2280 #[doc = "Include"]
2281 #[inline]
2282 pub fn included(self) -> &'a mut W {
2283 self.variant(CH12W::INCLUDED)
2284 }
2285 #[doc = r" Sets the field bit"]
2286 pub fn set_bit(self) -> &'a mut W {
2287 self.bit(true)
2288 }
2289 #[doc = r" Clears the field bit"]
2290 pub fn clear_bit(self) -> &'a mut W {
2291 self.bit(false)
2292 }
2293 #[doc = r" Writes raw bits to the field"]
2294 #[inline]
2295 pub fn bit(self, value: bool) -> &'a mut W {
2296 const MASK: bool = true;
2297 const OFFSET: u8 = 12;
2298 self.w.bits &= !((MASK as u32) << OFFSET);
2299 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2300 self.w
2301 }
2302}
2303#[doc = "Values that can be written to the field `CH13`"]
2304pub enum CH13W {
2305 #[doc = "Exclude"]
2306 EXCLUDED,
2307 #[doc = "Include"]
2308 INCLUDED,
2309}
2310impl CH13W {
2311 #[allow(missing_docs)]
2312 #[doc(hidden)]
2313 #[inline]
2314 pub fn _bits(&self) -> bool {
2315 match *self {
2316 CH13W::EXCLUDED => false,
2317 CH13W::INCLUDED => true,
2318 }
2319 }
2320}
2321#[doc = r" Proxy"]
2322pub struct _CH13W<'a> {
2323 w: &'a mut W,
2324}
2325impl<'a> _CH13W<'a> {
2326 #[doc = r" Writes `variant` to the field"]
2327 #[inline]
2328 pub fn variant(self, variant: CH13W) -> &'a mut W {
2329 {
2330 self.bit(variant._bits())
2331 }
2332 }
2333 #[doc = "Exclude"]
2334 #[inline]
2335 pub fn excluded(self) -> &'a mut W {
2336 self.variant(CH13W::EXCLUDED)
2337 }
2338 #[doc = "Include"]
2339 #[inline]
2340 pub fn included(self) -> &'a mut W {
2341 self.variant(CH13W::INCLUDED)
2342 }
2343 #[doc = r" Sets the field bit"]
2344 pub fn set_bit(self) -> &'a mut W {
2345 self.bit(true)
2346 }
2347 #[doc = r" Clears the field bit"]
2348 pub fn clear_bit(self) -> &'a mut W {
2349 self.bit(false)
2350 }
2351 #[doc = r" Writes raw bits to the field"]
2352 #[inline]
2353 pub fn bit(self, value: bool) -> &'a mut W {
2354 const MASK: bool = true;
2355 const OFFSET: u8 = 13;
2356 self.w.bits &= !((MASK as u32) << OFFSET);
2357 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2358 self.w
2359 }
2360}
2361#[doc = "Values that can be written to the field `CH14`"]
2362pub enum CH14W {
2363 #[doc = "Exclude"]
2364 EXCLUDED,
2365 #[doc = "Include"]
2366 INCLUDED,
2367}
2368impl CH14W {
2369 #[allow(missing_docs)]
2370 #[doc(hidden)]
2371 #[inline]
2372 pub fn _bits(&self) -> bool {
2373 match *self {
2374 CH14W::EXCLUDED => false,
2375 CH14W::INCLUDED => true,
2376 }
2377 }
2378}
2379#[doc = r" Proxy"]
2380pub struct _CH14W<'a> {
2381 w: &'a mut W,
2382}
2383impl<'a> _CH14W<'a> {
2384 #[doc = r" Writes `variant` to the field"]
2385 #[inline]
2386 pub fn variant(self, variant: CH14W) -> &'a mut W {
2387 {
2388 self.bit(variant._bits())
2389 }
2390 }
2391 #[doc = "Exclude"]
2392 #[inline]
2393 pub fn excluded(self) -> &'a mut W {
2394 self.variant(CH14W::EXCLUDED)
2395 }
2396 #[doc = "Include"]
2397 #[inline]
2398 pub fn included(self) -> &'a mut W {
2399 self.variant(CH14W::INCLUDED)
2400 }
2401 #[doc = r" Sets the field bit"]
2402 pub fn set_bit(self) -> &'a mut W {
2403 self.bit(true)
2404 }
2405 #[doc = r" Clears the field bit"]
2406 pub fn clear_bit(self) -> &'a mut W {
2407 self.bit(false)
2408 }
2409 #[doc = r" Writes raw bits to the field"]
2410 #[inline]
2411 pub fn bit(self, value: bool) -> &'a mut W {
2412 const MASK: bool = true;
2413 const OFFSET: u8 = 14;
2414 self.w.bits &= !((MASK as u32) << OFFSET);
2415 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2416 self.w
2417 }
2418}
2419#[doc = "Values that can be written to the field `CH15`"]
2420pub enum CH15W {
2421 #[doc = "Exclude"]
2422 EXCLUDED,
2423 #[doc = "Include"]
2424 INCLUDED,
2425}
2426impl CH15W {
2427 #[allow(missing_docs)]
2428 #[doc(hidden)]
2429 #[inline]
2430 pub fn _bits(&self) -> bool {
2431 match *self {
2432 CH15W::EXCLUDED => false,
2433 CH15W::INCLUDED => true,
2434 }
2435 }
2436}
2437#[doc = r" Proxy"]
2438pub struct _CH15W<'a> {
2439 w: &'a mut W,
2440}
2441impl<'a> _CH15W<'a> {
2442 #[doc = r" Writes `variant` to the field"]
2443 #[inline]
2444 pub fn variant(self, variant: CH15W) -> &'a mut W {
2445 {
2446 self.bit(variant._bits())
2447 }
2448 }
2449 #[doc = "Exclude"]
2450 #[inline]
2451 pub fn excluded(self) -> &'a mut W {
2452 self.variant(CH15W::EXCLUDED)
2453 }
2454 #[doc = "Include"]
2455 #[inline]
2456 pub fn included(self) -> &'a mut W {
2457 self.variant(CH15W::INCLUDED)
2458 }
2459 #[doc = r" Sets the field bit"]
2460 pub fn set_bit(self) -> &'a mut W {
2461 self.bit(true)
2462 }
2463 #[doc = r" Clears the field bit"]
2464 pub fn clear_bit(self) -> &'a mut W {
2465 self.bit(false)
2466 }
2467 #[doc = r" Writes raw bits to the field"]
2468 #[inline]
2469 pub fn bit(self, value: bool) -> &'a mut W {
2470 const MASK: bool = true;
2471 const OFFSET: u8 = 15;
2472 self.w.bits &= !((MASK as u32) << OFFSET);
2473 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2474 self.w
2475 }
2476}
2477#[doc = "Values that can be written to the field `CH16`"]
2478pub enum CH16W {
2479 #[doc = "Exclude"]
2480 EXCLUDED,
2481 #[doc = "Include"]
2482 INCLUDED,
2483}
2484impl CH16W {
2485 #[allow(missing_docs)]
2486 #[doc(hidden)]
2487 #[inline]
2488 pub fn _bits(&self) -> bool {
2489 match *self {
2490 CH16W::EXCLUDED => false,
2491 CH16W::INCLUDED => true,
2492 }
2493 }
2494}
2495#[doc = r" Proxy"]
2496pub struct _CH16W<'a> {
2497 w: &'a mut W,
2498}
2499impl<'a> _CH16W<'a> {
2500 #[doc = r" Writes `variant` to the field"]
2501 #[inline]
2502 pub fn variant(self, variant: CH16W) -> &'a mut W {
2503 {
2504 self.bit(variant._bits())
2505 }
2506 }
2507 #[doc = "Exclude"]
2508 #[inline]
2509 pub fn excluded(self) -> &'a mut W {
2510 self.variant(CH16W::EXCLUDED)
2511 }
2512 #[doc = "Include"]
2513 #[inline]
2514 pub fn included(self) -> &'a mut W {
2515 self.variant(CH16W::INCLUDED)
2516 }
2517 #[doc = r" Sets the field bit"]
2518 pub fn set_bit(self) -> &'a mut W {
2519 self.bit(true)
2520 }
2521 #[doc = r" Clears the field bit"]
2522 pub fn clear_bit(self) -> &'a mut W {
2523 self.bit(false)
2524 }
2525 #[doc = r" Writes raw bits to the field"]
2526 #[inline]
2527 pub fn bit(self, value: bool) -> &'a mut W {
2528 const MASK: bool = true;
2529 const OFFSET: u8 = 16;
2530 self.w.bits &= !((MASK as u32) << OFFSET);
2531 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2532 self.w
2533 }
2534}
2535#[doc = "Values that can be written to the field `CH17`"]
2536pub enum CH17W {
2537 #[doc = "Exclude"]
2538 EXCLUDED,
2539 #[doc = "Include"]
2540 INCLUDED,
2541}
2542impl CH17W {
2543 #[allow(missing_docs)]
2544 #[doc(hidden)]
2545 #[inline]
2546 pub fn _bits(&self) -> bool {
2547 match *self {
2548 CH17W::EXCLUDED => false,
2549 CH17W::INCLUDED => true,
2550 }
2551 }
2552}
2553#[doc = r" Proxy"]
2554pub struct _CH17W<'a> {
2555 w: &'a mut W,
2556}
2557impl<'a> _CH17W<'a> {
2558 #[doc = r" Writes `variant` to the field"]
2559 #[inline]
2560 pub fn variant(self, variant: CH17W) -> &'a mut W {
2561 {
2562 self.bit(variant._bits())
2563 }
2564 }
2565 #[doc = "Exclude"]
2566 #[inline]
2567 pub fn excluded(self) -> &'a mut W {
2568 self.variant(CH17W::EXCLUDED)
2569 }
2570 #[doc = "Include"]
2571 #[inline]
2572 pub fn included(self) -> &'a mut W {
2573 self.variant(CH17W::INCLUDED)
2574 }
2575 #[doc = r" Sets the field bit"]
2576 pub fn set_bit(self) -> &'a mut W {
2577 self.bit(true)
2578 }
2579 #[doc = r" Clears the field bit"]
2580 pub fn clear_bit(self) -> &'a mut W {
2581 self.bit(false)
2582 }
2583 #[doc = r" Writes raw bits to the field"]
2584 #[inline]
2585 pub fn bit(self, value: bool) -> &'a mut W {
2586 const MASK: bool = true;
2587 const OFFSET: u8 = 17;
2588 self.w.bits &= !((MASK as u32) << OFFSET);
2589 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2590 self.w
2591 }
2592}
2593#[doc = "Values that can be written to the field `CH18`"]
2594pub enum CH18W {
2595 #[doc = "Exclude"]
2596 EXCLUDED,
2597 #[doc = "Include"]
2598 INCLUDED,
2599}
2600impl CH18W {
2601 #[allow(missing_docs)]
2602 #[doc(hidden)]
2603 #[inline]
2604 pub fn _bits(&self) -> bool {
2605 match *self {
2606 CH18W::EXCLUDED => false,
2607 CH18W::INCLUDED => true,
2608 }
2609 }
2610}
2611#[doc = r" Proxy"]
2612pub struct _CH18W<'a> {
2613 w: &'a mut W,
2614}
2615impl<'a> _CH18W<'a> {
2616 #[doc = r" Writes `variant` to the field"]
2617 #[inline]
2618 pub fn variant(self, variant: CH18W) -> &'a mut W {
2619 {
2620 self.bit(variant._bits())
2621 }
2622 }
2623 #[doc = "Exclude"]
2624 #[inline]
2625 pub fn excluded(self) -> &'a mut W {
2626 self.variant(CH18W::EXCLUDED)
2627 }
2628 #[doc = "Include"]
2629 #[inline]
2630 pub fn included(self) -> &'a mut W {
2631 self.variant(CH18W::INCLUDED)
2632 }
2633 #[doc = r" Sets the field bit"]
2634 pub fn set_bit(self) -> &'a mut W {
2635 self.bit(true)
2636 }
2637 #[doc = r" Clears the field bit"]
2638 pub fn clear_bit(self) -> &'a mut W {
2639 self.bit(false)
2640 }
2641 #[doc = r" Writes raw bits to the field"]
2642 #[inline]
2643 pub fn bit(self, value: bool) -> &'a mut W {
2644 const MASK: bool = true;
2645 const OFFSET: u8 = 18;
2646 self.w.bits &= !((MASK as u32) << OFFSET);
2647 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2648 self.w
2649 }
2650}
2651#[doc = "Values that can be written to the field `CH19`"]
2652pub enum CH19W {
2653 #[doc = "Exclude"]
2654 EXCLUDED,
2655 #[doc = "Include"]
2656 INCLUDED,
2657}
2658impl CH19W {
2659 #[allow(missing_docs)]
2660 #[doc(hidden)]
2661 #[inline]
2662 pub fn _bits(&self) -> bool {
2663 match *self {
2664 CH19W::EXCLUDED => false,
2665 CH19W::INCLUDED => true,
2666 }
2667 }
2668}
2669#[doc = r" Proxy"]
2670pub struct _CH19W<'a> {
2671 w: &'a mut W,
2672}
2673impl<'a> _CH19W<'a> {
2674 #[doc = r" Writes `variant` to the field"]
2675 #[inline]
2676 pub fn variant(self, variant: CH19W) -> &'a mut W {
2677 {
2678 self.bit(variant._bits())
2679 }
2680 }
2681 #[doc = "Exclude"]
2682 #[inline]
2683 pub fn excluded(self) -> &'a mut W {
2684 self.variant(CH19W::EXCLUDED)
2685 }
2686 #[doc = "Include"]
2687 #[inline]
2688 pub fn included(self) -> &'a mut W {
2689 self.variant(CH19W::INCLUDED)
2690 }
2691 #[doc = r" Sets the field bit"]
2692 pub fn set_bit(self) -> &'a mut W {
2693 self.bit(true)
2694 }
2695 #[doc = r" Clears the field bit"]
2696 pub fn clear_bit(self) -> &'a mut W {
2697 self.bit(false)
2698 }
2699 #[doc = r" Writes raw bits to the field"]
2700 #[inline]
2701 pub fn bit(self, value: bool) -> &'a mut W {
2702 const MASK: bool = true;
2703 const OFFSET: u8 = 19;
2704 self.w.bits &= !((MASK as u32) << OFFSET);
2705 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2706 self.w
2707 }
2708}
2709#[doc = "Values that can be written to the field `CH20`"]
2710pub enum CH20W {
2711 #[doc = "Exclude"]
2712 EXCLUDED,
2713 #[doc = "Include"]
2714 INCLUDED,
2715}
2716impl CH20W {
2717 #[allow(missing_docs)]
2718 #[doc(hidden)]
2719 #[inline]
2720 pub fn _bits(&self) -> bool {
2721 match *self {
2722 CH20W::EXCLUDED => false,
2723 CH20W::INCLUDED => true,
2724 }
2725 }
2726}
2727#[doc = r" Proxy"]
2728pub struct _CH20W<'a> {
2729 w: &'a mut W,
2730}
2731impl<'a> _CH20W<'a> {
2732 #[doc = r" Writes `variant` to the field"]
2733 #[inline]
2734 pub fn variant(self, variant: CH20W) -> &'a mut W {
2735 {
2736 self.bit(variant._bits())
2737 }
2738 }
2739 #[doc = "Exclude"]
2740 #[inline]
2741 pub fn excluded(self) -> &'a mut W {
2742 self.variant(CH20W::EXCLUDED)
2743 }
2744 #[doc = "Include"]
2745 #[inline]
2746 pub fn included(self) -> &'a mut W {
2747 self.variant(CH20W::INCLUDED)
2748 }
2749 #[doc = r" Sets the field bit"]
2750 pub fn set_bit(self) -> &'a mut W {
2751 self.bit(true)
2752 }
2753 #[doc = r" Clears the field bit"]
2754 pub fn clear_bit(self) -> &'a mut W {
2755 self.bit(false)
2756 }
2757 #[doc = r" Writes raw bits to the field"]
2758 #[inline]
2759 pub fn bit(self, value: bool) -> &'a mut W {
2760 const MASK: bool = true;
2761 const OFFSET: u8 = 20;
2762 self.w.bits &= !((MASK as u32) << OFFSET);
2763 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2764 self.w
2765 }
2766}
2767#[doc = "Values that can be written to the field `CH21`"]
2768pub enum CH21W {
2769 #[doc = "Exclude"]
2770 EXCLUDED,
2771 #[doc = "Include"]
2772 INCLUDED,
2773}
2774impl CH21W {
2775 #[allow(missing_docs)]
2776 #[doc(hidden)]
2777 #[inline]
2778 pub fn _bits(&self) -> bool {
2779 match *self {
2780 CH21W::EXCLUDED => false,
2781 CH21W::INCLUDED => true,
2782 }
2783 }
2784}
2785#[doc = r" Proxy"]
2786pub struct _CH21W<'a> {
2787 w: &'a mut W,
2788}
2789impl<'a> _CH21W<'a> {
2790 #[doc = r" Writes `variant` to the field"]
2791 #[inline]
2792 pub fn variant(self, variant: CH21W) -> &'a mut W {
2793 {
2794 self.bit(variant._bits())
2795 }
2796 }
2797 #[doc = "Exclude"]
2798 #[inline]
2799 pub fn excluded(self) -> &'a mut W {
2800 self.variant(CH21W::EXCLUDED)
2801 }
2802 #[doc = "Include"]
2803 #[inline]
2804 pub fn included(self) -> &'a mut W {
2805 self.variant(CH21W::INCLUDED)
2806 }
2807 #[doc = r" Sets the field bit"]
2808 pub fn set_bit(self) -> &'a mut W {
2809 self.bit(true)
2810 }
2811 #[doc = r" Clears the field bit"]
2812 pub fn clear_bit(self) -> &'a mut W {
2813 self.bit(false)
2814 }
2815 #[doc = r" Writes raw bits to the field"]
2816 #[inline]
2817 pub fn bit(self, value: bool) -> &'a mut W {
2818 const MASK: bool = true;
2819 const OFFSET: u8 = 21;
2820 self.w.bits &= !((MASK as u32) << OFFSET);
2821 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2822 self.w
2823 }
2824}
2825#[doc = "Values that can be written to the field `CH22`"]
2826pub enum CH22W {
2827 #[doc = "Exclude"]
2828 EXCLUDED,
2829 #[doc = "Include"]
2830 INCLUDED,
2831}
2832impl CH22W {
2833 #[allow(missing_docs)]
2834 #[doc(hidden)]
2835 #[inline]
2836 pub fn _bits(&self) -> bool {
2837 match *self {
2838 CH22W::EXCLUDED => false,
2839 CH22W::INCLUDED => true,
2840 }
2841 }
2842}
2843#[doc = r" Proxy"]
2844pub struct _CH22W<'a> {
2845 w: &'a mut W,
2846}
2847impl<'a> _CH22W<'a> {
2848 #[doc = r" Writes `variant` to the field"]
2849 #[inline]
2850 pub fn variant(self, variant: CH22W) -> &'a mut W {
2851 {
2852 self.bit(variant._bits())
2853 }
2854 }
2855 #[doc = "Exclude"]
2856 #[inline]
2857 pub fn excluded(self) -> &'a mut W {
2858 self.variant(CH22W::EXCLUDED)
2859 }
2860 #[doc = "Include"]
2861 #[inline]
2862 pub fn included(self) -> &'a mut W {
2863 self.variant(CH22W::INCLUDED)
2864 }
2865 #[doc = r" Sets the field bit"]
2866 pub fn set_bit(self) -> &'a mut W {
2867 self.bit(true)
2868 }
2869 #[doc = r" Clears the field bit"]
2870 pub fn clear_bit(self) -> &'a mut W {
2871 self.bit(false)
2872 }
2873 #[doc = r" Writes raw bits to the field"]
2874 #[inline]
2875 pub fn bit(self, value: bool) -> &'a mut W {
2876 const MASK: bool = true;
2877 const OFFSET: u8 = 22;
2878 self.w.bits &= !((MASK as u32) << OFFSET);
2879 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2880 self.w
2881 }
2882}
2883#[doc = "Values that can be written to the field `CH23`"]
2884pub enum CH23W {
2885 #[doc = "Exclude"]
2886 EXCLUDED,
2887 #[doc = "Include"]
2888 INCLUDED,
2889}
2890impl CH23W {
2891 #[allow(missing_docs)]
2892 #[doc(hidden)]
2893 #[inline]
2894 pub fn _bits(&self) -> bool {
2895 match *self {
2896 CH23W::EXCLUDED => false,
2897 CH23W::INCLUDED => true,
2898 }
2899 }
2900}
2901#[doc = r" Proxy"]
2902pub struct _CH23W<'a> {
2903 w: &'a mut W,
2904}
2905impl<'a> _CH23W<'a> {
2906 #[doc = r" Writes `variant` to the field"]
2907 #[inline]
2908 pub fn variant(self, variant: CH23W) -> &'a mut W {
2909 {
2910 self.bit(variant._bits())
2911 }
2912 }
2913 #[doc = "Exclude"]
2914 #[inline]
2915 pub fn excluded(self) -> &'a mut W {
2916 self.variant(CH23W::EXCLUDED)
2917 }
2918 #[doc = "Include"]
2919 #[inline]
2920 pub fn included(self) -> &'a mut W {
2921 self.variant(CH23W::INCLUDED)
2922 }
2923 #[doc = r" Sets the field bit"]
2924 pub fn set_bit(self) -> &'a mut W {
2925 self.bit(true)
2926 }
2927 #[doc = r" Clears the field bit"]
2928 pub fn clear_bit(self) -> &'a mut W {
2929 self.bit(false)
2930 }
2931 #[doc = r" Writes raw bits to the field"]
2932 #[inline]
2933 pub fn bit(self, value: bool) -> &'a mut W {
2934 const MASK: bool = true;
2935 const OFFSET: u8 = 23;
2936 self.w.bits &= !((MASK as u32) << OFFSET);
2937 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2938 self.w
2939 }
2940}
2941#[doc = "Values that can be written to the field `CH24`"]
2942pub enum CH24W {
2943 #[doc = "Exclude"]
2944 EXCLUDED,
2945 #[doc = "Include"]
2946 INCLUDED,
2947}
2948impl CH24W {
2949 #[allow(missing_docs)]
2950 #[doc(hidden)]
2951 #[inline]
2952 pub fn _bits(&self) -> bool {
2953 match *self {
2954 CH24W::EXCLUDED => false,
2955 CH24W::INCLUDED => true,
2956 }
2957 }
2958}
2959#[doc = r" Proxy"]
2960pub struct _CH24W<'a> {
2961 w: &'a mut W,
2962}
2963impl<'a> _CH24W<'a> {
2964 #[doc = r" Writes `variant` to the field"]
2965 #[inline]
2966 pub fn variant(self, variant: CH24W) -> &'a mut W {
2967 {
2968 self.bit(variant._bits())
2969 }
2970 }
2971 #[doc = "Exclude"]
2972 #[inline]
2973 pub fn excluded(self) -> &'a mut W {
2974 self.variant(CH24W::EXCLUDED)
2975 }
2976 #[doc = "Include"]
2977 #[inline]
2978 pub fn included(self) -> &'a mut W {
2979 self.variant(CH24W::INCLUDED)
2980 }
2981 #[doc = r" Sets the field bit"]
2982 pub fn set_bit(self) -> &'a mut W {
2983 self.bit(true)
2984 }
2985 #[doc = r" Clears the field bit"]
2986 pub fn clear_bit(self) -> &'a mut W {
2987 self.bit(false)
2988 }
2989 #[doc = r" Writes raw bits to the field"]
2990 #[inline]
2991 pub fn bit(self, value: bool) -> &'a mut W {
2992 const MASK: bool = true;
2993 const OFFSET: u8 = 24;
2994 self.w.bits &= !((MASK as u32) << OFFSET);
2995 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2996 self.w
2997 }
2998}
2999#[doc = "Values that can be written to the field `CH25`"]
3000pub enum CH25W {
3001 #[doc = "Exclude"]
3002 EXCLUDED,
3003 #[doc = "Include"]
3004 INCLUDED,
3005}
3006impl CH25W {
3007 #[allow(missing_docs)]
3008 #[doc(hidden)]
3009 #[inline]
3010 pub fn _bits(&self) -> bool {
3011 match *self {
3012 CH25W::EXCLUDED => false,
3013 CH25W::INCLUDED => true,
3014 }
3015 }
3016}
3017#[doc = r" Proxy"]
3018pub struct _CH25W<'a> {
3019 w: &'a mut W,
3020}
3021impl<'a> _CH25W<'a> {
3022 #[doc = r" Writes `variant` to the field"]
3023 #[inline]
3024 pub fn variant(self, variant: CH25W) -> &'a mut W {
3025 {
3026 self.bit(variant._bits())
3027 }
3028 }
3029 #[doc = "Exclude"]
3030 #[inline]
3031 pub fn excluded(self) -> &'a mut W {
3032 self.variant(CH25W::EXCLUDED)
3033 }
3034 #[doc = "Include"]
3035 #[inline]
3036 pub fn included(self) -> &'a mut W {
3037 self.variant(CH25W::INCLUDED)
3038 }
3039 #[doc = r" Sets the field bit"]
3040 pub fn set_bit(self) -> &'a mut W {
3041 self.bit(true)
3042 }
3043 #[doc = r" Clears the field bit"]
3044 pub fn clear_bit(self) -> &'a mut W {
3045 self.bit(false)
3046 }
3047 #[doc = r" Writes raw bits to the field"]
3048 #[inline]
3049 pub fn bit(self, value: bool) -> &'a mut W {
3050 const MASK: bool = true;
3051 const OFFSET: u8 = 25;
3052 self.w.bits &= !((MASK as u32) << OFFSET);
3053 self.w.bits |= ((value & MASK) as u32) << OFFSET;
3054 self.w
3055 }
3056}
3057#[doc = "Values that can be written to the field `CH26`"]
3058pub enum CH26W {
3059 #[doc = "Exclude"]
3060 EXCLUDED,
3061 #[doc = "Include"]
3062 INCLUDED,
3063}
3064impl CH26W {
3065 #[allow(missing_docs)]
3066 #[doc(hidden)]
3067 #[inline]
3068 pub fn _bits(&self) -> bool {
3069 match *self {
3070 CH26W::EXCLUDED => false,
3071 CH26W::INCLUDED => true,
3072 }
3073 }
3074}
3075#[doc = r" Proxy"]
3076pub struct _CH26W<'a> {
3077 w: &'a mut W,
3078}
3079impl<'a> _CH26W<'a> {
3080 #[doc = r" Writes `variant` to the field"]
3081 #[inline]
3082 pub fn variant(self, variant: CH26W) -> &'a mut W {
3083 {
3084 self.bit(variant._bits())
3085 }
3086 }
3087 #[doc = "Exclude"]
3088 #[inline]
3089 pub fn excluded(self) -> &'a mut W {
3090 self.variant(CH26W::EXCLUDED)
3091 }
3092 #[doc = "Include"]
3093 #[inline]
3094 pub fn included(self) -> &'a mut W {
3095 self.variant(CH26W::INCLUDED)
3096 }
3097 #[doc = r" Sets the field bit"]
3098 pub fn set_bit(self) -> &'a mut W {
3099 self.bit(true)
3100 }
3101 #[doc = r" Clears the field bit"]
3102 pub fn clear_bit(self) -> &'a mut W {
3103 self.bit(false)
3104 }
3105 #[doc = r" Writes raw bits to the field"]
3106 #[inline]
3107 pub fn bit(self, value: bool) -> &'a mut W {
3108 const MASK: bool = true;
3109 const OFFSET: u8 = 26;
3110 self.w.bits &= !((MASK as u32) << OFFSET);
3111 self.w.bits |= ((value & MASK) as u32) << OFFSET;
3112 self.w
3113 }
3114}
3115#[doc = "Values that can be written to the field `CH27`"]
3116pub enum CH27W {
3117 #[doc = "Exclude"]
3118 EXCLUDED,
3119 #[doc = "Include"]
3120 INCLUDED,
3121}
3122impl CH27W {
3123 #[allow(missing_docs)]
3124 #[doc(hidden)]
3125 #[inline]
3126 pub fn _bits(&self) -> bool {
3127 match *self {
3128 CH27W::EXCLUDED => false,
3129 CH27W::INCLUDED => true,
3130 }
3131 }
3132}
3133#[doc = r" Proxy"]
3134pub struct _CH27W<'a> {
3135 w: &'a mut W,
3136}
3137impl<'a> _CH27W<'a> {
3138 #[doc = r" Writes `variant` to the field"]
3139 #[inline]
3140 pub fn variant(self, variant: CH27W) -> &'a mut W {
3141 {
3142 self.bit(variant._bits())
3143 }
3144 }
3145 #[doc = "Exclude"]
3146 #[inline]
3147 pub fn excluded(self) -> &'a mut W {
3148 self.variant(CH27W::EXCLUDED)
3149 }
3150 #[doc = "Include"]
3151 #[inline]
3152 pub fn included(self) -> &'a mut W {
3153 self.variant(CH27W::INCLUDED)
3154 }
3155 #[doc = r" Sets the field bit"]
3156 pub fn set_bit(self) -> &'a mut W {
3157 self.bit(true)
3158 }
3159 #[doc = r" Clears the field bit"]
3160 pub fn clear_bit(self) -> &'a mut W {
3161 self.bit(false)
3162 }
3163 #[doc = r" Writes raw bits to the field"]
3164 #[inline]
3165 pub fn bit(self, value: bool) -> &'a mut W {
3166 const MASK: bool = true;
3167 const OFFSET: u8 = 27;
3168 self.w.bits &= !((MASK as u32) << OFFSET);
3169 self.w.bits |= ((value & MASK) as u32) << OFFSET;
3170 self.w
3171 }
3172}
3173#[doc = "Values that can be written to the field `CH28`"]
3174pub enum CH28W {
3175 #[doc = "Exclude"]
3176 EXCLUDED,
3177 #[doc = "Include"]
3178 INCLUDED,
3179}
3180impl CH28W {
3181 #[allow(missing_docs)]
3182 #[doc(hidden)]
3183 #[inline]
3184 pub fn _bits(&self) -> bool {
3185 match *self {
3186 CH28W::EXCLUDED => false,
3187 CH28W::INCLUDED => true,
3188 }
3189 }
3190}
3191#[doc = r" Proxy"]
3192pub struct _CH28W<'a> {
3193 w: &'a mut W,
3194}
3195impl<'a> _CH28W<'a> {
3196 #[doc = r" Writes `variant` to the field"]
3197 #[inline]
3198 pub fn variant(self, variant: CH28W) -> &'a mut W {
3199 {
3200 self.bit(variant._bits())
3201 }
3202 }
3203 #[doc = "Exclude"]
3204 #[inline]
3205 pub fn excluded(self) -> &'a mut W {
3206 self.variant(CH28W::EXCLUDED)
3207 }
3208 #[doc = "Include"]
3209 #[inline]
3210 pub fn included(self) -> &'a mut W {
3211 self.variant(CH28W::INCLUDED)
3212 }
3213 #[doc = r" Sets the field bit"]
3214 pub fn set_bit(self) -> &'a mut W {
3215 self.bit(true)
3216 }
3217 #[doc = r" Clears the field bit"]
3218 pub fn clear_bit(self) -> &'a mut W {
3219 self.bit(false)
3220 }
3221 #[doc = r" Writes raw bits to the field"]
3222 #[inline]
3223 pub fn bit(self, value: bool) -> &'a mut W {
3224 const MASK: bool = true;
3225 const OFFSET: u8 = 28;
3226 self.w.bits &= !((MASK as u32) << OFFSET);
3227 self.w.bits |= ((value & MASK) as u32) << OFFSET;
3228 self.w
3229 }
3230}
3231#[doc = "Values that can be written to the field `CH29`"]
3232pub enum CH29W {
3233 #[doc = "Exclude"]
3234 EXCLUDED,
3235 #[doc = "Include"]
3236 INCLUDED,
3237}
3238impl CH29W {
3239 #[allow(missing_docs)]
3240 #[doc(hidden)]
3241 #[inline]
3242 pub fn _bits(&self) -> bool {
3243 match *self {
3244 CH29W::EXCLUDED => false,
3245 CH29W::INCLUDED => true,
3246 }
3247 }
3248}
3249#[doc = r" Proxy"]
3250pub struct _CH29W<'a> {
3251 w: &'a mut W,
3252}
3253impl<'a> _CH29W<'a> {
3254 #[doc = r" Writes `variant` to the field"]
3255 #[inline]
3256 pub fn variant(self, variant: CH29W) -> &'a mut W {
3257 {
3258 self.bit(variant._bits())
3259 }
3260 }
3261 #[doc = "Exclude"]
3262 #[inline]
3263 pub fn excluded(self) -> &'a mut W {
3264 self.variant(CH29W::EXCLUDED)
3265 }
3266 #[doc = "Include"]
3267 #[inline]
3268 pub fn included(self) -> &'a mut W {
3269 self.variant(CH29W::INCLUDED)
3270 }
3271 #[doc = r" Sets the field bit"]
3272 pub fn set_bit(self) -> &'a mut W {
3273 self.bit(true)
3274 }
3275 #[doc = r" Clears the field bit"]
3276 pub fn clear_bit(self) -> &'a mut W {
3277 self.bit(false)
3278 }
3279 #[doc = r" Writes raw bits to the field"]
3280 #[inline]
3281 pub fn bit(self, value: bool) -> &'a mut W {
3282 const MASK: bool = true;
3283 const OFFSET: u8 = 29;
3284 self.w.bits &= !((MASK as u32) << OFFSET);
3285 self.w.bits |= ((value & MASK) as u32) << OFFSET;
3286 self.w
3287 }
3288}
3289#[doc = "Values that can be written to the field `CH30`"]
3290pub enum CH30W {
3291 #[doc = "Exclude"]
3292 EXCLUDED,
3293 #[doc = "Include"]
3294 INCLUDED,
3295}
3296impl CH30W {
3297 #[allow(missing_docs)]
3298 #[doc(hidden)]
3299 #[inline]
3300 pub fn _bits(&self) -> bool {
3301 match *self {
3302 CH30W::EXCLUDED => false,
3303 CH30W::INCLUDED => true,
3304 }
3305 }
3306}
3307#[doc = r" Proxy"]
3308pub struct _CH30W<'a> {
3309 w: &'a mut W,
3310}
3311impl<'a> _CH30W<'a> {
3312 #[doc = r" Writes `variant` to the field"]
3313 #[inline]
3314 pub fn variant(self, variant: CH30W) -> &'a mut W {
3315 {
3316 self.bit(variant._bits())
3317 }
3318 }
3319 #[doc = "Exclude"]
3320 #[inline]
3321 pub fn excluded(self) -> &'a mut W {
3322 self.variant(CH30W::EXCLUDED)
3323 }
3324 #[doc = "Include"]
3325 #[inline]
3326 pub fn included(self) -> &'a mut W {
3327 self.variant(CH30W::INCLUDED)
3328 }
3329 #[doc = r" Sets the field bit"]
3330 pub fn set_bit(self) -> &'a mut W {
3331 self.bit(true)
3332 }
3333 #[doc = r" Clears the field bit"]
3334 pub fn clear_bit(self) -> &'a mut W {
3335 self.bit(false)
3336 }
3337 #[doc = r" Writes raw bits to the field"]
3338 #[inline]
3339 pub fn bit(self, value: bool) -> &'a mut W {
3340 const MASK: bool = true;
3341 const OFFSET: u8 = 30;
3342 self.w.bits &= !((MASK as u32) << OFFSET);
3343 self.w.bits |= ((value & MASK) as u32) << OFFSET;
3344 self.w
3345 }
3346}
3347#[doc = "Values that can be written to the field `CH31`"]
3348pub enum CH31W {
3349 #[doc = "Exclude"]
3350 EXCLUDED,
3351 #[doc = "Include"]
3352 INCLUDED,
3353}
3354impl CH31W {
3355 #[allow(missing_docs)]
3356 #[doc(hidden)]
3357 #[inline]
3358 pub fn _bits(&self) -> bool {
3359 match *self {
3360 CH31W::EXCLUDED => false,
3361 CH31W::INCLUDED => true,
3362 }
3363 }
3364}
3365#[doc = r" Proxy"]
3366pub struct _CH31W<'a> {
3367 w: &'a mut W,
3368}
3369impl<'a> _CH31W<'a> {
3370 #[doc = r" Writes `variant` to the field"]
3371 #[inline]
3372 pub fn variant(self, variant: CH31W) -> &'a mut W {
3373 {
3374 self.bit(variant._bits())
3375 }
3376 }
3377 #[doc = "Exclude"]
3378 #[inline]
3379 pub fn excluded(self) -> &'a mut W {
3380 self.variant(CH31W::EXCLUDED)
3381 }
3382 #[doc = "Include"]
3383 #[inline]
3384 pub fn included(self) -> &'a mut W {
3385 self.variant(CH31W::INCLUDED)
3386 }
3387 #[doc = r" Sets the field bit"]
3388 pub fn set_bit(self) -> &'a mut W {
3389 self.bit(true)
3390 }
3391 #[doc = r" Clears the field bit"]
3392 pub fn clear_bit(self) -> &'a mut W {
3393 self.bit(false)
3394 }
3395 #[doc = r" Writes raw bits to the field"]
3396 #[inline]
3397 pub fn bit(self, value: bool) -> &'a mut W {
3398 const MASK: bool = true;
3399 const OFFSET: u8 = 31;
3400 self.w.bits &= !((MASK as u32) << OFFSET);
3401 self.w.bits |= ((value & MASK) as u32) << OFFSET;
3402 self.w
3403 }
3404}
3405impl R {
3406 #[doc = r" Value of the register as raw bits"]
3407 #[inline]
3408 pub fn bits(&self) -> u32 {
3409 self.bits
3410 }
3411 #[doc = "Bit 0 - Include or exclude channel 0"]
3412 #[inline]
3413 pub fn ch0(&self) -> CH0R {
3414 CH0R::_from({
3415 const MASK: bool = true;
3416 const OFFSET: u8 = 0;
3417 ((self.bits >> OFFSET) & MASK as u32) != 0
3418 })
3419 }
3420 #[doc = "Bit 1 - Include or exclude channel 1"]
3421 #[inline]
3422 pub fn ch1(&self) -> CH1R {
3423 CH1R::_from({
3424 const MASK: bool = true;
3425 const OFFSET: u8 = 1;
3426 ((self.bits >> OFFSET) & MASK as u32) != 0
3427 })
3428 }
3429 #[doc = "Bit 2 - Include or exclude channel 2"]
3430 #[inline]
3431 pub fn ch2(&self) -> CH2R {
3432 CH2R::_from({
3433 const MASK: bool = true;
3434 const OFFSET: u8 = 2;
3435 ((self.bits >> OFFSET) & MASK as u32) != 0
3436 })
3437 }
3438 #[doc = "Bit 3 - Include or exclude channel 3"]
3439 #[inline]
3440 pub fn ch3(&self) -> CH3R {
3441 CH3R::_from({
3442 const MASK: bool = true;
3443 const OFFSET: u8 = 3;
3444 ((self.bits >> OFFSET) & MASK as u32) != 0
3445 })
3446 }
3447 #[doc = "Bit 4 - Include or exclude channel 4"]
3448 #[inline]
3449 pub fn ch4(&self) -> CH4R {
3450 CH4R::_from({
3451 const MASK: bool = true;
3452 const OFFSET: u8 = 4;
3453 ((self.bits >> OFFSET) & MASK as u32) != 0
3454 })
3455 }
3456 #[doc = "Bit 5 - Include or exclude channel 5"]
3457 #[inline]
3458 pub fn ch5(&self) -> CH5R {
3459 CH5R::_from({
3460 const MASK: bool = true;
3461 const OFFSET: u8 = 5;
3462 ((self.bits >> OFFSET) & MASK as u32) != 0
3463 })
3464 }
3465 #[doc = "Bit 6 - Include or exclude channel 6"]
3466 #[inline]
3467 pub fn ch6(&self) -> CH6R {
3468 CH6R::_from({
3469 const MASK: bool = true;
3470 const OFFSET: u8 = 6;
3471 ((self.bits >> OFFSET) & MASK as u32) != 0
3472 })
3473 }
3474 #[doc = "Bit 7 - Include or exclude channel 7"]
3475 #[inline]
3476 pub fn ch7(&self) -> CH7R {
3477 CH7R::_from({
3478 const MASK: bool = true;
3479 const OFFSET: u8 = 7;
3480 ((self.bits >> OFFSET) & MASK as u32) != 0
3481 })
3482 }
3483 #[doc = "Bit 8 - Include or exclude channel 8"]
3484 #[inline]
3485 pub fn ch8(&self) -> CH8R {
3486 CH8R::_from({
3487 const MASK: bool = true;
3488 const OFFSET: u8 = 8;
3489 ((self.bits >> OFFSET) & MASK as u32) != 0
3490 })
3491 }
3492 #[doc = "Bit 9 - Include or exclude channel 9"]
3493 #[inline]
3494 pub fn ch9(&self) -> CH9R {
3495 CH9R::_from({
3496 const MASK: bool = true;
3497 const OFFSET: u8 = 9;
3498 ((self.bits >> OFFSET) & MASK as u32) != 0
3499 })
3500 }
3501 #[doc = "Bit 10 - Include or exclude channel 10"]
3502 #[inline]
3503 pub fn ch10(&self) -> CH10R {
3504 CH10R::_from({
3505 const MASK: bool = true;
3506 const OFFSET: u8 = 10;
3507 ((self.bits >> OFFSET) & MASK as u32) != 0
3508 })
3509 }
3510 #[doc = "Bit 11 - Include or exclude channel 11"]
3511 #[inline]
3512 pub fn ch11(&self) -> CH11R {
3513 CH11R::_from({
3514 const MASK: bool = true;
3515 const OFFSET: u8 = 11;
3516 ((self.bits >> OFFSET) & MASK as u32) != 0
3517 })
3518 }
3519 #[doc = "Bit 12 - Include or exclude channel 12"]
3520 #[inline]
3521 pub fn ch12(&self) -> CH12R {
3522 CH12R::_from({
3523 const MASK: bool = true;
3524 const OFFSET: u8 = 12;
3525 ((self.bits >> OFFSET) & MASK as u32) != 0
3526 })
3527 }
3528 #[doc = "Bit 13 - Include or exclude channel 13"]
3529 #[inline]
3530 pub fn ch13(&self) -> CH13R {
3531 CH13R::_from({
3532 const MASK: bool = true;
3533 const OFFSET: u8 = 13;
3534 ((self.bits >> OFFSET) & MASK as u32) != 0
3535 })
3536 }
3537 #[doc = "Bit 14 - Include or exclude channel 14"]
3538 #[inline]
3539 pub fn ch14(&self) -> CH14R {
3540 CH14R::_from({
3541 const MASK: bool = true;
3542 const OFFSET: u8 = 14;
3543 ((self.bits >> OFFSET) & MASK as u32) != 0
3544 })
3545 }
3546 #[doc = "Bit 15 - Include or exclude channel 15"]
3547 #[inline]
3548 pub fn ch15(&self) -> CH15R {
3549 CH15R::_from({
3550 const MASK: bool = true;
3551 const OFFSET: u8 = 15;
3552 ((self.bits >> OFFSET) & MASK as u32) != 0
3553 })
3554 }
3555 #[doc = "Bit 16 - Include or exclude channel 16"]
3556 #[inline]
3557 pub fn ch16(&self) -> CH16R {
3558 CH16R::_from({
3559 const MASK: bool = true;
3560 const OFFSET: u8 = 16;
3561 ((self.bits >> OFFSET) & MASK as u32) != 0
3562 })
3563 }
3564 #[doc = "Bit 17 - Include or exclude channel 17"]
3565 #[inline]
3566 pub fn ch17(&self) -> CH17R {
3567 CH17R::_from({
3568 const MASK: bool = true;
3569 const OFFSET: u8 = 17;
3570 ((self.bits >> OFFSET) & MASK as u32) != 0
3571 })
3572 }
3573 #[doc = "Bit 18 - Include or exclude channel 18"]
3574 #[inline]
3575 pub fn ch18(&self) -> CH18R {
3576 CH18R::_from({
3577 const MASK: bool = true;
3578 const OFFSET: u8 = 18;
3579 ((self.bits >> OFFSET) & MASK as u32) != 0
3580 })
3581 }
3582 #[doc = "Bit 19 - Include or exclude channel 19"]
3583 #[inline]
3584 pub fn ch19(&self) -> CH19R {
3585 CH19R::_from({
3586 const MASK: bool = true;
3587 const OFFSET: u8 = 19;
3588 ((self.bits >> OFFSET) & MASK as u32) != 0
3589 })
3590 }
3591 #[doc = "Bit 20 - Include or exclude channel 20"]
3592 #[inline]
3593 pub fn ch20(&self) -> CH20R {
3594 CH20R::_from({
3595 const MASK: bool = true;
3596 const OFFSET: u8 = 20;
3597 ((self.bits >> OFFSET) & MASK as u32) != 0
3598 })
3599 }
3600 #[doc = "Bit 21 - Include or exclude channel 21"]
3601 #[inline]
3602 pub fn ch21(&self) -> CH21R {
3603 CH21R::_from({
3604 const MASK: bool = true;
3605 const OFFSET: u8 = 21;
3606 ((self.bits >> OFFSET) & MASK as u32) != 0
3607 })
3608 }
3609 #[doc = "Bit 22 - Include or exclude channel 22"]
3610 #[inline]
3611 pub fn ch22(&self) -> CH22R {
3612 CH22R::_from({
3613 const MASK: bool = true;
3614 const OFFSET: u8 = 22;
3615 ((self.bits >> OFFSET) & MASK as u32) != 0
3616 })
3617 }
3618 #[doc = "Bit 23 - Include or exclude channel 23"]
3619 #[inline]
3620 pub fn ch23(&self) -> CH23R {
3621 CH23R::_from({
3622 const MASK: bool = true;
3623 const OFFSET: u8 = 23;
3624 ((self.bits >> OFFSET) & MASK as u32) != 0
3625 })
3626 }
3627 #[doc = "Bit 24 - Include or exclude channel 24"]
3628 #[inline]
3629 pub fn ch24(&self) -> CH24R {
3630 CH24R::_from({
3631 const MASK: bool = true;
3632 const OFFSET: u8 = 24;
3633 ((self.bits >> OFFSET) & MASK as u32) != 0
3634 })
3635 }
3636 #[doc = "Bit 25 - Include or exclude channel 25"]
3637 #[inline]
3638 pub fn ch25(&self) -> CH25R {
3639 CH25R::_from({
3640 const MASK: bool = true;
3641 const OFFSET: u8 = 25;
3642 ((self.bits >> OFFSET) & MASK as u32) != 0
3643 })
3644 }
3645 #[doc = "Bit 26 - Include or exclude channel 26"]
3646 #[inline]
3647 pub fn ch26(&self) -> CH26R {
3648 CH26R::_from({
3649 const MASK: bool = true;
3650 const OFFSET: u8 = 26;
3651 ((self.bits >> OFFSET) & MASK as u32) != 0
3652 })
3653 }
3654 #[doc = "Bit 27 - Include or exclude channel 27"]
3655 #[inline]
3656 pub fn ch27(&self) -> CH27R {
3657 CH27R::_from({
3658 const MASK: bool = true;
3659 const OFFSET: u8 = 27;
3660 ((self.bits >> OFFSET) & MASK as u32) != 0
3661 })
3662 }
3663 #[doc = "Bit 28 - Include or exclude channel 28"]
3664 #[inline]
3665 pub fn ch28(&self) -> CH28R {
3666 CH28R::_from({
3667 const MASK: bool = true;
3668 const OFFSET: u8 = 28;
3669 ((self.bits >> OFFSET) & MASK as u32) != 0
3670 })
3671 }
3672 #[doc = "Bit 29 - Include or exclude channel 29"]
3673 #[inline]
3674 pub fn ch29(&self) -> CH29R {
3675 CH29R::_from({
3676 const MASK: bool = true;
3677 const OFFSET: u8 = 29;
3678 ((self.bits >> OFFSET) & MASK as u32) != 0
3679 })
3680 }
3681 #[doc = "Bit 30 - Include or exclude channel 30"]
3682 #[inline]
3683 pub fn ch30(&self) -> CH30R {
3684 CH30R::_from({
3685 const MASK: bool = true;
3686 const OFFSET: u8 = 30;
3687 ((self.bits >> OFFSET) & MASK as u32) != 0
3688 })
3689 }
3690 #[doc = "Bit 31 - Include or exclude channel 31"]
3691 #[inline]
3692 pub fn ch31(&self) -> CH31R {
3693 CH31R::_from({
3694 const MASK: bool = true;
3695 const OFFSET: u8 = 31;
3696 ((self.bits >> OFFSET) & MASK as u32) != 0
3697 })
3698 }
3699}
3700impl W {
3701 #[doc = r" Reset value of the register"]
3702 #[inline]
3703 pub fn reset_value() -> W {
3704 W { bits: 0 }
3705 }
3706 #[doc = r" Writes raw bits to the register"]
3707 #[inline]
3708 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
3709 self.bits = bits;
3710 self
3711 }
3712 #[doc = "Bit 0 - Include or exclude channel 0"]
3713 #[inline]
3714 pub fn ch0(&mut self) -> _CH0W {
3715 _CH0W { w: self }
3716 }
3717 #[doc = "Bit 1 - Include or exclude channel 1"]
3718 #[inline]
3719 pub fn ch1(&mut self) -> _CH1W {
3720 _CH1W { w: self }
3721 }
3722 #[doc = "Bit 2 - Include or exclude channel 2"]
3723 #[inline]
3724 pub fn ch2(&mut self) -> _CH2W {
3725 _CH2W { w: self }
3726 }
3727 #[doc = "Bit 3 - Include or exclude channel 3"]
3728 #[inline]
3729 pub fn ch3(&mut self) -> _CH3W {
3730 _CH3W { w: self }
3731 }
3732 #[doc = "Bit 4 - Include or exclude channel 4"]
3733 #[inline]
3734 pub fn ch4(&mut self) -> _CH4W {
3735 _CH4W { w: self }
3736 }
3737 #[doc = "Bit 5 - Include or exclude channel 5"]
3738 #[inline]
3739 pub fn ch5(&mut self) -> _CH5W {
3740 _CH5W { w: self }
3741 }
3742 #[doc = "Bit 6 - Include or exclude channel 6"]
3743 #[inline]
3744 pub fn ch6(&mut self) -> _CH6W {
3745 _CH6W { w: self }
3746 }
3747 #[doc = "Bit 7 - Include or exclude channel 7"]
3748 #[inline]
3749 pub fn ch7(&mut self) -> _CH7W {
3750 _CH7W { w: self }
3751 }
3752 #[doc = "Bit 8 - Include or exclude channel 8"]
3753 #[inline]
3754 pub fn ch8(&mut self) -> _CH8W {
3755 _CH8W { w: self }
3756 }
3757 #[doc = "Bit 9 - Include or exclude channel 9"]
3758 #[inline]
3759 pub fn ch9(&mut self) -> _CH9W {
3760 _CH9W { w: self }
3761 }
3762 #[doc = "Bit 10 - Include or exclude channel 10"]
3763 #[inline]
3764 pub fn ch10(&mut self) -> _CH10W {
3765 _CH10W { w: self }
3766 }
3767 #[doc = "Bit 11 - Include or exclude channel 11"]
3768 #[inline]
3769 pub fn ch11(&mut self) -> _CH11W {
3770 _CH11W { w: self }
3771 }
3772 #[doc = "Bit 12 - Include or exclude channel 12"]
3773 #[inline]
3774 pub fn ch12(&mut self) -> _CH12W {
3775 _CH12W { w: self }
3776 }
3777 #[doc = "Bit 13 - Include or exclude channel 13"]
3778 #[inline]
3779 pub fn ch13(&mut self) -> _CH13W {
3780 _CH13W { w: self }
3781 }
3782 #[doc = "Bit 14 - Include or exclude channel 14"]
3783 #[inline]
3784 pub fn ch14(&mut self) -> _CH14W {
3785 _CH14W { w: self }
3786 }
3787 #[doc = "Bit 15 - Include or exclude channel 15"]
3788 #[inline]
3789 pub fn ch15(&mut self) -> _CH15W {
3790 _CH15W { w: self }
3791 }
3792 #[doc = "Bit 16 - Include or exclude channel 16"]
3793 #[inline]
3794 pub fn ch16(&mut self) -> _CH16W {
3795 _CH16W { w: self }
3796 }
3797 #[doc = "Bit 17 - Include or exclude channel 17"]
3798 #[inline]
3799 pub fn ch17(&mut self) -> _CH17W {
3800 _CH17W { w: self }
3801 }
3802 #[doc = "Bit 18 - Include or exclude channel 18"]
3803 #[inline]
3804 pub fn ch18(&mut self) -> _CH18W {
3805 _CH18W { w: self }
3806 }
3807 #[doc = "Bit 19 - Include or exclude channel 19"]
3808 #[inline]
3809 pub fn ch19(&mut self) -> _CH19W {
3810 _CH19W { w: self }
3811 }
3812 #[doc = "Bit 20 - Include or exclude channel 20"]
3813 #[inline]
3814 pub fn ch20(&mut self) -> _CH20W {
3815 _CH20W { w: self }
3816 }
3817 #[doc = "Bit 21 - Include or exclude channel 21"]
3818 #[inline]
3819 pub fn ch21(&mut self) -> _CH21W {
3820 _CH21W { w: self }
3821 }
3822 #[doc = "Bit 22 - Include or exclude channel 22"]
3823 #[inline]
3824 pub fn ch22(&mut self) -> _CH22W {
3825 _CH22W { w: self }
3826 }
3827 #[doc = "Bit 23 - Include or exclude channel 23"]
3828 #[inline]
3829 pub fn ch23(&mut self) -> _CH23W {
3830 _CH23W { w: self }
3831 }
3832 #[doc = "Bit 24 - Include or exclude channel 24"]
3833 #[inline]
3834 pub fn ch24(&mut self) -> _CH24W {
3835 _CH24W { w: self }
3836 }
3837 #[doc = "Bit 25 - Include or exclude channel 25"]
3838 #[inline]
3839 pub fn ch25(&mut self) -> _CH25W {
3840 _CH25W { w: self }
3841 }
3842 #[doc = "Bit 26 - Include or exclude channel 26"]
3843 #[inline]
3844 pub fn ch26(&mut self) -> _CH26W {
3845 _CH26W { w: self }
3846 }
3847 #[doc = "Bit 27 - Include or exclude channel 27"]
3848 #[inline]
3849 pub fn ch27(&mut self) -> _CH27W {
3850 _CH27W { w: self }
3851 }
3852 #[doc = "Bit 28 - Include or exclude channel 28"]
3853 #[inline]
3854 pub fn ch28(&mut self) -> _CH28W {
3855 _CH28W { w: self }
3856 }
3857 #[doc = "Bit 29 - Include or exclude channel 29"]
3858 #[inline]
3859 pub fn ch29(&mut self) -> _CH29W {
3860 _CH29W { w: self }
3861 }
3862 #[doc = "Bit 30 - Include or exclude channel 30"]
3863 #[inline]
3864 pub fn ch30(&mut self) -> _CH30W {
3865 _CH30W { w: self }
3866 }
3867 #[doc = "Bit 31 - Include or exclude channel 31"]
3868 #[inline]
3869 pub fn ch31(&mut self) -> _CH31W {
3870 _CH31W { w: self }
3871 }
3872}