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