Skip to main content

mcxa_pac/inputmux0/
aoi0_input.rs

1#[doc = "Register `AOI0_INPUT[%s]` reader"]
2pub type R = crate::R<Aoi0InputSpec>;
3#[doc = "Register `AOI0_INPUT[%s]` writer"]
4pub type W = crate::W<Aoi0InputSpec>;
5#[doc = "AOI0 trigger input connections\n\nValue on reset: 127"]
6#[cfg_attr(feature = "defmt", derive(defmt::Format))]
7#[derive(Clone, Copy, Debug, PartialEq, Eq)]
8#[repr(u8)]
9pub enum Inp {
10    #[doc = "1: ADC0_tcomp\\[0\\] input is selected"]
11    Val1 = 1,
12    #[doc = "2: ADC0_tcomp\\[1\\] input is selected"]
13    Val2 = 2,
14    #[doc = "3: ADC0_tcomp\\[2\\] input is selected"]
15    Val3 = 3,
16    #[doc = "4: ADC0_tcomp\\[3\\] input is selected"]
17    Val4 = 4,
18    #[doc = "5: CMP0_OUT input is selected"]
19    Val5 = 5,
20    #[doc = "6: CMP1_OUT input is selected"]
21    Val6 = 6,
22    #[doc = "7: CMP2_OUT input is selected"]
23    Val7 = 7,
24    #[doc = "8: CTimer0_MAT0 input is selected"]
25    Val8 = 8,
26    #[doc = "9: CTimer0_MAT1 input is selected"]
27    Val9 = 9,
28    #[doc = "10: CTimer0_MAT2 input is selected"]
29    Val10 = 10,
30    #[doc = "11: CTimer0_MAT3 input is selected"]
31    Val11 = 11,
32    #[doc = "12: CTimer1_MAT0 input is selected"]
33    Val12 = 12,
34    #[doc = "13: CTimer1_MAT1 input is selected"]
35    Val13 = 13,
36    #[doc = "14: CTimer1_MAT2 input is selected"]
37    Val14 = 14,
38    #[doc = "15: CTimer1_MAT3 input is selected"]
39    Val15 = 15,
40    #[doc = "16: CTimer2_MAT0 input is selected"]
41    Val16 = 16,
42    #[doc = "17: CTimer2_MAT1 input is selected"]
43    Val17 = 17,
44    #[doc = "18: CTimer2_MAT2 input is selected"]
45    Val18 = 18,
46    #[doc = "19: CTimer2_MAT3 input is selected"]
47    Val19 = 19,
48    #[doc = "20: LPTMR0 input is selected"]
49    Val20 = 20,
50    #[doc = "22: QDC0_CMP_FLAG0 input is selected"]
51    Val22 = 22,
52    #[doc = "23: QDC0_CMP_FLAG1 input is selected"]
53    Val23 = 23,
54    #[doc = "24: QDC0_CMP_FLAG2 input is selected"]
55    Val24 = 24,
56    #[doc = "25: QDC0_CMP_FLAG3 input is selected"]
57    Val25 = 25,
58    #[doc = "26: QDC0_POS_MATCH0 input is selected"]
59    Val26 = 26,
60    #[doc = "27: PWM0_SM0_MUX_TRIG0 0 input is selected"]
61    Val27 = 27,
62    #[doc = "28: PWM0_SM0_MUX_TRIG1 input is selected"]
63    Val28 = 28,
64    #[doc = "29: PWM0_SM1_MUX_TRIG0 input is selected"]
65    Val29 = 29,
66    #[doc = "30: PWM0_SM1_MUX_TRIG1 input is selected"]
67    Val30 = 30,
68    #[doc = "31: PWM0_SM2_MUX_TRIG0 input is selected"]
69    Val31 = 31,
70    #[doc = "32: PWM0_SM2_MUX_TRIG1 input is selected"]
71    Val32 = 32,
72    #[doc = "33: PWM0_SM3_MUX_TRIG0 input is selected"]
73    Val33 = 33,
74    #[doc = "34: PWM0_SM3_MUX_TRIG1 input is selected"]
75    Val34 = 34,
76    #[doc = "35: TRIG_IN0 input is selected"]
77    Val35 = 35,
78    #[doc = "36: TRIG_IN1 input is selected"]
79    Val36 = 36,
80    #[doc = "37: TRIG_IN2 input is selected"]
81    Val37 = 37,
82    #[doc = "38: TRIG_IN3 input is selected"]
83    Val38 = 38,
84    #[doc = "39: TRIG_IN4 input is selected"]
85    Val39 = 39,
86    #[doc = "40: TRIG_IN5 input is selected"]
87    Val40 = 40,
88    #[doc = "41: TRIG_IN6 input is selected"]
89    Val41 = 41,
90    #[doc = "42: TRIG_IN7 input is selected"]
91    Val42 = 42,
92    #[doc = "43: TRIG_IN8 input is selected"]
93    Val43 = 43,
94    #[doc = "44: TRIG_IN9 input is selected"]
95    Val44 = 44,
96    #[doc = "45: TRIG_IN10 input is selected"]
97    Val45 = 45,
98    #[doc = "46: TRIG_IN11 input is selected"]
99    Val46 = 46,
100    #[doc = "47: GPIO0 Pin Event Trig 0 input is selected"]
101    Val47 = 47,
102    #[doc = "48: GPIO1 Pin Event Trig 0 input is selected"]
103    Val48 = 48,
104    #[doc = "49: GPIO2 Pin Event Trig 0 input is selected"]
105    Val49 = 49,
106    #[doc = "50: GPIO3 Pin Event Trig 0 input is selected"]
107    Val50 = 50,
108    #[doc = "51: GPIO4 Pin Event Trig 0 input is selected"]
109    Val51 = 51,
110    #[doc = "52: ADC1_tcomp\\[0\\] input is selected"]
111    Val52 = 52,
112    #[doc = "53: ADC1_tcomp\\[1\\] input is selected"]
113    Val53 = 53,
114    #[doc = "54: ADC1_tcomp\\[2\\] input is selected"]
115    Val54 = 54,
116    #[doc = "55: ADC1_tcomp\\[3\\] input is selected"]
117    Val55 = 55,
118    #[doc = "56: CTimer3_MAT0 input is selected"]
119    Val56 = 56,
120    #[doc = "57: CTimer3_MAT1 input is selected"]
121    Val57 = 57,
122    #[doc = "58: CTimer3_MAT2 input is selected"]
123    Val58 = 58,
124    #[doc = "59: CTimer3_MAT3 input is selected"]
125    Val59 = 59,
126    #[doc = "60: CTimer4_MAT0 input is selected"]
127    Val60 = 60,
128    #[doc = "61: CTimer4_MAT1 input is selected"]
129    Val61 = 61,
130    #[doc = "62: CTimer4_MAT2 input is selected"]
131    Val62 = 62,
132    #[doc = "63: CTimer4_MAT3 input is selected"]
133    Val63 = 63,
134    #[doc = "64: FlexIO CH0 input is selected"]
135    Val64 = 64,
136    #[doc = "65: FlexIO CH1 input is selected"]
137    Val65 = 65,
138    #[doc = "66: FlexIO CH2 input is selected"]
139    Val66 = 66,
140    #[doc = "67: FlexIO CH3 input is selected"]
141    Val67 = 67,
142    #[doc = "68: QDC1_CMP_FLAG0 input is selected"]
143    Val68 = 68,
144    #[doc = "69: QDC1_CMP_FLAG1 input is selected"]
145    Val69 = 69,
146    #[doc = "70: QDC1_CMP_FLAG2 input is selected"]
147    Val70 = 70,
148    #[doc = "71: QDC1_CMP_FLAG3 input is selected"]
149    Val71 = 71,
150    #[doc = "72: QDC1_POS_MATCH0 input is selected"]
151    Val72 = 72,
152    #[doc = "73: PWM1_SM0_MUX_TRIG0 input is selected"]
153    Val73 = 73,
154    #[doc = "74: PWM1_SM0_MUX_TRIG1 input is selected"]
155    Val74 = 74,
156    #[doc = "75: PWM1_SM1_MUX_TRIG0 input is selected"]
157    Val75 = 75,
158    #[doc = "76: PWM1_SM1_MUX_TRIG1 input is selected"]
159    Val76 = 76,
160    #[doc = "77: PWM1_SM2_MUX_TRIG0 input is selected"]
161    Val77 = 77,
162    #[doc = "78: PWM1_SM2_MUX_TRIG1 input is selected"]
163    Val78 = 78,
164    #[doc = "79: PWM1_SM3_MUX_TRIG0 input is selected"]
165    Val79 = 79,
166    #[doc = "80: PWM1_SM3_MUX_TRIG1 input is selected"]
167    Val80 = 80,
168    #[doc = "81: PWM0_SM0_A_Output"]
169    Val81 = 81,
170    #[doc = "82: PWM0_SM0_B_Output"]
171    Val82 = 82,
172    #[doc = "83: PWM0_SM1_A_Output"]
173    Val83 = 83,
174    #[doc = "84: PWM0_SM1_B_Output"]
175    Val84 = 84,
176    #[doc = "85: PWM0_SM2_A_Output"]
177    Val85 = 85,
178    #[doc = "86: PWM0_SM2_B_Output"]
179    Val86 = 86,
180    #[doc = "87: PWM0_SM3_A_Output"]
181    Val87 = 87,
182    #[doc = "88: PWM0_SM3_B_Output"]
183    Val88 = 88,
184    #[doc = "89: ADC2_tcomp\\[0\\] input is selected"]
185    Val89 = 89,
186    #[doc = "90: ADC2_tcomp\\[1\\] input is selected"]
187    Val90 = 90,
188    #[doc = "91: ADC2_tcomp\\[2\\] input is selected"]
189    Val91 = 91,
190    #[doc = "92: ADC2_tcomp\\[3\\] input is selected"]
191    Val92 = 92,
192    #[doc = "93: ADC3_tcomp\\[0\\] input is selected"]
193    Val93 = 93,
194    #[doc = "94: ADC3_tcomp\\[1\\] input is selected"]
195    Val94 = 94,
196    #[doc = "95: ADC3_tcomp\\[2\\] input is selected"]
197    Val95 = 95,
198    #[doc = "96: ADC3_tcomp\\[3\\] input is selected"]
199    Val96 = 96,
200}
201impl From<Inp> for u8 {
202    #[inline(always)]
203    fn from(variant: Inp) -> Self {
204        variant as _
205    }
206}
207impl crate::FieldSpec for Inp {
208    type Ux = u8;
209}
210impl crate::IsEnum for Inp {}
211#[doc = "Field `INP` reader - AOI0 trigger input connections"]
212pub type InpR = crate::FieldReader<Inp>;
213impl InpR {
214    #[doc = "Get enumerated values variant"]
215    #[inline(always)]
216    pub const fn variant(&self) -> Option<Inp> {
217        match self.bits {
218            1 => Some(Inp::Val1),
219            2 => Some(Inp::Val2),
220            3 => Some(Inp::Val3),
221            4 => Some(Inp::Val4),
222            5 => Some(Inp::Val5),
223            6 => Some(Inp::Val6),
224            7 => Some(Inp::Val7),
225            8 => Some(Inp::Val8),
226            9 => Some(Inp::Val9),
227            10 => Some(Inp::Val10),
228            11 => Some(Inp::Val11),
229            12 => Some(Inp::Val12),
230            13 => Some(Inp::Val13),
231            14 => Some(Inp::Val14),
232            15 => Some(Inp::Val15),
233            16 => Some(Inp::Val16),
234            17 => Some(Inp::Val17),
235            18 => Some(Inp::Val18),
236            19 => Some(Inp::Val19),
237            20 => Some(Inp::Val20),
238            22 => Some(Inp::Val22),
239            23 => Some(Inp::Val23),
240            24 => Some(Inp::Val24),
241            25 => Some(Inp::Val25),
242            26 => Some(Inp::Val26),
243            27 => Some(Inp::Val27),
244            28 => Some(Inp::Val28),
245            29 => Some(Inp::Val29),
246            30 => Some(Inp::Val30),
247            31 => Some(Inp::Val31),
248            32 => Some(Inp::Val32),
249            33 => Some(Inp::Val33),
250            34 => Some(Inp::Val34),
251            35 => Some(Inp::Val35),
252            36 => Some(Inp::Val36),
253            37 => Some(Inp::Val37),
254            38 => Some(Inp::Val38),
255            39 => Some(Inp::Val39),
256            40 => Some(Inp::Val40),
257            41 => Some(Inp::Val41),
258            42 => Some(Inp::Val42),
259            43 => Some(Inp::Val43),
260            44 => Some(Inp::Val44),
261            45 => Some(Inp::Val45),
262            46 => Some(Inp::Val46),
263            47 => Some(Inp::Val47),
264            48 => Some(Inp::Val48),
265            49 => Some(Inp::Val49),
266            50 => Some(Inp::Val50),
267            51 => Some(Inp::Val51),
268            52 => Some(Inp::Val52),
269            53 => Some(Inp::Val53),
270            54 => Some(Inp::Val54),
271            55 => Some(Inp::Val55),
272            56 => Some(Inp::Val56),
273            57 => Some(Inp::Val57),
274            58 => Some(Inp::Val58),
275            59 => Some(Inp::Val59),
276            60 => Some(Inp::Val60),
277            61 => Some(Inp::Val61),
278            62 => Some(Inp::Val62),
279            63 => Some(Inp::Val63),
280            64 => Some(Inp::Val64),
281            65 => Some(Inp::Val65),
282            66 => Some(Inp::Val66),
283            67 => Some(Inp::Val67),
284            68 => Some(Inp::Val68),
285            69 => Some(Inp::Val69),
286            70 => Some(Inp::Val70),
287            71 => Some(Inp::Val71),
288            72 => Some(Inp::Val72),
289            73 => Some(Inp::Val73),
290            74 => Some(Inp::Val74),
291            75 => Some(Inp::Val75),
292            76 => Some(Inp::Val76),
293            77 => Some(Inp::Val77),
294            78 => Some(Inp::Val78),
295            79 => Some(Inp::Val79),
296            80 => Some(Inp::Val80),
297            81 => Some(Inp::Val81),
298            82 => Some(Inp::Val82),
299            83 => Some(Inp::Val83),
300            84 => Some(Inp::Val84),
301            85 => Some(Inp::Val85),
302            86 => Some(Inp::Val86),
303            87 => Some(Inp::Val87),
304            88 => Some(Inp::Val88),
305            89 => Some(Inp::Val89),
306            90 => Some(Inp::Val90),
307            91 => Some(Inp::Val91),
308            92 => Some(Inp::Val92),
309            93 => Some(Inp::Val93),
310            94 => Some(Inp::Val94),
311            95 => Some(Inp::Val95),
312            96 => Some(Inp::Val96),
313            _ => None,
314        }
315    }
316    #[doc = "ADC0_tcomp\\[0\\] input is selected"]
317    #[inline(always)]
318    pub fn is_val1(&self) -> bool {
319        *self == Inp::Val1
320    }
321    #[doc = "ADC0_tcomp\\[1\\] input is selected"]
322    #[inline(always)]
323    pub fn is_val2(&self) -> bool {
324        *self == Inp::Val2
325    }
326    #[doc = "ADC0_tcomp\\[2\\] input is selected"]
327    #[inline(always)]
328    pub fn is_val3(&self) -> bool {
329        *self == Inp::Val3
330    }
331    #[doc = "ADC0_tcomp\\[3\\] input is selected"]
332    #[inline(always)]
333    pub fn is_val4(&self) -> bool {
334        *self == Inp::Val4
335    }
336    #[doc = "CMP0_OUT input is selected"]
337    #[inline(always)]
338    pub fn is_val5(&self) -> bool {
339        *self == Inp::Val5
340    }
341    #[doc = "CMP1_OUT input is selected"]
342    #[inline(always)]
343    pub fn is_val6(&self) -> bool {
344        *self == Inp::Val6
345    }
346    #[doc = "CMP2_OUT input is selected"]
347    #[inline(always)]
348    pub fn is_val7(&self) -> bool {
349        *self == Inp::Val7
350    }
351    #[doc = "CTimer0_MAT0 input is selected"]
352    #[inline(always)]
353    pub fn is_val8(&self) -> bool {
354        *self == Inp::Val8
355    }
356    #[doc = "CTimer0_MAT1 input is selected"]
357    #[inline(always)]
358    pub fn is_val9(&self) -> bool {
359        *self == Inp::Val9
360    }
361    #[doc = "CTimer0_MAT2 input is selected"]
362    #[inline(always)]
363    pub fn is_val10(&self) -> bool {
364        *self == Inp::Val10
365    }
366    #[doc = "CTimer0_MAT3 input is selected"]
367    #[inline(always)]
368    pub fn is_val11(&self) -> bool {
369        *self == Inp::Val11
370    }
371    #[doc = "CTimer1_MAT0 input is selected"]
372    #[inline(always)]
373    pub fn is_val12(&self) -> bool {
374        *self == Inp::Val12
375    }
376    #[doc = "CTimer1_MAT1 input is selected"]
377    #[inline(always)]
378    pub fn is_val13(&self) -> bool {
379        *self == Inp::Val13
380    }
381    #[doc = "CTimer1_MAT2 input is selected"]
382    #[inline(always)]
383    pub fn is_val14(&self) -> bool {
384        *self == Inp::Val14
385    }
386    #[doc = "CTimer1_MAT3 input is selected"]
387    #[inline(always)]
388    pub fn is_val15(&self) -> bool {
389        *self == Inp::Val15
390    }
391    #[doc = "CTimer2_MAT0 input is selected"]
392    #[inline(always)]
393    pub fn is_val16(&self) -> bool {
394        *self == Inp::Val16
395    }
396    #[doc = "CTimer2_MAT1 input is selected"]
397    #[inline(always)]
398    pub fn is_val17(&self) -> bool {
399        *self == Inp::Val17
400    }
401    #[doc = "CTimer2_MAT2 input is selected"]
402    #[inline(always)]
403    pub fn is_val18(&self) -> bool {
404        *self == Inp::Val18
405    }
406    #[doc = "CTimer2_MAT3 input is selected"]
407    #[inline(always)]
408    pub fn is_val19(&self) -> bool {
409        *self == Inp::Val19
410    }
411    #[doc = "LPTMR0 input is selected"]
412    #[inline(always)]
413    pub fn is_val20(&self) -> bool {
414        *self == Inp::Val20
415    }
416    #[doc = "QDC0_CMP_FLAG0 input is selected"]
417    #[inline(always)]
418    pub fn is_val22(&self) -> bool {
419        *self == Inp::Val22
420    }
421    #[doc = "QDC0_CMP_FLAG1 input is selected"]
422    #[inline(always)]
423    pub fn is_val23(&self) -> bool {
424        *self == Inp::Val23
425    }
426    #[doc = "QDC0_CMP_FLAG2 input is selected"]
427    #[inline(always)]
428    pub fn is_val24(&self) -> bool {
429        *self == Inp::Val24
430    }
431    #[doc = "QDC0_CMP_FLAG3 input is selected"]
432    #[inline(always)]
433    pub fn is_val25(&self) -> bool {
434        *self == Inp::Val25
435    }
436    #[doc = "QDC0_POS_MATCH0 input is selected"]
437    #[inline(always)]
438    pub fn is_val26(&self) -> bool {
439        *self == Inp::Val26
440    }
441    #[doc = "PWM0_SM0_MUX_TRIG0 0 input is selected"]
442    #[inline(always)]
443    pub fn is_val27(&self) -> bool {
444        *self == Inp::Val27
445    }
446    #[doc = "PWM0_SM0_MUX_TRIG1 input is selected"]
447    #[inline(always)]
448    pub fn is_val28(&self) -> bool {
449        *self == Inp::Val28
450    }
451    #[doc = "PWM0_SM1_MUX_TRIG0 input is selected"]
452    #[inline(always)]
453    pub fn is_val29(&self) -> bool {
454        *self == Inp::Val29
455    }
456    #[doc = "PWM0_SM1_MUX_TRIG1 input is selected"]
457    #[inline(always)]
458    pub fn is_val30(&self) -> bool {
459        *self == Inp::Val30
460    }
461    #[doc = "PWM0_SM2_MUX_TRIG0 input is selected"]
462    #[inline(always)]
463    pub fn is_val31(&self) -> bool {
464        *self == Inp::Val31
465    }
466    #[doc = "PWM0_SM2_MUX_TRIG1 input is selected"]
467    #[inline(always)]
468    pub fn is_val32(&self) -> bool {
469        *self == Inp::Val32
470    }
471    #[doc = "PWM0_SM3_MUX_TRIG0 input is selected"]
472    #[inline(always)]
473    pub fn is_val33(&self) -> bool {
474        *self == Inp::Val33
475    }
476    #[doc = "PWM0_SM3_MUX_TRIG1 input is selected"]
477    #[inline(always)]
478    pub fn is_val34(&self) -> bool {
479        *self == Inp::Val34
480    }
481    #[doc = "TRIG_IN0 input is selected"]
482    #[inline(always)]
483    pub fn is_val35(&self) -> bool {
484        *self == Inp::Val35
485    }
486    #[doc = "TRIG_IN1 input is selected"]
487    #[inline(always)]
488    pub fn is_val36(&self) -> bool {
489        *self == Inp::Val36
490    }
491    #[doc = "TRIG_IN2 input is selected"]
492    #[inline(always)]
493    pub fn is_val37(&self) -> bool {
494        *self == Inp::Val37
495    }
496    #[doc = "TRIG_IN3 input is selected"]
497    #[inline(always)]
498    pub fn is_val38(&self) -> bool {
499        *self == Inp::Val38
500    }
501    #[doc = "TRIG_IN4 input is selected"]
502    #[inline(always)]
503    pub fn is_val39(&self) -> bool {
504        *self == Inp::Val39
505    }
506    #[doc = "TRIG_IN5 input is selected"]
507    #[inline(always)]
508    pub fn is_val40(&self) -> bool {
509        *self == Inp::Val40
510    }
511    #[doc = "TRIG_IN6 input is selected"]
512    #[inline(always)]
513    pub fn is_val41(&self) -> bool {
514        *self == Inp::Val41
515    }
516    #[doc = "TRIG_IN7 input is selected"]
517    #[inline(always)]
518    pub fn is_val42(&self) -> bool {
519        *self == Inp::Val42
520    }
521    #[doc = "TRIG_IN8 input is selected"]
522    #[inline(always)]
523    pub fn is_val43(&self) -> bool {
524        *self == Inp::Val43
525    }
526    #[doc = "TRIG_IN9 input is selected"]
527    #[inline(always)]
528    pub fn is_val44(&self) -> bool {
529        *self == Inp::Val44
530    }
531    #[doc = "TRIG_IN10 input is selected"]
532    #[inline(always)]
533    pub fn is_val45(&self) -> bool {
534        *self == Inp::Val45
535    }
536    #[doc = "TRIG_IN11 input is selected"]
537    #[inline(always)]
538    pub fn is_val46(&self) -> bool {
539        *self == Inp::Val46
540    }
541    #[doc = "GPIO0 Pin Event Trig 0 input is selected"]
542    #[inline(always)]
543    pub fn is_val47(&self) -> bool {
544        *self == Inp::Val47
545    }
546    #[doc = "GPIO1 Pin Event Trig 0 input is selected"]
547    #[inline(always)]
548    pub fn is_val48(&self) -> bool {
549        *self == Inp::Val48
550    }
551    #[doc = "GPIO2 Pin Event Trig 0 input is selected"]
552    #[inline(always)]
553    pub fn is_val49(&self) -> bool {
554        *self == Inp::Val49
555    }
556    #[doc = "GPIO3 Pin Event Trig 0 input is selected"]
557    #[inline(always)]
558    pub fn is_val50(&self) -> bool {
559        *self == Inp::Val50
560    }
561    #[doc = "GPIO4 Pin Event Trig 0 input is selected"]
562    #[inline(always)]
563    pub fn is_val51(&self) -> bool {
564        *self == Inp::Val51
565    }
566    #[doc = "ADC1_tcomp\\[0\\] input is selected"]
567    #[inline(always)]
568    pub fn is_val52(&self) -> bool {
569        *self == Inp::Val52
570    }
571    #[doc = "ADC1_tcomp\\[1\\] input is selected"]
572    #[inline(always)]
573    pub fn is_val53(&self) -> bool {
574        *self == Inp::Val53
575    }
576    #[doc = "ADC1_tcomp\\[2\\] input is selected"]
577    #[inline(always)]
578    pub fn is_val54(&self) -> bool {
579        *self == Inp::Val54
580    }
581    #[doc = "ADC1_tcomp\\[3\\] input is selected"]
582    #[inline(always)]
583    pub fn is_val55(&self) -> bool {
584        *self == Inp::Val55
585    }
586    #[doc = "CTimer3_MAT0 input is selected"]
587    #[inline(always)]
588    pub fn is_val56(&self) -> bool {
589        *self == Inp::Val56
590    }
591    #[doc = "CTimer3_MAT1 input is selected"]
592    #[inline(always)]
593    pub fn is_val57(&self) -> bool {
594        *self == Inp::Val57
595    }
596    #[doc = "CTimer3_MAT2 input is selected"]
597    #[inline(always)]
598    pub fn is_val58(&self) -> bool {
599        *self == Inp::Val58
600    }
601    #[doc = "CTimer3_MAT3 input is selected"]
602    #[inline(always)]
603    pub fn is_val59(&self) -> bool {
604        *self == Inp::Val59
605    }
606    #[doc = "CTimer4_MAT0 input is selected"]
607    #[inline(always)]
608    pub fn is_val60(&self) -> bool {
609        *self == Inp::Val60
610    }
611    #[doc = "CTimer4_MAT1 input is selected"]
612    #[inline(always)]
613    pub fn is_val61(&self) -> bool {
614        *self == Inp::Val61
615    }
616    #[doc = "CTimer4_MAT2 input is selected"]
617    #[inline(always)]
618    pub fn is_val62(&self) -> bool {
619        *self == Inp::Val62
620    }
621    #[doc = "CTimer4_MAT3 input is selected"]
622    #[inline(always)]
623    pub fn is_val63(&self) -> bool {
624        *self == Inp::Val63
625    }
626    #[doc = "FlexIO CH0 input is selected"]
627    #[inline(always)]
628    pub fn is_val64(&self) -> bool {
629        *self == Inp::Val64
630    }
631    #[doc = "FlexIO CH1 input is selected"]
632    #[inline(always)]
633    pub fn is_val65(&self) -> bool {
634        *self == Inp::Val65
635    }
636    #[doc = "FlexIO CH2 input is selected"]
637    #[inline(always)]
638    pub fn is_val66(&self) -> bool {
639        *self == Inp::Val66
640    }
641    #[doc = "FlexIO CH3 input is selected"]
642    #[inline(always)]
643    pub fn is_val67(&self) -> bool {
644        *self == Inp::Val67
645    }
646    #[doc = "QDC1_CMP_FLAG0 input is selected"]
647    #[inline(always)]
648    pub fn is_val68(&self) -> bool {
649        *self == Inp::Val68
650    }
651    #[doc = "QDC1_CMP_FLAG1 input is selected"]
652    #[inline(always)]
653    pub fn is_val69(&self) -> bool {
654        *self == Inp::Val69
655    }
656    #[doc = "QDC1_CMP_FLAG2 input is selected"]
657    #[inline(always)]
658    pub fn is_val70(&self) -> bool {
659        *self == Inp::Val70
660    }
661    #[doc = "QDC1_CMP_FLAG3 input is selected"]
662    #[inline(always)]
663    pub fn is_val71(&self) -> bool {
664        *self == Inp::Val71
665    }
666    #[doc = "QDC1_POS_MATCH0 input is selected"]
667    #[inline(always)]
668    pub fn is_val72(&self) -> bool {
669        *self == Inp::Val72
670    }
671    #[doc = "PWM1_SM0_MUX_TRIG0 input is selected"]
672    #[inline(always)]
673    pub fn is_val73(&self) -> bool {
674        *self == Inp::Val73
675    }
676    #[doc = "PWM1_SM0_MUX_TRIG1 input is selected"]
677    #[inline(always)]
678    pub fn is_val74(&self) -> bool {
679        *self == Inp::Val74
680    }
681    #[doc = "PWM1_SM1_MUX_TRIG0 input is selected"]
682    #[inline(always)]
683    pub fn is_val75(&self) -> bool {
684        *self == Inp::Val75
685    }
686    #[doc = "PWM1_SM1_MUX_TRIG1 input is selected"]
687    #[inline(always)]
688    pub fn is_val76(&self) -> bool {
689        *self == Inp::Val76
690    }
691    #[doc = "PWM1_SM2_MUX_TRIG0 input is selected"]
692    #[inline(always)]
693    pub fn is_val77(&self) -> bool {
694        *self == Inp::Val77
695    }
696    #[doc = "PWM1_SM2_MUX_TRIG1 input is selected"]
697    #[inline(always)]
698    pub fn is_val78(&self) -> bool {
699        *self == Inp::Val78
700    }
701    #[doc = "PWM1_SM3_MUX_TRIG0 input is selected"]
702    #[inline(always)]
703    pub fn is_val79(&self) -> bool {
704        *self == Inp::Val79
705    }
706    #[doc = "PWM1_SM3_MUX_TRIG1 input is selected"]
707    #[inline(always)]
708    pub fn is_val80(&self) -> bool {
709        *self == Inp::Val80
710    }
711    #[doc = "PWM0_SM0_A_Output"]
712    #[inline(always)]
713    pub fn is_val81(&self) -> bool {
714        *self == Inp::Val81
715    }
716    #[doc = "PWM0_SM0_B_Output"]
717    #[inline(always)]
718    pub fn is_val82(&self) -> bool {
719        *self == Inp::Val82
720    }
721    #[doc = "PWM0_SM1_A_Output"]
722    #[inline(always)]
723    pub fn is_val83(&self) -> bool {
724        *self == Inp::Val83
725    }
726    #[doc = "PWM0_SM1_B_Output"]
727    #[inline(always)]
728    pub fn is_val84(&self) -> bool {
729        *self == Inp::Val84
730    }
731    #[doc = "PWM0_SM2_A_Output"]
732    #[inline(always)]
733    pub fn is_val85(&self) -> bool {
734        *self == Inp::Val85
735    }
736    #[doc = "PWM0_SM2_B_Output"]
737    #[inline(always)]
738    pub fn is_val86(&self) -> bool {
739        *self == Inp::Val86
740    }
741    #[doc = "PWM0_SM3_A_Output"]
742    #[inline(always)]
743    pub fn is_val87(&self) -> bool {
744        *self == Inp::Val87
745    }
746    #[doc = "PWM0_SM3_B_Output"]
747    #[inline(always)]
748    pub fn is_val88(&self) -> bool {
749        *self == Inp::Val88
750    }
751    #[doc = "ADC2_tcomp\\[0\\] input is selected"]
752    #[inline(always)]
753    pub fn is_val89(&self) -> bool {
754        *self == Inp::Val89
755    }
756    #[doc = "ADC2_tcomp\\[1\\] input is selected"]
757    #[inline(always)]
758    pub fn is_val90(&self) -> bool {
759        *self == Inp::Val90
760    }
761    #[doc = "ADC2_tcomp\\[2\\] input is selected"]
762    #[inline(always)]
763    pub fn is_val91(&self) -> bool {
764        *self == Inp::Val91
765    }
766    #[doc = "ADC2_tcomp\\[3\\] input is selected"]
767    #[inline(always)]
768    pub fn is_val92(&self) -> bool {
769        *self == Inp::Val92
770    }
771    #[doc = "ADC3_tcomp\\[0\\] input is selected"]
772    #[inline(always)]
773    pub fn is_val93(&self) -> bool {
774        *self == Inp::Val93
775    }
776    #[doc = "ADC3_tcomp\\[1\\] input is selected"]
777    #[inline(always)]
778    pub fn is_val94(&self) -> bool {
779        *self == Inp::Val94
780    }
781    #[doc = "ADC3_tcomp\\[2\\] input is selected"]
782    #[inline(always)]
783    pub fn is_val95(&self) -> bool {
784        *self == Inp::Val95
785    }
786    #[doc = "ADC3_tcomp\\[3\\] input is selected"]
787    #[inline(always)]
788    pub fn is_val96(&self) -> bool {
789        *self == Inp::Val96
790    }
791}
792#[doc = "Field `INP` writer - AOI0 trigger input connections"]
793pub type InpW<'a, REG> = crate::FieldWriter<'a, REG, 7, Inp>;
794impl<'a, REG> InpW<'a, REG>
795where
796    REG: crate::Writable + crate::RegisterSpec,
797    REG::Ux: From<u8>,
798{
799    #[doc = "ADC0_tcomp\\[0\\] input is selected"]
800    #[inline(always)]
801    pub fn val1(self) -> &'a mut crate::W<REG> {
802        self.variant(Inp::Val1)
803    }
804    #[doc = "ADC0_tcomp\\[1\\] input is selected"]
805    #[inline(always)]
806    pub fn val2(self) -> &'a mut crate::W<REG> {
807        self.variant(Inp::Val2)
808    }
809    #[doc = "ADC0_tcomp\\[2\\] input is selected"]
810    #[inline(always)]
811    pub fn val3(self) -> &'a mut crate::W<REG> {
812        self.variant(Inp::Val3)
813    }
814    #[doc = "ADC0_tcomp\\[3\\] input is selected"]
815    #[inline(always)]
816    pub fn val4(self) -> &'a mut crate::W<REG> {
817        self.variant(Inp::Val4)
818    }
819    #[doc = "CMP0_OUT input is selected"]
820    #[inline(always)]
821    pub fn val5(self) -> &'a mut crate::W<REG> {
822        self.variant(Inp::Val5)
823    }
824    #[doc = "CMP1_OUT input is selected"]
825    #[inline(always)]
826    pub fn val6(self) -> &'a mut crate::W<REG> {
827        self.variant(Inp::Val6)
828    }
829    #[doc = "CMP2_OUT input is selected"]
830    #[inline(always)]
831    pub fn val7(self) -> &'a mut crate::W<REG> {
832        self.variant(Inp::Val7)
833    }
834    #[doc = "CTimer0_MAT0 input is selected"]
835    #[inline(always)]
836    pub fn val8(self) -> &'a mut crate::W<REG> {
837        self.variant(Inp::Val8)
838    }
839    #[doc = "CTimer0_MAT1 input is selected"]
840    #[inline(always)]
841    pub fn val9(self) -> &'a mut crate::W<REG> {
842        self.variant(Inp::Val9)
843    }
844    #[doc = "CTimer0_MAT2 input is selected"]
845    #[inline(always)]
846    pub fn val10(self) -> &'a mut crate::W<REG> {
847        self.variant(Inp::Val10)
848    }
849    #[doc = "CTimer0_MAT3 input is selected"]
850    #[inline(always)]
851    pub fn val11(self) -> &'a mut crate::W<REG> {
852        self.variant(Inp::Val11)
853    }
854    #[doc = "CTimer1_MAT0 input is selected"]
855    #[inline(always)]
856    pub fn val12(self) -> &'a mut crate::W<REG> {
857        self.variant(Inp::Val12)
858    }
859    #[doc = "CTimer1_MAT1 input is selected"]
860    #[inline(always)]
861    pub fn val13(self) -> &'a mut crate::W<REG> {
862        self.variant(Inp::Val13)
863    }
864    #[doc = "CTimer1_MAT2 input is selected"]
865    #[inline(always)]
866    pub fn val14(self) -> &'a mut crate::W<REG> {
867        self.variant(Inp::Val14)
868    }
869    #[doc = "CTimer1_MAT3 input is selected"]
870    #[inline(always)]
871    pub fn val15(self) -> &'a mut crate::W<REG> {
872        self.variant(Inp::Val15)
873    }
874    #[doc = "CTimer2_MAT0 input is selected"]
875    #[inline(always)]
876    pub fn val16(self) -> &'a mut crate::W<REG> {
877        self.variant(Inp::Val16)
878    }
879    #[doc = "CTimer2_MAT1 input is selected"]
880    #[inline(always)]
881    pub fn val17(self) -> &'a mut crate::W<REG> {
882        self.variant(Inp::Val17)
883    }
884    #[doc = "CTimer2_MAT2 input is selected"]
885    #[inline(always)]
886    pub fn val18(self) -> &'a mut crate::W<REG> {
887        self.variant(Inp::Val18)
888    }
889    #[doc = "CTimer2_MAT3 input is selected"]
890    #[inline(always)]
891    pub fn val19(self) -> &'a mut crate::W<REG> {
892        self.variant(Inp::Val19)
893    }
894    #[doc = "LPTMR0 input is selected"]
895    #[inline(always)]
896    pub fn val20(self) -> &'a mut crate::W<REG> {
897        self.variant(Inp::Val20)
898    }
899    #[doc = "QDC0_CMP_FLAG0 input is selected"]
900    #[inline(always)]
901    pub fn val22(self) -> &'a mut crate::W<REG> {
902        self.variant(Inp::Val22)
903    }
904    #[doc = "QDC0_CMP_FLAG1 input is selected"]
905    #[inline(always)]
906    pub fn val23(self) -> &'a mut crate::W<REG> {
907        self.variant(Inp::Val23)
908    }
909    #[doc = "QDC0_CMP_FLAG2 input is selected"]
910    #[inline(always)]
911    pub fn val24(self) -> &'a mut crate::W<REG> {
912        self.variant(Inp::Val24)
913    }
914    #[doc = "QDC0_CMP_FLAG3 input is selected"]
915    #[inline(always)]
916    pub fn val25(self) -> &'a mut crate::W<REG> {
917        self.variant(Inp::Val25)
918    }
919    #[doc = "QDC0_POS_MATCH0 input is selected"]
920    #[inline(always)]
921    pub fn val26(self) -> &'a mut crate::W<REG> {
922        self.variant(Inp::Val26)
923    }
924    #[doc = "PWM0_SM0_MUX_TRIG0 0 input is selected"]
925    #[inline(always)]
926    pub fn val27(self) -> &'a mut crate::W<REG> {
927        self.variant(Inp::Val27)
928    }
929    #[doc = "PWM0_SM0_MUX_TRIG1 input is selected"]
930    #[inline(always)]
931    pub fn val28(self) -> &'a mut crate::W<REG> {
932        self.variant(Inp::Val28)
933    }
934    #[doc = "PWM0_SM1_MUX_TRIG0 input is selected"]
935    #[inline(always)]
936    pub fn val29(self) -> &'a mut crate::W<REG> {
937        self.variant(Inp::Val29)
938    }
939    #[doc = "PWM0_SM1_MUX_TRIG1 input is selected"]
940    #[inline(always)]
941    pub fn val30(self) -> &'a mut crate::W<REG> {
942        self.variant(Inp::Val30)
943    }
944    #[doc = "PWM0_SM2_MUX_TRIG0 input is selected"]
945    #[inline(always)]
946    pub fn val31(self) -> &'a mut crate::W<REG> {
947        self.variant(Inp::Val31)
948    }
949    #[doc = "PWM0_SM2_MUX_TRIG1 input is selected"]
950    #[inline(always)]
951    pub fn val32(self) -> &'a mut crate::W<REG> {
952        self.variant(Inp::Val32)
953    }
954    #[doc = "PWM0_SM3_MUX_TRIG0 input is selected"]
955    #[inline(always)]
956    pub fn val33(self) -> &'a mut crate::W<REG> {
957        self.variant(Inp::Val33)
958    }
959    #[doc = "PWM0_SM3_MUX_TRIG1 input is selected"]
960    #[inline(always)]
961    pub fn val34(self) -> &'a mut crate::W<REG> {
962        self.variant(Inp::Val34)
963    }
964    #[doc = "TRIG_IN0 input is selected"]
965    #[inline(always)]
966    pub fn val35(self) -> &'a mut crate::W<REG> {
967        self.variant(Inp::Val35)
968    }
969    #[doc = "TRIG_IN1 input is selected"]
970    #[inline(always)]
971    pub fn val36(self) -> &'a mut crate::W<REG> {
972        self.variant(Inp::Val36)
973    }
974    #[doc = "TRIG_IN2 input is selected"]
975    #[inline(always)]
976    pub fn val37(self) -> &'a mut crate::W<REG> {
977        self.variant(Inp::Val37)
978    }
979    #[doc = "TRIG_IN3 input is selected"]
980    #[inline(always)]
981    pub fn val38(self) -> &'a mut crate::W<REG> {
982        self.variant(Inp::Val38)
983    }
984    #[doc = "TRIG_IN4 input is selected"]
985    #[inline(always)]
986    pub fn val39(self) -> &'a mut crate::W<REG> {
987        self.variant(Inp::Val39)
988    }
989    #[doc = "TRIG_IN5 input is selected"]
990    #[inline(always)]
991    pub fn val40(self) -> &'a mut crate::W<REG> {
992        self.variant(Inp::Val40)
993    }
994    #[doc = "TRIG_IN6 input is selected"]
995    #[inline(always)]
996    pub fn val41(self) -> &'a mut crate::W<REG> {
997        self.variant(Inp::Val41)
998    }
999    #[doc = "TRIG_IN7 input is selected"]
1000    #[inline(always)]
1001    pub fn val42(self) -> &'a mut crate::W<REG> {
1002        self.variant(Inp::Val42)
1003    }
1004    #[doc = "TRIG_IN8 input is selected"]
1005    #[inline(always)]
1006    pub fn val43(self) -> &'a mut crate::W<REG> {
1007        self.variant(Inp::Val43)
1008    }
1009    #[doc = "TRIG_IN9 input is selected"]
1010    #[inline(always)]
1011    pub fn val44(self) -> &'a mut crate::W<REG> {
1012        self.variant(Inp::Val44)
1013    }
1014    #[doc = "TRIG_IN10 input is selected"]
1015    #[inline(always)]
1016    pub fn val45(self) -> &'a mut crate::W<REG> {
1017        self.variant(Inp::Val45)
1018    }
1019    #[doc = "TRIG_IN11 input is selected"]
1020    #[inline(always)]
1021    pub fn val46(self) -> &'a mut crate::W<REG> {
1022        self.variant(Inp::Val46)
1023    }
1024    #[doc = "GPIO0 Pin Event Trig 0 input is selected"]
1025    #[inline(always)]
1026    pub fn val47(self) -> &'a mut crate::W<REG> {
1027        self.variant(Inp::Val47)
1028    }
1029    #[doc = "GPIO1 Pin Event Trig 0 input is selected"]
1030    #[inline(always)]
1031    pub fn val48(self) -> &'a mut crate::W<REG> {
1032        self.variant(Inp::Val48)
1033    }
1034    #[doc = "GPIO2 Pin Event Trig 0 input is selected"]
1035    #[inline(always)]
1036    pub fn val49(self) -> &'a mut crate::W<REG> {
1037        self.variant(Inp::Val49)
1038    }
1039    #[doc = "GPIO3 Pin Event Trig 0 input is selected"]
1040    #[inline(always)]
1041    pub fn val50(self) -> &'a mut crate::W<REG> {
1042        self.variant(Inp::Val50)
1043    }
1044    #[doc = "GPIO4 Pin Event Trig 0 input is selected"]
1045    #[inline(always)]
1046    pub fn val51(self) -> &'a mut crate::W<REG> {
1047        self.variant(Inp::Val51)
1048    }
1049    #[doc = "ADC1_tcomp\\[0\\] input is selected"]
1050    #[inline(always)]
1051    pub fn val52(self) -> &'a mut crate::W<REG> {
1052        self.variant(Inp::Val52)
1053    }
1054    #[doc = "ADC1_tcomp\\[1\\] input is selected"]
1055    #[inline(always)]
1056    pub fn val53(self) -> &'a mut crate::W<REG> {
1057        self.variant(Inp::Val53)
1058    }
1059    #[doc = "ADC1_tcomp\\[2\\] input is selected"]
1060    #[inline(always)]
1061    pub fn val54(self) -> &'a mut crate::W<REG> {
1062        self.variant(Inp::Val54)
1063    }
1064    #[doc = "ADC1_tcomp\\[3\\] input is selected"]
1065    #[inline(always)]
1066    pub fn val55(self) -> &'a mut crate::W<REG> {
1067        self.variant(Inp::Val55)
1068    }
1069    #[doc = "CTimer3_MAT0 input is selected"]
1070    #[inline(always)]
1071    pub fn val56(self) -> &'a mut crate::W<REG> {
1072        self.variant(Inp::Val56)
1073    }
1074    #[doc = "CTimer3_MAT1 input is selected"]
1075    #[inline(always)]
1076    pub fn val57(self) -> &'a mut crate::W<REG> {
1077        self.variant(Inp::Val57)
1078    }
1079    #[doc = "CTimer3_MAT2 input is selected"]
1080    #[inline(always)]
1081    pub fn val58(self) -> &'a mut crate::W<REG> {
1082        self.variant(Inp::Val58)
1083    }
1084    #[doc = "CTimer3_MAT3 input is selected"]
1085    #[inline(always)]
1086    pub fn val59(self) -> &'a mut crate::W<REG> {
1087        self.variant(Inp::Val59)
1088    }
1089    #[doc = "CTimer4_MAT0 input is selected"]
1090    #[inline(always)]
1091    pub fn val60(self) -> &'a mut crate::W<REG> {
1092        self.variant(Inp::Val60)
1093    }
1094    #[doc = "CTimer4_MAT1 input is selected"]
1095    #[inline(always)]
1096    pub fn val61(self) -> &'a mut crate::W<REG> {
1097        self.variant(Inp::Val61)
1098    }
1099    #[doc = "CTimer4_MAT2 input is selected"]
1100    #[inline(always)]
1101    pub fn val62(self) -> &'a mut crate::W<REG> {
1102        self.variant(Inp::Val62)
1103    }
1104    #[doc = "CTimer4_MAT3 input is selected"]
1105    #[inline(always)]
1106    pub fn val63(self) -> &'a mut crate::W<REG> {
1107        self.variant(Inp::Val63)
1108    }
1109    #[doc = "FlexIO CH0 input is selected"]
1110    #[inline(always)]
1111    pub fn val64(self) -> &'a mut crate::W<REG> {
1112        self.variant(Inp::Val64)
1113    }
1114    #[doc = "FlexIO CH1 input is selected"]
1115    #[inline(always)]
1116    pub fn val65(self) -> &'a mut crate::W<REG> {
1117        self.variant(Inp::Val65)
1118    }
1119    #[doc = "FlexIO CH2 input is selected"]
1120    #[inline(always)]
1121    pub fn val66(self) -> &'a mut crate::W<REG> {
1122        self.variant(Inp::Val66)
1123    }
1124    #[doc = "FlexIO CH3 input is selected"]
1125    #[inline(always)]
1126    pub fn val67(self) -> &'a mut crate::W<REG> {
1127        self.variant(Inp::Val67)
1128    }
1129    #[doc = "QDC1_CMP_FLAG0 input is selected"]
1130    #[inline(always)]
1131    pub fn val68(self) -> &'a mut crate::W<REG> {
1132        self.variant(Inp::Val68)
1133    }
1134    #[doc = "QDC1_CMP_FLAG1 input is selected"]
1135    #[inline(always)]
1136    pub fn val69(self) -> &'a mut crate::W<REG> {
1137        self.variant(Inp::Val69)
1138    }
1139    #[doc = "QDC1_CMP_FLAG2 input is selected"]
1140    #[inline(always)]
1141    pub fn val70(self) -> &'a mut crate::W<REG> {
1142        self.variant(Inp::Val70)
1143    }
1144    #[doc = "QDC1_CMP_FLAG3 input is selected"]
1145    #[inline(always)]
1146    pub fn val71(self) -> &'a mut crate::W<REG> {
1147        self.variant(Inp::Val71)
1148    }
1149    #[doc = "QDC1_POS_MATCH0 input is selected"]
1150    #[inline(always)]
1151    pub fn val72(self) -> &'a mut crate::W<REG> {
1152        self.variant(Inp::Val72)
1153    }
1154    #[doc = "PWM1_SM0_MUX_TRIG0 input is selected"]
1155    #[inline(always)]
1156    pub fn val73(self) -> &'a mut crate::W<REG> {
1157        self.variant(Inp::Val73)
1158    }
1159    #[doc = "PWM1_SM0_MUX_TRIG1 input is selected"]
1160    #[inline(always)]
1161    pub fn val74(self) -> &'a mut crate::W<REG> {
1162        self.variant(Inp::Val74)
1163    }
1164    #[doc = "PWM1_SM1_MUX_TRIG0 input is selected"]
1165    #[inline(always)]
1166    pub fn val75(self) -> &'a mut crate::W<REG> {
1167        self.variant(Inp::Val75)
1168    }
1169    #[doc = "PWM1_SM1_MUX_TRIG1 input is selected"]
1170    #[inline(always)]
1171    pub fn val76(self) -> &'a mut crate::W<REG> {
1172        self.variant(Inp::Val76)
1173    }
1174    #[doc = "PWM1_SM2_MUX_TRIG0 input is selected"]
1175    #[inline(always)]
1176    pub fn val77(self) -> &'a mut crate::W<REG> {
1177        self.variant(Inp::Val77)
1178    }
1179    #[doc = "PWM1_SM2_MUX_TRIG1 input is selected"]
1180    #[inline(always)]
1181    pub fn val78(self) -> &'a mut crate::W<REG> {
1182        self.variant(Inp::Val78)
1183    }
1184    #[doc = "PWM1_SM3_MUX_TRIG0 input is selected"]
1185    #[inline(always)]
1186    pub fn val79(self) -> &'a mut crate::W<REG> {
1187        self.variant(Inp::Val79)
1188    }
1189    #[doc = "PWM1_SM3_MUX_TRIG1 input is selected"]
1190    #[inline(always)]
1191    pub fn val80(self) -> &'a mut crate::W<REG> {
1192        self.variant(Inp::Val80)
1193    }
1194    #[doc = "PWM0_SM0_A_Output"]
1195    #[inline(always)]
1196    pub fn val81(self) -> &'a mut crate::W<REG> {
1197        self.variant(Inp::Val81)
1198    }
1199    #[doc = "PWM0_SM0_B_Output"]
1200    #[inline(always)]
1201    pub fn val82(self) -> &'a mut crate::W<REG> {
1202        self.variant(Inp::Val82)
1203    }
1204    #[doc = "PWM0_SM1_A_Output"]
1205    #[inline(always)]
1206    pub fn val83(self) -> &'a mut crate::W<REG> {
1207        self.variant(Inp::Val83)
1208    }
1209    #[doc = "PWM0_SM1_B_Output"]
1210    #[inline(always)]
1211    pub fn val84(self) -> &'a mut crate::W<REG> {
1212        self.variant(Inp::Val84)
1213    }
1214    #[doc = "PWM0_SM2_A_Output"]
1215    #[inline(always)]
1216    pub fn val85(self) -> &'a mut crate::W<REG> {
1217        self.variant(Inp::Val85)
1218    }
1219    #[doc = "PWM0_SM2_B_Output"]
1220    #[inline(always)]
1221    pub fn val86(self) -> &'a mut crate::W<REG> {
1222        self.variant(Inp::Val86)
1223    }
1224    #[doc = "PWM0_SM3_A_Output"]
1225    #[inline(always)]
1226    pub fn val87(self) -> &'a mut crate::W<REG> {
1227        self.variant(Inp::Val87)
1228    }
1229    #[doc = "PWM0_SM3_B_Output"]
1230    #[inline(always)]
1231    pub fn val88(self) -> &'a mut crate::W<REG> {
1232        self.variant(Inp::Val88)
1233    }
1234    #[doc = "ADC2_tcomp\\[0\\] input is selected"]
1235    #[inline(always)]
1236    pub fn val89(self) -> &'a mut crate::W<REG> {
1237        self.variant(Inp::Val89)
1238    }
1239    #[doc = "ADC2_tcomp\\[1\\] input is selected"]
1240    #[inline(always)]
1241    pub fn val90(self) -> &'a mut crate::W<REG> {
1242        self.variant(Inp::Val90)
1243    }
1244    #[doc = "ADC2_tcomp\\[2\\] input is selected"]
1245    #[inline(always)]
1246    pub fn val91(self) -> &'a mut crate::W<REG> {
1247        self.variant(Inp::Val91)
1248    }
1249    #[doc = "ADC2_tcomp\\[3\\] input is selected"]
1250    #[inline(always)]
1251    pub fn val92(self) -> &'a mut crate::W<REG> {
1252        self.variant(Inp::Val92)
1253    }
1254    #[doc = "ADC3_tcomp\\[0\\] input is selected"]
1255    #[inline(always)]
1256    pub fn val93(self) -> &'a mut crate::W<REG> {
1257        self.variant(Inp::Val93)
1258    }
1259    #[doc = "ADC3_tcomp\\[1\\] input is selected"]
1260    #[inline(always)]
1261    pub fn val94(self) -> &'a mut crate::W<REG> {
1262        self.variant(Inp::Val94)
1263    }
1264    #[doc = "ADC3_tcomp\\[2\\] input is selected"]
1265    #[inline(always)]
1266    pub fn val95(self) -> &'a mut crate::W<REG> {
1267        self.variant(Inp::Val95)
1268    }
1269    #[doc = "ADC3_tcomp\\[3\\] input is selected"]
1270    #[inline(always)]
1271    pub fn val96(self) -> &'a mut crate::W<REG> {
1272        self.variant(Inp::Val96)
1273    }
1274}
1275impl R {
1276    #[doc = "Bits 0:6 - AOI0 trigger input connections"]
1277    #[inline(always)]
1278    pub fn inp(&self) -> InpR {
1279        InpR::new((self.bits & 0x7f) as u8)
1280    }
1281}
1282#[cfg(feature = "debug")]
1283impl core::fmt::Debug for R {
1284    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
1285        f.debug_struct("AOI0_INPUT").field("inp", &self.inp()).finish()
1286    }
1287}
1288impl W {
1289    #[doc = "Bits 0:6 - AOI0 trigger input connections"]
1290    #[inline(always)]
1291    pub fn inp(&mut self) -> InpW<'_, Aoi0InputSpec> {
1292        InpW::new(self, 0)
1293    }
1294}
1295#[doc = "AOI0 trigger input connections 0\n\nYou can [`read`](crate::Reg::read) this register and get [`aoi0_input::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`aoi0_input::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
1296pub struct Aoi0InputSpec;
1297impl crate::RegisterSpec for Aoi0InputSpec {
1298    type Ux = u32;
1299}
1300#[doc = "`read()` method returns [`aoi0_input::R`](R) reader structure"]
1301impl crate::Readable for Aoi0InputSpec {}
1302#[doc = "`write(|w| ..)` method takes [`aoi0_input::W`](W) writer structure"]
1303impl crate::Writable for Aoi0InputSpec {
1304    type Safety = crate::Unsafe;
1305}
1306#[doc = "`reset()` method sets AOI0_INPUT[%s] to value 0x7f"]
1307impl crate::Resettable for Aoi0InputSpec {
1308    const RESET_VALUE: u32 = 0x7f;
1309}