ra4e1/port1/
pcntr4.rs

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