mcxa-pac 0.3.0

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