mcxa_pac/inputmux0/
ctimer3cap.rs

1#[doc = "Register `CTIMER3CAP[%s]` reader"]
2pub type R = crate::R<Ctimer3capSpec>;
3#[doc = "Register `CTIMER3CAP[%s]` writer"]
4pub type W = crate::W<Ctimer3capSpec>;
5#[doc = "Input number for CTIMER3\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: CT_INP0 input is selected"]
11    Val1 = 1,
12    #[doc = "2: CT_INP1 input is selected"]
13    Val2 = 2,
14    #[doc = "3: CT_INP2 input is selected"]
15    Val3 = 3,
16    #[doc = "4: CT_INP3 input is selected"]
17    Val4 = 4,
18    #[doc = "5: CT_INP4 input is selected"]
19    Val5 = 5,
20    #[doc = "6: CT_INP5 input is selected"]
21    Val6 = 6,
22    #[doc = "7: CT_INP6 input is selected"]
23    Val7 = 7,
24    #[doc = "8: CT_INP7 input is selected"]
25    Val8 = 8,
26    #[doc = "9: CT_INP8 input is selected"]
27    Val9 = 9,
28    #[doc = "10: CT_INP9 input is selected"]
29    Val10 = 10,
30    #[doc = "11: CT_INP10 input is selected"]
31    Val11 = 11,
32    #[doc = "12: CT_INP11 input is selected"]
33    Val12 = 12,
34    #[doc = "13: CT_INP12 input is selected"]
35    Val13 = 13,
36    #[doc = "14: CT_INP13 input is selected"]
37    Val14 = 14,
38    #[doc = "15: CT_INP14 input is selected"]
39    Val15 = 15,
40    #[doc = "16: CT_INP15 input is selected"]
41    Val16 = 16,
42    #[doc = "17: CT_INP16 input is selected"]
43    Val17 = 17,
44    #[doc = "18: CT_INP17 input is selected"]
45    Val18 = 18,
46    #[doc = "19: CT_INP18 input is selected"]
47    Val19 = 19,
48    #[doc = "20: CT_INP19 input is selected"]
49    Val20 = 20,
50    #[doc = "21: USB0 usb0 start of frame input is selected"]
51    Val21 = 21,
52    #[doc = "22: AOI0_OUT0 input is selected"]
53    Val22 = 22,
54    #[doc = "23: AOI0_OUT1 input is selected"]
55    Val23 = 23,
56    #[doc = "24: AOI0_OUT2 input is selected"]
57    Val24 = 24,
58    #[doc = "25: AOI0_OUT3 input is selected"]
59    Val25 = 25,
60    #[doc = "26: ADC0_tcomp\\[0\\]"]
61    Val26 = 26,
62    #[doc = "27: ADC0_tcomp\\[1\\]"]
63    Val27 = 27,
64    #[doc = "28: ADC0_tcomp\\[2\\]"]
65    Val28 = 28,
66    #[doc = "29: ADC0_tcomp\\[3\\] input is selected"]
67    Val29 = 29,
68    #[doc = "30: CMP0_OUT is selected"]
69    Val30 = 30,
70    #[doc = "31: CMP1_OUT is selected"]
71    Val31 = 31,
72    #[doc = "32: CMP2_OUT is selected"]
73    Val32 = 32,
74    #[doc = "33: CTimer0_MAT1 input is selected"]
75    Val33 = 33,
76    #[doc = "34: CTimer0_MAT2 input is selected"]
77    Val34 = 34,
78    #[doc = "35: CTimer0_MAT3 input is selected"]
79    Val35 = 35,
80    #[doc = "36: CTimer1_MAT1 input is selected"]
81    Val36 = 36,
82    #[doc = "37: CTimer1_MAT2 input is selected"]
83    Val37 = 37,
84    #[doc = "38: CTimer1_MAT3 input is selected"]
85    Val38 = 38,
86    #[doc = "39: QDC0_CMP_FLAG0 is selected"]
87    Val39 = 39,
88    #[doc = "40: QDC0_CMP_FLAG1 input is selected"]
89    Val40 = 40,
90    #[doc = "41: QDC0_CMP_FLAG2 input is selected"]
91    Val41 = 41,
92    #[doc = "42: QDC0_CMP_FLAG3 input is selected"]
93    Val42 = 42,
94    #[doc = "43: QDC0_POS_MATCH0 input is selected"]
95    Val43 = 43,
96    #[doc = "44: PWM0_SM0_MUX_TRIG0 input is selected"]
97    Val44 = 44,
98    #[doc = "45: PWM0_SM1_MUX_TRIG0 input is selected"]
99    Val45 = 45,
100    #[doc = "46: PWM0_SM2_MUX_TRIG0 input is selected"]
101    Val46 = 46,
102    #[doc = "47: PWM0_SM3_MUX_TRIG0 input is selected"]
103    Val47 = 47,
104    #[doc = "48: LPI2C0 Master End of Packet input is selected"]
105    Val48 = 48,
106    #[doc = "49: LPI2C0 Slave End of Packet input is selected"]
107    Val49 = 49,
108    #[doc = "50: LPI2C1 Master End of Packet input is selected"]
109    Val50 = 50,
110    #[doc = "51: LPI2C1 Slave End of Packet input is selected"]
111    Val51 = 51,
112    #[doc = "52: LPSPI0 End of Frame input is selected"]
113    Val52 = 52,
114    #[doc = "53: LPSPI0 Received Data Word input is selected"]
115    Val53 = 53,
116    #[doc = "54: LPSPI1 End of Frame input is selected"]
117    Val54 = 54,
118    #[doc = "55: LPSPI1 Received Data Word input is selected"]
119    Val55 = 55,
120    #[doc = "56: LPUART0 Received Data Word input is selected"]
121    Val56 = 56,
122    #[doc = "57: LPUART0 Transmitted Data Word input is selected"]
123    Val57 = 57,
124    #[doc = "58: LPUART0 Receive Line Idle input is selected"]
125    Val58 = 58,
126    #[doc = "59: LPUART1 Received Data Word input is selected"]
127    Val59 = 59,
128    #[doc = "60: LPUART1 Transmitted Data Word input is selected"]
129    Val60 = 60,
130    #[doc = "61: LPUART1 Receive Line Idle input is selected"]
131    Val61 = 61,
132    #[doc = "62: LPUART2 Received Data Word input is selected"]
133    Val62 = 62,
134    #[doc = "63: LPUART2 Transmitted Data Word input is selected"]
135    Val63 = 63,
136    #[doc = "64: LPUART2 Receive Line Idle input is selected"]
137    Val64 = 64,
138    #[doc = "65: LPUART3 Received Data Word input is selected"]
139    Val65 = 65,
140    #[doc = "66: LPUART3 Transmitted Data Word input is selected"]
141    Val66 = 66,
142    #[doc = "67: LPUART3 Receive Line Idle input is selected"]
143    Val67 = 67,
144    #[doc = "68: LPUART4 Received Data Word input is selected"]
145    Val68 = 68,
146    #[doc = "69: LPUART4 Transmitted Data Word input is selected"]
147    Val69 = 69,
148    #[doc = "70: LPUART4 Receive Line Idle input is selected"]
149    Val70 = 70,
150    #[doc = "71: AOI1_OUT0 input is selected"]
151    Val71 = 71,
152    #[doc = "72: AOI1_OUT1 input is selected"]
153    Val72 = 72,
154    #[doc = "73: AOI1_OUT2 input is selected"]
155    Val73 = 73,
156    #[doc = "74: AOI1_OUT3 input is selected"]
157    Val74 = 74,
158    #[doc = "75: ADC1_tcomp\\[0\\] input is selected"]
159    Val75 = 75,
160    #[doc = "76: ADC1_tcomp\\[1\\] input is selected"]
161    Val76 = 76,
162    #[doc = "77: ADC1_tcomp\\[2\\] input is selected"]
163    Val77 = 77,
164    #[doc = "78: ADC1_tcomp\\[3\\] input is selected"]
165    Val78 = 78,
166    #[doc = "79: CTimer2_MAT1 input is selected"]
167    Val79 = 79,
168    #[doc = "80: CTimer2_MAT2 input is selected"]
169    Val80 = 80,
170    #[doc = "81: CTimer2_MAT3 input is selected"]
171    Val81 = 81,
172    #[doc = "82: CTimer4_MAT1 input is selected"]
173    Val82 = 82,
174    #[doc = "83: CTimer4_MAT2 input is selected"]
175    Val83 = 83,
176    #[doc = "84: CTimer4_MAT3 input is selected"]
177    Val84 = 84,
178    #[doc = "85: QDC1_CMP_FLAG0 input is selected"]
179    Val85 = 85,
180    #[doc = "86: QDC1_CMP_FLAG1 input is selected"]
181    Val86 = 86,
182    #[doc = "87: QDC1_CMP_FLAG2 input is selected"]
183    Val87 = 87,
184    #[doc = "88: QDC1_CMP_FLAG3 input is selected"]
185    Val88 = 88,
186    #[doc = "89: QDC1_POS_MATCH0 input is selected"]
187    Val89 = 89,
188    #[doc = "90: PWM1_SM0_MUX_TRIG0 input is selected"]
189    Val90 = 90,
190    #[doc = "91: PWM1_SM1_MUX_TRIG0 input is selected"]
191    Val91 = 91,
192    #[doc = "92: PWM1_SM2_MUX_TRIG0 input is selected"]
193    Val92 = 92,
194    #[doc = "93: PWM1_SM2_MUX_TRIG0 input is selected"]
195    Val93 = 93,
196    #[doc = "94: LPI2C2 Master End of Packet input is selected"]
197    Val94 = 94,
198    #[doc = "95: LPI2C2 Slave End of Packet input is selected"]
199    Val95 = 95,
200    #[doc = "96: LPI2C3 Master End of Packet input is selected"]
201    Val96 = 96,
202    #[doc = "97: LPI2C3 Slave End of Packet input is selected"]
203    Val97 = 97,
204    #[doc = "98: LPUART5 Received Data Word input is selected"]
205    Val98 = 98,
206    #[doc = "99: LPUART5 Transmitted Data Word input is selected"]
207    Val99 = 99,
208    #[doc = "100: LPUART5 Receive Line Idle input is selected"]
209    Val100 = 100,
210    #[doc = "105: ADC2_tcomp\\[0\\] input is selected"]
211    Val105 = 105,
212    #[doc = "106: ADC2_tcomp\\[1\\] input is selected"]
213    Val106 = 106,
214    #[doc = "107: ADC2_tcomp\\[2\\] input is selected"]
215    Val107 = 107,
216    #[doc = "108: ADC2_tcomp\\[3\\] input is selected"]
217    Val108 = 108,
218    #[doc = "109: ADC3_tcomp\\[0\\] input is selected"]
219    Val109 = 109,
220    #[doc = "110: ADC3_tcomp\\[1\\] input is selected"]
221    Val110 = 110,
222    #[doc = "111: ADC3_tcomp\\[2\\] input is selected"]
223    Val111 = 111,
224    #[doc = "112: ADC3_tcomp\\[3\\] input is selected"]
225    Val112 = 112,
226    #[doc = "113: TRIG_IN0 input is selected"]
227    Val113 = 113,
228    #[doc = "114: TRIG_IN1 input is selected"]
229    Val114 = 114,
230    #[doc = "115: TRIG_IN2 input is selected"]
231    Val115 = 115,
232    #[doc = "116: TRIG_IN3 input is selected"]
233    Val116 = 116,
234    #[doc = "117: TRIG_IN4 input is selected"]
235    Val117 = 117,
236    #[doc = "118: TRIG_IN5 input is selected"]
237    Val118 = 118,
238    #[doc = "119: TRIG_IN6 input is selected"]
239    Val119 = 119,
240    #[doc = "120: TRIG_IN7 input is selected"]
241    Val120 = 120,
242    #[doc = "121: TRIG_IN8 input is selected"]
243    Val121 = 121,
244    #[doc = "122: TRIG_IN9 input is selected"]
245    Val122 = 122,
246    #[doc = "123: TRIG_IN10 input is selected"]
247    Val123 = 123,
248    #[doc = "124: TRIG_IN11 input is selected"]
249    Val124 = 124,
250}
251impl From<Inp> for u8 {
252    #[inline(always)]
253    fn from(variant: Inp) -> Self {
254        variant as _
255    }
256}
257impl crate::FieldSpec for Inp {
258    type Ux = u8;
259}
260impl crate::IsEnum for Inp {}
261#[doc = "Field `INP` reader - Input number for CTIMER3"]
262pub type InpR = crate::FieldReader<Inp>;
263impl InpR {
264    #[doc = "Get enumerated values variant"]
265    #[inline(always)]
266    pub const fn variant(&self) -> Option<Inp> {
267        match self.bits {
268            1 => Some(Inp::Val1),
269            2 => Some(Inp::Val2),
270            3 => Some(Inp::Val3),
271            4 => Some(Inp::Val4),
272            5 => Some(Inp::Val5),
273            6 => Some(Inp::Val6),
274            7 => Some(Inp::Val7),
275            8 => Some(Inp::Val8),
276            9 => Some(Inp::Val9),
277            10 => Some(Inp::Val10),
278            11 => Some(Inp::Val11),
279            12 => Some(Inp::Val12),
280            13 => Some(Inp::Val13),
281            14 => Some(Inp::Val14),
282            15 => Some(Inp::Val15),
283            16 => Some(Inp::Val16),
284            17 => Some(Inp::Val17),
285            18 => Some(Inp::Val18),
286            19 => Some(Inp::Val19),
287            20 => Some(Inp::Val20),
288            21 => Some(Inp::Val21),
289            22 => Some(Inp::Val22),
290            23 => Some(Inp::Val23),
291            24 => Some(Inp::Val24),
292            25 => Some(Inp::Val25),
293            26 => Some(Inp::Val26),
294            27 => Some(Inp::Val27),
295            28 => Some(Inp::Val28),
296            29 => Some(Inp::Val29),
297            30 => Some(Inp::Val30),
298            31 => Some(Inp::Val31),
299            32 => Some(Inp::Val32),
300            33 => Some(Inp::Val33),
301            34 => Some(Inp::Val34),
302            35 => Some(Inp::Val35),
303            36 => Some(Inp::Val36),
304            37 => Some(Inp::Val37),
305            38 => Some(Inp::Val38),
306            39 => Some(Inp::Val39),
307            40 => Some(Inp::Val40),
308            41 => Some(Inp::Val41),
309            42 => Some(Inp::Val42),
310            43 => Some(Inp::Val43),
311            44 => Some(Inp::Val44),
312            45 => Some(Inp::Val45),
313            46 => Some(Inp::Val46),
314            47 => Some(Inp::Val47),
315            48 => Some(Inp::Val48),
316            49 => Some(Inp::Val49),
317            50 => Some(Inp::Val50),
318            51 => Some(Inp::Val51),
319            52 => Some(Inp::Val52),
320            53 => Some(Inp::Val53),
321            54 => Some(Inp::Val54),
322            55 => Some(Inp::Val55),
323            56 => Some(Inp::Val56),
324            57 => Some(Inp::Val57),
325            58 => Some(Inp::Val58),
326            59 => Some(Inp::Val59),
327            60 => Some(Inp::Val60),
328            61 => Some(Inp::Val61),
329            62 => Some(Inp::Val62),
330            63 => Some(Inp::Val63),
331            64 => Some(Inp::Val64),
332            65 => Some(Inp::Val65),
333            66 => Some(Inp::Val66),
334            67 => Some(Inp::Val67),
335            68 => Some(Inp::Val68),
336            69 => Some(Inp::Val69),
337            70 => Some(Inp::Val70),
338            71 => Some(Inp::Val71),
339            72 => Some(Inp::Val72),
340            73 => Some(Inp::Val73),
341            74 => Some(Inp::Val74),
342            75 => Some(Inp::Val75),
343            76 => Some(Inp::Val76),
344            77 => Some(Inp::Val77),
345            78 => Some(Inp::Val78),
346            79 => Some(Inp::Val79),
347            80 => Some(Inp::Val80),
348            81 => Some(Inp::Val81),
349            82 => Some(Inp::Val82),
350            83 => Some(Inp::Val83),
351            84 => Some(Inp::Val84),
352            85 => Some(Inp::Val85),
353            86 => Some(Inp::Val86),
354            87 => Some(Inp::Val87),
355            88 => Some(Inp::Val88),
356            89 => Some(Inp::Val89),
357            90 => Some(Inp::Val90),
358            91 => Some(Inp::Val91),
359            92 => Some(Inp::Val92),
360            93 => Some(Inp::Val93),
361            94 => Some(Inp::Val94),
362            95 => Some(Inp::Val95),
363            96 => Some(Inp::Val96),
364            97 => Some(Inp::Val97),
365            98 => Some(Inp::Val98),
366            99 => Some(Inp::Val99),
367            100 => Some(Inp::Val100),
368            105 => Some(Inp::Val105),
369            106 => Some(Inp::Val106),
370            107 => Some(Inp::Val107),
371            108 => Some(Inp::Val108),
372            109 => Some(Inp::Val109),
373            110 => Some(Inp::Val110),
374            111 => Some(Inp::Val111),
375            112 => Some(Inp::Val112),
376            113 => Some(Inp::Val113),
377            114 => Some(Inp::Val114),
378            115 => Some(Inp::Val115),
379            116 => Some(Inp::Val116),
380            117 => Some(Inp::Val117),
381            118 => Some(Inp::Val118),
382            119 => Some(Inp::Val119),
383            120 => Some(Inp::Val120),
384            121 => Some(Inp::Val121),
385            122 => Some(Inp::Val122),
386            123 => Some(Inp::Val123),
387            124 => Some(Inp::Val124),
388            _ => None,
389        }
390    }
391    #[doc = "CT_INP0 input is selected"]
392    #[inline(always)]
393    pub fn is_val1(&self) -> bool {
394        *self == Inp::Val1
395    }
396    #[doc = "CT_INP1 input is selected"]
397    #[inline(always)]
398    pub fn is_val2(&self) -> bool {
399        *self == Inp::Val2
400    }
401    #[doc = "CT_INP2 input is selected"]
402    #[inline(always)]
403    pub fn is_val3(&self) -> bool {
404        *self == Inp::Val3
405    }
406    #[doc = "CT_INP3 input is selected"]
407    #[inline(always)]
408    pub fn is_val4(&self) -> bool {
409        *self == Inp::Val4
410    }
411    #[doc = "CT_INP4 input is selected"]
412    #[inline(always)]
413    pub fn is_val5(&self) -> bool {
414        *self == Inp::Val5
415    }
416    #[doc = "CT_INP5 input is selected"]
417    #[inline(always)]
418    pub fn is_val6(&self) -> bool {
419        *self == Inp::Val6
420    }
421    #[doc = "CT_INP6 input is selected"]
422    #[inline(always)]
423    pub fn is_val7(&self) -> bool {
424        *self == Inp::Val7
425    }
426    #[doc = "CT_INP7 input is selected"]
427    #[inline(always)]
428    pub fn is_val8(&self) -> bool {
429        *self == Inp::Val8
430    }
431    #[doc = "CT_INP8 input is selected"]
432    #[inline(always)]
433    pub fn is_val9(&self) -> bool {
434        *self == Inp::Val9
435    }
436    #[doc = "CT_INP9 input is selected"]
437    #[inline(always)]
438    pub fn is_val10(&self) -> bool {
439        *self == Inp::Val10
440    }
441    #[doc = "CT_INP10 input is selected"]
442    #[inline(always)]
443    pub fn is_val11(&self) -> bool {
444        *self == Inp::Val11
445    }
446    #[doc = "CT_INP11 input is selected"]
447    #[inline(always)]
448    pub fn is_val12(&self) -> bool {
449        *self == Inp::Val12
450    }
451    #[doc = "CT_INP12 input is selected"]
452    #[inline(always)]
453    pub fn is_val13(&self) -> bool {
454        *self == Inp::Val13
455    }
456    #[doc = "CT_INP13 input is selected"]
457    #[inline(always)]
458    pub fn is_val14(&self) -> bool {
459        *self == Inp::Val14
460    }
461    #[doc = "CT_INP14 input is selected"]
462    #[inline(always)]
463    pub fn is_val15(&self) -> bool {
464        *self == Inp::Val15
465    }
466    #[doc = "CT_INP15 input is selected"]
467    #[inline(always)]
468    pub fn is_val16(&self) -> bool {
469        *self == Inp::Val16
470    }
471    #[doc = "CT_INP16 input is selected"]
472    #[inline(always)]
473    pub fn is_val17(&self) -> bool {
474        *self == Inp::Val17
475    }
476    #[doc = "CT_INP17 input is selected"]
477    #[inline(always)]
478    pub fn is_val18(&self) -> bool {
479        *self == Inp::Val18
480    }
481    #[doc = "CT_INP18 input is selected"]
482    #[inline(always)]
483    pub fn is_val19(&self) -> bool {
484        *self == Inp::Val19
485    }
486    #[doc = "CT_INP19 input is selected"]
487    #[inline(always)]
488    pub fn is_val20(&self) -> bool {
489        *self == Inp::Val20
490    }
491    #[doc = "USB0 usb0 start of frame input is selected"]
492    #[inline(always)]
493    pub fn is_val21(&self) -> bool {
494        *self == Inp::Val21
495    }
496    #[doc = "AOI0_OUT0 input is selected"]
497    #[inline(always)]
498    pub fn is_val22(&self) -> bool {
499        *self == Inp::Val22
500    }
501    #[doc = "AOI0_OUT1 input is selected"]
502    #[inline(always)]
503    pub fn is_val23(&self) -> bool {
504        *self == Inp::Val23
505    }
506    #[doc = "AOI0_OUT2 input is selected"]
507    #[inline(always)]
508    pub fn is_val24(&self) -> bool {
509        *self == Inp::Val24
510    }
511    #[doc = "AOI0_OUT3 input is selected"]
512    #[inline(always)]
513    pub fn is_val25(&self) -> bool {
514        *self == Inp::Val25
515    }
516    #[doc = "ADC0_tcomp\\[0\\]"]
517    #[inline(always)]
518    pub fn is_val26(&self) -> bool {
519        *self == Inp::Val26
520    }
521    #[doc = "ADC0_tcomp\\[1\\]"]
522    #[inline(always)]
523    pub fn is_val27(&self) -> bool {
524        *self == Inp::Val27
525    }
526    #[doc = "ADC0_tcomp\\[2\\]"]
527    #[inline(always)]
528    pub fn is_val28(&self) -> bool {
529        *self == Inp::Val28
530    }
531    #[doc = "ADC0_tcomp\\[3\\] input is selected"]
532    #[inline(always)]
533    pub fn is_val29(&self) -> bool {
534        *self == Inp::Val29
535    }
536    #[doc = "CMP0_OUT is selected"]
537    #[inline(always)]
538    pub fn is_val30(&self) -> bool {
539        *self == Inp::Val30
540    }
541    #[doc = "CMP1_OUT is selected"]
542    #[inline(always)]
543    pub fn is_val31(&self) -> bool {
544        *self == Inp::Val31
545    }
546    #[doc = "CMP2_OUT is selected"]
547    #[inline(always)]
548    pub fn is_val32(&self) -> bool {
549        *self == Inp::Val32
550    }
551    #[doc = "CTimer0_MAT1 input is selected"]
552    #[inline(always)]
553    pub fn is_val33(&self) -> bool {
554        *self == Inp::Val33
555    }
556    #[doc = "CTimer0_MAT2 input is selected"]
557    #[inline(always)]
558    pub fn is_val34(&self) -> bool {
559        *self == Inp::Val34
560    }
561    #[doc = "CTimer0_MAT3 input is selected"]
562    #[inline(always)]
563    pub fn is_val35(&self) -> bool {
564        *self == Inp::Val35
565    }
566    #[doc = "CTimer1_MAT1 input is selected"]
567    #[inline(always)]
568    pub fn is_val36(&self) -> bool {
569        *self == Inp::Val36
570    }
571    #[doc = "CTimer1_MAT2 input is selected"]
572    #[inline(always)]
573    pub fn is_val37(&self) -> bool {
574        *self == Inp::Val37
575    }
576    #[doc = "CTimer1_MAT3 input is selected"]
577    #[inline(always)]
578    pub fn is_val38(&self) -> bool {
579        *self == Inp::Val38
580    }
581    #[doc = "QDC0_CMP_FLAG0 is selected"]
582    #[inline(always)]
583    pub fn is_val39(&self) -> bool {
584        *self == Inp::Val39
585    }
586    #[doc = "QDC0_CMP_FLAG1 input is selected"]
587    #[inline(always)]
588    pub fn is_val40(&self) -> bool {
589        *self == Inp::Val40
590    }
591    #[doc = "QDC0_CMP_FLAG2 input is selected"]
592    #[inline(always)]
593    pub fn is_val41(&self) -> bool {
594        *self == Inp::Val41
595    }
596    #[doc = "QDC0_CMP_FLAG3 input is selected"]
597    #[inline(always)]
598    pub fn is_val42(&self) -> bool {
599        *self == Inp::Val42
600    }
601    #[doc = "QDC0_POS_MATCH0 input is selected"]
602    #[inline(always)]
603    pub fn is_val43(&self) -> bool {
604        *self == Inp::Val43
605    }
606    #[doc = "PWM0_SM0_MUX_TRIG0 input is selected"]
607    #[inline(always)]
608    pub fn is_val44(&self) -> bool {
609        *self == Inp::Val44
610    }
611    #[doc = "PWM0_SM1_MUX_TRIG0 input is selected"]
612    #[inline(always)]
613    pub fn is_val45(&self) -> bool {
614        *self == Inp::Val45
615    }
616    #[doc = "PWM0_SM2_MUX_TRIG0 input is selected"]
617    #[inline(always)]
618    pub fn is_val46(&self) -> bool {
619        *self == Inp::Val46
620    }
621    #[doc = "PWM0_SM3_MUX_TRIG0 input is selected"]
622    #[inline(always)]
623    pub fn is_val47(&self) -> bool {
624        *self == Inp::Val47
625    }
626    #[doc = "LPI2C0 Master End of Packet input is selected"]
627    #[inline(always)]
628    pub fn is_val48(&self) -> bool {
629        *self == Inp::Val48
630    }
631    #[doc = "LPI2C0 Slave End of Packet input is selected"]
632    #[inline(always)]
633    pub fn is_val49(&self) -> bool {
634        *self == Inp::Val49
635    }
636    #[doc = "LPI2C1 Master End of Packet input is selected"]
637    #[inline(always)]
638    pub fn is_val50(&self) -> bool {
639        *self == Inp::Val50
640    }
641    #[doc = "LPI2C1 Slave End of Packet input is selected"]
642    #[inline(always)]
643    pub fn is_val51(&self) -> bool {
644        *self == Inp::Val51
645    }
646    #[doc = "LPSPI0 End of Frame input is selected"]
647    #[inline(always)]
648    pub fn is_val52(&self) -> bool {
649        *self == Inp::Val52
650    }
651    #[doc = "LPSPI0 Received Data Word input is selected"]
652    #[inline(always)]
653    pub fn is_val53(&self) -> bool {
654        *self == Inp::Val53
655    }
656    #[doc = "LPSPI1 End of Frame input is selected"]
657    #[inline(always)]
658    pub fn is_val54(&self) -> bool {
659        *self == Inp::Val54
660    }
661    #[doc = "LPSPI1 Received Data Word input is selected"]
662    #[inline(always)]
663    pub fn is_val55(&self) -> bool {
664        *self == Inp::Val55
665    }
666    #[doc = "LPUART0 Received Data Word input is selected"]
667    #[inline(always)]
668    pub fn is_val56(&self) -> bool {
669        *self == Inp::Val56
670    }
671    #[doc = "LPUART0 Transmitted Data Word input is selected"]
672    #[inline(always)]
673    pub fn is_val57(&self) -> bool {
674        *self == Inp::Val57
675    }
676    #[doc = "LPUART0 Receive Line Idle input is selected"]
677    #[inline(always)]
678    pub fn is_val58(&self) -> bool {
679        *self == Inp::Val58
680    }
681    #[doc = "LPUART1 Received Data Word input is selected"]
682    #[inline(always)]
683    pub fn is_val59(&self) -> bool {
684        *self == Inp::Val59
685    }
686    #[doc = "LPUART1 Transmitted Data Word input is selected"]
687    #[inline(always)]
688    pub fn is_val60(&self) -> bool {
689        *self == Inp::Val60
690    }
691    #[doc = "LPUART1 Receive Line Idle input is selected"]
692    #[inline(always)]
693    pub fn is_val61(&self) -> bool {
694        *self == Inp::Val61
695    }
696    #[doc = "LPUART2 Received Data Word input is selected"]
697    #[inline(always)]
698    pub fn is_val62(&self) -> bool {
699        *self == Inp::Val62
700    }
701    #[doc = "LPUART2 Transmitted Data Word input is selected"]
702    #[inline(always)]
703    pub fn is_val63(&self) -> bool {
704        *self == Inp::Val63
705    }
706    #[doc = "LPUART2 Receive Line Idle input is selected"]
707    #[inline(always)]
708    pub fn is_val64(&self) -> bool {
709        *self == Inp::Val64
710    }
711    #[doc = "LPUART3 Received Data Word input is selected"]
712    #[inline(always)]
713    pub fn is_val65(&self) -> bool {
714        *self == Inp::Val65
715    }
716    #[doc = "LPUART3 Transmitted Data Word input is selected"]
717    #[inline(always)]
718    pub fn is_val66(&self) -> bool {
719        *self == Inp::Val66
720    }
721    #[doc = "LPUART3 Receive Line Idle input is selected"]
722    #[inline(always)]
723    pub fn is_val67(&self) -> bool {
724        *self == Inp::Val67
725    }
726    #[doc = "LPUART4 Received Data Word input is selected"]
727    #[inline(always)]
728    pub fn is_val68(&self) -> bool {
729        *self == Inp::Val68
730    }
731    #[doc = "LPUART4 Transmitted Data Word input is selected"]
732    #[inline(always)]
733    pub fn is_val69(&self) -> bool {
734        *self == Inp::Val69
735    }
736    #[doc = "LPUART4 Receive Line Idle input is selected"]
737    #[inline(always)]
738    pub fn is_val70(&self) -> bool {
739        *self == Inp::Val70
740    }
741    #[doc = "AOI1_OUT0 input is selected"]
742    #[inline(always)]
743    pub fn is_val71(&self) -> bool {
744        *self == Inp::Val71
745    }
746    #[doc = "AOI1_OUT1 input is selected"]
747    #[inline(always)]
748    pub fn is_val72(&self) -> bool {
749        *self == Inp::Val72
750    }
751    #[doc = "AOI1_OUT2 input is selected"]
752    #[inline(always)]
753    pub fn is_val73(&self) -> bool {
754        *self == Inp::Val73
755    }
756    #[doc = "AOI1_OUT3 input is selected"]
757    #[inline(always)]
758    pub fn is_val74(&self) -> bool {
759        *self == Inp::Val74
760    }
761    #[doc = "ADC1_tcomp\\[0\\] input is selected"]
762    #[inline(always)]
763    pub fn is_val75(&self) -> bool {
764        *self == Inp::Val75
765    }
766    #[doc = "ADC1_tcomp\\[1\\] input is selected"]
767    #[inline(always)]
768    pub fn is_val76(&self) -> bool {
769        *self == Inp::Val76
770    }
771    #[doc = "ADC1_tcomp\\[2\\] input is selected"]
772    #[inline(always)]
773    pub fn is_val77(&self) -> bool {
774        *self == Inp::Val77
775    }
776    #[doc = "ADC1_tcomp\\[3\\] input is selected"]
777    #[inline(always)]
778    pub fn is_val78(&self) -> bool {
779        *self == Inp::Val78
780    }
781    #[doc = "CTimer2_MAT1 input is selected"]
782    #[inline(always)]
783    pub fn is_val79(&self) -> bool {
784        *self == Inp::Val79
785    }
786    #[doc = "CTimer2_MAT2 input is selected"]
787    #[inline(always)]
788    pub fn is_val80(&self) -> bool {
789        *self == Inp::Val80
790    }
791    #[doc = "CTimer2_MAT3 input is selected"]
792    #[inline(always)]
793    pub fn is_val81(&self) -> bool {
794        *self == Inp::Val81
795    }
796    #[doc = "CTimer4_MAT1 input is selected"]
797    #[inline(always)]
798    pub fn is_val82(&self) -> bool {
799        *self == Inp::Val82
800    }
801    #[doc = "CTimer4_MAT2 input is selected"]
802    #[inline(always)]
803    pub fn is_val83(&self) -> bool {
804        *self == Inp::Val83
805    }
806    #[doc = "CTimer4_MAT3 input is selected"]
807    #[inline(always)]
808    pub fn is_val84(&self) -> bool {
809        *self == Inp::Val84
810    }
811    #[doc = "QDC1_CMP_FLAG0 input is selected"]
812    #[inline(always)]
813    pub fn is_val85(&self) -> bool {
814        *self == Inp::Val85
815    }
816    #[doc = "QDC1_CMP_FLAG1 input is selected"]
817    #[inline(always)]
818    pub fn is_val86(&self) -> bool {
819        *self == Inp::Val86
820    }
821    #[doc = "QDC1_CMP_FLAG2 input is selected"]
822    #[inline(always)]
823    pub fn is_val87(&self) -> bool {
824        *self == Inp::Val87
825    }
826    #[doc = "QDC1_CMP_FLAG3 input is selected"]
827    #[inline(always)]
828    pub fn is_val88(&self) -> bool {
829        *self == Inp::Val88
830    }
831    #[doc = "QDC1_POS_MATCH0 input is selected"]
832    #[inline(always)]
833    pub fn is_val89(&self) -> bool {
834        *self == Inp::Val89
835    }
836    #[doc = "PWM1_SM0_MUX_TRIG0 input is selected"]
837    #[inline(always)]
838    pub fn is_val90(&self) -> bool {
839        *self == Inp::Val90
840    }
841    #[doc = "PWM1_SM1_MUX_TRIG0 input is selected"]
842    #[inline(always)]
843    pub fn is_val91(&self) -> bool {
844        *self == Inp::Val91
845    }
846    #[doc = "PWM1_SM2_MUX_TRIG0 input is selected"]
847    #[inline(always)]
848    pub fn is_val92(&self) -> bool {
849        *self == Inp::Val92
850    }
851    #[doc = "PWM1_SM2_MUX_TRIG0 input is selected"]
852    #[inline(always)]
853    pub fn is_val93(&self) -> bool {
854        *self == Inp::Val93
855    }
856    #[doc = "LPI2C2 Master End of Packet input is selected"]
857    #[inline(always)]
858    pub fn is_val94(&self) -> bool {
859        *self == Inp::Val94
860    }
861    #[doc = "LPI2C2 Slave End of Packet input is selected"]
862    #[inline(always)]
863    pub fn is_val95(&self) -> bool {
864        *self == Inp::Val95
865    }
866    #[doc = "LPI2C3 Master End of Packet input is selected"]
867    #[inline(always)]
868    pub fn is_val96(&self) -> bool {
869        *self == Inp::Val96
870    }
871    #[doc = "LPI2C3 Slave End of Packet input is selected"]
872    #[inline(always)]
873    pub fn is_val97(&self) -> bool {
874        *self == Inp::Val97
875    }
876    #[doc = "LPUART5 Received Data Word input is selected"]
877    #[inline(always)]
878    pub fn is_val98(&self) -> bool {
879        *self == Inp::Val98
880    }
881    #[doc = "LPUART5 Transmitted Data Word input is selected"]
882    #[inline(always)]
883    pub fn is_val99(&self) -> bool {
884        *self == Inp::Val99
885    }
886    #[doc = "LPUART5 Receive Line Idle input is selected"]
887    #[inline(always)]
888    pub fn is_val100(&self) -> bool {
889        *self == Inp::Val100
890    }
891    #[doc = "ADC2_tcomp\\[0\\] input is selected"]
892    #[inline(always)]
893    pub fn is_val105(&self) -> bool {
894        *self == Inp::Val105
895    }
896    #[doc = "ADC2_tcomp\\[1\\] input is selected"]
897    #[inline(always)]
898    pub fn is_val106(&self) -> bool {
899        *self == Inp::Val106
900    }
901    #[doc = "ADC2_tcomp\\[2\\] input is selected"]
902    #[inline(always)]
903    pub fn is_val107(&self) -> bool {
904        *self == Inp::Val107
905    }
906    #[doc = "ADC2_tcomp\\[3\\] input is selected"]
907    #[inline(always)]
908    pub fn is_val108(&self) -> bool {
909        *self == Inp::Val108
910    }
911    #[doc = "ADC3_tcomp\\[0\\] input is selected"]
912    #[inline(always)]
913    pub fn is_val109(&self) -> bool {
914        *self == Inp::Val109
915    }
916    #[doc = "ADC3_tcomp\\[1\\] input is selected"]
917    #[inline(always)]
918    pub fn is_val110(&self) -> bool {
919        *self == Inp::Val110
920    }
921    #[doc = "ADC3_tcomp\\[2\\] input is selected"]
922    #[inline(always)]
923    pub fn is_val111(&self) -> bool {
924        *self == Inp::Val111
925    }
926    #[doc = "ADC3_tcomp\\[3\\] input is selected"]
927    #[inline(always)]
928    pub fn is_val112(&self) -> bool {
929        *self == Inp::Val112
930    }
931    #[doc = "TRIG_IN0 input is selected"]
932    #[inline(always)]
933    pub fn is_val113(&self) -> bool {
934        *self == Inp::Val113
935    }
936    #[doc = "TRIG_IN1 input is selected"]
937    #[inline(always)]
938    pub fn is_val114(&self) -> bool {
939        *self == Inp::Val114
940    }
941    #[doc = "TRIG_IN2 input is selected"]
942    #[inline(always)]
943    pub fn is_val115(&self) -> bool {
944        *self == Inp::Val115
945    }
946    #[doc = "TRIG_IN3 input is selected"]
947    #[inline(always)]
948    pub fn is_val116(&self) -> bool {
949        *self == Inp::Val116
950    }
951    #[doc = "TRIG_IN4 input is selected"]
952    #[inline(always)]
953    pub fn is_val117(&self) -> bool {
954        *self == Inp::Val117
955    }
956    #[doc = "TRIG_IN5 input is selected"]
957    #[inline(always)]
958    pub fn is_val118(&self) -> bool {
959        *self == Inp::Val118
960    }
961    #[doc = "TRIG_IN6 input is selected"]
962    #[inline(always)]
963    pub fn is_val119(&self) -> bool {
964        *self == Inp::Val119
965    }
966    #[doc = "TRIG_IN7 input is selected"]
967    #[inline(always)]
968    pub fn is_val120(&self) -> bool {
969        *self == Inp::Val120
970    }
971    #[doc = "TRIG_IN8 input is selected"]
972    #[inline(always)]
973    pub fn is_val121(&self) -> bool {
974        *self == Inp::Val121
975    }
976    #[doc = "TRIG_IN9 input is selected"]
977    #[inline(always)]
978    pub fn is_val122(&self) -> bool {
979        *self == Inp::Val122
980    }
981    #[doc = "TRIG_IN10 input is selected"]
982    #[inline(always)]
983    pub fn is_val123(&self) -> bool {
984        *self == Inp::Val123
985    }
986    #[doc = "TRIG_IN11 input is selected"]
987    #[inline(always)]
988    pub fn is_val124(&self) -> bool {
989        *self == Inp::Val124
990    }
991}
992#[doc = "Field `INP` writer - Input number for CTIMER3"]
993pub type InpW<'a, REG> = crate::FieldWriter<'a, REG, 7, Inp>;
994impl<'a, REG> InpW<'a, REG>
995where
996    REG: crate::Writable + crate::RegisterSpec,
997    REG::Ux: From<u8>,
998{
999    #[doc = "CT_INP0 input is selected"]
1000    #[inline(always)]
1001    pub fn val1(self) -> &'a mut crate::W<REG> {
1002        self.variant(Inp::Val1)
1003    }
1004    #[doc = "CT_INP1 input is selected"]
1005    #[inline(always)]
1006    pub fn val2(self) -> &'a mut crate::W<REG> {
1007        self.variant(Inp::Val2)
1008    }
1009    #[doc = "CT_INP2 input is selected"]
1010    #[inline(always)]
1011    pub fn val3(self) -> &'a mut crate::W<REG> {
1012        self.variant(Inp::Val3)
1013    }
1014    #[doc = "CT_INP3 input is selected"]
1015    #[inline(always)]
1016    pub fn val4(self) -> &'a mut crate::W<REG> {
1017        self.variant(Inp::Val4)
1018    }
1019    #[doc = "CT_INP4 input is selected"]
1020    #[inline(always)]
1021    pub fn val5(self) -> &'a mut crate::W<REG> {
1022        self.variant(Inp::Val5)
1023    }
1024    #[doc = "CT_INP5 input is selected"]
1025    #[inline(always)]
1026    pub fn val6(self) -> &'a mut crate::W<REG> {
1027        self.variant(Inp::Val6)
1028    }
1029    #[doc = "CT_INP6 input is selected"]
1030    #[inline(always)]
1031    pub fn val7(self) -> &'a mut crate::W<REG> {
1032        self.variant(Inp::Val7)
1033    }
1034    #[doc = "CT_INP7 input is selected"]
1035    #[inline(always)]
1036    pub fn val8(self) -> &'a mut crate::W<REG> {
1037        self.variant(Inp::Val8)
1038    }
1039    #[doc = "CT_INP8 input is selected"]
1040    #[inline(always)]
1041    pub fn val9(self) -> &'a mut crate::W<REG> {
1042        self.variant(Inp::Val9)
1043    }
1044    #[doc = "CT_INP9 input is selected"]
1045    #[inline(always)]
1046    pub fn val10(self) -> &'a mut crate::W<REG> {
1047        self.variant(Inp::Val10)
1048    }
1049    #[doc = "CT_INP10 input is selected"]
1050    #[inline(always)]
1051    pub fn val11(self) -> &'a mut crate::W<REG> {
1052        self.variant(Inp::Val11)
1053    }
1054    #[doc = "CT_INP11 input is selected"]
1055    #[inline(always)]
1056    pub fn val12(self) -> &'a mut crate::W<REG> {
1057        self.variant(Inp::Val12)
1058    }
1059    #[doc = "CT_INP12 input is selected"]
1060    #[inline(always)]
1061    pub fn val13(self) -> &'a mut crate::W<REG> {
1062        self.variant(Inp::Val13)
1063    }
1064    #[doc = "CT_INP13 input is selected"]
1065    #[inline(always)]
1066    pub fn val14(self) -> &'a mut crate::W<REG> {
1067        self.variant(Inp::Val14)
1068    }
1069    #[doc = "CT_INP14 input is selected"]
1070    #[inline(always)]
1071    pub fn val15(self) -> &'a mut crate::W<REG> {
1072        self.variant(Inp::Val15)
1073    }
1074    #[doc = "CT_INP15 input is selected"]
1075    #[inline(always)]
1076    pub fn val16(self) -> &'a mut crate::W<REG> {
1077        self.variant(Inp::Val16)
1078    }
1079    #[doc = "CT_INP16 input is selected"]
1080    #[inline(always)]
1081    pub fn val17(self) -> &'a mut crate::W<REG> {
1082        self.variant(Inp::Val17)
1083    }
1084    #[doc = "CT_INP17 input is selected"]
1085    #[inline(always)]
1086    pub fn val18(self) -> &'a mut crate::W<REG> {
1087        self.variant(Inp::Val18)
1088    }
1089    #[doc = "CT_INP18 input is selected"]
1090    #[inline(always)]
1091    pub fn val19(self) -> &'a mut crate::W<REG> {
1092        self.variant(Inp::Val19)
1093    }
1094    #[doc = "CT_INP19 input is selected"]
1095    #[inline(always)]
1096    pub fn val20(self) -> &'a mut crate::W<REG> {
1097        self.variant(Inp::Val20)
1098    }
1099    #[doc = "USB0 usb0 start of frame input is selected"]
1100    #[inline(always)]
1101    pub fn val21(self) -> &'a mut crate::W<REG> {
1102        self.variant(Inp::Val21)
1103    }
1104    #[doc = "AOI0_OUT0 input is selected"]
1105    #[inline(always)]
1106    pub fn val22(self) -> &'a mut crate::W<REG> {
1107        self.variant(Inp::Val22)
1108    }
1109    #[doc = "AOI0_OUT1 input is selected"]
1110    #[inline(always)]
1111    pub fn val23(self) -> &'a mut crate::W<REG> {
1112        self.variant(Inp::Val23)
1113    }
1114    #[doc = "AOI0_OUT2 input is selected"]
1115    #[inline(always)]
1116    pub fn val24(self) -> &'a mut crate::W<REG> {
1117        self.variant(Inp::Val24)
1118    }
1119    #[doc = "AOI0_OUT3 input is selected"]
1120    #[inline(always)]
1121    pub fn val25(self) -> &'a mut crate::W<REG> {
1122        self.variant(Inp::Val25)
1123    }
1124    #[doc = "ADC0_tcomp\\[0\\]"]
1125    #[inline(always)]
1126    pub fn val26(self) -> &'a mut crate::W<REG> {
1127        self.variant(Inp::Val26)
1128    }
1129    #[doc = "ADC0_tcomp\\[1\\]"]
1130    #[inline(always)]
1131    pub fn val27(self) -> &'a mut crate::W<REG> {
1132        self.variant(Inp::Val27)
1133    }
1134    #[doc = "ADC0_tcomp\\[2\\]"]
1135    #[inline(always)]
1136    pub fn val28(self) -> &'a mut crate::W<REG> {
1137        self.variant(Inp::Val28)
1138    }
1139    #[doc = "ADC0_tcomp\\[3\\] input is selected"]
1140    #[inline(always)]
1141    pub fn val29(self) -> &'a mut crate::W<REG> {
1142        self.variant(Inp::Val29)
1143    }
1144    #[doc = "CMP0_OUT is selected"]
1145    #[inline(always)]
1146    pub fn val30(self) -> &'a mut crate::W<REG> {
1147        self.variant(Inp::Val30)
1148    }
1149    #[doc = "CMP1_OUT is selected"]
1150    #[inline(always)]
1151    pub fn val31(self) -> &'a mut crate::W<REG> {
1152        self.variant(Inp::Val31)
1153    }
1154    #[doc = "CMP2_OUT is selected"]
1155    #[inline(always)]
1156    pub fn val32(self) -> &'a mut crate::W<REG> {
1157        self.variant(Inp::Val32)
1158    }
1159    #[doc = "CTimer0_MAT1 input is selected"]
1160    #[inline(always)]
1161    pub fn val33(self) -> &'a mut crate::W<REG> {
1162        self.variant(Inp::Val33)
1163    }
1164    #[doc = "CTimer0_MAT2 input is selected"]
1165    #[inline(always)]
1166    pub fn val34(self) -> &'a mut crate::W<REG> {
1167        self.variant(Inp::Val34)
1168    }
1169    #[doc = "CTimer0_MAT3 input is selected"]
1170    #[inline(always)]
1171    pub fn val35(self) -> &'a mut crate::W<REG> {
1172        self.variant(Inp::Val35)
1173    }
1174    #[doc = "CTimer1_MAT1 input is selected"]
1175    #[inline(always)]
1176    pub fn val36(self) -> &'a mut crate::W<REG> {
1177        self.variant(Inp::Val36)
1178    }
1179    #[doc = "CTimer1_MAT2 input is selected"]
1180    #[inline(always)]
1181    pub fn val37(self) -> &'a mut crate::W<REG> {
1182        self.variant(Inp::Val37)
1183    }
1184    #[doc = "CTimer1_MAT3 input is selected"]
1185    #[inline(always)]
1186    pub fn val38(self) -> &'a mut crate::W<REG> {
1187        self.variant(Inp::Val38)
1188    }
1189    #[doc = "QDC0_CMP_FLAG0 is selected"]
1190    #[inline(always)]
1191    pub fn val39(self) -> &'a mut crate::W<REG> {
1192        self.variant(Inp::Val39)
1193    }
1194    #[doc = "QDC0_CMP_FLAG1 input is selected"]
1195    #[inline(always)]
1196    pub fn val40(self) -> &'a mut crate::W<REG> {
1197        self.variant(Inp::Val40)
1198    }
1199    #[doc = "QDC0_CMP_FLAG2 input is selected"]
1200    #[inline(always)]
1201    pub fn val41(self) -> &'a mut crate::W<REG> {
1202        self.variant(Inp::Val41)
1203    }
1204    #[doc = "QDC0_CMP_FLAG3 input is selected"]
1205    #[inline(always)]
1206    pub fn val42(self) -> &'a mut crate::W<REG> {
1207        self.variant(Inp::Val42)
1208    }
1209    #[doc = "QDC0_POS_MATCH0 input is selected"]
1210    #[inline(always)]
1211    pub fn val43(self) -> &'a mut crate::W<REG> {
1212        self.variant(Inp::Val43)
1213    }
1214    #[doc = "PWM0_SM0_MUX_TRIG0 input is selected"]
1215    #[inline(always)]
1216    pub fn val44(self) -> &'a mut crate::W<REG> {
1217        self.variant(Inp::Val44)
1218    }
1219    #[doc = "PWM0_SM1_MUX_TRIG0 input is selected"]
1220    #[inline(always)]
1221    pub fn val45(self) -> &'a mut crate::W<REG> {
1222        self.variant(Inp::Val45)
1223    }
1224    #[doc = "PWM0_SM2_MUX_TRIG0 input is selected"]
1225    #[inline(always)]
1226    pub fn val46(self) -> &'a mut crate::W<REG> {
1227        self.variant(Inp::Val46)
1228    }
1229    #[doc = "PWM0_SM3_MUX_TRIG0 input is selected"]
1230    #[inline(always)]
1231    pub fn val47(self) -> &'a mut crate::W<REG> {
1232        self.variant(Inp::Val47)
1233    }
1234    #[doc = "LPI2C0 Master End of Packet input is selected"]
1235    #[inline(always)]
1236    pub fn val48(self) -> &'a mut crate::W<REG> {
1237        self.variant(Inp::Val48)
1238    }
1239    #[doc = "LPI2C0 Slave End of Packet input is selected"]
1240    #[inline(always)]
1241    pub fn val49(self) -> &'a mut crate::W<REG> {
1242        self.variant(Inp::Val49)
1243    }
1244    #[doc = "LPI2C1 Master End of Packet input is selected"]
1245    #[inline(always)]
1246    pub fn val50(self) -> &'a mut crate::W<REG> {
1247        self.variant(Inp::Val50)
1248    }
1249    #[doc = "LPI2C1 Slave End of Packet input is selected"]
1250    #[inline(always)]
1251    pub fn val51(self) -> &'a mut crate::W<REG> {
1252        self.variant(Inp::Val51)
1253    }
1254    #[doc = "LPSPI0 End of Frame input is selected"]
1255    #[inline(always)]
1256    pub fn val52(self) -> &'a mut crate::W<REG> {
1257        self.variant(Inp::Val52)
1258    }
1259    #[doc = "LPSPI0 Received Data Word input is selected"]
1260    #[inline(always)]
1261    pub fn val53(self) -> &'a mut crate::W<REG> {
1262        self.variant(Inp::Val53)
1263    }
1264    #[doc = "LPSPI1 End of Frame input is selected"]
1265    #[inline(always)]
1266    pub fn val54(self) -> &'a mut crate::W<REG> {
1267        self.variant(Inp::Val54)
1268    }
1269    #[doc = "LPSPI1 Received Data Word input is selected"]
1270    #[inline(always)]
1271    pub fn val55(self) -> &'a mut crate::W<REG> {
1272        self.variant(Inp::Val55)
1273    }
1274    #[doc = "LPUART0 Received Data Word input is selected"]
1275    #[inline(always)]
1276    pub fn val56(self) -> &'a mut crate::W<REG> {
1277        self.variant(Inp::Val56)
1278    }
1279    #[doc = "LPUART0 Transmitted Data Word input is selected"]
1280    #[inline(always)]
1281    pub fn val57(self) -> &'a mut crate::W<REG> {
1282        self.variant(Inp::Val57)
1283    }
1284    #[doc = "LPUART0 Receive Line Idle input is selected"]
1285    #[inline(always)]
1286    pub fn val58(self) -> &'a mut crate::W<REG> {
1287        self.variant(Inp::Val58)
1288    }
1289    #[doc = "LPUART1 Received Data Word input is selected"]
1290    #[inline(always)]
1291    pub fn val59(self) -> &'a mut crate::W<REG> {
1292        self.variant(Inp::Val59)
1293    }
1294    #[doc = "LPUART1 Transmitted Data Word input is selected"]
1295    #[inline(always)]
1296    pub fn val60(self) -> &'a mut crate::W<REG> {
1297        self.variant(Inp::Val60)
1298    }
1299    #[doc = "LPUART1 Receive Line Idle input is selected"]
1300    #[inline(always)]
1301    pub fn val61(self) -> &'a mut crate::W<REG> {
1302        self.variant(Inp::Val61)
1303    }
1304    #[doc = "LPUART2 Received Data Word input is selected"]
1305    #[inline(always)]
1306    pub fn val62(self) -> &'a mut crate::W<REG> {
1307        self.variant(Inp::Val62)
1308    }
1309    #[doc = "LPUART2 Transmitted Data Word input is selected"]
1310    #[inline(always)]
1311    pub fn val63(self) -> &'a mut crate::W<REG> {
1312        self.variant(Inp::Val63)
1313    }
1314    #[doc = "LPUART2 Receive Line Idle input is selected"]
1315    #[inline(always)]
1316    pub fn val64(self) -> &'a mut crate::W<REG> {
1317        self.variant(Inp::Val64)
1318    }
1319    #[doc = "LPUART3 Received Data Word input is selected"]
1320    #[inline(always)]
1321    pub fn val65(self) -> &'a mut crate::W<REG> {
1322        self.variant(Inp::Val65)
1323    }
1324    #[doc = "LPUART3 Transmitted Data Word input is selected"]
1325    #[inline(always)]
1326    pub fn val66(self) -> &'a mut crate::W<REG> {
1327        self.variant(Inp::Val66)
1328    }
1329    #[doc = "LPUART3 Receive Line Idle input is selected"]
1330    #[inline(always)]
1331    pub fn val67(self) -> &'a mut crate::W<REG> {
1332        self.variant(Inp::Val67)
1333    }
1334    #[doc = "LPUART4 Received Data Word input is selected"]
1335    #[inline(always)]
1336    pub fn val68(self) -> &'a mut crate::W<REG> {
1337        self.variant(Inp::Val68)
1338    }
1339    #[doc = "LPUART4 Transmitted Data Word input is selected"]
1340    #[inline(always)]
1341    pub fn val69(self) -> &'a mut crate::W<REG> {
1342        self.variant(Inp::Val69)
1343    }
1344    #[doc = "LPUART4 Receive Line Idle input is selected"]
1345    #[inline(always)]
1346    pub fn val70(self) -> &'a mut crate::W<REG> {
1347        self.variant(Inp::Val70)
1348    }
1349    #[doc = "AOI1_OUT0 input is selected"]
1350    #[inline(always)]
1351    pub fn val71(self) -> &'a mut crate::W<REG> {
1352        self.variant(Inp::Val71)
1353    }
1354    #[doc = "AOI1_OUT1 input is selected"]
1355    #[inline(always)]
1356    pub fn val72(self) -> &'a mut crate::W<REG> {
1357        self.variant(Inp::Val72)
1358    }
1359    #[doc = "AOI1_OUT2 input is selected"]
1360    #[inline(always)]
1361    pub fn val73(self) -> &'a mut crate::W<REG> {
1362        self.variant(Inp::Val73)
1363    }
1364    #[doc = "AOI1_OUT3 input is selected"]
1365    #[inline(always)]
1366    pub fn val74(self) -> &'a mut crate::W<REG> {
1367        self.variant(Inp::Val74)
1368    }
1369    #[doc = "ADC1_tcomp\\[0\\] input is selected"]
1370    #[inline(always)]
1371    pub fn val75(self) -> &'a mut crate::W<REG> {
1372        self.variant(Inp::Val75)
1373    }
1374    #[doc = "ADC1_tcomp\\[1\\] input is selected"]
1375    #[inline(always)]
1376    pub fn val76(self) -> &'a mut crate::W<REG> {
1377        self.variant(Inp::Val76)
1378    }
1379    #[doc = "ADC1_tcomp\\[2\\] input is selected"]
1380    #[inline(always)]
1381    pub fn val77(self) -> &'a mut crate::W<REG> {
1382        self.variant(Inp::Val77)
1383    }
1384    #[doc = "ADC1_tcomp\\[3\\] input is selected"]
1385    #[inline(always)]
1386    pub fn val78(self) -> &'a mut crate::W<REG> {
1387        self.variant(Inp::Val78)
1388    }
1389    #[doc = "CTimer2_MAT1 input is selected"]
1390    #[inline(always)]
1391    pub fn val79(self) -> &'a mut crate::W<REG> {
1392        self.variant(Inp::Val79)
1393    }
1394    #[doc = "CTimer2_MAT2 input is selected"]
1395    #[inline(always)]
1396    pub fn val80(self) -> &'a mut crate::W<REG> {
1397        self.variant(Inp::Val80)
1398    }
1399    #[doc = "CTimer2_MAT3 input is selected"]
1400    #[inline(always)]
1401    pub fn val81(self) -> &'a mut crate::W<REG> {
1402        self.variant(Inp::Val81)
1403    }
1404    #[doc = "CTimer4_MAT1 input is selected"]
1405    #[inline(always)]
1406    pub fn val82(self) -> &'a mut crate::W<REG> {
1407        self.variant(Inp::Val82)
1408    }
1409    #[doc = "CTimer4_MAT2 input is selected"]
1410    #[inline(always)]
1411    pub fn val83(self) -> &'a mut crate::W<REG> {
1412        self.variant(Inp::Val83)
1413    }
1414    #[doc = "CTimer4_MAT3 input is selected"]
1415    #[inline(always)]
1416    pub fn val84(self) -> &'a mut crate::W<REG> {
1417        self.variant(Inp::Val84)
1418    }
1419    #[doc = "QDC1_CMP_FLAG0 input is selected"]
1420    #[inline(always)]
1421    pub fn val85(self) -> &'a mut crate::W<REG> {
1422        self.variant(Inp::Val85)
1423    }
1424    #[doc = "QDC1_CMP_FLAG1 input is selected"]
1425    #[inline(always)]
1426    pub fn val86(self) -> &'a mut crate::W<REG> {
1427        self.variant(Inp::Val86)
1428    }
1429    #[doc = "QDC1_CMP_FLAG2 input is selected"]
1430    #[inline(always)]
1431    pub fn val87(self) -> &'a mut crate::W<REG> {
1432        self.variant(Inp::Val87)
1433    }
1434    #[doc = "QDC1_CMP_FLAG3 input is selected"]
1435    #[inline(always)]
1436    pub fn val88(self) -> &'a mut crate::W<REG> {
1437        self.variant(Inp::Val88)
1438    }
1439    #[doc = "QDC1_POS_MATCH0 input is selected"]
1440    #[inline(always)]
1441    pub fn val89(self) -> &'a mut crate::W<REG> {
1442        self.variant(Inp::Val89)
1443    }
1444    #[doc = "PWM1_SM0_MUX_TRIG0 input is selected"]
1445    #[inline(always)]
1446    pub fn val90(self) -> &'a mut crate::W<REG> {
1447        self.variant(Inp::Val90)
1448    }
1449    #[doc = "PWM1_SM1_MUX_TRIG0 input is selected"]
1450    #[inline(always)]
1451    pub fn val91(self) -> &'a mut crate::W<REG> {
1452        self.variant(Inp::Val91)
1453    }
1454    #[doc = "PWM1_SM2_MUX_TRIG0 input is selected"]
1455    #[inline(always)]
1456    pub fn val92(self) -> &'a mut crate::W<REG> {
1457        self.variant(Inp::Val92)
1458    }
1459    #[doc = "PWM1_SM2_MUX_TRIG0 input is selected"]
1460    #[inline(always)]
1461    pub fn val93(self) -> &'a mut crate::W<REG> {
1462        self.variant(Inp::Val93)
1463    }
1464    #[doc = "LPI2C2 Master End of Packet input is selected"]
1465    #[inline(always)]
1466    pub fn val94(self) -> &'a mut crate::W<REG> {
1467        self.variant(Inp::Val94)
1468    }
1469    #[doc = "LPI2C2 Slave End of Packet input is selected"]
1470    #[inline(always)]
1471    pub fn val95(self) -> &'a mut crate::W<REG> {
1472        self.variant(Inp::Val95)
1473    }
1474    #[doc = "LPI2C3 Master End of Packet input is selected"]
1475    #[inline(always)]
1476    pub fn val96(self) -> &'a mut crate::W<REG> {
1477        self.variant(Inp::Val96)
1478    }
1479    #[doc = "LPI2C3 Slave End of Packet input is selected"]
1480    #[inline(always)]
1481    pub fn val97(self) -> &'a mut crate::W<REG> {
1482        self.variant(Inp::Val97)
1483    }
1484    #[doc = "LPUART5 Received Data Word input is selected"]
1485    #[inline(always)]
1486    pub fn val98(self) -> &'a mut crate::W<REG> {
1487        self.variant(Inp::Val98)
1488    }
1489    #[doc = "LPUART5 Transmitted Data Word input is selected"]
1490    #[inline(always)]
1491    pub fn val99(self) -> &'a mut crate::W<REG> {
1492        self.variant(Inp::Val99)
1493    }
1494    #[doc = "LPUART5 Receive Line Idle input is selected"]
1495    #[inline(always)]
1496    pub fn val100(self) -> &'a mut crate::W<REG> {
1497        self.variant(Inp::Val100)
1498    }
1499    #[doc = "ADC2_tcomp\\[0\\] input is selected"]
1500    #[inline(always)]
1501    pub fn val105(self) -> &'a mut crate::W<REG> {
1502        self.variant(Inp::Val105)
1503    }
1504    #[doc = "ADC2_tcomp\\[1\\] input is selected"]
1505    #[inline(always)]
1506    pub fn val106(self) -> &'a mut crate::W<REG> {
1507        self.variant(Inp::Val106)
1508    }
1509    #[doc = "ADC2_tcomp\\[2\\] input is selected"]
1510    #[inline(always)]
1511    pub fn val107(self) -> &'a mut crate::W<REG> {
1512        self.variant(Inp::Val107)
1513    }
1514    #[doc = "ADC2_tcomp\\[3\\] input is selected"]
1515    #[inline(always)]
1516    pub fn val108(self) -> &'a mut crate::W<REG> {
1517        self.variant(Inp::Val108)
1518    }
1519    #[doc = "ADC3_tcomp\\[0\\] input is selected"]
1520    #[inline(always)]
1521    pub fn val109(self) -> &'a mut crate::W<REG> {
1522        self.variant(Inp::Val109)
1523    }
1524    #[doc = "ADC3_tcomp\\[1\\] input is selected"]
1525    #[inline(always)]
1526    pub fn val110(self) -> &'a mut crate::W<REG> {
1527        self.variant(Inp::Val110)
1528    }
1529    #[doc = "ADC3_tcomp\\[2\\] input is selected"]
1530    #[inline(always)]
1531    pub fn val111(self) -> &'a mut crate::W<REG> {
1532        self.variant(Inp::Val111)
1533    }
1534    #[doc = "ADC3_tcomp\\[3\\] input is selected"]
1535    #[inline(always)]
1536    pub fn val112(self) -> &'a mut crate::W<REG> {
1537        self.variant(Inp::Val112)
1538    }
1539    #[doc = "TRIG_IN0 input is selected"]
1540    #[inline(always)]
1541    pub fn val113(self) -> &'a mut crate::W<REG> {
1542        self.variant(Inp::Val113)
1543    }
1544    #[doc = "TRIG_IN1 input is selected"]
1545    #[inline(always)]
1546    pub fn val114(self) -> &'a mut crate::W<REG> {
1547        self.variant(Inp::Val114)
1548    }
1549    #[doc = "TRIG_IN2 input is selected"]
1550    #[inline(always)]
1551    pub fn val115(self) -> &'a mut crate::W<REG> {
1552        self.variant(Inp::Val115)
1553    }
1554    #[doc = "TRIG_IN3 input is selected"]
1555    #[inline(always)]
1556    pub fn val116(self) -> &'a mut crate::W<REG> {
1557        self.variant(Inp::Val116)
1558    }
1559    #[doc = "TRIG_IN4 input is selected"]
1560    #[inline(always)]
1561    pub fn val117(self) -> &'a mut crate::W<REG> {
1562        self.variant(Inp::Val117)
1563    }
1564    #[doc = "TRIG_IN5 input is selected"]
1565    #[inline(always)]
1566    pub fn val118(self) -> &'a mut crate::W<REG> {
1567        self.variant(Inp::Val118)
1568    }
1569    #[doc = "TRIG_IN6 input is selected"]
1570    #[inline(always)]
1571    pub fn val119(self) -> &'a mut crate::W<REG> {
1572        self.variant(Inp::Val119)
1573    }
1574    #[doc = "TRIG_IN7 input is selected"]
1575    #[inline(always)]
1576    pub fn val120(self) -> &'a mut crate::W<REG> {
1577        self.variant(Inp::Val120)
1578    }
1579    #[doc = "TRIG_IN8 input is selected"]
1580    #[inline(always)]
1581    pub fn val121(self) -> &'a mut crate::W<REG> {
1582        self.variant(Inp::Val121)
1583    }
1584    #[doc = "TRIG_IN9 input is selected"]
1585    #[inline(always)]
1586    pub fn val122(self) -> &'a mut crate::W<REG> {
1587        self.variant(Inp::Val122)
1588    }
1589    #[doc = "TRIG_IN10 input is selected"]
1590    #[inline(always)]
1591    pub fn val123(self) -> &'a mut crate::W<REG> {
1592        self.variant(Inp::Val123)
1593    }
1594    #[doc = "TRIG_IN11 input is selected"]
1595    #[inline(always)]
1596    pub fn val124(self) -> &'a mut crate::W<REG> {
1597        self.variant(Inp::Val124)
1598    }
1599}
1600impl R {
1601    #[doc = "Bits 0:6 - Input number for CTIMER3"]
1602    #[inline(always)]
1603    pub fn inp(&self) -> InpR {
1604        InpR::new((self.bits & 0x7f) as u8)
1605    }
1606}
1607#[cfg(feature = "debug")]
1608impl core::fmt::Debug for R {
1609    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
1610        f.debug_struct("CTIMER3CAP").field("inp", &self.inp()).finish()
1611    }
1612}
1613impl W {
1614    #[doc = "Bits 0:6 - Input number for CTIMER3"]
1615    #[inline(always)]
1616    pub fn inp(&mut self) -> InpW<'_, Ctimer3capSpec> {
1617        InpW::new(self, 0)
1618    }
1619}
1620#[doc = "Capture select register for CTIMER inputs\n\nYou can [`read`](crate::Reg::read) this register and get [`ctimer3cap::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ctimer3cap::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
1621pub struct Ctimer3capSpec;
1622impl crate::RegisterSpec for Ctimer3capSpec {
1623    type Ux = u32;
1624}
1625#[doc = "`read()` method returns [`ctimer3cap::R`](R) reader structure"]
1626impl crate::Readable for Ctimer3capSpec {}
1627#[doc = "`write(|w| ..)` method takes [`ctimer3cap::W`](W) writer structure"]
1628impl crate::Writable for Ctimer3capSpec {
1629    type Safety = crate::Unsafe;
1630}
1631#[doc = "`reset()` method sets CTIMER3CAP[%s] to value 0x7f"]
1632impl crate::Resettable for Ctimer3capSpec {
1633    const RESET_VALUE: u32 = 0x7f;
1634}