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::OUTCLR {
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 `PIN0`"]
46#[derive(Clone, Copy, Debug, PartialEq)]
47pub enum PIN0R {
48 #[doc = "Read: pin driver is low"]
49 LOW,
50 #[doc = "Read: pin driver is high"]
51 HIGH,
52}
53impl PIN0R {
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 PIN0R::LOW => false,
69 PIN0R::HIGH => true,
70 }
71 }
72 #[allow(missing_docs)]
73 #[doc(hidden)]
74 #[inline]
75 pub fn _from(value: bool) -> PIN0R {
76 match value {
77 false => PIN0R::LOW,
78 true => PIN0R::HIGH,
79 }
80 }
81 #[doc = "Checks if the value of the field is `LOW`"]
82 #[inline]
83 pub fn is_low(&self) -> bool {
84 *self == PIN0R::LOW
85 }
86 #[doc = "Checks if the value of the field is `HIGH`"]
87 #[inline]
88 pub fn is_high(&self) -> bool {
89 *self == PIN0R::HIGH
90 }
91}
92#[doc = "Possible values of the field `PIN1`"]
93#[derive(Clone, Copy, Debug, PartialEq)]
94pub enum PIN1R {
95 #[doc = "Read: pin driver is low"]
96 LOW,
97 #[doc = "Read: pin driver is high"]
98 HIGH,
99}
100impl PIN1R {
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 PIN1R::LOW => false,
116 PIN1R::HIGH => true,
117 }
118 }
119 #[allow(missing_docs)]
120 #[doc(hidden)]
121 #[inline]
122 pub fn _from(value: bool) -> PIN1R {
123 match value {
124 false => PIN1R::LOW,
125 true => PIN1R::HIGH,
126 }
127 }
128 #[doc = "Checks if the value of the field is `LOW`"]
129 #[inline]
130 pub fn is_low(&self) -> bool {
131 *self == PIN1R::LOW
132 }
133 #[doc = "Checks if the value of the field is `HIGH`"]
134 #[inline]
135 pub fn is_high(&self) -> bool {
136 *self == PIN1R::HIGH
137 }
138}
139#[doc = "Possible values of the field `PIN2`"]
140#[derive(Clone, Copy, Debug, PartialEq)]
141pub enum PIN2R {
142 #[doc = "Read: pin driver is low"]
143 LOW,
144 #[doc = "Read: pin driver is high"]
145 HIGH,
146}
147impl PIN2R {
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 PIN2R::LOW => false,
163 PIN2R::HIGH => true,
164 }
165 }
166 #[allow(missing_docs)]
167 #[doc(hidden)]
168 #[inline]
169 pub fn _from(value: bool) -> PIN2R {
170 match value {
171 false => PIN2R::LOW,
172 true => PIN2R::HIGH,
173 }
174 }
175 #[doc = "Checks if the value of the field is `LOW`"]
176 #[inline]
177 pub fn is_low(&self) -> bool {
178 *self == PIN2R::LOW
179 }
180 #[doc = "Checks if the value of the field is `HIGH`"]
181 #[inline]
182 pub fn is_high(&self) -> bool {
183 *self == PIN2R::HIGH
184 }
185}
186#[doc = "Possible values of the field `PIN3`"]
187#[derive(Clone, Copy, Debug, PartialEq)]
188pub enum PIN3R {
189 #[doc = "Read: pin driver is low"]
190 LOW,
191 #[doc = "Read: pin driver is high"]
192 HIGH,
193}
194impl PIN3R {
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 PIN3R::LOW => false,
210 PIN3R::HIGH => true,
211 }
212 }
213 #[allow(missing_docs)]
214 #[doc(hidden)]
215 #[inline]
216 pub fn _from(value: bool) -> PIN3R {
217 match value {
218 false => PIN3R::LOW,
219 true => PIN3R::HIGH,
220 }
221 }
222 #[doc = "Checks if the value of the field is `LOW`"]
223 #[inline]
224 pub fn is_low(&self) -> bool {
225 *self == PIN3R::LOW
226 }
227 #[doc = "Checks if the value of the field is `HIGH`"]
228 #[inline]
229 pub fn is_high(&self) -> bool {
230 *self == PIN3R::HIGH
231 }
232}
233#[doc = "Possible values of the field `PIN4`"]
234#[derive(Clone, Copy, Debug, PartialEq)]
235pub enum PIN4R {
236 #[doc = "Read: pin driver is low"]
237 LOW,
238 #[doc = "Read: pin driver is high"]
239 HIGH,
240}
241impl PIN4R {
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 PIN4R::LOW => false,
257 PIN4R::HIGH => true,
258 }
259 }
260 #[allow(missing_docs)]
261 #[doc(hidden)]
262 #[inline]
263 pub fn _from(value: bool) -> PIN4R {
264 match value {
265 false => PIN4R::LOW,
266 true => PIN4R::HIGH,
267 }
268 }
269 #[doc = "Checks if the value of the field is `LOW`"]
270 #[inline]
271 pub fn is_low(&self) -> bool {
272 *self == PIN4R::LOW
273 }
274 #[doc = "Checks if the value of the field is `HIGH`"]
275 #[inline]
276 pub fn is_high(&self) -> bool {
277 *self == PIN4R::HIGH
278 }
279}
280#[doc = "Possible values of the field `PIN5`"]
281#[derive(Clone, Copy, Debug, PartialEq)]
282pub enum PIN5R {
283 #[doc = "Read: pin driver is low"]
284 LOW,
285 #[doc = "Read: pin driver is high"]
286 HIGH,
287}
288impl PIN5R {
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 PIN5R::LOW => false,
304 PIN5R::HIGH => true,
305 }
306 }
307 #[allow(missing_docs)]
308 #[doc(hidden)]
309 #[inline]
310 pub fn _from(value: bool) -> PIN5R {
311 match value {
312 false => PIN5R::LOW,
313 true => PIN5R::HIGH,
314 }
315 }
316 #[doc = "Checks if the value of the field is `LOW`"]
317 #[inline]
318 pub fn is_low(&self) -> bool {
319 *self == PIN5R::LOW
320 }
321 #[doc = "Checks if the value of the field is `HIGH`"]
322 #[inline]
323 pub fn is_high(&self) -> bool {
324 *self == PIN5R::HIGH
325 }
326}
327#[doc = "Possible values of the field `PIN6`"]
328#[derive(Clone, Copy, Debug, PartialEq)]
329pub enum PIN6R {
330 #[doc = "Read: pin driver is low"]
331 LOW,
332 #[doc = "Read: pin driver is high"]
333 HIGH,
334}
335impl PIN6R {
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 PIN6R::LOW => false,
351 PIN6R::HIGH => true,
352 }
353 }
354 #[allow(missing_docs)]
355 #[doc(hidden)]
356 #[inline]
357 pub fn _from(value: bool) -> PIN6R {
358 match value {
359 false => PIN6R::LOW,
360 true => PIN6R::HIGH,
361 }
362 }
363 #[doc = "Checks if the value of the field is `LOW`"]
364 #[inline]
365 pub fn is_low(&self) -> bool {
366 *self == PIN6R::LOW
367 }
368 #[doc = "Checks if the value of the field is `HIGH`"]
369 #[inline]
370 pub fn is_high(&self) -> bool {
371 *self == PIN6R::HIGH
372 }
373}
374#[doc = "Possible values of the field `PIN7`"]
375#[derive(Clone, Copy, Debug, PartialEq)]
376pub enum PIN7R {
377 #[doc = "Read: pin driver is low"]
378 LOW,
379 #[doc = "Read: pin driver is high"]
380 HIGH,
381}
382impl PIN7R {
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 PIN7R::LOW => false,
398 PIN7R::HIGH => true,
399 }
400 }
401 #[allow(missing_docs)]
402 #[doc(hidden)]
403 #[inline]
404 pub fn _from(value: bool) -> PIN7R {
405 match value {
406 false => PIN7R::LOW,
407 true => PIN7R::HIGH,
408 }
409 }
410 #[doc = "Checks if the value of the field is `LOW`"]
411 #[inline]
412 pub fn is_low(&self) -> bool {
413 *self == PIN7R::LOW
414 }
415 #[doc = "Checks if the value of the field is `HIGH`"]
416 #[inline]
417 pub fn is_high(&self) -> bool {
418 *self == PIN7R::HIGH
419 }
420}
421#[doc = "Possible values of the field `PIN8`"]
422#[derive(Clone, Copy, Debug, PartialEq)]
423pub enum PIN8R {
424 #[doc = "Read: pin driver is low"]
425 LOW,
426 #[doc = "Read: pin driver is high"]
427 HIGH,
428}
429impl PIN8R {
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 PIN8R::LOW => false,
445 PIN8R::HIGH => true,
446 }
447 }
448 #[allow(missing_docs)]
449 #[doc(hidden)]
450 #[inline]
451 pub fn _from(value: bool) -> PIN8R {
452 match value {
453 false => PIN8R::LOW,
454 true => PIN8R::HIGH,
455 }
456 }
457 #[doc = "Checks if the value of the field is `LOW`"]
458 #[inline]
459 pub fn is_low(&self) -> bool {
460 *self == PIN8R::LOW
461 }
462 #[doc = "Checks if the value of the field is `HIGH`"]
463 #[inline]
464 pub fn is_high(&self) -> bool {
465 *self == PIN8R::HIGH
466 }
467}
468#[doc = "Possible values of the field `PIN9`"]
469#[derive(Clone, Copy, Debug, PartialEq)]
470pub enum PIN9R {
471 #[doc = "Read: pin driver is low"]
472 LOW,
473 #[doc = "Read: pin driver is high"]
474 HIGH,
475}
476impl PIN9R {
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 PIN9R::LOW => false,
492 PIN9R::HIGH => true,
493 }
494 }
495 #[allow(missing_docs)]
496 #[doc(hidden)]
497 #[inline]
498 pub fn _from(value: bool) -> PIN9R {
499 match value {
500 false => PIN9R::LOW,
501 true => PIN9R::HIGH,
502 }
503 }
504 #[doc = "Checks if the value of the field is `LOW`"]
505 #[inline]
506 pub fn is_low(&self) -> bool {
507 *self == PIN9R::LOW
508 }
509 #[doc = "Checks if the value of the field is `HIGH`"]
510 #[inline]
511 pub fn is_high(&self) -> bool {
512 *self == PIN9R::HIGH
513 }
514}
515#[doc = "Possible values of the field `PIN10`"]
516#[derive(Clone, Copy, Debug, PartialEq)]
517pub enum PIN10R {
518 #[doc = "Read: pin driver is low"]
519 LOW,
520 #[doc = "Read: pin driver is high"]
521 HIGH,
522}
523impl PIN10R {
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 PIN10R::LOW => false,
539 PIN10R::HIGH => true,
540 }
541 }
542 #[allow(missing_docs)]
543 #[doc(hidden)]
544 #[inline]
545 pub fn _from(value: bool) -> PIN10R {
546 match value {
547 false => PIN10R::LOW,
548 true => PIN10R::HIGH,
549 }
550 }
551 #[doc = "Checks if the value of the field is `LOW`"]
552 #[inline]
553 pub fn is_low(&self) -> bool {
554 *self == PIN10R::LOW
555 }
556 #[doc = "Checks if the value of the field is `HIGH`"]
557 #[inline]
558 pub fn is_high(&self) -> bool {
559 *self == PIN10R::HIGH
560 }
561}
562#[doc = "Possible values of the field `PIN11`"]
563#[derive(Clone, Copy, Debug, PartialEq)]
564pub enum PIN11R {
565 #[doc = "Read: pin driver is low"]
566 LOW,
567 #[doc = "Read: pin driver is high"]
568 HIGH,
569}
570impl PIN11R {
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 PIN11R::LOW => false,
586 PIN11R::HIGH => true,
587 }
588 }
589 #[allow(missing_docs)]
590 #[doc(hidden)]
591 #[inline]
592 pub fn _from(value: bool) -> PIN11R {
593 match value {
594 false => PIN11R::LOW,
595 true => PIN11R::HIGH,
596 }
597 }
598 #[doc = "Checks if the value of the field is `LOW`"]
599 #[inline]
600 pub fn is_low(&self) -> bool {
601 *self == PIN11R::LOW
602 }
603 #[doc = "Checks if the value of the field is `HIGH`"]
604 #[inline]
605 pub fn is_high(&self) -> bool {
606 *self == PIN11R::HIGH
607 }
608}
609#[doc = "Possible values of the field `PIN12`"]
610#[derive(Clone, Copy, Debug, PartialEq)]
611pub enum PIN12R {
612 #[doc = "Read: pin driver is low"]
613 LOW,
614 #[doc = "Read: pin driver is high"]
615 HIGH,
616}
617impl PIN12R {
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 PIN12R::LOW => false,
633 PIN12R::HIGH => true,
634 }
635 }
636 #[allow(missing_docs)]
637 #[doc(hidden)]
638 #[inline]
639 pub fn _from(value: bool) -> PIN12R {
640 match value {
641 false => PIN12R::LOW,
642 true => PIN12R::HIGH,
643 }
644 }
645 #[doc = "Checks if the value of the field is `LOW`"]
646 #[inline]
647 pub fn is_low(&self) -> bool {
648 *self == PIN12R::LOW
649 }
650 #[doc = "Checks if the value of the field is `HIGH`"]
651 #[inline]
652 pub fn is_high(&self) -> bool {
653 *self == PIN12R::HIGH
654 }
655}
656#[doc = "Possible values of the field `PIN13`"]
657#[derive(Clone, Copy, Debug, PartialEq)]
658pub enum PIN13R {
659 #[doc = "Read: pin driver is low"]
660 LOW,
661 #[doc = "Read: pin driver is high"]
662 HIGH,
663}
664impl PIN13R {
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 PIN13R::LOW => false,
680 PIN13R::HIGH => true,
681 }
682 }
683 #[allow(missing_docs)]
684 #[doc(hidden)]
685 #[inline]
686 pub fn _from(value: bool) -> PIN13R {
687 match value {
688 false => PIN13R::LOW,
689 true => PIN13R::HIGH,
690 }
691 }
692 #[doc = "Checks if the value of the field is `LOW`"]
693 #[inline]
694 pub fn is_low(&self) -> bool {
695 *self == PIN13R::LOW
696 }
697 #[doc = "Checks if the value of the field is `HIGH`"]
698 #[inline]
699 pub fn is_high(&self) -> bool {
700 *self == PIN13R::HIGH
701 }
702}
703#[doc = "Possible values of the field `PIN14`"]
704#[derive(Clone, Copy, Debug, PartialEq)]
705pub enum PIN14R {
706 #[doc = "Read: pin driver is low"]
707 LOW,
708 #[doc = "Read: pin driver is high"]
709 HIGH,
710}
711impl PIN14R {
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 PIN14R::LOW => false,
727 PIN14R::HIGH => true,
728 }
729 }
730 #[allow(missing_docs)]
731 #[doc(hidden)]
732 #[inline]
733 pub fn _from(value: bool) -> PIN14R {
734 match value {
735 false => PIN14R::LOW,
736 true => PIN14R::HIGH,
737 }
738 }
739 #[doc = "Checks if the value of the field is `LOW`"]
740 #[inline]
741 pub fn is_low(&self) -> bool {
742 *self == PIN14R::LOW
743 }
744 #[doc = "Checks if the value of the field is `HIGH`"]
745 #[inline]
746 pub fn is_high(&self) -> bool {
747 *self == PIN14R::HIGH
748 }
749}
750#[doc = "Possible values of the field `PIN15`"]
751#[derive(Clone, Copy, Debug, PartialEq)]
752pub enum PIN15R {
753 #[doc = "Read: pin driver is low"]
754 LOW,
755 #[doc = "Read: pin driver is high"]
756 HIGH,
757}
758impl PIN15R {
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 PIN15R::LOW => false,
774 PIN15R::HIGH => true,
775 }
776 }
777 #[allow(missing_docs)]
778 #[doc(hidden)]
779 #[inline]
780 pub fn _from(value: bool) -> PIN15R {
781 match value {
782 false => PIN15R::LOW,
783 true => PIN15R::HIGH,
784 }
785 }
786 #[doc = "Checks if the value of the field is `LOW`"]
787 #[inline]
788 pub fn is_low(&self) -> bool {
789 *self == PIN15R::LOW
790 }
791 #[doc = "Checks if the value of the field is `HIGH`"]
792 #[inline]
793 pub fn is_high(&self) -> bool {
794 *self == PIN15R::HIGH
795 }
796}
797#[doc = "Possible values of the field `PIN16`"]
798#[derive(Clone, Copy, Debug, PartialEq)]
799pub enum PIN16R {
800 #[doc = "Read: pin driver is low"]
801 LOW,
802 #[doc = "Read: pin driver is high"]
803 HIGH,
804}
805impl PIN16R {
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 PIN16R::LOW => false,
821 PIN16R::HIGH => true,
822 }
823 }
824 #[allow(missing_docs)]
825 #[doc(hidden)]
826 #[inline]
827 pub fn _from(value: bool) -> PIN16R {
828 match value {
829 false => PIN16R::LOW,
830 true => PIN16R::HIGH,
831 }
832 }
833 #[doc = "Checks if the value of the field is `LOW`"]
834 #[inline]
835 pub fn is_low(&self) -> bool {
836 *self == PIN16R::LOW
837 }
838 #[doc = "Checks if the value of the field is `HIGH`"]
839 #[inline]
840 pub fn is_high(&self) -> bool {
841 *self == PIN16R::HIGH
842 }
843}
844#[doc = "Possible values of the field `PIN17`"]
845#[derive(Clone, Copy, Debug, PartialEq)]
846pub enum PIN17R {
847 #[doc = "Read: pin driver is low"]
848 LOW,
849 #[doc = "Read: pin driver is high"]
850 HIGH,
851}
852impl PIN17R {
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 PIN17R::LOW => false,
868 PIN17R::HIGH => true,
869 }
870 }
871 #[allow(missing_docs)]
872 #[doc(hidden)]
873 #[inline]
874 pub fn _from(value: bool) -> PIN17R {
875 match value {
876 false => PIN17R::LOW,
877 true => PIN17R::HIGH,
878 }
879 }
880 #[doc = "Checks if the value of the field is `LOW`"]
881 #[inline]
882 pub fn is_low(&self) -> bool {
883 *self == PIN17R::LOW
884 }
885 #[doc = "Checks if the value of the field is `HIGH`"]
886 #[inline]
887 pub fn is_high(&self) -> bool {
888 *self == PIN17R::HIGH
889 }
890}
891#[doc = "Possible values of the field `PIN18`"]
892#[derive(Clone, Copy, Debug, PartialEq)]
893pub enum PIN18R {
894 #[doc = "Read: pin driver is low"]
895 LOW,
896 #[doc = "Read: pin driver is high"]
897 HIGH,
898}
899impl PIN18R {
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 PIN18R::LOW => false,
915 PIN18R::HIGH => true,
916 }
917 }
918 #[allow(missing_docs)]
919 #[doc(hidden)]
920 #[inline]
921 pub fn _from(value: bool) -> PIN18R {
922 match value {
923 false => PIN18R::LOW,
924 true => PIN18R::HIGH,
925 }
926 }
927 #[doc = "Checks if the value of the field is `LOW`"]
928 #[inline]
929 pub fn is_low(&self) -> bool {
930 *self == PIN18R::LOW
931 }
932 #[doc = "Checks if the value of the field is `HIGH`"]
933 #[inline]
934 pub fn is_high(&self) -> bool {
935 *self == PIN18R::HIGH
936 }
937}
938#[doc = "Possible values of the field `PIN19`"]
939#[derive(Clone, Copy, Debug, PartialEq)]
940pub enum PIN19R {
941 #[doc = "Read: pin driver is low"]
942 LOW,
943 #[doc = "Read: pin driver is high"]
944 HIGH,
945}
946impl PIN19R {
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 PIN19R::LOW => false,
962 PIN19R::HIGH => true,
963 }
964 }
965 #[allow(missing_docs)]
966 #[doc(hidden)]
967 #[inline]
968 pub fn _from(value: bool) -> PIN19R {
969 match value {
970 false => PIN19R::LOW,
971 true => PIN19R::HIGH,
972 }
973 }
974 #[doc = "Checks if the value of the field is `LOW`"]
975 #[inline]
976 pub fn is_low(&self) -> bool {
977 *self == PIN19R::LOW
978 }
979 #[doc = "Checks if the value of the field is `HIGH`"]
980 #[inline]
981 pub fn is_high(&self) -> bool {
982 *self == PIN19R::HIGH
983 }
984}
985#[doc = "Possible values of the field `PIN20`"]
986#[derive(Clone, Copy, Debug, PartialEq)]
987pub enum PIN20R {
988 #[doc = "Read: pin driver is low"]
989 LOW,
990 #[doc = "Read: pin driver is high"]
991 HIGH,
992}
993impl PIN20R {
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 PIN20R::LOW => false,
1009 PIN20R::HIGH => true,
1010 }
1011 }
1012 #[allow(missing_docs)]
1013 #[doc(hidden)]
1014 #[inline]
1015 pub fn _from(value: bool) -> PIN20R {
1016 match value {
1017 false => PIN20R::LOW,
1018 true => PIN20R::HIGH,
1019 }
1020 }
1021 #[doc = "Checks if the value of the field is `LOW`"]
1022 #[inline]
1023 pub fn is_low(&self) -> bool {
1024 *self == PIN20R::LOW
1025 }
1026 #[doc = "Checks if the value of the field is `HIGH`"]
1027 #[inline]
1028 pub fn is_high(&self) -> bool {
1029 *self == PIN20R::HIGH
1030 }
1031}
1032#[doc = "Possible values of the field `PIN21`"]
1033#[derive(Clone, Copy, Debug, PartialEq)]
1034pub enum PIN21R {
1035 #[doc = "Read: pin driver is low"]
1036 LOW,
1037 #[doc = "Read: pin driver is high"]
1038 HIGH,
1039}
1040impl PIN21R {
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 PIN21R::LOW => false,
1056 PIN21R::HIGH => true,
1057 }
1058 }
1059 #[allow(missing_docs)]
1060 #[doc(hidden)]
1061 #[inline]
1062 pub fn _from(value: bool) -> PIN21R {
1063 match value {
1064 false => PIN21R::LOW,
1065 true => PIN21R::HIGH,
1066 }
1067 }
1068 #[doc = "Checks if the value of the field is `LOW`"]
1069 #[inline]
1070 pub fn is_low(&self) -> bool {
1071 *self == PIN21R::LOW
1072 }
1073 #[doc = "Checks if the value of the field is `HIGH`"]
1074 #[inline]
1075 pub fn is_high(&self) -> bool {
1076 *self == PIN21R::HIGH
1077 }
1078}
1079#[doc = "Possible values of the field `PIN22`"]
1080#[derive(Clone, Copy, Debug, PartialEq)]
1081pub enum PIN22R {
1082 #[doc = "Read: pin driver is low"]
1083 LOW,
1084 #[doc = "Read: pin driver is high"]
1085 HIGH,
1086}
1087impl PIN22R {
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 PIN22R::LOW => false,
1103 PIN22R::HIGH => true,
1104 }
1105 }
1106 #[allow(missing_docs)]
1107 #[doc(hidden)]
1108 #[inline]
1109 pub fn _from(value: bool) -> PIN22R {
1110 match value {
1111 false => PIN22R::LOW,
1112 true => PIN22R::HIGH,
1113 }
1114 }
1115 #[doc = "Checks if the value of the field is `LOW`"]
1116 #[inline]
1117 pub fn is_low(&self) -> bool {
1118 *self == PIN22R::LOW
1119 }
1120 #[doc = "Checks if the value of the field is `HIGH`"]
1121 #[inline]
1122 pub fn is_high(&self) -> bool {
1123 *self == PIN22R::HIGH
1124 }
1125}
1126#[doc = "Possible values of the field `PIN23`"]
1127#[derive(Clone, Copy, Debug, PartialEq)]
1128pub enum PIN23R {
1129 #[doc = "Read: pin driver is low"]
1130 LOW,
1131 #[doc = "Read: pin driver is high"]
1132 HIGH,
1133}
1134impl PIN23R {
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 PIN23R::LOW => false,
1150 PIN23R::HIGH => true,
1151 }
1152 }
1153 #[allow(missing_docs)]
1154 #[doc(hidden)]
1155 #[inline]
1156 pub fn _from(value: bool) -> PIN23R {
1157 match value {
1158 false => PIN23R::LOW,
1159 true => PIN23R::HIGH,
1160 }
1161 }
1162 #[doc = "Checks if the value of the field is `LOW`"]
1163 #[inline]
1164 pub fn is_low(&self) -> bool {
1165 *self == PIN23R::LOW
1166 }
1167 #[doc = "Checks if the value of the field is `HIGH`"]
1168 #[inline]
1169 pub fn is_high(&self) -> bool {
1170 *self == PIN23R::HIGH
1171 }
1172}
1173#[doc = "Possible values of the field `PIN24`"]
1174#[derive(Clone, Copy, Debug, PartialEq)]
1175pub enum PIN24R {
1176 #[doc = "Read: pin driver is low"]
1177 LOW,
1178 #[doc = "Read: pin driver is high"]
1179 HIGH,
1180}
1181impl PIN24R {
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 PIN24R::LOW => false,
1197 PIN24R::HIGH => true,
1198 }
1199 }
1200 #[allow(missing_docs)]
1201 #[doc(hidden)]
1202 #[inline]
1203 pub fn _from(value: bool) -> PIN24R {
1204 match value {
1205 false => PIN24R::LOW,
1206 true => PIN24R::HIGH,
1207 }
1208 }
1209 #[doc = "Checks if the value of the field is `LOW`"]
1210 #[inline]
1211 pub fn is_low(&self) -> bool {
1212 *self == PIN24R::LOW
1213 }
1214 #[doc = "Checks if the value of the field is `HIGH`"]
1215 #[inline]
1216 pub fn is_high(&self) -> bool {
1217 *self == PIN24R::HIGH
1218 }
1219}
1220#[doc = "Possible values of the field `PIN25`"]
1221#[derive(Clone, Copy, Debug, PartialEq)]
1222pub enum PIN25R {
1223 #[doc = "Read: pin driver is low"]
1224 LOW,
1225 #[doc = "Read: pin driver is high"]
1226 HIGH,
1227}
1228impl PIN25R {
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 PIN25R::LOW => false,
1244 PIN25R::HIGH => true,
1245 }
1246 }
1247 #[allow(missing_docs)]
1248 #[doc(hidden)]
1249 #[inline]
1250 pub fn _from(value: bool) -> PIN25R {
1251 match value {
1252 false => PIN25R::LOW,
1253 true => PIN25R::HIGH,
1254 }
1255 }
1256 #[doc = "Checks if the value of the field is `LOW`"]
1257 #[inline]
1258 pub fn is_low(&self) -> bool {
1259 *self == PIN25R::LOW
1260 }
1261 #[doc = "Checks if the value of the field is `HIGH`"]
1262 #[inline]
1263 pub fn is_high(&self) -> bool {
1264 *self == PIN25R::HIGH
1265 }
1266}
1267#[doc = "Possible values of the field `PIN26`"]
1268#[derive(Clone, Copy, Debug, PartialEq)]
1269pub enum PIN26R {
1270 #[doc = "Read: pin driver is low"]
1271 LOW,
1272 #[doc = "Read: pin driver is high"]
1273 HIGH,
1274}
1275impl PIN26R {
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 PIN26R::LOW => false,
1291 PIN26R::HIGH => true,
1292 }
1293 }
1294 #[allow(missing_docs)]
1295 #[doc(hidden)]
1296 #[inline]
1297 pub fn _from(value: bool) -> PIN26R {
1298 match value {
1299 false => PIN26R::LOW,
1300 true => PIN26R::HIGH,
1301 }
1302 }
1303 #[doc = "Checks if the value of the field is `LOW`"]
1304 #[inline]
1305 pub fn is_low(&self) -> bool {
1306 *self == PIN26R::LOW
1307 }
1308 #[doc = "Checks if the value of the field is `HIGH`"]
1309 #[inline]
1310 pub fn is_high(&self) -> bool {
1311 *self == PIN26R::HIGH
1312 }
1313}
1314#[doc = "Possible values of the field `PIN27`"]
1315#[derive(Clone, Copy, Debug, PartialEq)]
1316pub enum PIN27R {
1317 #[doc = "Read: pin driver is low"]
1318 LOW,
1319 #[doc = "Read: pin driver is high"]
1320 HIGH,
1321}
1322impl PIN27R {
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 PIN27R::LOW => false,
1338 PIN27R::HIGH => true,
1339 }
1340 }
1341 #[allow(missing_docs)]
1342 #[doc(hidden)]
1343 #[inline]
1344 pub fn _from(value: bool) -> PIN27R {
1345 match value {
1346 false => PIN27R::LOW,
1347 true => PIN27R::HIGH,
1348 }
1349 }
1350 #[doc = "Checks if the value of the field is `LOW`"]
1351 #[inline]
1352 pub fn is_low(&self) -> bool {
1353 *self == PIN27R::LOW
1354 }
1355 #[doc = "Checks if the value of the field is `HIGH`"]
1356 #[inline]
1357 pub fn is_high(&self) -> bool {
1358 *self == PIN27R::HIGH
1359 }
1360}
1361#[doc = "Possible values of the field `PIN28`"]
1362#[derive(Clone, Copy, Debug, PartialEq)]
1363pub enum PIN28R {
1364 #[doc = "Read: pin driver is low"]
1365 LOW,
1366 #[doc = "Read: pin driver is high"]
1367 HIGH,
1368}
1369impl PIN28R {
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 PIN28R::LOW => false,
1385 PIN28R::HIGH => true,
1386 }
1387 }
1388 #[allow(missing_docs)]
1389 #[doc(hidden)]
1390 #[inline]
1391 pub fn _from(value: bool) -> PIN28R {
1392 match value {
1393 false => PIN28R::LOW,
1394 true => PIN28R::HIGH,
1395 }
1396 }
1397 #[doc = "Checks if the value of the field is `LOW`"]
1398 #[inline]
1399 pub fn is_low(&self) -> bool {
1400 *self == PIN28R::LOW
1401 }
1402 #[doc = "Checks if the value of the field is `HIGH`"]
1403 #[inline]
1404 pub fn is_high(&self) -> bool {
1405 *self == PIN28R::HIGH
1406 }
1407}
1408#[doc = "Possible values of the field `PIN29`"]
1409#[derive(Clone, Copy, Debug, PartialEq)]
1410pub enum PIN29R {
1411 #[doc = "Read: pin driver is low"]
1412 LOW,
1413 #[doc = "Read: pin driver is high"]
1414 HIGH,
1415}
1416impl PIN29R {
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 PIN29R::LOW => false,
1432 PIN29R::HIGH => true,
1433 }
1434 }
1435 #[allow(missing_docs)]
1436 #[doc(hidden)]
1437 #[inline]
1438 pub fn _from(value: bool) -> PIN29R {
1439 match value {
1440 false => PIN29R::LOW,
1441 true => PIN29R::HIGH,
1442 }
1443 }
1444 #[doc = "Checks if the value of the field is `LOW`"]
1445 #[inline]
1446 pub fn is_low(&self) -> bool {
1447 *self == PIN29R::LOW
1448 }
1449 #[doc = "Checks if the value of the field is `HIGH`"]
1450 #[inline]
1451 pub fn is_high(&self) -> bool {
1452 *self == PIN29R::HIGH
1453 }
1454}
1455#[doc = "Possible values of the field `PIN30`"]
1456#[derive(Clone, Copy, Debug, PartialEq)]
1457pub enum PIN30R {
1458 #[doc = "Read: pin driver is low"]
1459 LOW,
1460 #[doc = "Read: pin driver is high"]
1461 HIGH,
1462}
1463impl PIN30R {
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 PIN30R::LOW => false,
1479 PIN30R::HIGH => true,
1480 }
1481 }
1482 #[allow(missing_docs)]
1483 #[doc(hidden)]
1484 #[inline]
1485 pub fn _from(value: bool) -> PIN30R {
1486 match value {
1487 false => PIN30R::LOW,
1488 true => PIN30R::HIGH,
1489 }
1490 }
1491 #[doc = "Checks if the value of the field is `LOW`"]
1492 #[inline]
1493 pub fn is_low(&self) -> bool {
1494 *self == PIN30R::LOW
1495 }
1496 #[doc = "Checks if the value of the field is `HIGH`"]
1497 #[inline]
1498 pub fn is_high(&self) -> bool {
1499 *self == PIN30R::HIGH
1500 }
1501}
1502#[doc = "Possible values of the field `PIN31`"]
1503#[derive(Clone, Copy, Debug, PartialEq)]
1504pub enum PIN31R {
1505 #[doc = "Read: pin driver is low"]
1506 LOW,
1507 #[doc = "Read: pin driver is high"]
1508 HIGH,
1509}
1510impl PIN31R {
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 PIN31R::LOW => false,
1526 PIN31R::HIGH => true,
1527 }
1528 }
1529 #[allow(missing_docs)]
1530 #[doc(hidden)]
1531 #[inline]
1532 pub fn _from(value: bool) -> PIN31R {
1533 match value {
1534 false => PIN31R::LOW,
1535 true => PIN31R::HIGH,
1536 }
1537 }
1538 #[doc = "Checks if the value of the field is `LOW`"]
1539 #[inline]
1540 pub fn is_low(&self) -> bool {
1541 *self == PIN31R::LOW
1542 }
1543 #[doc = "Checks if the value of the field is `HIGH`"]
1544 #[inline]
1545 pub fn is_high(&self) -> bool {
1546 *self == PIN31R::HIGH
1547 }
1548}
1549#[doc = "Values that can be written to the field `PIN0`"]
1550pub enum PIN0W {
1551 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1552 CLEAR,
1553}
1554impl PIN0W {
1555 #[allow(missing_docs)]
1556 #[doc(hidden)]
1557 #[inline]
1558 pub fn _bits(&self) -> bool {
1559 match *self {
1560 PIN0W::CLEAR => true,
1561 }
1562 }
1563}
1564#[doc = r" Proxy"]
1565pub struct _PIN0W<'a> {
1566 w: &'a mut W,
1567}
1568impl<'a> _PIN0W<'a> {
1569 #[doc = r" Writes `variant` to the field"]
1570 #[inline]
1571 pub fn variant(self, variant: PIN0W) -> &'a mut W {
1572 {
1573 self.bit(variant._bits())
1574 }
1575 }
1576 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1577 #[inline]
1578 pub fn clear(self) -> &'a mut W {
1579 self.variant(PIN0W::CLEAR)
1580 }
1581 #[doc = r" Sets the field bit"]
1582 pub fn set_bit(self) -> &'a mut W {
1583 self.bit(true)
1584 }
1585 #[doc = r" Clears the field bit"]
1586 pub fn clear_bit(self) -> &'a mut W {
1587 self.bit(false)
1588 }
1589 #[doc = r" Writes raw bits to the field"]
1590 #[inline]
1591 pub fn bit(self, value: bool) -> &'a mut W {
1592 const MASK: bool = true;
1593 const OFFSET: u8 = 0;
1594 self.w.bits &= !((MASK as u32) << OFFSET);
1595 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1596 self.w
1597 }
1598}
1599#[doc = "Values that can be written to the field `PIN1`"]
1600pub enum PIN1W {
1601 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1602 CLEAR,
1603}
1604impl PIN1W {
1605 #[allow(missing_docs)]
1606 #[doc(hidden)]
1607 #[inline]
1608 pub fn _bits(&self) -> bool {
1609 match *self {
1610 PIN1W::CLEAR => true,
1611 }
1612 }
1613}
1614#[doc = r" Proxy"]
1615pub struct _PIN1W<'a> {
1616 w: &'a mut W,
1617}
1618impl<'a> _PIN1W<'a> {
1619 #[doc = r" Writes `variant` to the field"]
1620 #[inline]
1621 pub fn variant(self, variant: PIN1W) -> &'a mut W {
1622 {
1623 self.bit(variant._bits())
1624 }
1625 }
1626 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1627 #[inline]
1628 pub fn clear(self) -> &'a mut W {
1629 self.variant(PIN1W::CLEAR)
1630 }
1631 #[doc = r" Sets the field bit"]
1632 pub fn set_bit(self) -> &'a mut W {
1633 self.bit(true)
1634 }
1635 #[doc = r" Clears the field bit"]
1636 pub fn clear_bit(self) -> &'a mut W {
1637 self.bit(false)
1638 }
1639 #[doc = r" Writes raw bits to the field"]
1640 #[inline]
1641 pub fn bit(self, value: bool) -> &'a mut W {
1642 const MASK: bool = true;
1643 const OFFSET: u8 = 1;
1644 self.w.bits &= !((MASK as u32) << OFFSET);
1645 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1646 self.w
1647 }
1648}
1649#[doc = "Values that can be written to the field `PIN2`"]
1650pub enum PIN2W {
1651 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1652 CLEAR,
1653}
1654impl PIN2W {
1655 #[allow(missing_docs)]
1656 #[doc(hidden)]
1657 #[inline]
1658 pub fn _bits(&self) -> bool {
1659 match *self {
1660 PIN2W::CLEAR => true,
1661 }
1662 }
1663}
1664#[doc = r" Proxy"]
1665pub struct _PIN2W<'a> {
1666 w: &'a mut W,
1667}
1668impl<'a> _PIN2W<'a> {
1669 #[doc = r" Writes `variant` to the field"]
1670 #[inline]
1671 pub fn variant(self, variant: PIN2W) -> &'a mut W {
1672 {
1673 self.bit(variant._bits())
1674 }
1675 }
1676 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1677 #[inline]
1678 pub fn clear(self) -> &'a mut W {
1679 self.variant(PIN2W::CLEAR)
1680 }
1681 #[doc = r" Sets the field bit"]
1682 pub fn set_bit(self) -> &'a mut W {
1683 self.bit(true)
1684 }
1685 #[doc = r" Clears the field bit"]
1686 pub fn clear_bit(self) -> &'a mut W {
1687 self.bit(false)
1688 }
1689 #[doc = r" Writes raw bits to the field"]
1690 #[inline]
1691 pub fn bit(self, value: bool) -> &'a mut W {
1692 const MASK: bool = true;
1693 const OFFSET: u8 = 2;
1694 self.w.bits &= !((MASK as u32) << OFFSET);
1695 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1696 self.w
1697 }
1698}
1699#[doc = "Values that can be written to the field `PIN3`"]
1700pub enum PIN3W {
1701 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1702 CLEAR,
1703}
1704impl PIN3W {
1705 #[allow(missing_docs)]
1706 #[doc(hidden)]
1707 #[inline]
1708 pub fn _bits(&self) -> bool {
1709 match *self {
1710 PIN3W::CLEAR => true,
1711 }
1712 }
1713}
1714#[doc = r" Proxy"]
1715pub struct _PIN3W<'a> {
1716 w: &'a mut W,
1717}
1718impl<'a> _PIN3W<'a> {
1719 #[doc = r" Writes `variant` to the field"]
1720 #[inline]
1721 pub fn variant(self, variant: PIN3W) -> &'a mut W {
1722 {
1723 self.bit(variant._bits())
1724 }
1725 }
1726 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1727 #[inline]
1728 pub fn clear(self) -> &'a mut W {
1729 self.variant(PIN3W::CLEAR)
1730 }
1731 #[doc = r" Sets the field bit"]
1732 pub fn set_bit(self) -> &'a mut W {
1733 self.bit(true)
1734 }
1735 #[doc = r" Clears the field bit"]
1736 pub fn clear_bit(self) -> &'a mut W {
1737 self.bit(false)
1738 }
1739 #[doc = r" Writes raw bits to the field"]
1740 #[inline]
1741 pub fn bit(self, value: bool) -> &'a mut W {
1742 const MASK: bool = true;
1743 const OFFSET: u8 = 3;
1744 self.w.bits &= !((MASK as u32) << OFFSET);
1745 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1746 self.w
1747 }
1748}
1749#[doc = "Values that can be written to the field `PIN4`"]
1750pub enum PIN4W {
1751 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1752 CLEAR,
1753}
1754impl PIN4W {
1755 #[allow(missing_docs)]
1756 #[doc(hidden)]
1757 #[inline]
1758 pub fn _bits(&self) -> bool {
1759 match *self {
1760 PIN4W::CLEAR => true,
1761 }
1762 }
1763}
1764#[doc = r" Proxy"]
1765pub struct _PIN4W<'a> {
1766 w: &'a mut W,
1767}
1768impl<'a> _PIN4W<'a> {
1769 #[doc = r" Writes `variant` to the field"]
1770 #[inline]
1771 pub fn variant(self, variant: PIN4W) -> &'a mut W {
1772 {
1773 self.bit(variant._bits())
1774 }
1775 }
1776 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1777 #[inline]
1778 pub fn clear(self) -> &'a mut W {
1779 self.variant(PIN4W::CLEAR)
1780 }
1781 #[doc = r" Sets the field bit"]
1782 pub fn set_bit(self) -> &'a mut W {
1783 self.bit(true)
1784 }
1785 #[doc = r" Clears the field bit"]
1786 pub fn clear_bit(self) -> &'a mut W {
1787 self.bit(false)
1788 }
1789 #[doc = r" Writes raw bits to the field"]
1790 #[inline]
1791 pub fn bit(self, value: bool) -> &'a mut W {
1792 const MASK: bool = true;
1793 const OFFSET: u8 = 4;
1794 self.w.bits &= !((MASK as u32) << OFFSET);
1795 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1796 self.w
1797 }
1798}
1799#[doc = "Values that can be written to the field `PIN5`"]
1800pub enum PIN5W {
1801 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1802 CLEAR,
1803}
1804impl PIN5W {
1805 #[allow(missing_docs)]
1806 #[doc(hidden)]
1807 #[inline]
1808 pub fn _bits(&self) -> bool {
1809 match *self {
1810 PIN5W::CLEAR => true,
1811 }
1812 }
1813}
1814#[doc = r" Proxy"]
1815pub struct _PIN5W<'a> {
1816 w: &'a mut W,
1817}
1818impl<'a> _PIN5W<'a> {
1819 #[doc = r" Writes `variant` to the field"]
1820 #[inline]
1821 pub fn variant(self, variant: PIN5W) -> &'a mut W {
1822 {
1823 self.bit(variant._bits())
1824 }
1825 }
1826 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1827 #[inline]
1828 pub fn clear(self) -> &'a mut W {
1829 self.variant(PIN5W::CLEAR)
1830 }
1831 #[doc = r" Sets the field bit"]
1832 pub fn set_bit(self) -> &'a mut W {
1833 self.bit(true)
1834 }
1835 #[doc = r" Clears the field bit"]
1836 pub fn clear_bit(self) -> &'a mut W {
1837 self.bit(false)
1838 }
1839 #[doc = r" Writes raw bits to the field"]
1840 #[inline]
1841 pub fn bit(self, value: bool) -> &'a mut W {
1842 const MASK: bool = true;
1843 const OFFSET: u8 = 5;
1844 self.w.bits &= !((MASK as u32) << OFFSET);
1845 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1846 self.w
1847 }
1848}
1849#[doc = "Values that can be written to the field `PIN6`"]
1850pub enum PIN6W {
1851 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1852 CLEAR,
1853}
1854impl PIN6W {
1855 #[allow(missing_docs)]
1856 #[doc(hidden)]
1857 #[inline]
1858 pub fn _bits(&self) -> bool {
1859 match *self {
1860 PIN6W::CLEAR => true,
1861 }
1862 }
1863}
1864#[doc = r" Proxy"]
1865pub struct _PIN6W<'a> {
1866 w: &'a mut W,
1867}
1868impl<'a> _PIN6W<'a> {
1869 #[doc = r" Writes `variant` to the field"]
1870 #[inline]
1871 pub fn variant(self, variant: PIN6W) -> &'a mut W {
1872 {
1873 self.bit(variant._bits())
1874 }
1875 }
1876 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1877 #[inline]
1878 pub fn clear(self) -> &'a mut W {
1879 self.variant(PIN6W::CLEAR)
1880 }
1881 #[doc = r" Sets the field bit"]
1882 pub fn set_bit(self) -> &'a mut W {
1883 self.bit(true)
1884 }
1885 #[doc = r" Clears the field bit"]
1886 pub fn clear_bit(self) -> &'a mut W {
1887 self.bit(false)
1888 }
1889 #[doc = r" Writes raw bits to the field"]
1890 #[inline]
1891 pub fn bit(self, value: bool) -> &'a mut W {
1892 const MASK: bool = true;
1893 const OFFSET: u8 = 6;
1894 self.w.bits &= !((MASK as u32) << OFFSET);
1895 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1896 self.w
1897 }
1898}
1899#[doc = "Values that can be written to the field `PIN7`"]
1900pub enum PIN7W {
1901 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1902 CLEAR,
1903}
1904impl PIN7W {
1905 #[allow(missing_docs)]
1906 #[doc(hidden)]
1907 #[inline]
1908 pub fn _bits(&self) -> bool {
1909 match *self {
1910 PIN7W::CLEAR => true,
1911 }
1912 }
1913}
1914#[doc = r" Proxy"]
1915pub struct _PIN7W<'a> {
1916 w: &'a mut W,
1917}
1918impl<'a> _PIN7W<'a> {
1919 #[doc = r" Writes `variant` to the field"]
1920 #[inline]
1921 pub fn variant(self, variant: PIN7W) -> &'a mut W {
1922 {
1923 self.bit(variant._bits())
1924 }
1925 }
1926 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1927 #[inline]
1928 pub fn clear(self) -> &'a mut W {
1929 self.variant(PIN7W::CLEAR)
1930 }
1931 #[doc = r" Sets the field bit"]
1932 pub fn set_bit(self) -> &'a mut W {
1933 self.bit(true)
1934 }
1935 #[doc = r" Clears the field bit"]
1936 pub fn clear_bit(self) -> &'a mut W {
1937 self.bit(false)
1938 }
1939 #[doc = r" Writes raw bits to the field"]
1940 #[inline]
1941 pub fn bit(self, value: bool) -> &'a mut W {
1942 const MASK: bool = true;
1943 const OFFSET: u8 = 7;
1944 self.w.bits &= !((MASK as u32) << OFFSET);
1945 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1946 self.w
1947 }
1948}
1949#[doc = "Values that can be written to the field `PIN8`"]
1950pub enum PIN8W {
1951 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1952 CLEAR,
1953}
1954impl PIN8W {
1955 #[allow(missing_docs)]
1956 #[doc(hidden)]
1957 #[inline]
1958 pub fn _bits(&self) -> bool {
1959 match *self {
1960 PIN8W::CLEAR => true,
1961 }
1962 }
1963}
1964#[doc = r" Proxy"]
1965pub struct _PIN8W<'a> {
1966 w: &'a mut W,
1967}
1968impl<'a> _PIN8W<'a> {
1969 #[doc = r" Writes `variant` to the field"]
1970 #[inline]
1971 pub fn variant(self, variant: PIN8W) -> &'a mut W {
1972 {
1973 self.bit(variant._bits())
1974 }
1975 }
1976 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
1977 #[inline]
1978 pub fn clear(self) -> &'a mut W {
1979 self.variant(PIN8W::CLEAR)
1980 }
1981 #[doc = r" Sets the field bit"]
1982 pub fn set_bit(self) -> &'a mut W {
1983 self.bit(true)
1984 }
1985 #[doc = r" Clears the field bit"]
1986 pub fn clear_bit(self) -> &'a mut W {
1987 self.bit(false)
1988 }
1989 #[doc = r" Writes raw bits to the field"]
1990 #[inline]
1991 pub fn bit(self, value: bool) -> &'a mut W {
1992 const MASK: bool = true;
1993 const OFFSET: u8 = 8;
1994 self.w.bits &= !((MASK as u32) << OFFSET);
1995 self.w.bits |= ((value & MASK) as u32) << OFFSET;
1996 self.w
1997 }
1998}
1999#[doc = "Values that can be written to the field `PIN9`"]
2000pub enum PIN9W {
2001 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2002 CLEAR,
2003}
2004impl PIN9W {
2005 #[allow(missing_docs)]
2006 #[doc(hidden)]
2007 #[inline]
2008 pub fn _bits(&self) -> bool {
2009 match *self {
2010 PIN9W::CLEAR => true,
2011 }
2012 }
2013}
2014#[doc = r" Proxy"]
2015pub struct _PIN9W<'a> {
2016 w: &'a mut W,
2017}
2018impl<'a> _PIN9W<'a> {
2019 #[doc = r" Writes `variant` to the field"]
2020 #[inline]
2021 pub fn variant(self, variant: PIN9W) -> &'a mut W {
2022 {
2023 self.bit(variant._bits())
2024 }
2025 }
2026 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2027 #[inline]
2028 pub fn clear(self) -> &'a mut W {
2029 self.variant(PIN9W::CLEAR)
2030 }
2031 #[doc = r" Sets the field bit"]
2032 pub fn set_bit(self) -> &'a mut W {
2033 self.bit(true)
2034 }
2035 #[doc = r" Clears the field bit"]
2036 pub fn clear_bit(self) -> &'a mut W {
2037 self.bit(false)
2038 }
2039 #[doc = r" Writes raw bits to the field"]
2040 #[inline]
2041 pub fn bit(self, value: bool) -> &'a mut W {
2042 const MASK: bool = true;
2043 const OFFSET: u8 = 9;
2044 self.w.bits &= !((MASK as u32) << OFFSET);
2045 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2046 self.w
2047 }
2048}
2049#[doc = "Values that can be written to the field `PIN10`"]
2050pub enum PIN10W {
2051 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2052 CLEAR,
2053}
2054impl PIN10W {
2055 #[allow(missing_docs)]
2056 #[doc(hidden)]
2057 #[inline]
2058 pub fn _bits(&self) -> bool {
2059 match *self {
2060 PIN10W::CLEAR => true,
2061 }
2062 }
2063}
2064#[doc = r" Proxy"]
2065pub struct _PIN10W<'a> {
2066 w: &'a mut W,
2067}
2068impl<'a> _PIN10W<'a> {
2069 #[doc = r" Writes `variant` to the field"]
2070 #[inline]
2071 pub fn variant(self, variant: PIN10W) -> &'a mut W {
2072 {
2073 self.bit(variant._bits())
2074 }
2075 }
2076 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2077 #[inline]
2078 pub fn clear(self) -> &'a mut W {
2079 self.variant(PIN10W::CLEAR)
2080 }
2081 #[doc = r" Sets the field bit"]
2082 pub fn set_bit(self) -> &'a mut W {
2083 self.bit(true)
2084 }
2085 #[doc = r" Clears the field bit"]
2086 pub fn clear_bit(self) -> &'a mut W {
2087 self.bit(false)
2088 }
2089 #[doc = r" Writes raw bits to the field"]
2090 #[inline]
2091 pub fn bit(self, value: bool) -> &'a mut W {
2092 const MASK: bool = true;
2093 const OFFSET: u8 = 10;
2094 self.w.bits &= !((MASK as u32) << OFFSET);
2095 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2096 self.w
2097 }
2098}
2099#[doc = "Values that can be written to the field `PIN11`"]
2100pub enum PIN11W {
2101 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2102 CLEAR,
2103}
2104impl PIN11W {
2105 #[allow(missing_docs)]
2106 #[doc(hidden)]
2107 #[inline]
2108 pub fn _bits(&self) -> bool {
2109 match *self {
2110 PIN11W::CLEAR => true,
2111 }
2112 }
2113}
2114#[doc = r" Proxy"]
2115pub struct _PIN11W<'a> {
2116 w: &'a mut W,
2117}
2118impl<'a> _PIN11W<'a> {
2119 #[doc = r" Writes `variant` to the field"]
2120 #[inline]
2121 pub fn variant(self, variant: PIN11W) -> &'a mut W {
2122 {
2123 self.bit(variant._bits())
2124 }
2125 }
2126 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2127 #[inline]
2128 pub fn clear(self) -> &'a mut W {
2129 self.variant(PIN11W::CLEAR)
2130 }
2131 #[doc = r" Sets the field bit"]
2132 pub fn set_bit(self) -> &'a mut W {
2133 self.bit(true)
2134 }
2135 #[doc = r" Clears the field bit"]
2136 pub fn clear_bit(self) -> &'a mut W {
2137 self.bit(false)
2138 }
2139 #[doc = r" Writes raw bits to the field"]
2140 #[inline]
2141 pub fn bit(self, value: bool) -> &'a mut W {
2142 const MASK: bool = true;
2143 const OFFSET: u8 = 11;
2144 self.w.bits &= !((MASK as u32) << OFFSET);
2145 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2146 self.w
2147 }
2148}
2149#[doc = "Values that can be written to the field `PIN12`"]
2150pub enum PIN12W {
2151 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2152 CLEAR,
2153}
2154impl PIN12W {
2155 #[allow(missing_docs)]
2156 #[doc(hidden)]
2157 #[inline]
2158 pub fn _bits(&self) -> bool {
2159 match *self {
2160 PIN12W::CLEAR => true,
2161 }
2162 }
2163}
2164#[doc = r" Proxy"]
2165pub struct _PIN12W<'a> {
2166 w: &'a mut W,
2167}
2168impl<'a> _PIN12W<'a> {
2169 #[doc = r" Writes `variant` to the field"]
2170 #[inline]
2171 pub fn variant(self, variant: PIN12W) -> &'a mut W {
2172 {
2173 self.bit(variant._bits())
2174 }
2175 }
2176 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2177 #[inline]
2178 pub fn clear(self) -> &'a mut W {
2179 self.variant(PIN12W::CLEAR)
2180 }
2181 #[doc = r" Sets the field bit"]
2182 pub fn set_bit(self) -> &'a mut W {
2183 self.bit(true)
2184 }
2185 #[doc = r" Clears the field bit"]
2186 pub fn clear_bit(self) -> &'a mut W {
2187 self.bit(false)
2188 }
2189 #[doc = r" Writes raw bits to the field"]
2190 #[inline]
2191 pub fn bit(self, value: bool) -> &'a mut W {
2192 const MASK: bool = true;
2193 const OFFSET: u8 = 12;
2194 self.w.bits &= !((MASK as u32) << OFFSET);
2195 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2196 self.w
2197 }
2198}
2199#[doc = "Values that can be written to the field `PIN13`"]
2200pub enum PIN13W {
2201 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2202 CLEAR,
2203}
2204impl PIN13W {
2205 #[allow(missing_docs)]
2206 #[doc(hidden)]
2207 #[inline]
2208 pub fn _bits(&self) -> bool {
2209 match *self {
2210 PIN13W::CLEAR => true,
2211 }
2212 }
2213}
2214#[doc = r" Proxy"]
2215pub struct _PIN13W<'a> {
2216 w: &'a mut W,
2217}
2218impl<'a> _PIN13W<'a> {
2219 #[doc = r" Writes `variant` to the field"]
2220 #[inline]
2221 pub fn variant(self, variant: PIN13W) -> &'a mut W {
2222 {
2223 self.bit(variant._bits())
2224 }
2225 }
2226 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2227 #[inline]
2228 pub fn clear(self) -> &'a mut W {
2229 self.variant(PIN13W::CLEAR)
2230 }
2231 #[doc = r" Sets the field bit"]
2232 pub fn set_bit(self) -> &'a mut W {
2233 self.bit(true)
2234 }
2235 #[doc = r" Clears the field bit"]
2236 pub fn clear_bit(self) -> &'a mut W {
2237 self.bit(false)
2238 }
2239 #[doc = r" Writes raw bits to the field"]
2240 #[inline]
2241 pub fn bit(self, value: bool) -> &'a mut W {
2242 const MASK: bool = true;
2243 const OFFSET: u8 = 13;
2244 self.w.bits &= !((MASK as u32) << OFFSET);
2245 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2246 self.w
2247 }
2248}
2249#[doc = "Values that can be written to the field `PIN14`"]
2250pub enum PIN14W {
2251 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2252 CLEAR,
2253}
2254impl PIN14W {
2255 #[allow(missing_docs)]
2256 #[doc(hidden)]
2257 #[inline]
2258 pub fn _bits(&self) -> bool {
2259 match *self {
2260 PIN14W::CLEAR => true,
2261 }
2262 }
2263}
2264#[doc = r" Proxy"]
2265pub struct _PIN14W<'a> {
2266 w: &'a mut W,
2267}
2268impl<'a> _PIN14W<'a> {
2269 #[doc = r" Writes `variant` to the field"]
2270 #[inline]
2271 pub fn variant(self, variant: PIN14W) -> &'a mut W {
2272 {
2273 self.bit(variant._bits())
2274 }
2275 }
2276 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2277 #[inline]
2278 pub fn clear(self) -> &'a mut W {
2279 self.variant(PIN14W::CLEAR)
2280 }
2281 #[doc = r" Sets the field bit"]
2282 pub fn set_bit(self) -> &'a mut W {
2283 self.bit(true)
2284 }
2285 #[doc = r" Clears the field bit"]
2286 pub fn clear_bit(self) -> &'a mut W {
2287 self.bit(false)
2288 }
2289 #[doc = r" Writes raw bits to the field"]
2290 #[inline]
2291 pub fn bit(self, value: bool) -> &'a mut W {
2292 const MASK: bool = true;
2293 const OFFSET: u8 = 14;
2294 self.w.bits &= !((MASK as u32) << OFFSET);
2295 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2296 self.w
2297 }
2298}
2299#[doc = "Values that can be written to the field `PIN15`"]
2300pub enum PIN15W {
2301 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2302 CLEAR,
2303}
2304impl PIN15W {
2305 #[allow(missing_docs)]
2306 #[doc(hidden)]
2307 #[inline]
2308 pub fn _bits(&self) -> bool {
2309 match *self {
2310 PIN15W::CLEAR => true,
2311 }
2312 }
2313}
2314#[doc = r" Proxy"]
2315pub struct _PIN15W<'a> {
2316 w: &'a mut W,
2317}
2318impl<'a> _PIN15W<'a> {
2319 #[doc = r" Writes `variant` to the field"]
2320 #[inline]
2321 pub fn variant(self, variant: PIN15W) -> &'a mut W {
2322 {
2323 self.bit(variant._bits())
2324 }
2325 }
2326 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2327 #[inline]
2328 pub fn clear(self) -> &'a mut W {
2329 self.variant(PIN15W::CLEAR)
2330 }
2331 #[doc = r" Sets the field bit"]
2332 pub fn set_bit(self) -> &'a mut W {
2333 self.bit(true)
2334 }
2335 #[doc = r" Clears the field bit"]
2336 pub fn clear_bit(self) -> &'a mut W {
2337 self.bit(false)
2338 }
2339 #[doc = r" Writes raw bits to the field"]
2340 #[inline]
2341 pub fn bit(self, value: bool) -> &'a mut W {
2342 const MASK: bool = true;
2343 const OFFSET: u8 = 15;
2344 self.w.bits &= !((MASK as u32) << OFFSET);
2345 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2346 self.w
2347 }
2348}
2349#[doc = "Values that can be written to the field `PIN16`"]
2350pub enum PIN16W {
2351 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2352 CLEAR,
2353}
2354impl PIN16W {
2355 #[allow(missing_docs)]
2356 #[doc(hidden)]
2357 #[inline]
2358 pub fn _bits(&self) -> bool {
2359 match *self {
2360 PIN16W::CLEAR => true,
2361 }
2362 }
2363}
2364#[doc = r" Proxy"]
2365pub struct _PIN16W<'a> {
2366 w: &'a mut W,
2367}
2368impl<'a> _PIN16W<'a> {
2369 #[doc = r" Writes `variant` to the field"]
2370 #[inline]
2371 pub fn variant(self, variant: PIN16W) -> &'a mut W {
2372 {
2373 self.bit(variant._bits())
2374 }
2375 }
2376 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2377 #[inline]
2378 pub fn clear(self) -> &'a mut W {
2379 self.variant(PIN16W::CLEAR)
2380 }
2381 #[doc = r" Sets the field bit"]
2382 pub fn set_bit(self) -> &'a mut W {
2383 self.bit(true)
2384 }
2385 #[doc = r" Clears the field bit"]
2386 pub fn clear_bit(self) -> &'a mut W {
2387 self.bit(false)
2388 }
2389 #[doc = r" Writes raw bits to the field"]
2390 #[inline]
2391 pub fn bit(self, value: bool) -> &'a mut W {
2392 const MASK: bool = true;
2393 const OFFSET: u8 = 16;
2394 self.w.bits &= !((MASK as u32) << OFFSET);
2395 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2396 self.w
2397 }
2398}
2399#[doc = "Values that can be written to the field `PIN17`"]
2400pub enum PIN17W {
2401 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2402 CLEAR,
2403}
2404impl PIN17W {
2405 #[allow(missing_docs)]
2406 #[doc(hidden)]
2407 #[inline]
2408 pub fn _bits(&self) -> bool {
2409 match *self {
2410 PIN17W::CLEAR => true,
2411 }
2412 }
2413}
2414#[doc = r" Proxy"]
2415pub struct _PIN17W<'a> {
2416 w: &'a mut W,
2417}
2418impl<'a> _PIN17W<'a> {
2419 #[doc = r" Writes `variant` to the field"]
2420 #[inline]
2421 pub fn variant(self, variant: PIN17W) -> &'a mut W {
2422 {
2423 self.bit(variant._bits())
2424 }
2425 }
2426 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2427 #[inline]
2428 pub fn clear(self) -> &'a mut W {
2429 self.variant(PIN17W::CLEAR)
2430 }
2431 #[doc = r" Sets the field bit"]
2432 pub fn set_bit(self) -> &'a mut W {
2433 self.bit(true)
2434 }
2435 #[doc = r" Clears the field bit"]
2436 pub fn clear_bit(self) -> &'a mut W {
2437 self.bit(false)
2438 }
2439 #[doc = r" Writes raw bits to the field"]
2440 #[inline]
2441 pub fn bit(self, value: bool) -> &'a mut W {
2442 const MASK: bool = true;
2443 const OFFSET: u8 = 17;
2444 self.w.bits &= !((MASK as u32) << OFFSET);
2445 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2446 self.w
2447 }
2448}
2449#[doc = "Values that can be written to the field `PIN18`"]
2450pub enum PIN18W {
2451 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2452 CLEAR,
2453}
2454impl PIN18W {
2455 #[allow(missing_docs)]
2456 #[doc(hidden)]
2457 #[inline]
2458 pub fn _bits(&self) -> bool {
2459 match *self {
2460 PIN18W::CLEAR => true,
2461 }
2462 }
2463}
2464#[doc = r" Proxy"]
2465pub struct _PIN18W<'a> {
2466 w: &'a mut W,
2467}
2468impl<'a> _PIN18W<'a> {
2469 #[doc = r" Writes `variant` to the field"]
2470 #[inline]
2471 pub fn variant(self, variant: PIN18W) -> &'a mut W {
2472 {
2473 self.bit(variant._bits())
2474 }
2475 }
2476 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2477 #[inline]
2478 pub fn clear(self) -> &'a mut W {
2479 self.variant(PIN18W::CLEAR)
2480 }
2481 #[doc = r" Sets the field bit"]
2482 pub fn set_bit(self) -> &'a mut W {
2483 self.bit(true)
2484 }
2485 #[doc = r" Clears the field bit"]
2486 pub fn clear_bit(self) -> &'a mut W {
2487 self.bit(false)
2488 }
2489 #[doc = r" Writes raw bits to the field"]
2490 #[inline]
2491 pub fn bit(self, value: bool) -> &'a mut W {
2492 const MASK: bool = true;
2493 const OFFSET: u8 = 18;
2494 self.w.bits &= !((MASK as u32) << OFFSET);
2495 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2496 self.w
2497 }
2498}
2499#[doc = "Values that can be written to the field `PIN19`"]
2500pub enum PIN19W {
2501 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2502 CLEAR,
2503}
2504impl PIN19W {
2505 #[allow(missing_docs)]
2506 #[doc(hidden)]
2507 #[inline]
2508 pub fn _bits(&self) -> bool {
2509 match *self {
2510 PIN19W::CLEAR => true,
2511 }
2512 }
2513}
2514#[doc = r" Proxy"]
2515pub struct _PIN19W<'a> {
2516 w: &'a mut W,
2517}
2518impl<'a> _PIN19W<'a> {
2519 #[doc = r" Writes `variant` to the field"]
2520 #[inline]
2521 pub fn variant(self, variant: PIN19W) -> &'a mut W {
2522 {
2523 self.bit(variant._bits())
2524 }
2525 }
2526 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2527 #[inline]
2528 pub fn clear(self) -> &'a mut W {
2529 self.variant(PIN19W::CLEAR)
2530 }
2531 #[doc = r" Sets the field bit"]
2532 pub fn set_bit(self) -> &'a mut W {
2533 self.bit(true)
2534 }
2535 #[doc = r" Clears the field bit"]
2536 pub fn clear_bit(self) -> &'a mut W {
2537 self.bit(false)
2538 }
2539 #[doc = r" Writes raw bits to the field"]
2540 #[inline]
2541 pub fn bit(self, value: bool) -> &'a mut W {
2542 const MASK: bool = true;
2543 const OFFSET: u8 = 19;
2544 self.w.bits &= !((MASK as u32) << OFFSET);
2545 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2546 self.w
2547 }
2548}
2549#[doc = "Values that can be written to the field `PIN20`"]
2550pub enum PIN20W {
2551 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2552 CLEAR,
2553}
2554impl PIN20W {
2555 #[allow(missing_docs)]
2556 #[doc(hidden)]
2557 #[inline]
2558 pub fn _bits(&self) -> bool {
2559 match *self {
2560 PIN20W::CLEAR => true,
2561 }
2562 }
2563}
2564#[doc = r" Proxy"]
2565pub struct _PIN20W<'a> {
2566 w: &'a mut W,
2567}
2568impl<'a> _PIN20W<'a> {
2569 #[doc = r" Writes `variant` to the field"]
2570 #[inline]
2571 pub fn variant(self, variant: PIN20W) -> &'a mut W {
2572 {
2573 self.bit(variant._bits())
2574 }
2575 }
2576 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2577 #[inline]
2578 pub fn clear(self) -> &'a mut W {
2579 self.variant(PIN20W::CLEAR)
2580 }
2581 #[doc = r" Sets the field bit"]
2582 pub fn set_bit(self) -> &'a mut W {
2583 self.bit(true)
2584 }
2585 #[doc = r" Clears the field bit"]
2586 pub fn clear_bit(self) -> &'a mut W {
2587 self.bit(false)
2588 }
2589 #[doc = r" Writes raw bits to the field"]
2590 #[inline]
2591 pub fn bit(self, value: bool) -> &'a mut W {
2592 const MASK: bool = true;
2593 const OFFSET: u8 = 20;
2594 self.w.bits &= !((MASK as u32) << OFFSET);
2595 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2596 self.w
2597 }
2598}
2599#[doc = "Values that can be written to the field `PIN21`"]
2600pub enum PIN21W {
2601 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2602 CLEAR,
2603}
2604impl PIN21W {
2605 #[allow(missing_docs)]
2606 #[doc(hidden)]
2607 #[inline]
2608 pub fn _bits(&self) -> bool {
2609 match *self {
2610 PIN21W::CLEAR => true,
2611 }
2612 }
2613}
2614#[doc = r" Proxy"]
2615pub struct _PIN21W<'a> {
2616 w: &'a mut W,
2617}
2618impl<'a> _PIN21W<'a> {
2619 #[doc = r" Writes `variant` to the field"]
2620 #[inline]
2621 pub fn variant(self, variant: PIN21W) -> &'a mut W {
2622 {
2623 self.bit(variant._bits())
2624 }
2625 }
2626 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2627 #[inline]
2628 pub fn clear(self) -> &'a mut W {
2629 self.variant(PIN21W::CLEAR)
2630 }
2631 #[doc = r" Sets the field bit"]
2632 pub fn set_bit(self) -> &'a mut W {
2633 self.bit(true)
2634 }
2635 #[doc = r" Clears the field bit"]
2636 pub fn clear_bit(self) -> &'a mut W {
2637 self.bit(false)
2638 }
2639 #[doc = r" Writes raw bits to the field"]
2640 #[inline]
2641 pub fn bit(self, value: bool) -> &'a mut W {
2642 const MASK: bool = true;
2643 const OFFSET: u8 = 21;
2644 self.w.bits &= !((MASK as u32) << OFFSET);
2645 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2646 self.w
2647 }
2648}
2649#[doc = "Values that can be written to the field `PIN22`"]
2650pub enum PIN22W {
2651 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2652 CLEAR,
2653}
2654impl PIN22W {
2655 #[allow(missing_docs)]
2656 #[doc(hidden)]
2657 #[inline]
2658 pub fn _bits(&self) -> bool {
2659 match *self {
2660 PIN22W::CLEAR => true,
2661 }
2662 }
2663}
2664#[doc = r" Proxy"]
2665pub struct _PIN22W<'a> {
2666 w: &'a mut W,
2667}
2668impl<'a> _PIN22W<'a> {
2669 #[doc = r" Writes `variant` to the field"]
2670 #[inline]
2671 pub fn variant(self, variant: PIN22W) -> &'a mut W {
2672 {
2673 self.bit(variant._bits())
2674 }
2675 }
2676 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2677 #[inline]
2678 pub fn clear(self) -> &'a mut W {
2679 self.variant(PIN22W::CLEAR)
2680 }
2681 #[doc = r" Sets the field bit"]
2682 pub fn set_bit(self) -> &'a mut W {
2683 self.bit(true)
2684 }
2685 #[doc = r" Clears the field bit"]
2686 pub fn clear_bit(self) -> &'a mut W {
2687 self.bit(false)
2688 }
2689 #[doc = r" Writes raw bits to the field"]
2690 #[inline]
2691 pub fn bit(self, value: bool) -> &'a mut W {
2692 const MASK: bool = true;
2693 const OFFSET: u8 = 22;
2694 self.w.bits &= !((MASK as u32) << OFFSET);
2695 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2696 self.w
2697 }
2698}
2699#[doc = "Values that can be written to the field `PIN23`"]
2700pub enum PIN23W {
2701 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2702 CLEAR,
2703}
2704impl PIN23W {
2705 #[allow(missing_docs)]
2706 #[doc(hidden)]
2707 #[inline]
2708 pub fn _bits(&self) -> bool {
2709 match *self {
2710 PIN23W::CLEAR => true,
2711 }
2712 }
2713}
2714#[doc = r" Proxy"]
2715pub struct _PIN23W<'a> {
2716 w: &'a mut W,
2717}
2718impl<'a> _PIN23W<'a> {
2719 #[doc = r" Writes `variant` to the field"]
2720 #[inline]
2721 pub fn variant(self, variant: PIN23W) -> &'a mut W {
2722 {
2723 self.bit(variant._bits())
2724 }
2725 }
2726 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2727 #[inline]
2728 pub fn clear(self) -> &'a mut W {
2729 self.variant(PIN23W::CLEAR)
2730 }
2731 #[doc = r" Sets the field bit"]
2732 pub fn set_bit(self) -> &'a mut W {
2733 self.bit(true)
2734 }
2735 #[doc = r" Clears the field bit"]
2736 pub fn clear_bit(self) -> &'a mut W {
2737 self.bit(false)
2738 }
2739 #[doc = r" Writes raw bits to the field"]
2740 #[inline]
2741 pub fn bit(self, value: bool) -> &'a mut W {
2742 const MASK: bool = true;
2743 const OFFSET: u8 = 23;
2744 self.w.bits &= !((MASK as u32) << OFFSET);
2745 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2746 self.w
2747 }
2748}
2749#[doc = "Values that can be written to the field `PIN24`"]
2750pub enum PIN24W {
2751 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2752 CLEAR,
2753}
2754impl PIN24W {
2755 #[allow(missing_docs)]
2756 #[doc(hidden)]
2757 #[inline]
2758 pub fn _bits(&self) -> bool {
2759 match *self {
2760 PIN24W::CLEAR => true,
2761 }
2762 }
2763}
2764#[doc = r" Proxy"]
2765pub struct _PIN24W<'a> {
2766 w: &'a mut W,
2767}
2768impl<'a> _PIN24W<'a> {
2769 #[doc = r" Writes `variant` to the field"]
2770 #[inline]
2771 pub fn variant(self, variant: PIN24W) -> &'a mut W {
2772 {
2773 self.bit(variant._bits())
2774 }
2775 }
2776 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2777 #[inline]
2778 pub fn clear(self) -> &'a mut W {
2779 self.variant(PIN24W::CLEAR)
2780 }
2781 #[doc = r" Sets the field bit"]
2782 pub fn set_bit(self) -> &'a mut W {
2783 self.bit(true)
2784 }
2785 #[doc = r" Clears the field bit"]
2786 pub fn clear_bit(self) -> &'a mut W {
2787 self.bit(false)
2788 }
2789 #[doc = r" Writes raw bits to the field"]
2790 #[inline]
2791 pub fn bit(self, value: bool) -> &'a mut W {
2792 const MASK: bool = true;
2793 const OFFSET: u8 = 24;
2794 self.w.bits &= !((MASK as u32) << OFFSET);
2795 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2796 self.w
2797 }
2798}
2799#[doc = "Values that can be written to the field `PIN25`"]
2800pub enum PIN25W {
2801 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2802 CLEAR,
2803}
2804impl PIN25W {
2805 #[allow(missing_docs)]
2806 #[doc(hidden)]
2807 #[inline]
2808 pub fn _bits(&self) -> bool {
2809 match *self {
2810 PIN25W::CLEAR => true,
2811 }
2812 }
2813}
2814#[doc = r" Proxy"]
2815pub struct _PIN25W<'a> {
2816 w: &'a mut W,
2817}
2818impl<'a> _PIN25W<'a> {
2819 #[doc = r" Writes `variant` to the field"]
2820 #[inline]
2821 pub fn variant(self, variant: PIN25W) -> &'a mut W {
2822 {
2823 self.bit(variant._bits())
2824 }
2825 }
2826 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2827 #[inline]
2828 pub fn clear(self) -> &'a mut W {
2829 self.variant(PIN25W::CLEAR)
2830 }
2831 #[doc = r" Sets the field bit"]
2832 pub fn set_bit(self) -> &'a mut W {
2833 self.bit(true)
2834 }
2835 #[doc = r" Clears the field bit"]
2836 pub fn clear_bit(self) -> &'a mut W {
2837 self.bit(false)
2838 }
2839 #[doc = r" Writes raw bits to the field"]
2840 #[inline]
2841 pub fn bit(self, value: bool) -> &'a mut W {
2842 const MASK: bool = true;
2843 const OFFSET: u8 = 25;
2844 self.w.bits &= !((MASK as u32) << OFFSET);
2845 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2846 self.w
2847 }
2848}
2849#[doc = "Values that can be written to the field `PIN26`"]
2850pub enum PIN26W {
2851 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2852 CLEAR,
2853}
2854impl PIN26W {
2855 #[allow(missing_docs)]
2856 #[doc(hidden)]
2857 #[inline]
2858 pub fn _bits(&self) -> bool {
2859 match *self {
2860 PIN26W::CLEAR => true,
2861 }
2862 }
2863}
2864#[doc = r" Proxy"]
2865pub struct _PIN26W<'a> {
2866 w: &'a mut W,
2867}
2868impl<'a> _PIN26W<'a> {
2869 #[doc = r" Writes `variant` to the field"]
2870 #[inline]
2871 pub fn variant(self, variant: PIN26W) -> &'a mut W {
2872 {
2873 self.bit(variant._bits())
2874 }
2875 }
2876 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2877 #[inline]
2878 pub fn clear(self) -> &'a mut W {
2879 self.variant(PIN26W::CLEAR)
2880 }
2881 #[doc = r" Sets the field bit"]
2882 pub fn set_bit(self) -> &'a mut W {
2883 self.bit(true)
2884 }
2885 #[doc = r" Clears the field bit"]
2886 pub fn clear_bit(self) -> &'a mut W {
2887 self.bit(false)
2888 }
2889 #[doc = r" Writes raw bits to the field"]
2890 #[inline]
2891 pub fn bit(self, value: bool) -> &'a mut W {
2892 const MASK: bool = true;
2893 const OFFSET: u8 = 26;
2894 self.w.bits &= !((MASK as u32) << OFFSET);
2895 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2896 self.w
2897 }
2898}
2899#[doc = "Values that can be written to the field `PIN27`"]
2900pub enum PIN27W {
2901 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2902 CLEAR,
2903}
2904impl PIN27W {
2905 #[allow(missing_docs)]
2906 #[doc(hidden)]
2907 #[inline]
2908 pub fn _bits(&self) -> bool {
2909 match *self {
2910 PIN27W::CLEAR => true,
2911 }
2912 }
2913}
2914#[doc = r" Proxy"]
2915pub struct _PIN27W<'a> {
2916 w: &'a mut W,
2917}
2918impl<'a> _PIN27W<'a> {
2919 #[doc = r" Writes `variant` to the field"]
2920 #[inline]
2921 pub fn variant(self, variant: PIN27W) -> &'a mut W {
2922 {
2923 self.bit(variant._bits())
2924 }
2925 }
2926 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2927 #[inline]
2928 pub fn clear(self) -> &'a mut W {
2929 self.variant(PIN27W::CLEAR)
2930 }
2931 #[doc = r" Sets the field bit"]
2932 pub fn set_bit(self) -> &'a mut W {
2933 self.bit(true)
2934 }
2935 #[doc = r" Clears the field bit"]
2936 pub fn clear_bit(self) -> &'a mut W {
2937 self.bit(false)
2938 }
2939 #[doc = r" Writes raw bits to the field"]
2940 #[inline]
2941 pub fn bit(self, value: bool) -> &'a mut W {
2942 const MASK: bool = true;
2943 const OFFSET: u8 = 27;
2944 self.w.bits &= !((MASK as u32) << OFFSET);
2945 self.w.bits |= ((value & MASK) as u32) << OFFSET;
2946 self.w
2947 }
2948}
2949#[doc = "Values that can be written to the field `PIN28`"]
2950pub enum PIN28W {
2951 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2952 CLEAR,
2953}
2954impl PIN28W {
2955 #[allow(missing_docs)]
2956 #[doc(hidden)]
2957 #[inline]
2958 pub fn _bits(&self) -> bool {
2959 match *self {
2960 PIN28W::CLEAR => true,
2961 }
2962 }
2963}
2964#[doc = r" Proxy"]
2965pub struct _PIN28W<'a> {
2966 w: &'a mut W,
2967}
2968impl<'a> _PIN28W<'a> {
2969 #[doc = r" Writes `variant` to the field"]
2970 #[inline]
2971 pub fn variant(self, variant: PIN28W) -> &'a mut W {
2972 {
2973 self.bit(variant._bits())
2974 }
2975 }
2976 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
2977 #[inline]
2978 pub fn clear(self) -> &'a mut W {
2979 self.variant(PIN28W::CLEAR)
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 = 28;
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 `PIN29`"]
3000pub enum PIN29W {
3001 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
3002 CLEAR,
3003}
3004impl PIN29W {
3005 #[allow(missing_docs)]
3006 #[doc(hidden)]
3007 #[inline]
3008 pub fn _bits(&self) -> bool {
3009 match *self {
3010 PIN29W::CLEAR => true,
3011 }
3012 }
3013}
3014#[doc = r" Proxy"]
3015pub struct _PIN29W<'a> {
3016 w: &'a mut W,
3017}
3018impl<'a> _PIN29W<'a> {
3019 #[doc = r" Writes `variant` to the field"]
3020 #[inline]
3021 pub fn variant(self, variant: PIN29W) -> &'a mut W {
3022 {
3023 self.bit(variant._bits())
3024 }
3025 }
3026 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
3027 #[inline]
3028 pub fn clear(self) -> &'a mut W {
3029 self.variant(PIN29W::CLEAR)
3030 }
3031 #[doc = r" Sets the field bit"]
3032 pub fn set_bit(self) -> &'a mut W {
3033 self.bit(true)
3034 }
3035 #[doc = r" Clears the field bit"]
3036 pub fn clear_bit(self) -> &'a mut W {
3037 self.bit(false)
3038 }
3039 #[doc = r" Writes raw bits to the field"]
3040 #[inline]
3041 pub fn bit(self, value: bool) -> &'a mut W {
3042 const MASK: bool = true;
3043 const OFFSET: u8 = 29;
3044 self.w.bits &= !((MASK as u32) << OFFSET);
3045 self.w.bits |= ((value & MASK) as u32) << OFFSET;
3046 self.w
3047 }
3048}
3049#[doc = "Values that can be written to the field `PIN30`"]
3050pub enum PIN30W {
3051 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
3052 CLEAR,
3053}
3054impl PIN30W {
3055 #[allow(missing_docs)]
3056 #[doc(hidden)]
3057 #[inline]
3058 pub fn _bits(&self) -> bool {
3059 match *self {
3060 PIN30W::CLEAR => true,
3061 }
3062 }
3063}
3064#[doc = r" Proxy"]
3065pub struct _PIN30W<'a> {
3066 w: &'a mut W,
3067}
3068impl<'a> _PIN30W<'a> {
3069 #[doc = r" Writes `variant` to the field"]
3070 #[inline]
3071 pub fn variant(self, variant: PIN30W) -> &'a mut W {
3072 {
3073 self.bit(variant._bits())
3074 }
3075 }
3076 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
3077 #[inline]
3078 pub fn clear(self) -> &'a mut W {
3079 self.variant(PIN30W::CLEAR)
3080 }
3081 #[doc = r" Sets the field bit"]
3082 pub fn set_bit(self) -> &'a mut W {
3083 self.bit(true)
3084 }
3085 #[doc = r" Clears the field bit"]
3086 pub fn clear_bit(self) -> &'a mut W {
3087 self.bit(false)
3088 }
3089 #[doc = r" Writes raw bits to the field"]
3090 #[inline]
3091 pub fn bit(self, value: bool) -> &'a mut W {
3092 const MASK: bool = true;
3093 const OFFSET: u8 = 30;
3094 self.w.bits &= !((MASK as u32) << OFFSET);
3095 self.w.bits |= ((value & MASK) as u32) << OFFSET;
3096 self.w
3097 }
3098}
3099#[doc = "Values that can be written to the field `PIN31`"]
3100pub enum PIN31W {
3101 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
3102 CLEAR,
3103}
3104impl PIN31W {
3105 #[allow(missing_docs)]
3106 #[doc(hidden)]
3107 #[inline]
3108 pub fn _bits(&self) -> bool {
3109 match *self {
3110 PIN31W::CLEAR => true,
3111 }
3112 }
3113}
3114#[doc = r" Proxy"]
3115pub struct _PIN31W<'a> {
3116 w: &'a mut W,
3117}
3118impl<'a> _PIN31W<'a> {
3119 #[doc = r" Writes `variant` to the field"]
3120 #[inline]
3121 pub fn variant(self, variant: PIN31W) -> &'a mut W {
3122 {
3123 self.bit(variant._bits())
3124 }
3125 }
3126 #[doc = "Write: writing a '1' sets the pin low; writing a '0' has no effect"]
3127 #[inline]
3128 pub fn clear(self) -> &'a mut W {
3129 self.variant(PIN31W::CLEAR)
3130 }
3131 #[doc = r" Sets the field bit"]
3132 pub fn set_bit(self) -> &'a mut W {
3133 self.bit(true)
3134 }
3135 #[doc = r" Clears the field bit"]
3136 pub fn clear_bit(self) -> &'a mut W {
3137 self.bit(false)
3138 }
3139 #[doc = r" Writes raw bits to the field"]
3140 #[inline]
3141 pub fn bit(self, value: bool) -> &'a mut W {
3142 const MASK: bool = true;
3143 const OFFSET: u8 = 31;
3144 self.w.bits &= !((MASK as u32) << OFFSET);
3145 self.w.bits |= ((value & MASK) as u32) << OFFSET;
3146 self.w
3147 }
3148}
3149impl R {
3150 #[doc = r" Value of the register as raw bits"]
3151 #[inline]
3152 pub fn bits(&self) -> u32 {
3153 self.bits
3154 }
3155 #[doc = "Bit 0 - Pin 0"]
3156 #[inline]
3157 pub fn pin0(&self) -> PIN0R {
3158 PIN0R::_from({
3159 const MASK: bool = true;
3160 const OFFSET: u8 = 0;
3161 ((self.bits >> OFFSET) & MASK as u32) != 0
3162 })
3163 }
3164 #[doc = "Bit 1 - Pin 1"]
3165 #[inline]
3166 pub fn pin1(&self) -> PIN1R {
3167 PIN1R::_from({
3168 const MASK: bool = true;
3169 const OFFSET: u8 = 1;
3170 ((self.bits >> OFFSET) & MASK as u32) != 0
3171 })
3172 }
3173 #[doc = "Bit 2 - Pin 2"]
3174 #[inline]
3175 pub fn pin2(&self) -> PIN2R {
3176 PIN2R::_from({
3177 const MASK: bool = true;
3178 const OFFSET: u8 = 2;
3179 ((self.bits >> OFFSET) & MASK as u32) != 0
3180 })
3181 }
3182 #[doc = "Bit 3 - Pin 3"]
3183 #[inline]
3184 pub fn pin3(&self) -> PIN3R {
3185 PIN3R::_from({
3186 const MASK: bool = true;
3187 const OFFSET: u8 = 3;
3188 ((self.bits >> OFFSET) & MASK as u32) != 0
3189 })
3190 }
3191 #[doc = "Bit 4 - Pin 4"]
3192 #[inline]
3193 pub fn pin4(&self) -> PIN4R {
3194 PIN4R::_from({
3195 const MASK: bool = true;
3196 const OFFSET: u8 = 4;
3197 ((self.bits >> OFFSET) & MASK as u32) != 0
3198 })
3199 }
3200 #[doc = "Bit 5 - Pin 5"]
3201 #[inline]
3202 pub fn pin5(&self) -> PIN5R {
3203 PIN5R::_from({
3204 const MASK: bool = true;
3205 const OFFSET: u8 = 5;
3206 ((self.bits >> OFFSET) & MASK as u32) != 0
3207 })
3208 }
3209 #[doc = "Bit 6 - Pin 6"]
3210 #[inline]
3211 pub fn pin6(&self) -> PIN6R {
3212 PIN6R::_from({
3213 const MASK: bool = true;
3214 const OFFSET: u8 = 6;
3215 ((self.bits >> OFFSET) & MASK as u32) != 0
3216 })
3217 }
3218 #[doc = "Bit 7 - Pin 7"]
3219 #[inline]
3220 pub fn pin7(&self) -> PIN7R {
3221 PIN7R::_from({
3222 const MASK: bool = true;
3223 const OFFSET: u8 = 7;
3224 ((self.bits >> OFFSET) & MASK as u32) != 0
3225 })
3226 }
3227 #[doc = "Bit 8 - Pin 8"]
3228 #[inline]
3229 pub fn pin8(&self) -> PIN8R {
3230 PIN8R::_from({
3231 const MASK: bool = true;
3232 const OFFSET: u8 = 8;
3233 ((self.bits >> OFFSET) & MASK as u32) != 0
3234 })
3235 }
3236 #[doc = "Bit 9 - Pin 9"]
3237 #[inline]
3238 pub fn pin9(&self) -> PIN9R {
3239 PIN9R::_from({
3240 const MASK: bool = true;
3241 const OFFSET: u8 = 9;
3242 ((self.bits >> OFFSET) & MASK as u32) != 0
3243 })
3244 }
3245 #[doc = "Bit 10 - Pin 10"]
3246 #[inline]
3247 pub fn pin10(&self) -> PIN10R {
3248 PIN10R::_from({
3249 const MASK: bool = true;
3250 const OFFSET: u8 = 10;
3251 ((self.bits >> OFFSET) & MASK as u32) != 0
3252 })
3253 }
3254 #[doc = "Bit 11 - Pin 11"]
3255 #[inline]
3256 pub fn pin11(&self) -> PIN11R {
3257 PIN11R::_from({
3258 const MASK: bool = true;
3259 const OFFSET: u8 = 11;
3260 ((self.bits >> OFFSET) & MASK as u32) != 0
3261 })
3262 }
3263 #[doc = "Bit 12 - Pin 12"]
3264 #[inline]
3265 pub fn pin12(&self) -> PIN12R {
3266 PIN12R::_from({
3267 const MASK: bool = true;
3268 const OFFSET: u8 = 12;
3269 ((self.bits >> OFFSET) & MASK as u32) != 0
3270 })
3271 }
3272 #[doc = "Bit 13 - Pin 13"]
3273 #[inline]
3274 pub fn pin13(&self) -> PIN13R {
3275 PIN13R::_from({
3276 const MASK: bool = true;
3277 const OFFSET: u8 = 13;
3278 ((self.bits >> OFFSET) & MASK as u32) != 0
3279 })
3280 }
3281 #[doc = "Bit 14 - Pin 14"]
3282 #[inline]
3283 pub fn pin14(&self) -> PIN14R {
3284 PIN14R::_from({
3285 const MASK: bool = true;
3286 const OFFSET: u8 = 14;
3287 ((self.bits >> OFFSET) & MASK as u32) != 0
3288 })
3289 }
3290 #[doc = "Bit 15 - Pin 15"]
3291 #[inline]
3292 pub fn pin15(&self) -> PIN15R {
3293 PIN15R::_from({
3294 const MASK: bool = true;
3295 const OFFSET: u8 = 15;
3296 ((self.bits >> OFFSET) & MASK as u32) != 0
3297 })
3298 }
3299 #[doc = "Bit 16 - Pin 16"]
3300 #[inline]
3301 pub fn pin16(&self) -> PIN16R {
3302 PIN16R::_from({
3303 const MASK: bool = true;
3304 const OFFSET: u8 = 16;
3305 ((self.bits >> OFFSET) & MASK as u32) != 0
3306 })
3307 }
3308 #[doc = "Bit 17 - Pin 17"]
3309 #[inline]
3310 pub fn pin17(&self) -> PIN17R {
3311 PIN17R::_from({
3312 const MASK: bool = true;
3313 const OFFSET: u8 = 17;
3314 ((self.bits >> OFFSET) & MASK as u32) != 0
3315 })
3316 }
3317 #[doc = "Bit 18 - Pin 18"]
3318 #[inline]
3319 pub fn pin18(&self) -> PIN18R {
3320 PIN18R::_from({
3321 const MASK: bool = true;
3322 const OFFSET: u8 = 18;
3323 ((self.bits >> OFFSET) & MASK as u32) != 0
3324 })
3325 }
3326 #[doc = "Bit 19 - Pin 19"]
3327 #[inline]
3328 pub fn pin19(&self) -> PIN19R {
3329 PIN19R::_from({
3330 const MASK: bool = true;
3331 const OFFSET: u8 = 19;
3332 ((self.bits >> OFFSET) & MASK as u32) != 0
3333 })
3334 }
3335 #[doc = "Bit 20 - Pin 20"]
3336 #[inline]
3337 pub fn pin20(&self) -> PIN20R {
3338 PIN20R::_from({
3339 const MASK: bool = true;
3340 const OFFSET: u8 = 20;
3341 ((self.bits >> OFFSET) & MASK as u32) != 0
3342 })
3343 }
3344 #[doc = "Bit 21 - Pin 21"]
3345 #[inline]
3346 pub fn pin21(&self) -> PIN21R {
3347 PIN21R::_from({
3348 const MASK: bool = true;
3349 const OFFSET: u8 = 21;
3350 ((self.bits >> OFFSET) & MASK as u32) != 0
3351 })
3352 }
3353 #[doc = "Bit 22 - Pin 22"]
3354 #[inline]
3355 pub fn pin22(&self) -> PIN22R {
3356 PIN22R::_from({
3357 const MASK: bool = true;
3358 const OFFSET: u8 = 22;
3359 ((self.bits >> OFFSET) & MASK as u32) != 0
3360 })
3361 }
3362 #[doc = "Bit 23 - Pin 23"]
3363 #[inline]
3364 pub fn pin23(&self) -> PIN23R {
3365 PIN23R::_from({
3366 const MASK: bool = true;
3367 const OFFSET: u8 = 23;
3368 ((self.bits >> OFFSET) & MASK as u32) != 0
3369 })
3370 }
3371 #[doc = "Bit 24 - Pin 24"]
3372 #[inline]
3373 pub fn pin24(&self) -> PIN24R {
3374 PIN24R::_from({
3375 const MASK: bool = true;
3376 const OFFSET: u8 = 24;
3377 ((self.bits >> OFFSET) & MASK as u32) != 0
3378 })
3379 }
3380 #[doc = "Bit 25 - Pin 25"]
3381 #[inline]
3382 pub fn pin25(&self) -> PIN25R {
3383 PIN25R::_from({
3384 const MASK: bool = true;
3385 const OFFSET: u8 = 25;
3386 ((self.bits >> OFFSET) & MASK as u32) != 0
3387 })
3388 }
3389 #[doc = "Bit 26 - Pin 26"]
3390 #[inline]
3391 pub fn pin26(&self) -> PIN26R {
3392 PIN26R::_from({
3393 const MASK: bool = true;
3394 const OFFSET: u8 = 26;
3395 ((self.bits >> OFFSET) & MASK as u32) != 0
3396 })
3397 }
3398 #[doc = "Bit 27 - Pin 27"]
3399 #[inline]
3400 pub fn pin27(&self) -> PIN27R {
3401 PIN27R::_from({
3402 const MASK: bool = true;
3403 const OFFSET: u8 = 27;
3404 ((self.bits >> OFFSET) & MASK as u32) != 0
3405 })
3406 }
3407 #[doc = "Bit 28 - Pin 28"]
3408 #[inline]
3409 pub fn pin28(&self) -> PIN28R {
3410 PIN28R::_from({
3411 const MASK: bool = true;
3412 const OFFSET: u8 = 28;
3413 ((self.bits >> OFFSET) & MASK as u32) != 0
3414 })
3415 }
3416 #[doc = "Bit 29 - Pin 29"]
3417 #[inline]
3418 pub fn pin29(&self) -> PIN29R {
3419 PIN29R::_from({
3420 const MASK: bool = true;
3421 const OFFSET: u8 = 29;
3422 ((self.bits >> OFFSET) & MASK as u32) != 0
3423 })
3424 }
3425 #[doc = "Bit 30 - Pin 30"]
3426 #[inline]
3427 pub fn pin30(&self) -> PIN30R {
3428 PIN30R::_from({
3429 const MASK: bool = true;
3430 const OFFSET: u8 = 30;
3431 ((self.bits >> OFFSET) & MASK as u32) != 0
3432 })
3433 }
3434 #[doc = "Bit 31 - Pin 31"]
3435 #[inline]
3436 pub fn pin31(&self) -> PIN31R {
3437 PIN31R::_from({
3438 const MASK: bool = true;
3439 const OFFSET: u8 = 31;
3440 ((self.bits >> OFFSET) & MASK as u32) != 0
3441 })
3442 }
3443}
3444impl W {
3445 #[doc = r" Reset value of the register"]
3446 #[inline]
3447 pub fn reset_value() -> W {
3448 W { bits: 0 }
3449 }
3450 #[doc = r" Writes raw bits to the register"]
3451 #[inline]
3452 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
3453 self.bits = bits;
3454 self
3455 }
3456 #[doc = "Bit 0 - Pin 0"]
3457 #[inline]
3458 pub fn pin0(&mut self) -> _PIN0W {
3459 _PIN0W { w: self }
3460 }
3461 #[doc = "Bit 1 - Pin 1"]
3462 #[inline]
3463 pub fn pin1(&mut self) -> _PIN1W {
3464 _PIN1W { w: self }
3465 }
3466 #[doc = "Bit 2 - Pin 2"]
3467 #[inline]
3468 pub fn pin2(&mut self) -> _PIN2W {
3469 _PIN2W { w: self }
3470 }
3471 #[doc = "Bit 3 - Pin 3"]
3472 #[inline]
3473 pub fn pin3(&mut self) -> _PIN3W {
3474 _PIN3W { w: self }
3475 }
3476 #[doc = "Bit 4 - Pin 4"]
3477 #[inline]
3478 pub fn pin4(&mut self) -> _PIN4W {
3479 _PIN4W { w: self }
3480 }
3481 #[doc = "Bit 5 - Pin 5"]
3482 #[inline]
3483 pub fn pin5(&mut self) -> _PIN5W {
3484 _PIN5W { w: self }
3485 }
3486 #[doc = "Bit 6 - Pin 6"]
3487 #[inline]
3488 pub fn pin6(&mut self) -> _PIN6W {
3489 _PIN6W { w: self }
3490 }
3491 #[doc = "Bit 7 - Pin 7"]
3492 #[inline]
3493 pub fn pin7(&mut self) -> _PIN7W {
3494 _PIN7W { w: self }
3495 }
3496 #[doc = "Bit 8 - Pin 8"]
3497 #[inline]
3498 pub fn pin8(&mut self) -> _PIN8W {
3499 _PIN8W { w: self }
3500 }
3501 #[doc = "Bit 9 - Pin 9"]
3502 #[inline]
3503 pub fn pin9(&mut self) -> _PIN9W {
3504 _PIN9W { w: self }
3505 }
3506 #[doc = "Bit 10 - Pin 10"]
3507 #[inline]
3508 pub fn pin10(&mut self) -> _PIN10W {
3509 _PIN10W { w: self }
3510 }
3511 #[doc = "Bit 11 - Pin 11"]
3512 #[inline]
3513 pub fn pin11(&mut self) -> _PIN11W {
3514 _PIN11W { w: self }
3515 }
3516 #[doc = "Bit 12 - Pin 12"]
3517 #[inline]
3518 pub fn pin12(&mut self) -> _PIN12W {
3519 _PIN12W { w: self }
3520 }
3521 #[doc = "Bit 13 - Pin 13"]
3522 #[inline]
3523 pub fn pin13(&mut self) -> _PIN13W {
3524 _PIN13W { w: self }
3525 }
3526 #[doc = "Bit 14 - Pin 14"]
3527 #[inline]
3528 pub fn pin14(&mut self) -> _PIN14W {
3529 _PIN14W { w: self }
3530 }
3531 #[doc = "Bit 15 - Pin 15"]
3532 #[inline]
3533 pub fn pin15(&mut self) -> _PIN15W {
3534 _PIN15W { w: self }
3535 }
3536 #[doc = "Bit 16 - Pin 16"]
3537 #[inline]
3538 pub fn pin16(&mut self) -> _PIN16W {
3539 _PIN16W { w: self }
3540 }
3541 #[doc = "Bit 17 - Pin 17"]
3542 #[inline]
3543 pub fn pin17(&mut self) -> _PIN17W {
3544 _PIN17W { w: self }
3545 }
3546 #[doc = "Bit 18 - Pin 18"]
3547 #[inline]
3548 pub fn pin18(&mut self) -> _PIN18W {
3549 _PIN18W { w: self }
3550 }
3551 #[doc = "Bit 19 - Pin 19"]
3552 #[inline]
3553 pub fn pin19(&mut self) -> _PIN19W {
3554 _PIN19W { w: self }
3555 }
3556 #[doc = "Bit 20 - Pin 20"]
3557 #[inline]
3558 pub fn pin20(&mut self) -> _PIN20W {
3559 _PIN20W { w: self }
3560 }
3561 #[doc = "Bit 21 - Pin 21"]
3562 #[inline]
3563 pub fn pin21(&mut self) -> _PIN21W {
3564 _PIN21W { w: self }
3565 }
3566 #[doc = "Bit 22 - Pin 22"]
3567 #[inline]
3568 pub fn pin22(&mut self) -> _PIN22W {
3569 _PIN22W { w: self }
3570 }
3571 #[doc = "Bit 23 - Pin 23"]
3572 #[inline]
3573 pub fn pin23(&mut self) -> _PIN23W {
3574 _PIN23W { w: self }
3575 }
3576 #[doc = "Bit 24 - Pin 24"]
3577 #[inline]
3578 pub fn pin24(&mut self) -> _PIN24W {
3579 _PIN24W { w: self }
3580 }
3581 #[doc = "Bit 25 - Pin 25"]
3582 #[inline]
3583 pub fn pin25(&mut self) -> _PIN25W {
3584 _PIN25W { w: self }
3585 }
3586 #[doc = "Bit 26 - Pin 26"]
3587 #[inline]
3588 pub fn pin26(&mut self) -> _PIN26W {
3589 _PIN26W { w: self }
3590 }
3591 #[doc = "Bit 27 - Pin 27"]
3592 #[inline]
3593 pub fn pin27(&mut self) -> _PIN27W {
3594 _PIN27W { w: self }
3595 }
3596 #[doc = "Bit 28 - Pin 28"]
3597 #[inline]
3598 pub fn pin28(&mut self) -> _PIN28W {
3599 _PIN28W { w: self }
3600 }
3601 #[doc = "Bit 29 - Pin 29"]
3602 #[inline]
3603 pub fn pin29(&mut self) -> _PIN29W {
3604 _PIN29W { w: self }
3605 }
3606 #[doc = "Bit 30 - Pin 30"]
3607 #[inline]
3608 pub fn pin30(&mut self) -> _PIN30W {
3609 _PIN30W { w: self }
3610 }
3611 #[doc = "Bit 31 - Pin 31"]
3612 #[inline]
3613 pub fn pin31(&mut self) -> _PIN31W {
3614 _PIN31W { w: self }
3615 }
3616}