1#[doc = "Register `PF` reader"]
2pub type R = crate::R<PfSpec>;
3#[doc = "Register `PF` writer"]
4pub type W = crate::W<PfSpec>;
5#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
6#[cfg_attr(feature = "defmt", derive(defmt::Format))]
7#[derive(Clone, Copy, Debug, PartialEq, Eq)]
8pub enum Wuf0 {
9 #[doc = "0: No"]
10 NoFlag = 0,
11 #[doc = "1: Yes"]
12 Flag = 1,
13}
14impl From<Wuf0> for bool {
15 #[inline(always)]
16 fn from(variant: Wuf0) -> Self {
17 variant as u8 != 0
18 }
19}
20#[doc = "Field `WUF0` reader - Wake-up Flag for WUU_Pn"]
21pub type Wuf0R = crate::BitReader<Wuf0>;
22impl Wuf0R {
23 #[doc = "Get enumerated values variant"]
24 #[inline(always)]
25 pub const fn variant(&self) -> Wuf0 {
26 match self.bits {
27 false => Wuf0::NoFlag,
28 true => Wuf0::Flag,
29 }
30 }
31 #[doc = "No"]
32 #[inline(always)]
33 pub fn is_no_flag(&self) -> bool {
34 *self == Wuf0::NoFlag
35 }
36 #[doc = "Yes"]
37 #[inline(always)]
38 pub fn is_flag(&self) -> bool {
39 *self == Wuf0::Flag
40 }
41}
42#[doc = "Field `WUF0` writer - Wake-up Flag for WUU_Pn"]
43pub type Wuf0W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf0>;
44impl<'a, REG> Wuf0W<'a, REG>
45where
46 REG: crate::Writable + crate::RegisterSpec,
47{
48 #[doc = "No"]
49 #[inline(always)]
50 pub fn no_flag(self) -> &'a mut crate::W<REG> {
51 self.variant(Wuf0::NoFlag)
52 }
53 #[doc = "Yes"]
54 #[inline(always)]
55 pub fn flag(self) -> &'a mut crate::W<REG> {
56 self.variant(Wuf0::Flag)
57 }
58}
59#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
60#[cfg_attr(feature = "defmt", derive(defmt::Format))]
61#[derive(Clone, Copy, Debug, PartialEq, Eq)]
62pub enum Wuf1 {
63 #[doc = "0: No"]
64 NoFlag = 0,
65 #[doc = "1: Yes"]
66 Flag = 1,
67}
68impl From<Wuf1> for bool {
69 #[inline(always)]
70 fn from(variant: Wuf1) -> Self {
71 variant as u8 != 0
72 }
73}
74#[doc = "Field `WUF1` reader - Wake-up Flag for WUU_Pn"]
75pub type Wuf1R = crate::BitReader<Wuf1>;
76impl Wuf1R {
77 #[doc = "Get enumerated values variant"]
78 #[inline(always)]
79 pub const fn variant(&self) -> Wuf1 {
80 match self.bits {
81 false => Wuf1::NoFlag,
82 true => Wuf1::Flag,
83 }
84 }
85 #[doc = "No"]
86 #[inline(always)]
87 pub fn is_no_flag(&self) -> bool {
88 *self == Wuf1::NoFlag
89 }
90 #[doc = "Yes"]
91 #[inline(always)]
92 pub fn is_flag(&self) -> bool {
93 *self == Wuf1::Flag
94 }
95}
96#[doc = "Field `WUF1` writer - Wake-up Flag for WUU_Pn"]
97pub type Wuf1W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf1>;
98impl<'a, REG> Wuf1W<'a, REG>
99where
100 REG: crate::Writable + crate::RegisterSpec,
101{
102 #[doc = "No"]
103 #[inline(always)]
104 pub fn no_flag(self) -> &'a mut crate::W<REG> {
105 self.variant(Wuf1::NoFlag)
106 }
107 #[doc = "Yes"]
108 #[inline(always)]
109 pub fn flag(self) -> &'a mut crate::W<REG> {
110 self.variant(Wuf1::Flag)
111 }
112}
113#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
114#[cfg_attr(feature = "defmt", derive(defmt::Format))]
115#[derive(Clone, Copy, Debug, PartialEq, Eq)]
116pub enum Wuf2 {
117 #[doc = "0: No"]
118 NoFlag = 0,
119 #[doc = "1: Yes"]
120 Flag = 1,
121}
122impl From<Wuf2> for bool {
123 #[inline(always)]
124 fn from(variant: Wuf2) -> Self {
125 variant as u8 != 0
126 }
127}
128#[doc = "Field `WUF2` reader - Wake-up Flag for WUU_Pn"]
129pub type Wuf2R = crate::BitReader<Wuf2>;
130impl Wuf2R {
131 #[doc = "Get enumerated values variant"]
132 #[inline(always)]
133 pub const fn variant(&self) -> Wuf2 {
134 match self.bits {
135 false => Wuf2::NoFlag,
136 true => Wuf2::Flag,
137 }
138 }
139 #[doc = "No"]
140 #[inline(always)]
141 pub fn is_no_flag(&self) -> bool {
142 *self == Wuf2::NoFlag
143 }
144 #[doc = "Yes"]
145 #[inline(always)]
146 pub fn is_flag(&self) -> bool {
147 *self == Wuf2::Flag
148 }
149}
150#[doc = "Field `WUF2` writer - Wake-up Flag for WUU_Pn"]
151pub type Wuf2W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf2>;
152impl<'a, REG> Wuf2W<'a, REG>
153where
154 REG: crate::Writable + crate::RegisterSpec,
155{
156 #[doc = "No"]
157 #[inline(always)]
158 pub fn no_flag(self) -> &'a mut crate::W<REG> {
159 self.variant(Wuf2::NoFlag)
160 }
161 #[doc = "Yes"]
162 #[inline(always)]
163 pub fn flag(self) -> &'a mut crate::W<REG> {
164 self.variant(Wuf2::Flag)
165 }
166}
167#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
168#[cfg_attr(feature = "defmt", derive(defmt::Format))]
169#[derive(Clone, Copy, Debug, PartialEq, Eq)]
170pub enum Wuf3 {
171 #[doc = "0: No"]
172 NoFlag = 0,
173 #[doc = "1: Yes"]
174 Flag = 1,
175}
176impl From<Wuf3> for bool {
177 #[inline(always)]
178 fn from(variant: Wuf3) -> Self {
179 variant as u8 != 0
180 }
181}
182#[doc = "Field `WUF3` reader - Wake-up Flag for WUU_Pn"]
183pub type Wuf3R = crate::BitReader<Wuf3>;
184impl Wuf3R {
185 #[doc = "Get enumerated values variant"]
186 #[inline(always)]
187 pub const fn variant(&self) -> Wuf3 {
188 match self.bits {
189 false => Wuf3::NoFlag,
190 true => Wuf3::Flag,
191 }
192 }
193 #[doc = "No"]
194 #[inline(always)]
195 pub fn is_no_flag(&self) -> bool {
196 *self == Wuf3::NoFlag
197 }
198 #[doc = "Yes"]
199 #[inline(always)]
200 pub fn is_flag(&self) -> bool {
201 *self == Wuf3::Flag
202 }
203}
204#[doc = "Field `WUF3` writer - Wake-up Flag for WUU_Pn"]
205pub type Wuf3W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf3>;
206impl<'a, REG> Wuf3W<'a, REG>
207where
208 REG: crate::Writable + crate::RegisterSpec,
209{
210 #[doc = "No"]
211 #[inline(always)]
212 pub fn no_flag(self) -> &'a mut crate::W<REG> {
213 self.variant(Wuf3::NoFlag)
214 }
215 #[doc = "Yes"]
216 #[inline(always)]
217 pub fn flag(self) -> &'a mut crate::W<REG> {
218 self.variant(Wuf3::Flag)
219 }
220}
221#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
222#[cfg_attr(feature = "defmt", derive(defmt::Format))]
223#[derive(Clone, Copy, Debug, PartialEq, Eq)]
224pub enum Wuf4 {
225 #[doc = "0: No"]
226 NoFlag = 0,
227 #[doc = "1: Yes"]
228 Flag = 1,
229}
230impl From<Wuf4> for bool {
231 #[inline(always)]
232 fn from(variant: Wuf4) -> Self {
233 variant as u8 != 0
234 }
235}
236#[doc = "Field `WUF4` reader - Wake-up Flag for WUU_Pn"]
237pub type Wuf4R = crate::BitReader<Wuf4>;
238impl Wuf4R {
239 #[doc = "Get enumerated values variant"]
240 #[inline(always)]
241 pub const fn variant(&self) -> Wuf4 {
242 match self.bits {
243 false => Wuf4::NoFlag,
244 true => Wuf4::Flag,
245 }
246 }
247 #[doc = "No"]
248 #[inline(always)]
249 pub fn is_no_flag(&self) -> bool {
250 *self == Wuf4::NoFlag
251 }
252 #[doc = "Yes"]
253 #[inline(always)]
254 pub fn is_flag(&self) -> bool {
255 *self == Wuf4::Flag
256 }
257}
258#[doc = "Field `WUF4` writer - Wake-up Flag for WUU_Pn"]
259pub type Wuf4W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf4>;
260impl<'a, REG> Wuf4W<'a, REG>
261where
262 REG: crate::Writable + crate::RegisterSpec,
263{
264 #[doc = "No"]
265 #[inline(always)]
266 pub fn no_flag(self) -> &'a mut crate::W<REG> {
267 self.variant(Wuf4::NoFlag)
268 }
269 #[doc = "Yes"]
270 #[inline(always)]
271 pub fn flag(self) -> &'a mut crate::W<REG> {
272 self.variant(Wuf4::Flag)
273 }
274}
275#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
276#[cfg_attr(feature = "defmt", derive(defmt::Format))]
277#[derive(Clone, Copy, Debug, PartialEq, Eq)]
278pub enum Wuf5 {
279 #[doc = "0: No"]
280 NoFlag = 0,
281 #[doc = "1: Yes"]
282 Flag = 1,
283}
284impl From<Wuf5> for bool {
285 #[inline(always)]
286 fn from(variant: Wuf5) -> Self {
287 variant as u8 != 0
288 }
289}
290#[doc = "Field `WUF5` reader - Wake-up Flag for WUU_Pn"]
291pub type Wuf5R = crate::BitReader<Wuf5>;
292impl Wuf5R {
293 #[doc = "Get enumerated values variant"]
294 #[inline(always)]
295 pub const fn variant(&self) -> Wuf5 {
296 match self.bits {
297 false => Wuf5::NoFlag,
298 true => Wuf5::Flag,
299 }
300 }
301 #[doc = "No"]
302 #[inline(always)]
303 pub fn is_no_flag(&self) -> bool {
304 *self == Wuf5::NoFlag
305 }
306 #[doc = "Yes"]
307 #[inline(always)]
308 pub fn is_flag(&self) -> bool {
309 *self == Wuf5::Flag
310 }
311}
312#[doc = "Field `WUF5` writer - Wake-up Flag for WUU_Pn"]
313pub type Wuf5W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf5>;
314impl<'a, REG> Wuf5W<'a, REG>
315where
316 REG: crate::Writable + crate::RegisterSpec,
317{
318 #[doc = "No"]
319 #[inline(always)]
320 pub fn no_flag(self) -> &'a mut crate::W<REG> {
321 self.variant(Wuf5::NoFlag)
322 }
323 #[doc = "Yes"]
324 #[inline(always)]
325 pub fn flag(self) -> &'a mut crate::W<REG> {
326 self.variant(Wuf5::Flag)
327 }
328}
329#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
330#[cfg_attr(feature = "defmt", derive(defmt::Format))]
331#[derive(Clone, Copy, Debug, PartialEq, Eq)]
332pub enum Wuf6 {
333 #[doc = "0: No"]
334 NoFlag = 0,
335 #[doc = "1: Yes"]
336 Flag = 1,
337}
338impl From<Wuf6> for bool {
339 #[inline(always)]
340 fn from(variant: Wuf6) -> Self {
341 variant as u8 != 0
342 }
343}
344#[doc = "Field `WUF6` reader - Wake-up Flag for WUU_Pn"]
345pub type Wuf6R = crate::BitReader<Wuf6>;
346impl Wuf6R {
347 #[doc = "Get enumerated values variant"]
348 #[inline(always)]
349 pub const fn variant(&self) -> Wuf6 {
350 match self.bits {
351 false => Wuf6::NoFlag,
352 true => Wuf6::Flag,
353 }
354 }
355 #[doc = "No"]
356 #[inline(always)]
357 pub fn is_no_flag(&self) -> bool {
358 *self == Wuf6::NoFlag
359 }
360 #[doc = "Yes"]
361 #[inline(always)]
362 pub fn is_flag(&self) -> bool {
363 *self == Wuf6::Flag
364 }
365}
366#[doc = "Field `WUF6` writer - Wake-up Flag for WUU_Pn"]
367pub type Wuf6W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf6>;
368impl<'a, REG> Wuf6W<'a, REG>
369where
370 REG: crate::Writable + crate::RegisterSpec,
371{
372 #[doc = "No"]
373 #[inline(always)]
374 pub fn no_flag(self) -> &'a mut crate::W<REG> {
375 self.variant(Wuf6::NoFlag)
376 }
377 #[doc = "Yes"]
378 #[inline(always)]
379 pub fn flag(self) -> &'a mut crate::W<REG> {
380 self.variant(Wuf6::Flag)
381 }
382}
383#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
384#[cfg_attr(feature = "defmt", derive(defmt::Format))]
385#[derive(Clone, Copy, Debug, PartialEq, Eq)]
386pub enum Wuf7 {
387 #[doc = "0: No"]
388 NoFlag = 0,
389 #[doc = "1: Yes"]
390 Flag = 1,
391}
392impl From<Wuf7> for bool {
393 #[inline(always)]
394 fn from(variant: Wuf7) -> Self {
395 variant as u8 != 0
396 }
397}
398#[doc = "Field `WUF7` reader - Wake-up Flag for WUU_Pn"]
399pub type Wuf7R = crate::BitReader<Wuf7>;
400impl Wuf7R {
401 #[doc = "Get enumerated values variant"]
402 #[inline(always)]
403 pub const fn variant(&self) -> Wuf7 {
404 match self.bits {
405 false => Wuf7::NoFlag,
406 true => Wuf7::Flag,
407 }
408 }
409 #[doc = "No"]
410 #[inline(always)]
411 pub fn is_no_flag(&self) -> bool {
412 *self == Wuf7::NoFlag
413 }
414 #[doc = "Yes"]
415 #[inline(always)]
416 pub fn is_flag(&self) -> bool {
417 *self == Wuf7::Flag
418 }
419}
420#[doc = "Field `WUF7` writer - Wake-up Flag for WUU_Pn"]
421pub type Wuf7W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf7>;
422impl<'a, REG> Wuf7W<'a, REG>
423where
424 REG: crate::Writable + crate::RegisterSpec,
425{
426 #[doc = "No"]
427 #[inline(always)]
428 pub fn no_flag(self) -> &'a mut crate::W<REG> {
429 self.variant(Wuf7::NoFlag)
430 }
431 #[doc = "Yes"]
432 #[inline(always)]
433 pub fn flag(self) -> &'a mut crate::W<REG> {
434 self.variant(Wuf7::Flag)
435 }
436}
437#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
438#[cfg_attr(feature = "defmt", derive(defmt::Format))]
439#[derive(Clone, Copy, Debug, PartialEq, Eq)]
440pub enum Wuf8 {
441 #[doc = "0: No"]
442 NoFlag = 0,
443 #[doc = "1: Yes"]
444 Flag = 1,
445}
446impl From<Wuf8> for bool {
447 #[inline(always)]
448 fn from(variant: Wuf8) -> Self {
449 variant as u8 != 0
450 }
451}
452#[doc = "Field `WUF8` reader - Wake-up Flag for WUU_Pn"]
453pub type Wuf8R = crate::BitReader<Wuf8>;
454impl Wuf8R {
455 #[doc = "Get enumerated values variant"]
456 #[inline(always)]
457 pub const fn variant(&self) -> Wuf8 {
458 match self.bits {
459 false => Wuf8::NoFlag,
460 true => Wuf8::Flag,
461 }
462 }
463 #[doc = "No"]
464 #[inline(always)]
465 pub fn is_no_flag(&self) -> bool {
466 *self == Wuf8::NoFlag
467 }
468 #[doc = "Yes"]
469 #[inline(always)]
470 pub fn is_flag(&self) -> bool {
471 *self == Wuf8::Flag
472 }
473}
474#[doc = "Field `WUF8` writer - Wake-up Flag for WUU_Pn"]
475pub type Wuf8W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf8>;
476impl<'a, REG> Wuf8W<'a, REG>
477where
478 REG: crate::Writable + crate::RegisterSpec,
479{
480 #[doc = "No"]
481 #[inline(always)]
482 pub fn no_flag(self) -> &'a mut crate::W<REG> {
483 self.variant(Wuf8::NoFlag)
484 }
485 #[doc = "Yes"]
486 #[inline(always)]
487 pub fn flag(self) -> &'a mut crate::W<REG> {
488 self.variant(Wuf8::Flag)
489 }
490}
491#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
492#[cfg_attr(feature = "defmt", derive(defmt::Format))]
493#[derive(Clone, Copy, Debug, PartialEq, Eq)]
494pub enum Wuf9 {
495 #[doc = "0: No"]
496 NoFlag = 0,
497 #[doc = "1: Yes"]
498 Flag = 1,
499}
500impl From<Wuf9> for bool {
501 #[inline(always)]
502 fn from(variant: Wuf9) -> Self {
503 variant as u8 != 0
504 }
505}
506#[doc = "Field `WUF9` reader - Wake-up Flag for WUU_Pn"]
507pub type Wuf9R = crate::BitReader<Wuf9>;
508impl Wuf9R {
509 #[doc = "Get enumerated values variant"]
510 #[inline(always)]
511 pub const fn variant(&self) -> Wuf9 {
512 match self.bits {
513 false => Wuf9::NoFlag,
514 true => Wuf9::Flag,
515 }
516 }
517 #[doc = "No"]
518 #[inline(always)]
519 pub fn is_no_flag(&self) -> bool {
520 *self == Wuf9::NoFlag
521 }
522 #[doc = "Yes"]
523 #[inline(always)]
524 pub fn is_flag(&self) -> bool {
525 *self == Wuf9::Flag
526 }
527}
528#[doc = "Field `WUF9` writer - Wake-up Flag for WUU_Pn"]
529pub type Wuf9W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf9>;
530impl<'a, REG> Wuf9W<'a, REG>
531where
532 REG: crate::Writable + crate::RegisterSpec,
533{
534 #[doc = "No"]
535 #[inline(always)]
536 pub fn no_flag(self) -> &'a mut crate::W<REG> {
537 self.variant(Wuf9::NoFlag)
538 }
539 #[doc = "Yes"]
540 #[inline(always)]
541 pub fn flag(self) -> &'a mut crate::W<REG> {
542 self.variant(Wuf9::Flag)
543 }
544}
545#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
546#[cfg_attr(feature = "defmt", derive(defmt::Format))]
547#[derive(Clone, Copy, Debug, PartialEq, Eq)]
548pub enum Wuf10 {
549 #[doc = "0: No"]
550 NoFlag = 0,
551 #[doc = "1: Yes"]
552 Flag = 1,
553}
554impl From<Wuf10> for bool {
555 #[inline(always)]
556 fn from(variant: Wuf10) -> Self {
557 variant as u8 != 0
558 }
559}
560#[doc = "Field `WUF10` reader - Wake-up Flag for WUU_Pn"]
561pub type Wuf10R = crate::BitReader<Wuf10>;
562impl Wuf10R {
563 #[doc = "Get enumerated values variant"]
564 #[inline(always)]
565 pub const fn variant(&self) -> Wuf10 {
566 match self.bits {
567 false => Wuf10::NoFlag,
568 true => Wuf10::Flag,
569 }
570 }
571 #[doc = "No"]
572 #[inline(always)]
573 pub fn is_no_flag(&self) -> bool {
574 *self == Wuf10::NoFlag
575 }
576 #[doc = "Yes"]
577 #[inline(always)]
578 pub fn is_flag(&self) -> bool {
579 *self == Wuf10::Flag
580 }
581}
582#[doc = "Field `WUF10` writer - Wake-up Flag for WUU_Pn"]
583pub type Wuf10W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf10>;
584impl<'a, REG> Wuf10W<'a, REG>
585where
586 REG: crate::Writable + crate::RegisterSpec,
587{
588 #[doc = "No"]
589 #[inline(always)]
590 pub fn no_flag(self) -> &'a mut crate::W<REG> {
591 self.variant(Wuf10::NoFlag)
592 }
593 #[doc = "Yes"]
594 #[inline(always)]
595 pub fn flag(self) -> &'a mut crate::W<REG> {
596 self.variant(Wuf10::Flag)
597 }
598}
599#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
600#[cfg_attr(feature = "defmt", derive(defmt::Format))]
601#[derive(Clone, Copy, Debug, PartialEq, Eq)]
602pub enum Wuf11 {
603 #[doc = "0: No"]
604 NoFlag = 0,
605 #[doc = "1: Yes"]
606 Flag = 1,
607}
608impl From<Wuf11> for bool {
609 #[inline(always)]
610 fn from(variant: Wuf11) -> Self {
611 variant as u8 != 0
612 }
613}
614#[doc = "Field `WUF11` reader - Wake-up Flag for WUU_Pn"]
615pub type Wuf11R = crate::BitReader<Wuf11>;
616impl Wuf11R {
617 #[doc = "Get enumerated values variant"]
618 #[inline(always)]
619 pub const fn variant(&self) -> Wuf11 {
620 match self.bits {
621 false => Wuf11::NoFlag,
622 true => Wuf11::Flag,
623 }
624 }
625 #[doc = "No"]
626 #[inline(always)]
627 pub fn is_no_flag(&self) -> bool {
628 *self == Wuf11::NoFlag
629 }
630 #[doc = "Yes"]
631 #[inline(always)]
632 pub fn is_flag(&self) -> bool {
633 *self == Wuf11::Flag
634 }
635}
636#[doc = "Field `WUF11` writer - Wake-up Flag for WUU_Pn"]
637pub type Wuf11W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf11>;
638impl<'a, REG> Wuf11W<'a, REG>
639where
640 REG: crate::Writable + crate::RegisterSpec,
641{
642 #[doc = "No"]
643 #[inline(always)]
644 pub fn no_flag(self) -> &'a mut crate::W<REG> {
645 self.variant(Wuf11::NoFlag)
646 }
647 #[doc = "Yes"]
648 #[inline(always)]
649 pub fn flag(self) -> &'a mut crate::W<REG> {
650 self.variant(Wuf11::Flag)
651 }
652}
653#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
654#[cfg_attr(feature = "defmt", derive(defmt::Format))]
655#[derive(Clone, Copy, Debug, PartialEq, Eq)]
656pub enum Wuf12 {
657 #[doc = "0: No"]
658 NoFlag = 0,
659 #[doc = "1: Yes"]
660 Flag = 1,
661}
662impl From<Wuf12> for bool {
663 #[inline(always)]
664 fn from(variant: Wuf12) -> Self {
665 variant as u8 != 0
666 }
667}
668#[doc = "Field `WUF12` reader - Wake-up Flag for WUU_Pn"]
669pub type Wuf12R = crate::BitReader<Wuf12>;
670impl Wuf12R {
671 #[doc = "Get enumerated values variant"]
672 #[inline(always)]
673 pub const fn variant(&self) -> Wuf12 {
674 match self.bits {
675 false => Wuf12::NoFlag,
676 true => Wuf12::Flag,
677 }
678 }
679 #[doc = "No"]
680 #[inline(always)]
681 pub fn is_no_flag(&self) -> bool {
682 *self == Wuf12::NoFlag
683 }
684 #[doc = "Yes"]
685 #[inline(always)]
686 pub fn is_flag(&self) -> bool {
687 *self == Wuf12::Flag
688 }
689}
690#[doc = "Field `WUF12` writer - Wake-up Flag for WUU_Pn"]
691pub type Wuf12W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf12>;
692impl<'a, REG> Wuf12W<'a, REG>
693where
694 REG: crate::Writable + crate::RegisterSpec,
695{
696 #[doc = "No"]
697 #[inline(always)]
698 pub fn no_flag(self) -> &'a mut crate::W<REG> {
699 self.variant(Wuf12::NoFlag)
700 }
701 #[doc = "Yes"]
702 #[inline(always)]
703 pub fn flag(self) -> &'a mut crate::W<REG> {
704 self.variant(Wuf12::Flag)
705 }
706}
707#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
708#[cfg_attr(feature = "defmt", derive(defmt::Format))]
709#[derive(Clone, Copy, Debug, PartialEq, Eq)]
710pub enum Wuf13 {
711 #[doc = "0: No"]
712 NoFlag = 0,
713 #[doc = "1: Yes"]
714 Flag = 1,
715}
716impl From<Wuf13> for bool {
717 #[inline(always)]
718 fn from(variant: Wuf13) -> Self {
719 variant as u8 != 0
720 }
721}
722#[doc = "Field `WUF13` reader - Wake-up Flag for WUU_Pn"]
723pub type Wuf13R = crate::BitReader<Wuf13>;
724impl Wuf13R {
725 #[doc = "Get enumerated values variant"]
726 #[inline(always)]
727 pub const fn variant(&self) -> Wuf13 {
728 match self.bits {
729 false => Wuf13::NoFlag,
730 true => Wuf13::Flag,
731 }
732 }
733 #[doc = "No"]
734 #[inline(always)]
735 pub fn is_no_flag(&self) -> bool {
736 *self == Wuf13::NoFlag
737 }
738 #[doc = "Yes"]
739 #[inline(always)]
740 pub fn is_flag(&self) -> bool {
741 *self == Wuf13::Flag
742 }
743}
744#[doc = "Field `WUF13` writer - Wake-up Flag for WUU_Pn"]
745pub type Wuf13W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf13>;
746impl<'a, REG> Wuf13W<'a, REG>
747where
748 REG: crate::Writable + crate::RegisterSpec,
749{
750 #[doc = "No"]
751 #[inline(always)]
752 pub fn no_flag(self) -> &'a mut crate::W<REG> {
753 self.variant(Wuf13::NoFlag)
754 }
755 #[doc = "Yes"]
756 #[inline(always)]
757 pub fn flag(self) -> &'a mut crate::W<REG> {
758 self.variant(Wuf13::Flag)
759 }
760}
761#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
762#[cfg_attr(feature = "defmt", derive(defmt::Format))]
763#[derive(Clone, Copy, Debug, PartialEq, Eq)]
764pub enum Wuf14 {
765 #[doc = "0: No"]
766 NoFlag = 0,
767 #[doc = "1: Yes"]
768 Flag = 1,
769}
770impl From<Wuf14> for bool {
771 #[inline(always)]
772 fn from(variant: Wuf14) -> Self {
773 variant as u8 != 0
774 }
775}
776#[doc = "Field `WUF14` reader - Wake-up Flag for WUU_Pn"]
777pub type Wuf14R = crate::BitReader<Wuf14>;
778impl Wuf14R {
779 #[doc = "Get enumerated values variant"]
780 #[inline(always)]
781 pub const fn variant(&self) -> Wuf14 {
782 match self.bits {
783 false => Wuf14::NoFlag,
784 true => Wuf14::Flag,
785 }
786 }
787 #[doc = "No"]
788 #[inline(always)]
789 pub fn is_no_flag(&self) -> bool {
790 *self == Wuf14::NoFlag
791 }
792 #[doc = "Yes"]
793 #[inline(always)]
794 pub fn is_flag(&self) -> bool {
795 *self == Wuf14::Flag
796 }
797}
798#[doc = "Field `WUF14` writer - Wake-up Flag for WUU_Pn"]
799pub type Wuf14W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf14>;
800impl<'a, REG> Wuf14W<'a, REG>
801where
802 REG: crate::Writable + crate::RegisterSpec,
803{
804 #[doc = "No"]
805 #[inline(always)]
806 pub fn no_flag(self) -> &'a mut crate::W<REG> {
807 self.variant(Wuf14::NoFlag)
808 }
809 #[doc = "Yes"]
810 #[inline(always)]
811 pub fn flag(self) -> &'a mut crate::W<REG> {
812 self.variant(Wuf14::Flag)
813 }
814}
815#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
816#[cfg_attr(feature = "defmt", derive(defmt::Format))]
817#[derive(Clone, Copy, Debug, PartialEq, Eq)]
818pub enum Wuf15 {
819 #[doc = "0: No"]
820 NoFlag = 0,
821 #[doc = "1: Yes"]
822 Flag = 1,
823}
824impl From<Wuf15> for bool {
825 #[inline(always)]
826 fn from(variant: Wuf15) -> Self {
827 variant as u8 != 0
828 }
829}
830#[doc = "Field `WUF15` reader - Wake-up Flag for WUU_Pn"]
831pub type Wuf15R = crate::BitReader<Wuf15>;
832impl Wuf15R {
833 #[doc = "Get enumerated values variant"]
834 #[inline(always)]
835 pub const fn variant(&self) -> Wuf15 {
836 match self.bits {
837 false => Wuf15::NoFlag,
838 true => Wuf15::Flag,
839 }
840 }
841 #[doc = "No"]
842 #[inline(always)]
843 pub fn is_no_flag(&self) -> bool {
844 *self == Wuf15::NoFlag
845 }
846 #[doc = "Yes"]
847 #[inline(always)]
848 pub fn is_flag(&self) -> bool {
849 *self == Wuf15::Flag
850 }
851}
852#[doc = "Field `WUF15` writer - Wake-up Flag for WUU_Pn"]
853pub type Wuf15W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf15>;
854impl<'a, REG> Wuf15W<'a, REG>
855where
856 REG: crate::Writable + crate::RegisterSpec,
857{
858 #[doc = "No"]
859 #[inline(always)]
860 pub fn no_flag(self) -> &'a mut crate::W<REG> {
861 self.variant(Wuf15::NoFlag)
862 }
863 #[doc = "Yes"]
864 #[inline(always)]
865 pub fn flag(self) -> &'a mut crate::W<REG> {
866 self.variant(Wuf15::Flag)
867 }
868}
869#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
870#[cfg_attr(feature = "defmt", derive(defmt::Format))]
871#[derive(Clone, Copy, Debug, PartialEq, Eq)]
872pub enum Wuf16 {
873 #[doc = "0: No"]
874 NoFlag = 0,
875 #[doc = "1: Yes"]
876 Flag = 1,
877}
878impl From<Wuf16> for bool {
879 #[inline(always)]
880 fn from(variant: Wuf16) -> Self {
881 variant as u8 != 0
882 }
883}
884#[doc = "Field `WUF16` reader - Wake-up Flag for WUU_Pn"]
885pub type Wuf16R = crate::BitReader<Wuf16>;
886impl Wuf16R {
887 #[doc = "Get enumerated values variant"]
888 #[inline(always)]
889 pub const fn variant(&self) -> Wuf16 {
890 match self.bits {
891 false => Wuf16::NoFlag,
892 true => Wuf16::Flag,
893 }
894 }
895 #[doc = "No"]
896 #[inline(always)]
897 pub fn is_no_flag(&self) -> bool {
898 *self == Wuf16::NoFlag
899 }
900 #[doc = "Yes"]
901 #[inline(always)]
902 pub fn is_flag(&self) -> bool {
903 *self == Wuf16::Flag
904 }
905}
906#[doc = "Field `WUF16` writer - Wake-up Flag for WUU_Pn"]
907pub type Wuf16W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf16>;
908impl<'a, REG> Wuf16W<'a, REG>
909where
910 REG: crate::Writable + crate::RegisterSpec,
911{
912 #[doc = "No"]
913 #[inline(always)]
914 pub fn no_flag(self) -> &'a mut crate::W<REG> {
915 self.variant(Wuf16::NoFlag)
916 }
917 #[doc = "Yes"]
918 #[inline(always)]
919 pub fn flag(self) -> &'a mut crate::W<REG> {
920 self.variant(Wuf16::Flag)
921 }
922}
923#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
924#[cfg_attr(feature = "defmt", derive(defmt::Format))]
925#[derive(Clone, Copy, Debug, PartialEq, Eq)]
926pub enum Wuf17 {
927 #[doc = "0: No"]
928 NoFlag = 0,
929 #[doc = "1: Yes"]
930 Flag = 1,
931}
932impl From<Wuf17> for bool {
933 #[inline(always)]
934 fn from(variant: Wuf17) -> Self {
935 variant as u8 != 0
936 }
937}
938#[doc = "Field `WUF17` reader - Wake-up Flag for WUU_Pn"]
939pub type Wuf17R = crate::BitReader<Wuf17>;
940impl Wuf17R {
941 #[doc = "Get enumerated values variant"]
942 #[inline(always)]
943 pub const fn variant(&self) -> Wuf17 {
944 match self.bits {
945 false => Wuf17::NoFlag,
946 true => Wuf17::Flag,
947 }
948 }
949 #[doc = "No"]
950 #[inline(always)]
951 pub fn is_no_flag(&self) -> bool {
952 *self == Wuf17::NoFlag
953 }
954 #[doc = "Yes"]
955 #[inline(always)]
956 pub fn is_flag(&self) -> bool {
957 *self == Wuf17::Flag
958 }
959}
960#[doc = "Field `WUF17` writer - Wake-up Flag for WUU_Pn"]
961pub type Wuf17W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf17>;
962impl<'a, REG> Wuf17W<'a, REG>
963where
964 REG: crate::Writable + crate::RegisterSpec,
965{
966 #[doc = "No"]
967 #[inline(always)]
968 pub fn no_flag(self) -> &'a mut crate::W<REG> {
969 self.variant(Wuf17::NoFlag)
970 }
971 #[doc = "Yes"]
972 #[inline(always)]
973 pub fn flag(self) -> &'a mut crate::W<REG> {
974 self.variant(Wuf17::Flag)
975 }
976}
977#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
978#[cfg_attr(feature = "defmt", derive(defmt::Format))]
979#[derive(Clone, Copy, Debug, PartialEq, Eq)]
980pub enum Wuf18 {
981 #[doc = "0: No"]
982 NoFlag = 0,
983 #[doc = "1: Yes"]
984 Flag = 1,
985}
986impl From<Wuf18> for bool {
987 #[inline(always)]
988 fn from(variant: Wuf18) -> Self {
989 variant as u8 != 0
990 }
991}
992#[doc = "Field `WUF18` reader - Wake-up Flag for WUU_Pn"]
993pub type Wuf18R = crate::BitReader<Wuf18>;
994impl Wuf18R {
995 #[doc = "Get enumerated values variant"]
996 #[inline(always)]
997 pub const fn variant(&self) -> Wuf18 {
998 match self.bits {
999 false => Wuf18::NoFlag,
1000 true => Wuf18::Flag,
1001 }
1002 }
1003 #[doc = "No"]
1004 #[inline(always)]
1005 pub fn is_no_flag(&self) -> bool {
1006 *self == Wuf18::NoFlag
1007 }
1008 #[doc = "Yes"]
1009 #[inline(always)]
1010 pub fn is_flag(&self) -> bool {
1011 *self == Wuf18::Flag
1012 }
1013}
1014#[doc = "Field `WUF18` writer - Wake-up Flag for WUU_Pn"]
1015pub type Wuf18W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf18>;
1016impl<'a, REG> Wuf18W<'a, REG>
1017where
1018 REG: crate::Writable + crate::RegisterSpec,
1019{
1020 #[doc = "No"]
1021 #[inline(always)]
1022 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1023 self.variant(Wuf18::NoFlag)
1024 }
1025 #[doc = "Yes"]
1026 #[inline(always)]
1027 pub fn flag(self) -> &'a mut crate::W<REG> {
1028 self.variant(Wuf18::Flag)
1029 }
1030}
1031#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1032#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1033#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1034pub enum Wuf19 {
1035 #[doc = "0: No"]
1036 NoFlag = 0,
1037 #[doc = "1: Yes"]
1038 Flag = 1,
1039}
1040impl From<Wuf19> for bool {
1041 #[inline(always)]
1042 fn from(variant: Wuf19) -> Self {
1043 variant as u8 != 0
1044 }
1045}
1046#[doc = "Field `WUF19` reader - Wake-up Flag for WUU_Pn"]
1047pub type Wuf19R = crate::BitReader<Wuf19>;
1048impl Wuf19R {
1049 #[doc = "Get enumerated values variant"]
1050 #[inline(always)]
1051 pub const fn variant(&self) -> Wuf19 {
1052 match self.bits {
1053 false => Wuf19::NoFlag,
1054 true => Wuf19::Flag,
1055 }
1056 }
1057 #[doc = "No"]
1058 #[inline(always)]
1059 pub fn is_no_flag(&self) -> bool {
1060 *self == Wuf19::NoFlag
1061 }
1062 #[doc = "Yes"]
1063 #[inline(always)]
1064 pub fn is_flag(&self) -> bool {
1065 *self == Wuf19::Flag
1066 }
1067}
1068#[doc = "Field `WUF19` writer - Wake-up Flag for WUU_Pn"]
1069pub type Wuf19W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf19>;
1070impl<'a, REG> Wuf19W<'a, REG>
1071where
1072 REG: crate::Writable + crate::RegisterSpec,
1073{
1074 #[doc = "No"]
1075 #[inline(always)]
1076 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1077 self.variant(Wuf19::NoFlag)
1078 }
1079 #[doc = "Yes"]
1080 #[inline(always)]
1081 pub fn flag(self) -> &'a mut crate::W<REG> {
1082 self.variant(Wuf19::Flag)
1083 }
1084}
1085#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1086#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1087#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1088pub enum Wuf20 {
1089 #[doc = "0: No"]
1090 NoFlag = 0,
1091 #[doc = "1: Yes"]
1092 Flag = 1,
1093}
1094impl From<Wuf20> for bool {
1095 #[inline(always)]
1096 fn from(variant: Wuf20) -> Self {
1097 variant as u8 != 0
1098 }
1099}
1100#[doc = "Field `WUF20` reader - Wake-up Flag for WUU_Pn"]
1101pub type Wuf20R = crate::BitReader<Wuf20>;
1102impl Wuf20R {
1103 #[doc = "Get enumerated values variant"]
1104 #[inline(always)]
1105 pub const fn variant(&self) -> Wuf20 {
1106 match self.bits {
1107 false => Wuf20::NoFlag,
1108 true => Wuf20::Flag,
1109 }
1110 }
1111 #[doc = "No"]
1112 #[inline(always)]
1113 pub fn is_no_flag(&self) -> bool {
1114 *self == Wuf20::NoFlag
1115 }
1116 #[doc = "Yes"]
1117 #[inline(always)]
1118 pub fn is_flag(&self) -> bool {
1119 *self == Wuf20::Flag
1120 }
1121}
1122#[doc = "Field `WUF20` writer - Wake-up Flag for WUU_Pn"]
1123pub type Wuf20W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf20>;
1124impl<'a, REG> Wuf20W<'a, REG>
1125where
1126 REG: crate::Writable + crate::RegisterSpec,
1127{
1128 #[doc = "No"]
1129 #[inline(always)]
1130 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1131 self.variant(Wuf20::NoFlag)
1132 }
1133 #[doc = "Yes"]
1134 #[inline(always)]
1135 pub fn flag(self) -> &'a mut crate::W<REG> {
1136 self.variant(Wuf20::Flag)
1137 }
1138}
1139#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1140#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1141#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1142pub enum Wuf21 {
1143 #[doc = "0: No"]
1144 NoFlag = 0,
1145 #[doc = "1: Yes"]
1146 Flag = 1,
1147}
1148impl From<Wuf21> for bool {
1149 #[inline(always)]
1150 fn from(variant: Wuf21) -> Self {
1151 variant as u8 != 0
1152 }
1153}
1154#[doc = "Field `WUF21` reader - Wake-up Flag for WUU_Pn"]
1155pub type Wuf21R = crate::BitReader<Wuf21>;
1156impl Wuf21R {
1157 #[doc = "Get enumerated values variant"]
1158 #[inline(always)]
1159 pub const fn variant(&self) -> Wuf21 {
1160 match self.bits {
1161 false => Wuf21::NoFlag,
1162 true => Wuf21::Flag,
1163 }
1164 }
1165 #[doc = "No"]
1166 #[inline(always)]
1167 pub fn is_no_flag(&self) -> bool {
1168 *self == Wuf21::NoFlag
1169 }
1170 #[doc = "Yes"]
1171 #[inline(always)]
1172 pub fn is_flag(&self) -> bool {
1173 *self == Wuf21::Flag
1174 }
1175}
1176#[doc = "Field `WUF21` writer - Wake-up Flag for WUU_Pn"]
1177pub type Wuf21W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf21>;
1178impl<'a, REG> Wuf21W<'a, REG>
1179where
1180 REG: crate::Writable + crate::RegisterSpec,
1181{
1182 #[doc = "No"]
1183 #[inline(always)]
1184 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1185 self.variant(Wuf21::NoFlag)
1186 }
1187 #[doc = "Yes"]
1188 #[inline(always)]
1189 pub fn flag(self) -> &'a mut crate::W<REG> {
1190 self.variant(Wuf21::Flag)
1191 }
1192}
1193#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1194#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1195#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1196pub enum Wuf22 {
1197 #[doc = "0: No"]
1198 NoFlag = 0,
1199 #[doc = "1: Yes"]
1200 Flag = 1,
1201}
1202impl From<Wuf22> for bool {
1203 #[inline(always)]
1204 fn from(variant: Wuf22) -> Self {
1205 variant as u8 != 0
1206 }
1207}
1208#[doc = "Field `WUF22` reader - Wake-up Flag for WUU_Pn"]
1209pub type Wuf22R = crate::BitReader<Wuf22>;
1210impl Wuf22R {
1211 #[doc = "Get enumerated values variant"]
1212 #[inline(always)]
1213 pub const fn variant(&self) -> Wuf22 {
1214 match self.bits {
1215 false => Wuf22::NoFlag,
1216 true => Wuf22::Flag,
1217 }
1218 }
1219 #[doc = "No"]
1220 #[inline(always)]
1221 pub fn is_no_flag(&self) -> bool {
1222 *self == Wuf22::NoFlag
1223 }
1224 #[doc = "Yes"]
1225 #[inline(always)]
1226 pub fn is_flag(&self) -> bool {
1227 *self == Wuf22::Flag
1228 }
1229}
1230#[doc = "Field `WUF22` writer - Wake-up Flag for WUU_Pn"]
1231pub type Wuf22W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf22>;
1232impl<'a, REG> Wuf22W<'a, REG>
1233where
1234 REG: crate::Writable + crate::RegisterSpec,
1235{
1236 #[doc = "No"]
1237 #[inline(always)]
1238 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1239 self.variant(Wuf22::NoFlag)
1240 }
1241 #[doc = "Yes"]
1242 #[inline(always)]
1243 pub fn flag(self) -> &'a mut crate::W<REG> {
1244 self.variant(Wuf22::Flag)
1245 }
1246}
1247#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1248#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1249#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1250pub enum Wuf23 {
1251 #[doc = "0: No"]
1252 NoFlag = 0,
1253 #[doc = "1: Yes"]
1254 Flag = 1,
1255}
1256impl From<Wuf23> for bool {
1257 #[inline(always)]
1258 fn from(variant: Wuf23) -> Self {
1259 variant as u8 != 0
1260 }
1261}
1262#[doc = "Field `WUF23` reader - Wake-up Flag for WUU_Pn"]
1263pub type Wuf23R = crate::BitReader<Wuf23>;
1264impl Wuf23R {
1265 #[doc = "Get enumerated values variant"]
1266 #[inline(always)]
1267 pub const fn variant(&self) -> Wuf23 {
1268 match self.bits {
1269 false => Wuf23::NoFlag,
1270 true => Wuf23::Flag,
1271 }
1272 }
1273 #[doc = "No"]
1274 #[inline(always)]
1275 pub fn is_no_flag(&self) -> bool {
1276 *self == Wuf23::NoFlag
1277 }
1278 #[doc = "Yes"]
1279 #[inline(always)]
1280 pub fn is_flag(&self) -> bool {
1281 *self == Wuf23::Flag
1282 }
1283}
1284#[doc = "Field `WUF23` writer - Wake-up Flag for WUU_Pn"]
1285pub type Wuf23W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf23>;
1286impl<'a, REG> Wuf23W<'a, REG>
1287where
1288 REG: crate::Writable + crate::RegisterSpec,
1289{
1290 #[doc = "No"]
1291 #[inline(always)]
1292 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1293 self.variant(Wuf23::NoFlag)
1294 }
1295 #[doc = "Yes"]
1296 #[inline(always)]
1297 pub fn flag(self) -> &'a mut crate::W<REG> {
1298 self.variant(Wuf23::Flag)
1299 }
1300}
1301#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1302#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1303#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1304pub enum Wuf24 {
1305 #[doc = "0: No"]
1306 NoFlag = 0,
1307 #[doc = "1: Yes"]
1308 Flag = 1,
1309}
1310impl From<Wuf24> for bool {
1311 #[inline(always)]
1312 fn from(variant: Wuf24) -> Self {
1313 variant as u8 != 0
1314 }
1315}
1316#[doc = "Field `WUF24` reader - Wake-up Flag for WUU_Pn"]
1317pub type Wuf24R = crate::BitReader<Wuf24>;
1318impl Wuf24R {
1319 #[doc = "Get enumerated values variant"]
1320 #[inline(always)]
1321 pub const fn variant(&self) -> Wuf24 {
1322 match self.bits {
1323 false => Wuf24::NoFlag,
1324 true => Wuf24::Flag,
1325 }
1326 }
1327 #[doc = "No"]
1328 #[inline(always)]
1329 pub fn is_no_flag(&self) -> bool {
1330 *self == Wuf24::NoFlag
1331 }
1332 #[doc = "Yes"]
1333 #[inline(always)]
1334 pub fn is_flag(&self) -> bool {
1335 *self == Wuf24::Flag
1336 }
1337}
1338#[doc = "Field `WUF24` writer - Wake-up Flag for WUU_Pn"]
1339pub type Wuf24W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf24>;
1340impl<'a, REG> Wuf24W<'a, REG>
1341where
1342 REG: crate::Writable + crate::RegisterSpec,
1343{
1344 #[doc = "No"]
1345 #[inline(always)]
1346 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1347 self.variant(Wuf24::NoFlag)
1348 }
1349 #[doc = "Yes"]
1350 #[inline(always)]
1351 pub fn flag(self) -> &'a mut crate::W<REG> {
1352 self.variant(Wuf24::Flag)
1353 }
1354}
1355#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1356#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1357#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1358pub enum Wuf25 {
1359 #[doc = "0: No"]
1360 NoFlag = 0,
1361 #[doc = "1: Yes"]
1362 Flag = 1,
1363}
1364impl From<Wuf25> for bool {
1365 #[inline(always)]
1366 fn from(variant: Wuf25) -> Self {
1367 variant as u8 != 0
1368 }
1369}
1370#[doc = "Field `WUF25` reader - Wake-up Flag for WUU_Pn"]
1371pub type Wuf25R = crate::BitReader<Wuf25>;
1372impl Wuf25R {
1373 #[doc = "Get enumerated values variant"]
1374 #[inline(always)]
1375 pub const fn variant(&self) -> Wuf25 {
1376 match self.bits {
1377 false => Wuf25::NoFlag,
1378 true => Wuf25::Flag,
1379 }
1380 }
1381 #[doc = "No"]
1382 #[inline(always)]
1383 pub fn is_no_flag(&self) -> bool {
1384 *self == Wuf25::NoFlag
1385 }
1386 #[doc = "Yes"]
1387 #[inline(always)]
1388 pub fn is_flag(&self) -> bool {
1389 *self == Wuf25::Flag
1390 }
1391}
1392#[doc = "Field `WUF25` writer - Wake-up Flag for WUU_Pn"]
1393pub type Wuf25W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf25>;
1394impl<'a, REG> Wuf25W<'a, REG>
1395where
1396 REG: crate::Writable + crate::RegisterSpec,
1397{
1398 #[doc = "No"]
1399 #[inline(always)]
1400 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1401 self.variant(Wuf25::NoFlag)
1402 }
1403 #[doc = "Yes"]
1404 #[inline(always)]
1405 pub fn flag(self) -> &'a mut crate::W<REG> {
1406 self.variant(Wuf25::Flag)
1407 }
1408}
1409#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1410#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1411#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1412pub enum Wuf26 {
1413 #[doc = "0: No"]
1414 NoFlag = 0,
1415 #[doc = "1: Yes"]
1416 Flag = 1,
1417}
1418impl From<Wuf26> for bool {
1419 #[inline(always)]
1420 fn from(variant: Wuf26) -> Self {
1421 variant as u8 != 0
1422 }
1423}
1424#[doc = "Field `WUF26` reader - Wake-up Flag for WUU_Pn"]
1425pub type Wuf26R = crate::BitReader<Wuf26>;
1426impl Wuf26R {
1427 #[doc = "Get enumerated values variant"]
1428 #[inline(always)]
1429 pub const fn variant(&self) -> Wuf26 {
1430 match self.bits {
1431 false => Wuf26::NoFlag,
1432 true => Wuf26::Flag,
1433 }
1434 }
1435 #[doc = "No"]
1436 #[inline(always)]
1437 pub fn is_no_flag(&self) -> bool {
1438 *self == Wuf26::NoFlag
1439 }
1440 #[doc = "Yes"]
1441 #[inline(always)]
1442 pub fn is_flag(&self) -> bool {
1443 *self == Wuf26::Flag
1444 }
1445}
1446#[doc = "Field `WUF26` writer - Wake-up Flag for WUU_Pn"]
1447pub type Wuf26W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf26>;
1448impl<'a, REG> Wuf26W<'a, REG>
1449where
1450 REG: crate::Writable + crate::RegisterSpec,
1451{
1452 #[doc = "No"]
1453 #[inline(always)]
1454 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1455 self.variant(Wuf26::NoFlag)
1456 }
1457 #[doc = "Yes"]
1458 #[inline(always)]
1459 pub fn flag(self) -> &'a mut crate::W<REG> {
1460 self.variant(Wuf26::Flag)
1461 }
1462}
1463#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1464#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1465#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1466pub enum Wuf27 {
1467 #[doc = "0: No"]
1468 NoFlag = 0,
1469 #[doc = "1: Yes"]
1470 Flag = 1,
1471}
1472impl From<Wuf27> for bool {
1473 #[inline(always)]
1474 fn from(variant: Wuf27) -> Self {
1475 variant as u8 != 0
1476 }
1477}
1478#[doc = "Field `WUF27` reader - Wake-up Flag for WUU_Pn"]
1479pub type Wuf27R = crate::BitReader<Wuf27>;
1480impl Wuf27R {
1481 #[doc = "Get enumerated values variant"]
1482 #[inline(always)]
1483 pub const fn variant(&self) -> Wuf27 {
1484 match self.bits {
1485 false => Wuf27::NoFlag,
1486 true => Wuf27::Flag,
1487 }
1488 }
1489 #[doc = "No"]
1490 #[inline(always)]
1491 pub fn is_no_flag(&self) -> bool {
1492 *self == Wuf27::NoFlag
1493 }
1494 #[doc = "Yes"]
1495 #[inline(always)]
1496 pub fn is_flag(&self) -> bool {
1497 *self == Wuf27::Flag
1498 }
1499}
1500#[doc = "Field `WUF27` writer - Wake-up Flag for WUU_Pn"]
1501pub type Wuf27W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf27>;
1502impl<'a, REG> Wuf27W<'a, REG>
1503where
1504 REG: crate::Writable + crate::RegisterSpec,
1505{
1506 #[doc = "No"]
1507 #[inline(always)]
1508 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1509 self.variant(Wuf27::NoFlag)
1510 }
1511 #[doc = "Yes"]
1512 #[inline(always)]
1513 pub fn flag(self) -> &'a mut crate::W<REG> {
1514 self.variant(Wuf27::Flag)
1515 }
1516}
1517#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1518#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1519#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1520pub enum Wuf28 {
1521 #[doc = "0: No"]
1522 NoFlag = 0,
1523 #[doc = "1: Yes"]
1524 Flag = 1,
1525}
1526impl From<Wuf28> for bool {
1527 #[inline(always)]
1528 fn from(variant: Wuf28) -> Self {
1529 variant as u8 != 0
1530 }
1531}
1532#[doc = "Field `WUF28` reader - Wake-up Flag for WUU_Pn"]
1533pub type Wuf28R = crate::BitReader<Wuf28>;
1534impl Wuf28R {
1535 #[doc = "Get enumerated values variant"]
1536 #[inline(always)]
1537 pub const fn variant(&self) -> Wuf28 {
1538 match self.bits {
1539 false => Wuf28::NoFlag,
1540 true => Wuf28::Flag,
1541 }
1542 }
1543 #[doc = "No"]
1544 #[inline(always)]
1545 pub fn is_no_flag(&self) -> bool {
1546 *self == Wuf28::NoFlag
1547 }
1548 #[doc = "Yes"]
1549 #[inline(always)]
1550 pub fn is_flag(&self) -> bool {
1551 *self == Wuf28::Flag
1552 }
1553}
1554#[doc = "Field `WUF28` writer - Wake-up Flag for WUU_Pn"]
1555pub type Wuf28W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf28>;
1556impl<'a, REG> Wuf28W<'a, REG>
1557where
1558 REG: crate::Writable + crate::RegisterSpec,
1559{
1560 #[doc = "No"]
1561 #[inline(always)]
1562 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1563 self.variant(Wuf28::NoFlag)
1564 }
1565 #[doc = "Yes"]
1566 #[inline(always)]
1567 pub fn flag(self) -> &'a mut crate::W<REG> {
1568 self.variant(Wuf28::Flag)
1569 }
1570}
1571#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1572#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1573#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1574pub enum Wuf29 {
1575 #[doc = "0: No"]
1576 NoFlag = 0,
1577 #[doc = "1: Yes"]
1578 Flag = 1,
1579}
1580impl From<Wuf29> for bool {
1581 #[inline(always)]
1582 fn from(variant: Wuf29) -> Self {
1583 variant as u8 != 0
1584 }
1585}
1586#[doc = "Field `WUF29` reader - Wake-up Flag for WUU_Pn"]
1587pub type Wuf29R = crate::BitReader<Wuf29>;
1588impl Wuf29R {
1589 #[doc = "Get enumerated values variant"]
1590 #[inline(always)]
1591 pub const fn variant(&self) -> Wuf29 {
1592 match self.bits {
1593 false => Wuf29::NoFlag,
1594 true => Wuf29::Flag,
1595 }
1596 }
1597 #[doc = "No"]
1598 #[inline(always)]
1599 pub fn is_no_flag(&self) -> bool {
1600 *self == Wuf29::NoFlag
1601 }
1602 #[doc = "Yes"]
1603 #[inline(always)]
1604 pub fn is_flag(&self) -> bool {
1605 *self == Wuf29::Flag
1606 }
1607}
1608#[doc = "Field `WUF29` writer - Wake-up Flag for WUU_Pn"]
1609pub type Wuf29W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf29>;
1610impl<'a, REG> Wuf29W<'a, REG>
1611where
1612 REG: crate::Writable + crate::RegisterSpec,
1613{
1614 #[doc = "No"]
1615 #[inline(always)]
1616 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1617 self.variant(Wuf29::NoFlag)
1618 }
1619 #[doc = "Yes"]
1620 #[inline(always)]
1621 pub fn flag(self) -> &'a mut crate::W<REG> {
1622 self.variant(Wuf29::Flag)
1623 }
1624}
1625#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1626#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1627#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1628pub enum Wuf30 {
1629 #[doc = "0: No"]
1630 NoFlag = 0,
1631 #[doc = "1: Yes"]
1632 Flag = 1,
1633}
1634impl From<Wuf30> for bool {
1635 #[inline(always)]
1636 fn from(variant: Wuf30) -> Self {
1637 variant as u8 != 0
1638 }
1639}
1640#[doc = "Field `WUF30` reader - Wake-up Flag for WUU_Pn"]
1641pub type Wuf30R = crate::BitReader<Wuf30>;
1642impl Wuf30R {
1643 #[doc = "Get enumerated values variant"]
1644 #[inline(always)]
1645 pub const fn variant(&self) -> Wuf30 {
1646 match self.bits {
1647 false => Wuf30::NoFlag,
1648 true => Wuf30::Flag,
1649 }
1650 }
1651 #[doc = "No"]
1652 #[inline(always)]
1653 pub fn is_no_flag(&self) -> bool {
1654 *self == Wuf30::NoFlag
1655 }
1656 #[doc = "Yes"]
1657 #[inline(always)]
1658 pub fn is_flag(&self) -> bool {
1659 *self == Wuf30::Flag
1660 }
1661}
1662#[doc = "Field `WUF30` writer - Wake-up Flag for WUU_Pn"]
1663pub type Wuf30W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf30>;
1664impl<'a, REG> Wuf30W<'a, REG>
1665where
1666 REG: crate::Writable + crate::RegisterSpec,
1667{
1668 #[doc = "No"]
1669 #[inline(always)]
1670 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1671 self.variant(Wuf30::NoFlag)
1672 }
1673 #[doc = "Yes"]
1674 #[inline(always)]
1675 pub fn flag(self) -> &'a mut crate::W<REG> {
1676 self.variant(Wuf30::Flag)
1677 }
1678}
1679#[doc = "Wake-up Flag for WUU_Pn\n\nValue on reset: 0"]
1680#[cfg_attr(feature = "defmt", derive(defmt::Format))]
1681#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1682pub enum Wuf31 {
1683 #[doc = "0: No"]
1684 NoFlag = 0,
1685 #[doc = "1: Yes"]
1686 Flag = 1,
1687}
1688impl From<Wuf31> for bool {
1689 #[inline(always)]
1690 fn from(variant: Wuf31) -> Self {
1691 variant as u8 != 0
1692 }
1693}
1694#[doc = "Field `WUF31` reader - Wake-up Flag for WUU_Pn"]
1695pub type Wuf31R = crate::BitReader<Wuf31>;
1696impl Wuf31R {
1697 #[doc = "Get enumerated values variant"]
1698 #[inline(always)]
1699 pub const fn variant(&self) -> Wuf31 {
1700 match self.bits {
1701 false => Wuf31::NoFlag,
1702 true => Wuf31::Flag,
1703 }
1704 }
1705 #[doc = "No"]
1706 #[inline(always)]
1707 pub fn is_no_flag(&self) -> bool {
1708 *self == Wuf31::NoFlag
1709 }
1710 #[doc = "Yes"]
1711 #[inline(always)]
1712 pub fn is_flag(&self) -> bool {
1713 *self == Wuf31::Flag
1714 }
1715}
1716#[doc = "Field `WUF31` writer - Wake-up Flag for WUU_Pn"]
1717pub type Wuf31W<'a, REG> = crate::BitWriter1C<'a, REG, Wuf31>;
1718impl<'a, REG> Wuf31W<'a, REG>
1719where
1720 REG: crate::Writable + crate::RegisterSpec,
1721{
1722 #[doc = "No"]
1723 #[inline(always)]
1724 pub fn no_flag(self) -> &'a mut crate::W<REG> {
1725 self.variant(Wuf31::NoFlag)
1726 }
1727 #[doc = "Yes"]
1728 #[inline(always)]
1729 pub fn flag(self) -> &'a mut crate::W<REG> {
1730 self.variant(Wuf31::Flag)
1731 }
1732}
1733impl R {
1734 #[doc = "Bit 0 - Wake-up Flag for WUU_Pn"]
1735 #[inline(always)]
1736 pub fn wuf0(&self) -> Wuf0R {
1737 Wuf0R::new((self.bits & 1) != 0)
1738 }
1739 #[doc = "Bit 1 - Wake-up Flag for WUU_Pn"]
1740 #[inline(always)]
1741 pub fn wuf1(&self) -> Wuf1R {
1742 Wuf1R::new(((self.bits >> 1) & 1) != 0)
1743 }
1744 #[doc = "Bit 2 - Wake-up Flag for WUU_Pn"]
1745 #[inline(always)]
1746 pub fn wuf2(&self) -> Wuf2R {
1747 Wuf2R::new(((self.bits >> 2) & 1) != 0)
1748 }
1749 #[doc = "Bit 3 - Wake-up Flag for WUU_Pn"]
1750 #[inline(always)]
1751 pub fn wuf3(&self) -> Wuf3R {
1752 Wuf3R::new(((self.bits >> 3) & 1) != 0)
1753 }
1754 #[doc = "Bit 4 - Wake-up Flag for WUU_Pn"]
1755 #[inline(always)]
1756 pub fn wuf4(&self) -> Wuf4R {
1757 Wuf4R::new(((self.bits >> 4) & 1) != 0)
1758 }
1759 #[doc = "Bit 5 - Wake-up Flag for WUU_Pn"]
1760 #[inline(always)]
1761 pub fn wuf5(&self) -> Wuf5R {
1762 Wuf5R::new(((self.bits >> 5) & 1) != 0)
1763 }
1764 #[doc = "Bit 6 - Wake-up Flag for WUU_Pn"]
1765 #[inline(always)]
1766 pub fn wuf6(&self) -> Wuf6R {
1767 Wuf6R::new(((self.bits >> 6) & 1) != 0)
1768 }
1769 #[doc = "Bit 7 - Wake-up Flag for WUU_Pn"]
1770 #[inline(always)]
1771 pub fn wuf7(&self) -> Wuf7R {
1772 Wuf7R::new(((self.bits >> 7) & 1) != 0)
1773 }
1774 #[doc = "Bit 8 - Wake-up Flag for WUU_Pn"]
1775 #[inline(always)]
1776 pub fn wuf8(&self) -> Wuf8R {
1777 Wuf8R::new(((self.bits >> 8) & 1) != 0)
1778 }
1779 #[doc = "Bit 9 - Wake-up Flag for WUU_Pn"]
1780 #[inline(always)]
1781 pub fn wuf9(&self) -> Wuf9R {
1782 Wuf9R::new(((self.bits >> 9) & 1) != 0)
1783 }
1784 #[doc = "Bit 10 - Wake-up Flag for WUU_Pn"]
1785 #[inline(always)]
1786 pub fn wuf10(&self) -> Wuf10R {
1787 Wuf10R::new(((self.bits >> 10) & 1) != 0)
1788 }
1789 #[doc = "Bit 11 - Wake-up Flag for WUU_Pn"]
1790 #[inline(always)]
1791 pub fn wuf11(&self) -> Wuf11R {
1792 Wuf11R::new(((self.bits >> 11) & 1) != 0)
1793 }
1794 #[doc = "Bit 12 - Wake-up Flag for WUU_Pn"]
1795 #[inline(always)]
1796 pub fn wuf12(&self) -> Wuf12R {
1797 Wuf12R::new(((self.bits >> 12) & 1) != 0)
1798 }
1799 #[doc = "Bit 13 - Wake-up Flag for WUU_Pn"]
1800 #[inline(always)]
1801 pub fn wuf13(&self) -> Wuf13R {
1802 Wuf13R::new(((self.bits >> 13) & 1) != 0)
1803 }
1804 #[doc = "Bit 14 - Wake-up Flag for WUU_Pn"]
1805 #[inline(always)]
1806 pub fn wuf14(&self) -> Wuf14R {
1807 Wuf14R::new(((self.bits >> 14) & 1) != 0)
1808 }
1809 #[doc = "Bit 15 - Wake-up Flag for WUU_Pn"]
1810 #[inline(always)]
1811 pub fn wuf15(&self) -> Wuf15R {
1812 Wuf15R::new(((self.bits >> 15) & 1) != 0)
1813 }
1814 #[doc = "Bit 16 - Wake-up Flag for WUU_Pn"]
1815 #[inline(always)]
1816 pub fn wuf16(&self) -> Wuf16R {
1817 Wuf16R::new(((self.bits >> 16) & 1) != 0)
1818 }
1819 #[doc = "Bit 17 - Wake-up Flag for WUU_Pn"]
1820 #[inline(always)]
1821 pub fn wuf17(&self) -> Wuf17R {
1822 Wuf17R::new(((self.bits >> 17) & 1) != 0)
1823 }
1824 #[doc = "Bit 18 - Wake-up Flag for WUU_Pn"]
1825 #[inline(always)]
1826 pub fn wuf18(&self) -> Wuf18R {
1827 Wuf18R::new(((self.bits >> 18) & 1) != 0)
1828 }
1829 #[doc = "Bit 19 - Wake-up Flag for WUU_Pn"]
1830 #[inline(always)]
1831 pub fn wuf19(&self) -> Wuf19R {
1832 Wuf19R::new(((self.bits >> 19) & 1) != 0)
1833 }
1834 #[doc = "Bit 20 - Wake-up Flag for WUU_Pn"]
1835 #[inline(always)]
1836 pub fn wuf20(&self) -> Wuf20R {
1837 Wuf20R::new(((self.bits >> 20) & 1) != 0)
1838 }
1839 #[doc = "Bit 21 - Wake-up Flag for WUU_Pn"]
1840 #[inline(always)]
1841 pub fn wuf21(&self) -> Wuf21R {
1842 Wuf21R::new(((self.bits >> 21) & 1) != 0)
1843 }
1844 #[doc = "Bit 22 - Wake-up Flag for WUU_Pn"]
1845 #[inline(always)]
1846 pub fn wuf22(&self) -> Wuf22R {
1847 Wuf22R::new(((self.bits >> 22) & 1) != 0)
1848 }
1849 #[doc = "Bit 23 - Wake-up Flag for WUU_Pn"]
1850 #[inline(always)]
1851 pub fn wuf23(&self) -> Wuf23R {
1852 Wuf23R::new(((self.bits >> 23) & 1) != 0)
1853 }
1854 #[doc = "Bit 24 - Wake-up Flag for WUU_Pn"]
1855 #[inline(always)]
1856 pub fn wuf24(&self) -> Wuf24R {
1857 Wuf24R::new(((self.bits >> 24) & 1) != 0)
1858 }
1859 #[doc = "Bit 25 - Wake-up Flag for WUU_Pn"]
1860 #[inline(always)]
1861 pub fn wuf25(&self) -> Wuf25R {
1862 Wuf25R::new(((self.bits >> 25) & 1) != 0)
1863 }
1864 #[doc = "Bit 26 - Wake-up Flag for WUU_Pn"]
1865 #[inline(always)]
1866 pub fn wuf26(&self) -> Wuf26R {
1867 Wuf26R::new(((self.bits >> 26) & 1) != 0)
1868 }
1869 #[doc = "Bit 27 - Wake-up Flag for WUU_Pn"]
1870 #[inline(always)]
1871 pub fn wuf27(&self) -> Wuf27R {
1872 Wuf27R::new(((self.bits >> 27) & 1) != 0)
1873 }
1874 #[doc = "Bit 28 - Wake-up Flag for WUU_Pn"]
1875 #[inline(always)]
1876 pub fn wuf28(&self) -> Wuf28R {
1877 Wuf28R::new(((self.bits >> 28) & 1) != 0)
1878 }
1879 #[doc = "Bit 29 - Wake-up Flag for WUU_Pn"]
1880 #[inline(always)]
1881 pub fn wuf29(&self) -> Wuf29R {
1882 Wuf29R::new(((self.bits >> 29) & 1) != 0)
1883 }
1884 #[doc = "Bit 30 - Wake-up Flag for WUU_Pn"]
1885 #[inline(always)]
1886 pub fn wuf30(&self) -> Wuf30R {
1887 Wuf30R::new(((self.bits >> 30) & 1) != 0)
1888 }
1889 #[doc = "Bit 31 - Wake-up Flag for WUU_Pn"]
1890 #[inline(always)]
1891 pub fn wuf31(&self) -> Wuf31R {
1892 Wuf31R::new(((self.bits >> 31) & 1) != 0)
1893 }
1894}
1895#[cfg(feature = "debug")]
1896impl core::fmt::Debug for R {
1897 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
1898 f.debug_struct("PF")
1899 .field("wuf0", &self.wuf0())
1900 .field("wuf1", &self.wuf1())
1901 .field("wuf2", &self.wuf2())
1902 .field("wuf3", &self.wuf3())
1903 .field("wuf4", &self.wuf4())
1904 .field("wuf5", &self.wuf5())
1905 .field("wuf6", &self.wuf6())
1906 .field("wuf7", &self.wuf7())
1907 .field("wuf8", &self.wuf8())
1908 .field("wuf9", &self.wuf9())
1909 .field("wuf10", &self.wuf10())
1910 .field("wuf11", &self.wuf11())
1911 .field("wuf12", &self.wuf12())
1912 .field("wuf13", &self.wuf13())
1913 .field("wuf14", &self.wuf14())
1914 .field("wuf15", &self.wuf15())
1915 .field("wuf16", &self.wuf16())
1916 .field("wuf17", &self.wuf17())
1917 .field("wuf18", &self.wuf18())
1918 .field("wuf19", &self.wuf19())
1919 .field("wuf20", &self.wuf20())
1920 .field("wuf21", &self.wuf21())
1921 .field("wuf22", &self.wuf22())
1922 .field("wuf23", &self.wuf23())
1923 .field("wuf24", &self.wuf24())
1924 .field("wuf25", &self.wuf25())
1925 .field("wuf26", &self.wuf26())
1926 .field("wuf27", &self.wuf27())
1927 .field("wuf28", &self.wuf28())
1928 .field("wuf29", &self.wuf29())
1929 .field("wuf30", &self.wuf30())
1930 .field("wuf31", &self.wuf31())
1931 .finish()
1932 }
1933}
1934impl W {
1935 #[doc = "Bit 0 - Wake-up Flag for WUU_Pn"]
1936 #[inline(always)]
1937 pub fn wuf0(&mut self) -> Wuf0W<'_, PfSpec> {
1938 Wuf0W::new(self, 0)
1939 }
1940 #[doc = "Bit 1 - Wake-up Flag for WUU_Pn"]
1941 #[inline(always)]
1942 pub fn wuf1(&mut self) -> Wuf1W<'_, PfSpec> {
1943 Wuf1W::new(self, 1)
1944 }
1945 #[doc = "Bit 2 - Wake-up Flag for WUU_Pn"]
1946 #[inline(always)]
1947 pub fn wuf2(&mut self) -> Wuf2W<'_, PfSpec> {
1948 Wuf2W::new(self, 2)
1949 }
1950 #[doc = "Bit 3 - Wake-up Flag for WUU_Pn"]
1951 #[inline(always)]
1952 pub fn wuf3(&mut self) -> Wuf3W<'_, PfSpec> {
1953 Wuf3W::new(self, 3)
1954 }
1955 #[doc = "Bit 4 - Wake-up Flag for WUU_Pn"]
1956 #[inline(always)]
1957 pub fn wuf4(&mut self) -> Wuf4W<'_, PfSpec> {
1958 Wuf4W::new(self, 4)
1959 }
1960 #[doc = "Bit 5 - Wake-up Flag for WUU_Pn"]
1961 #[inline(always)]
1962 pub fn wuf5(&mut self) -> Wuf5W<'_, PfSpec> {
1963 Wuf5W::new(self, 5)
1964 }
1965 #[doc = "Bit 6 - Wake-up Flag for WUU_Pn"]
1966 #[inline(always)]
1967 pub fn wuf6(&mut self) -> Wuf6W<'_, PfSpec> {
1968 Wuf6W::new(self, 6)
1969 }
1970 #[doc = "Bit 7 - Wake-up Flag for WUU_Pn"]
1971 #[inline(always)]
1972 pub fn wuf7(&mut self) -> Wuf7W<'_, PfSpec> {
1973 Wuf7W::new(self, 7)
1974 }
1975 #[doc = "Bit 8 - Wake-up Flag for WUU_Pn"]
1976 #[inline(always)]
1977 pub fn wuf8(&mut self) -> Wuf8W<'_, PfSpec> {
1978 Wuf8W::new(self, 8)
1979 }
1980 #[doc = "Bit 9 - Wake-up Flag for WUU_Pn"]
1981 #[inline(always)]
1982 pub fn wuf9(&mut self) -> Wuf9W<'_, PfSpec> {
1983 Wuf9W::new(self, 9)
1984 }
1985 #[doc = "Bit 10 - Wake-up Flag for WUU_Pn"]
1986 #[inline(always)]
1987 pub fn wuf10(&mut self) -> Wuf10W<'_, PfSpec> {
1988 Wuf10W::new(self, 10)
1989 }
1990 #[doc = "Bit 11 - Wake-up Flag for WUU_Pn"]
1991 #[inline(always)]
1992 pub fn wuf11(&mut self) -> Wuf11W<'_, PfSpec> {
1993 Wuf11W::new(self, 11)
1994 }
1995 #[doc = "Bit 12 - Wake-up Flag for WUU_Pn"]
1996 #[inline(always)]
1997 pub fn wuf12(&mut self) -> Wuf12W<'_, PfSpec> {
1998 Wuf12W::new(self, 12)
1999 }
2000 #[doc = "Bit 13 - Wake-up Flag for WUU_Pn"]
2001 #[inline(always)]
2002 pub fn wuf13(&mut self) -> Wuf13W<'_, PfSpec> {
2003 Wuf13W::new(self, 13)
2004 }
2005 #[doc = "Bit 14 - Wake-up Flag for WUU_Pn"]
2006 #[inline(always)]
2007 pub fn wuf14(&mut self) -> Wuf14W<'_, PfSpec> {
2008 Wuf14W::new(self, 14)
2009 }
2010 #[doc = "Bit 15 - Wake-up Flag for WUU_Pn"]
2011 #[inline(always)]
2012 pub fn wuf15(&mut self) -> Wuf15W<'_, PfSpec> {
2013 Wuf15W::new(self, 15)
2014 }
2015 #[doc = "Bit 16 - Wake-up Flag for WUU_Pn"]
2016 #[inline(always)]
2017 pub fn wuf16(&mut self) -> Wuf16W<'_, PfSpec> {
2018 Wuf16W::new(self, 16)
2019 }
2020 #[doc = "Bit 17 - Wake-up Flag for WUU_Pn"]
2021 #[inline(always)]
2022 pub fn wuf17(&mut self) -> Wuf17W<'_, PfSpec> {
2023 Wuf17W::new(self, 17)
2024 }
2025 #[doc = "Bit 18 - Wake-up Flag for WUU_Pn"]
2026 #[inline(always)]
2027 pub fn wuf18(&mut self) -> Wuf18W<'_, PfSpec> {
2028 Wuf18W::new(self, 18)
2029 }
2030 #[doc = "Bit 19 - Wake-up Flag for WUU_Pn"]
2031 #[inline(always)]
2032 pub fn wuf19(&mut self) -> Wuf19W<'_, PfSpec> {
2033 Wuf19W::new(self, 19)
2034 }
2035 #[doc = "Bit 20 - Wake-up Flag for WUU_Pn"]
2036 #[inline(always)]
2037 pub fn wuf20(&mut self) -> Wuf20W<'_, PfSpec> {
2038 Wuf20W::new(self, 20)
2039 }
2040 #[doc = "Bit 21 - Wake-up Flag for WUU_Pn"]
2041 #[inline(always)]
2042 pub fn wuf21(&mut self) -> Wuf21W<'_, PfSpec> {
2043 Wuf21W::new(self, 21)
2044 }
2045 #[doc = "Bit 22 - Wake-up Flag for WUU_Pn"]
2046 #[inline(always)]
2047 pub fn wuf22(&mut self) -> Wuf22W<'_, PfSpec> {
2048 Wuf22W::new(self, 22)
2049 }
2050 #[doc = "Bit 23 - Wake-up Flag for WUU_Pn"]
2051 #[inline(always)]
2052 pub fn wuf23(&mut self) -> Wuf23W<'_, PfSpec> {
2053 Wuf23W::new(self, 23)
2054 }
2055 #[doc = "Bit 24 - Wake-up Flag for WUU_Pn"]
2056 #[inline(always)]
2057 pub fn wuf24(&mut self) -> Wuf24W<'_, PfSpec> {
2058 Wuf24W::new(self, 24)
2059 }
2060 #[doc = "Bit 25 - Wake-up Flag for WUU_Pn"]
2061 #[inline(always)]
2062 pub fn wuf25(&mut self) -> Wuf25W<'_, PfSpec> {
2063 Wuf25W::new(self, 25)
2064 }
2065 #[doc = "Bit 26 - Wake-up Flag for WUU_Pn"]
2066 #[inline(always)]
2067 pub fn wuf26(&mut self) -> Wuf26W<'_, PfSpec> {
2068 Wuf26W::new(self, 26)
2069 }
2070 #[doc = "Bit 27 - Wake-up Flag for WUU_Pn"]
2071 #[inline(always)]
2072 pub fn wuf27(&mut self) -> Wuf27W<'_, PfSpec> {
2073 Wuf27W::new(self, 27)
2074 }
2075 #[doc = "Bit 28 - Wake-up Flag for WUU_Pn"]
2076 #[inline(always)]
2077 pub fn wuf28(&mut self) -> Wuf28W<'_, PfSpec> {
2078 Wuf28W::new(self, 28)
2079 }
2080 #[doc = "Bit 29 - Wake-up Flag for WUU_Pn"]
2081 #[inline(always)]
2082 pub fn wuf29(&mut self) -> Wuf29W<'_, PfSpec> {
2083 Wuf29W::new(self, 29)
2084 }
2085 #[doc = "Bit 30 - Wake-up Flag for WUU_Pn"]
2086 #[inline(always)]
2087 pub fn wuf30(&mut self) -> Wuf30W<'_, PfSpec> {
2088 Wuf30W::new(self, 30)
2089 }
2090 #[doc = "Bit 31 - Wake-up Flag for WUU_Pn"]
2091 #[inline(always)]
2092 pub fn wuf31(&mut self) -> Wuf31W<'_, PfSpec> {
2093 Wuf31W::new(self, 31)
2094 }
2095}
2096#[doc = "Pin Flag\n\nYou can [`read`](crate::Reg::read) this register and get [`pf::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pf::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
2097pub struct PfSpec;
2098impl crate::RegisterSpec for PfSpec {
2099 type Ux = u32;
2100}
2101#[doc = "`read()` method returns [`pf::R`](R) reader structure"]
2102impl crate::Readable for PfSpec {}
2103#[doc = "`write(|w| ..)` method takes [`pf::W`](W) writer structure"]
2104impl crate::Writable for PfSpec {
2105 type Safety = crate::Unsafe;
2106 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0xffff_ffff;
2107}
2108#[doc = "`reset()` method sets PF to value 0"]
2109impl crate::Resettable for PfSpec {}