mtb_pac_psoc6_01 0.1.1

Peripheral Access Crate for Infineon CY8C6xx6 and CY8C6xx7 PSOCâ„¢ 6 microcontrollers
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
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
/*
(c) (2016-2024), Cypress Semiconductor Corporation (an Infineon company)

    or an affiliate of Cypress Semiconductor Corporation.



    SPDX-License-Identifier: Apache-2.0



    Licensed under the Apache License, Version 2.0 (the "License");

    you may not use this file except in compliance with the License.

    You may obtain a copy of the License at



      http://www.apache.org/licenses/LICENSE-2.0



    Unless required by applicable law or agreed to in writing, software

    distributed under the License is distributed on an "AS IS" BASIS,

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

    See the License for the specific language governing permissions and

    limitations under the License.
*/
// Generated from SVD 1.0, with svd2pac 0.6.0 on Tue, 27 May 2025 19:21:54 +0000
#![no_std]
#![allow(non_camel_case_types)]
#![doc = "PSOC6_01"]
pub mod common;
pub use common::*;

#[cfg(feature = "backup")]
pub mod backup;
#[cfg(feature = "ble")]
pub mod ble;
#[cfg(feature = "cpuss")]
pub mod cpuss;
#[cfg(feature = "crypto")]
pub mod crypto;
#[cfg(feature = "csd0")]
pub mod csd;
#[cfg(feature = "ctbm0")]
pub mod ctbm;
#[cfg(feature = "ctdac0")]
pub mod ctdac;
#[cfg(feature = "dw0")]
pub mod dw;
#[cfg(feature = "efuse")]
pub mod efuse;
#[cfg(feature = "fault")]
pub mod fault;
#[cfg(feature = "flashc")]
pub mod flashc;
#[cfg(feature = "gpio")]
pub mod gpio;
#[cfg(feature = "hsiom")]
pub mod hsiom;
#[cfg(feature = "i2s0")]
pub mod i2s;
#[cfg(feature = "ipc")]
pub mod ipc;
#[cfg(feature = "lcd0")]
pub mod lcd;
#[cfg(feature = "lpcomp")]
pub mod lpcomp;
#[cfg(feature = "pass")]
pub mod pass;
#[cfg(feature = "pdm0")]
pub mod pdm;
#[cfg(feature = "peri")]
pub mod peri;
#[cfg(feature = "profile")]
pub mod profile;
#[cfg(feature = "prot")]
pub mod prot;
#[cfg(feature = "sar")]
pub mod sar;
#[cfg(feature = "scb0")]
pub mod scb;
#[cfg(feature = "smartio")]
pub mod smartio;
#[cfg(feature = "smif0")]
pub mod smif;
#[cfg(feature = "srss")]
pub mod srss;
#[cfg(feature = "tcpwm0")]
pub mod tcpwm;
#[cfg(feature = "usbfs0")]
pub mod usbfs;

#[cfg(feature = "peri")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Peri {
    ptr: *mut u8,
}
#[cfg(feature = "peri")]
pub const PERI: self::Peri = self::Peri {
    ptr: 0x40010000u32 as _,
};
#[cfg(feature = "crypto")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Crypto {
    ptr: *mut u8,
}
#[cfg(feature = "crypto")]
pub const CRYPTO: self::Crypto = self::Crypto {
    ptr: 0x40110000u32 as _,
};
#[cfg(feature = "cpuss")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Cpuss {
    ptr: *mut u8,
}
#[cfg(feature = "cpuss")]
pub const CPUSS: self::Cpuss = self::Cpuss {
    ptr: 0x40210000u32 as _,
};
#[cfg(feature = "fault")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Fault {
    ptr: *mut u8,
}
#[cfg(feature = "fault")]
pub const FAULT: self::Fault = self::Fault {
    ptr: 0x40220000u32 as _,
};
#[cfg(feature = "ipc")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Ipc {
    ptr: *mut u8,
}
#[cfg(feature = "ipc")]
pub const IPC: self::Ipc = self::Ipc {
    ptr: 0x40230000u32 as _,
};
#[cfg(feature = "prot")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Prot {
    ptr: *mut u8,
}
#[cfg(feature = "prot")]
pub const PROT: self::Prot = self::Prot {
    ptr: 0x40240000u32 as _,
};
#[cfg(feature = "flashc")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Flashc {
    ptr: *mut u8,
}
#[cfg(feature = "flashc")]
pub const FLASHC: self::Flashc = self::Flashc {
    ptr: 0x40250000u32 as _,
};
#[cfg(feature = "srss")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Srss {
    ptr: *mut u8,
}
#[cfg(feature = "srss")]
pub const SRSS: self::Srss = self::Srss {
    ptr: 0x40260000u32 as _,
};
#[cfg(feature = "backup")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Backup {
    ptr: *mut u8,
}
#[cfg(feature = "backup")]
pub const BACKUP: self::Backup = self::Backup {
    ptr: 0x40270000u32 as _,
};
#[cfg(feature = "dw0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Dw {
    ptr: *mut u8,
}
#[cfg(feature = "dw0")]
pub const DW0: self::Dw = self::Dw {
    ptr: 0x40280000u32 as _,
};
#[cfg(feature = "dw1")]
pub const DW1: self::Dw = self::Dw {
    ptr: 0x40281000u32 as _,
};
#[cfg(feature = "efuse")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Efuse {
    ptr: *mut u8,
}
#[cfg(feature = "efuse")]
pub const EFUSE: self::Efuse = self::Efuse {
    ptr: 0x402c0000u32 as _,
};
#[cfg(feature = "profile")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Profile {
    ptr: *mut u8,
}
#[cfg(feature = "profile")]
pub const PROFILE: self::Profile = self::Profile {
    ptr: 0x402d0000u32 as _,
};
#[cfg(feature = "hsiom")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Hsiom {
    ptr: *mut u8,
}
#[cfg(feature = "hsiom")]
pub const HSIOM: self::Hsiom = self::Hsiom {
    ptr: 0x40310000u32 as _,
};
#[cfg(feature = "gpio")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Gpio {
    ptr: *mut u8,
}
#[cfg(feature = "gpio")]
pub const GPIO: self::Gpio = self::Gpio {
    ptr: 0x40320000u32 as _,
};
#[cfg(feature = "smartio")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Smartio {
    ptr: *mut u8,
}
#[cfg(feature = "smartio")]
pub const SMARTIO: self::Smartio = self::Smartio {
    ptr: 0x40330000u32 as _,
};
#[cfg(feature = "lpcomp")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lpcomp {
    ptr: *mut u8,
}
#[cfg(feature = "lpcomp")]
pub const LPCOMP: self::Lpcomp = self::Lpcomp {
    ptr: 0x40350000u32 as _,
};
#[cfg(feature = "csd0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Csd {
    ptr: *mut u8,
}
#[cfg(feature = "csd0")]
pub const CSD0: self::Csd = self::Csd {
    ptr: 0x40360000u32 as _,
};
#[cfg(feature = "tcpwm0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Tcpwm {
    ptr: *mut u8,
}
#[cfg(feature = "tcpwm0")]
pub const TCPWM0: self::Tcpwm = self::Tcpwm {
    ptr: 0x40380000u32 as _,
};
#[cfg(feature = "tcpwm1")]
pub const TCPWM1: self::Tcpwm = self::Tcpwm {
    ptr: 0x40390000u32 as _,
};
#[cfg(feature = "lcd0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Lcd {
    ptr: *mut u8,
}
#[cfg(feature = "lcd0")]
pub const LCD0: self::Lcd = self::Lcd {
    ptr: 0x403b0000u32 as _,
};
#[cfg(feature = "ble")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Ble {
    ptr: *mut u8,
}
#[cfg(feature = "ble")]
pub const BLE: self::Ble = self::Ble {
    ptr: 0x403c0000u32 as _,
};
#[cfg(feature = "usbfs0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Usbfs {
    ptr: *mut u8,
}
#[cfg(feature = "usbfs0")]
pub const USBFS0: self::Usbfs = self::Usbfs {
    ptr: 0x403f0000u32 as _,
};
#[cfg(feature = "smif0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Smif {
    ptr: *mut u8,
}
#[cfg(feature = "smif0")]
pub const SMIF0: self::Smif = self::Smif {
    ptr: 0x40420000u32 as _,
};
#[cfg(feature = "scb0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Scb {
    ptr: *mut u8,
}
#[cfg(feature = "scb0")]
pub const SCB0: self::Scb = self::Scb {
    ptr: 0x40610000u32 as _,
};
#[cfg(feature = "scb1")]
pub const SCB1: self::Scb = self::Scb {
    ptr: 0x40620000u32 as _,
};
#[cfg(feature = "scb2")]
pub const SCB2: self::Scb = self::Scb {
    ptr: 0x40630000u32 as _,
};
#[cfg(feature = "scb3")]
pub const SCB3: self::Scb = self::Scb {
    ptr: 0x40640000u32 as _,
};
#[cfg(feature = "scb4")]
pub const SCB4: self::Scb = self::Scb {
    ptr: 0x40650000u32 as _,
};
#[cfg(feature = "scb5")]
pub const SCB5: self::Scb = self::Scb {
    ptr: 0x40660000u32 as _,
};
#[cfg(feature = "scb6")]
pub const SCB6: self::Scb = self::Scb {
    ptr: 0x40670000u32 as _,
};
#[cfg(feature = "scb7")]
pub const SCB7: self::Scb = self::Scb {
    ptr: 0x40680000u32 as _,
};
#[cfg(feature = "scb8")]
pub const SCB8: self::Scb = self::Scb {
    ptr: 0x40690000u32 as _,
};
#[cfg(feature = "ctbm0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Ctbm {
    ptr: *mut u8,
}
#[cfg(feature = "ctbm0")]
pub const CTBM0: self::Ctbm = self::Ctbm {
    ptr: 0x41100000u32 as _,
};
#[cfg(feature = "ctdac0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Ctdac {
    ptr: *mut u8,
}
#[cfg(feature = "ctdac0")]
pub const CTDAC0: self::Ctdac = self::Ctdac {
    ptr: 0x41140000u32 as _,
};
#[cfg(feature = "sar")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Sar {
    ptr: *mut u8,
}
#[cfg(feature = "sar")]
pub const SAR: self::Sar = self::Sar {
    ptr: 0x411d0000u32 as _,
};
#[cfg(feature = "pass")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Pass {
    ptr: *mut u8,
}
#[cfg(feature = "pass")]
pub const PASS: self::Pass = self::Pass {
    ptr: 0x411f0000u32 as _,
};
#[cfg(feature = "i2s0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct I2S {
    ptr: *mut u8,
}
#[cfg(feature = "i2s0")]
pub const I2S0: self::I2S = self::I2S {
    ptr: 0x42a10000u32 as _,
};
#[cfg(feature = "pdm0")]
#[derive(Copy, Clone, Eq, PartialEq)]
pub struct Pdm {
    ptr: *mut u8,
}
#[cfg(feature = "pdm0")]
pub const PDM0: self::Pdm = self::Pdm {
    ptr: 0x42a20000u32 as _,
};

pub use cortex_m::peripheral::Peripherals as CorePeripherals;
pub use cortex_m::peripheral::{CBP, CPUID, DCB, DWT, FPB, FPU, ITM, MPU, NVIC, SCB, SYST, TPIU};
#[doc = "Number available in the NVIC for configuring priority"]
pub const NVIC_PRIO_BITS: u8 = 3;
#[doc(hidden)]
pub union Vector {
    _handler: unsafe extern "C" fn(),
    _reserved: u32,
}
#[cfg(feature = "rt")]
pub use self::Interrupt as interrupt;
#[cfg(feature = "rt")]
pub use cortex_m_rt::interrupt;
#[cfg(feature = "rt")]
pub mod interrupt_handlers {
    extern "C" {
        pub fn IOSS_INTERRUPTS_GPIO_0();
        pub fn IOSS_INTERRUPTS_GPIO_1();
        pub fn IOSS_INTERRUPTS_GPIO_2();
        pub fn IOSS_INTERRUPTS_GPIO_3();
        pub fn IOSS_INTERRUPTS_GPIO_4();
        pub fn IOSS_INTERRUPTS_GPIO_5();
        pub fn IOSS_INTERRUPTS_GPIO_6();
        pub fn IOSS_INTERRUPTS_GPIO_7();
        pub fn IOSS_INTERRUPTS_GPIO_8();
        pub fn IOSS_INTERRUPTS_GPIO_9();
        pub fn IOSS_INTERRUPTS_GPIO_10();
        pub fn IOSS_INTERRUPTS_GPIO_11();
        pub fn IOSS_INTERRUPTS_GPIO_12();
        pub fn IOSS_INTERRUPTS_GPIO_13();
        pub fn IOSS_INTERRUPTS_GPIO_14();
        pub fn IOSS_INTERRUPT_GPIO();
        pub fn IOSS_INTERRUPT_VDD();
        pub fn LPCOMP_INTERRUPT();
        pub fn SCB_8_INTERRUPT();
        pub fn SRSS_INTERRUPT_MCWDT_0();
        pub fn SRSS_INTERRUPT_MCWDT_1();
        pub fn SRSS_INTERRUPT_BACKUP();
        pub fn SRSS_INTERRUPT();
        pub fn PASS_INTERRUPT_CTBS();
        pub fn BLESS_INTERRUPT();
        pub fn CPUSS_INTERRUPTS_IPC_0();
        pub fn CPUSS_INTERRUPTS_IPC_1();
        pub fn CPUSS_INTERRUPTS_IPC_2();
        pub fn CPUSS_INTERRUPTS_IPC_3();
        pub fn CPUSS_INTERRUPTS_IPC_4();
        pub fn CPUSS_INTERRUPTS_IPC_5();
        pub fn CPUSS_INTERRUPTS_IPC_6();
        pub fn CPUSS_INTERRUPTS_IPC_7();
        pub fn CPUSS_INTERRUPTS_IPC_8();
        pub fn CPUSS_INTERRUPTS_IPC_9();
        pub fn CPUSS_INTERRUPTS_IPC_10();
        pub fn CPUSS_INTERRUPTS_IPC_11();
        pub fn CPUSS_INTERRUPTS_IPC_12();
        pub fn CPUSS_INTERRUPTS_IPC_13();
        pub fn CPUSS_INTERRUPTS_IPC_14();
        pub fn CPUSS_INTERRUPTS_IPC_15();
        pub fn SCB_0_INTERRUPT();
        pub fn SCB_1_INTERRUPT();
        pub fn SCB_2_INTERRUPT();
        pub fn SCB_3_INTERRUPT();
        pub fn SCB_4_INTERRUPT();
        pub fn SCB_5_INTERRUPT();
        pub fn SCB_6_INTERRUPT();
        pub fn SCB_7_INTERRUPT();
        pub fn CSD_INTERRUPT();
        pub fn CPUSS_INTERRUPTS_DW0_0();
        pub fn CPUSS_INTERRUPTS_DW0_1();
        pub fn CPUSS_INTERRUPTS_DW0_2();
        pub fn CPUSS_INTERRUPTS_DW0_3();
        pub fn CPUSS_INTERRUPTS_DW0_4();
        pub fn CPUSS_INTERRUPTS_DW0_5();
        pub fn CPUSS_INTERRUPTS_DW0_6();
        pub fn CPUSS_INTERRUPTS_DW0_7();
        pub fn CPUSS_INTERRUPTS_DW0_8();
        pub fn CPUSS_INTERRUPTS_DW0_9();
        pub fn CPUSS_INTERRUPTS_DW0_10();
        pub fn CPUSS_INTERRUPTS_DW0_11();
        pub fn CPUSS_INTERRUPTS_DW0_12();
        pub fn CPUSS_INTERRUPTS_DW0_13();
        pub fn CPUSS_INTERRUPTS_DW0_14();
        pub fn CPUSS_INTERRUPTS_DW0_15();
        pub fn CPUSS_INTERRUPTS_DW1_0();
        pub fn CPUSS_INTERRUPTS_DW1_1();
        pub fn CPUSS_INTERRUPTS_DW1_2();
        pub fn CPUSS_INTERRUPTS_DW1_3();
        pub fn CPUSS_INTERRUPTS_DW1_4();
        pub fn CPUSS_INTERRUPTS_DW1_5();
        pub fn CPUSS_INTERRUPTS_DW1_6();
        pub fn CPUSS_INTERRUPTS_DW1_7();
        pub fn CPUSS_INTERRUPTS_DW1_8();
        pub fn CPUSS_INTERRUPTS_DW1_9();
        pub fn CPUSS_INTERRUPTS_DW1_10();
        pub fn CPUSS_INTERRUPTS_DW1_11();
        pub fn CPUSS_INTERRUPTS_DW1_12();
        pub fn CPUSS_INTERRUPTS_DW1_13();
        pub fn CPUSS_INTERRUPTS_DW1_14();
        pub fn CPUSS_INTERRUPTS_DW1_15();
        pub fn CPUSS_INTERRUPTS_FAULT_0();
        pub fn CPUSS_INTERRUPTS_FAULT_1();
        pub fn CPUSS_INTERRUPT_CRYPTO();
        pub fn CPUSS_INTERRUPT_FM();
        pub fn CPUSS_INTERRUPTS_CM0_CTI_0();
        pub fn CPUSS_INTERRUPTS_CM0_CTI_1();
        pub fn CPUSS_INTERRUPTS_CM4_CTI_0();
        pub fn CPUSS_INTERRUPTS_CM4_CTI_1();
        pub fn TCPWM_0_INTERRUPTS_0();
        pub fn TCPWM_0_INTERRUPTS_1();
        pub fn TCPWM_0_INTERRUPTS_2();
        pub fn TCPWM_0_INTERRUPTS_3();
        pub fn TCPWM_0_INTERRUPTS_4();
        pub fn TCPWM_0_INTERRUPTS_5();
        pub fn TCPWM_0_INTERRUPTS_6();
        pub fn TCPWM_0_INTERRUPTS_7();
        pub fn TCPWM_1_INTERRUPTS_0();
        pub fn TCPWM_1_INTERRUPTS_1();
        pub fn TCPWM_1_INTERRUPTS_2();
        pub fn TCPWM_1_INTERRUPTS_3();
        pub fn TCPWM_1_INTERRUPTS_4();
        pub fn TCPWM_1_INTERRUPTS_5();
        pub fn TCPWM_1_INTERRUPTS_6();
        pub fn TCPWM_1_INTERRUPTS_7();
        pub fn TCPWM_1_INTERRUPTS_8();
        pub fn TCPWM_1_INTERRUPTS_9();
        pub fn TCPWM_1_INTERRUPTS_10();
        pub fn TCPWM_1_INTERRUPTS_11();
        pub fn TCPWM_1_INTERRUPTS_12();
        pub fn TCPWM_1_INTERRUPTS_13();
        pub fn TCPWM_1_INTERRUPTS_14();
        pub fn TCPWM_1_INTERRUPTS_15();
        pub fn TCPWM_1_INTERRUPTS_16();
        pub fn TCPWM_1_INTERRUPTS_17();
        pub fn TCPWM_1_INTERRUPTS_18();
        pub fn TCPWM_1_INTERRUPTS_19();
        pub fn TCPWM_1_INTERRUPTS_20();
        pub fn TCPWM_1_INTERRUPTS_21();
        pub fn TCPWM_1_INTERRUPTS_22();
        pub fn TCPWM_1_INTERRUPTS_23();
        pub fn UDB_INTERRUPTS_0();
        pub fn UDB_INTERRUPTS_1();
        pub fn UDB_INTERRUPTS_2();
        pub fn UDB_INTERRUPTS_3();
        pub fn UDB_INTERRUPTS_4();
        pub fn UDB_INTERRUPTS_5();
        pub fn UDB_INTERRUPTS_6();
        pub fn UDB_INTERRUPTS_7();
        pub fn UDB_INTERRUPTS_8();
        pub fn UDB_INTERRUPTS_9();
        pub fn UDB_INTERRUPTS_10();
        pub fn UDB_INTERRUPTS_11();
        pub fn UDB_INTERRUPTS_12();
        pub fn UDB_INTERRUPTS_13();
        pub fn UDB_INTERRUPTS_14();
        pub fn UDB_INTERRUPTS_15();
        pub fn PASS_INTERRUPT_SAR();
        pub fn AUDIOSS_INTERRUPT_I2S();
        pub fn AUDIOSS_INTERRUPT_PDM();
        pub fn PROFILE_INTERRUPT();
        pub fn SMIF_INTERRUPT();
        pub fn USB_INTERRUPT_HI();
        pub fn USB_INTERRUPT_MED();
        pub fn USB_INTERRUPT_LO();
        pub fn PASS_INTERRUPT_DACS();
    }
}
#[cfg(feature = "rt")]
#[doc(hidden)]
#[link_section = ".vector_table.interrupts"]
#[no_mangle]
pub static __INTERRUPTS: [Vector; 147] = [
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_0,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_1,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_2,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_3,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_4,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_5,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_6,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_7,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_8,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_9,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_10,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_11,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_12,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_13,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPTS_GPIO_14,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPT_GPIO,
    },
    Vector {
        _handler: interrupt_handlers::IOSS_INTERRUPT_VDD,
    },
    Vector {
        _handler: interrupt_handlers::LPCOMP_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::SCB_8_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::SRSS_INTERRUPT_MCWDT_0,
    },
    Vector {
        _handler: interrupt_handlers::SRSS_INTERRUPT_MCWDT_1,
    },
    Vector {
        _handler: interrupt_handlers::SRSS_INTERRUPT_BACKUP,
    },
    Vector {
        _handler: interrupt_handlers::SRSS_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::PASS_INTERRUPT_CTBS,
    },
    Vector {
        _handler: interrupt_handlers::BLESS_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_0,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_1,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_2,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_3,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_4,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_5,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_6,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_7,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_8,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_9,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_10,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_11,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_12,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_13,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_14,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_IPC_15,
    },
    Vector {
        _handler: interrupt_handlers::SCB_0_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::SCB_1_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::SCB_2_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::SCB_3_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::SCB_4_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::SCB_5_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::SCB_6_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::SCB_7_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::CSD_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_0,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_1,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_2,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_3,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_4,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_5,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_6,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_7,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_8,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_9,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_10,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_11,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_12,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_13,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_14,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW0_15,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_0,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_1,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_2,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_3,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_4,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_5,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_6,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_7,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_8,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_9,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_10,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_11,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_12,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_13,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_14,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_DW1_15,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_FAULT_0,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_FAULT_1,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPT_CRYPTO,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPT_FM,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_CM0_CTI_0,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_CM0_CTI_1,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_CM4_CTI_0,
    },
    Vector {
        _handler: interrupt_handlers::CPUSS_INTERRUPTS_CM4_CTI_1,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_0_INTERRUPTS_0,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_0_INTERRUPTS_1,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_0_INTERRUPTS_2,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_0_INTERRUPTS_3,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_0_INTERRUPTS_4,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_0_INTERRUPTS_5,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_0_INTERRUPTS_6,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_0_INTERRUPTS_7,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_0,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_1,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_2,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_3,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_4,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_5,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_6,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_7,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_8,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_9,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_10,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_11,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_12,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_13,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_14,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_15,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_16,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_17,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_18,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_19,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_20,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_21,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_22,
    },
    Vector {
        _handler: interrupt_handlers::TCPWM_1_INTERRUPTS_23,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_0,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_1,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_2,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_3,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_4,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_5,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_6,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_7,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_8,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_9,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_10,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_11,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_12,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_13,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_14,
    },
    Vector {
        _handler: interrupt_handlers::UDB_INTERRUPTS_15,
    },
    Vector {
        _handler: interrupt_handlers::PASS_INTERRUPT_SAR,
    },
    Vector {
        _handler: interrupt_handlers::AUDIOSS_INTERRUPT_I2S,
    },
    Vector {
        _handler: interrupt_handlers::AUDIOSS_INTERRUPT_PDM,
    },
    Vector {
        _handler: interrupt_handlers::PROFILE_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::SMIF_INTERRUPT,
    },
    Vector {
        _handler: interrupt_handlers::USB_INTERRUPT_HI,
    },
    Vector {
        _handler: interrupt_handlers::USB_INTERRUPT_MED,
    },
    Vector {
        _handler: interrupt_handlers::USB_INTERRUPT_LO,
    },
    Vector {
        _handler: interrupt_handlers::PASS_INTERRUPT_DACS,
    },
];
#[doc = "Enumeration of all the interrupts."]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
#[repr(u16)]
pub enum Interrupt {
    #[doc = "GPIO Port Interrupt #0"]
    IOSS_INTERRUPTS_GPIO_0 = 0,

    #[doc = "GPIO Port Interrupt #1"]
    IOSS_INTERRUPTS_GPIO_1 = 1,

    #[doc = "GPIO Port Interrupt #2"]
    IOSS_INTERRUPTS_GPIO_2 = 2,

    #[doc = "GPIO Port Interrupt #3"]
    IOSS_INTERRUPTS_GPIO_3 = 3,

    #[doc = "GPIO Port Interrupt #4"]
    IOSS_INTERRUPTS_GPIO_4 = 4,

    #[doc = "GPIO Port Interrupt #5"]
    IOSS_INTERRUPTS_GPIO_5 = 5,

    #[doc = "GPIO Port Interrupt #6"]
    IOSS_INTERRUPTS_GPIO_6 = 6,

    #[doc = "GPIO Port Interrupt #7"]
    IOSS_INTERRUPTS_GPIO_7 = 7,

    #[doc = "GPIO Port Interrupt #8"]
    IOSS_INTERRUPTS_GPIO_8 = 8,

    #[doc = "GPIO Port Interrupt #9"]
    IOSS_INTERRUPTS_GPIO_9 = 9,

    #[doc = "GPIO Port Interrupt #10"]
    IOSS_INTERRUPTS_GPIO_10 = 10,

    #[doc = "GPIO Port Interrupt #11"]
    IOSS_INTERRUPTS_GPIO_11 = 11,

    #[doc = "GPIO Port Interrupt #12"]
    IOSS_INTERRUPTS_GPIO_12 = 12,

    #[doc = "GPIO Port Interrupt #13"]
    IOSS_INTERRUPTS_GPIO_13 = 13,

    #[doc = "GPIO Port Interrupt #14"]
    IOSS_INTERRUPTS_GPIO_14 = 14,

    #[doc = "GPIO All Ports"]
    IOSS_INTERRUPT_GPIO = 15,

    #[doc = "GPIO Supply Detect Interrupt"]
    IOSS_INTERRUPT_VDD = 16,

    #[doc = "Low Power Comparator Interrupt"]
    LPCOMP_INTERRUPT = 17,

    #[doc = "Serial Communication Block #8 (DeepSleep capable)"]
    SCB_8_INTERRUPT = 18,

    #[doc = "Multi Counter Watchdog Timer interrupt"]
    SRSS_INTERRUPT_MCWDT_0 = 19,

    #[doc = "Multi Counter Watchdog Timer interrupt"]
    SRSS_INTERRUPT_MCWDT_1 = 20,

    #[doc = "Backup domain interrupt"]
    SRSS_INTERRUPT_BACKUP = 21,

    #[doc = "Other combined Interrupts for SRSS (LVD, WDT, CLKCAL)"]
    SRSS_INTERRUPT = 22,

    #[doc = "CTBm Interrupt (all CTBms)"]
    PASS_INTERRUPT_CTBS = 23,

    #[doc = "Bluetooth Radio interrupt"]
    BLESS_INTERRUPT = 24,

    #[doc = "CPUSS Inter Process Communication Interrupt #0"]
    CPUSS_INTERRUPTS_IPC_0 = 25,

    #[doc = "CPUSS Inter Process Communication Interrupt #1"]
    CPUSS_INTERRUPTS_IPC_1 = 26,

    #[doc = "CPUSS Inter Process Communication Interrupt #2"]
    CPUSS_INTERRUPTS_IPC_2 = 27,

    #[doc = "CPUSS Inter Process Communication Interrupt #3"]
    CPUSS_INTERRUPTS_IPC_3 = 28,

    #[doc = "CPUSS Inter Process Communication Interrupt #4"]
    CPUSS_INTERRUPTS_IPC_4 = 29,

    #[doc = "CPUSS Inter Process Communication Interrupt #5"]
    CPUSS_INTERRUPTS_IPC_5 = 30,

    #[doc = "CPUSS Inter Process Communication Interrupt #6"]
    CPUSS_INTERRUPTS_IPC_6 = 31,

    #[doc = "CPUSS Inter Process Communication Interrupt #7"]
    CPUSS_INTERRUPTS_IPC_7 = 32,

    #[doc = "CPUSS Inter Process Communication Interrupt #8"]
    CPUSS_INTERRUPTS_IPC_8 = 33,

    #[doc = "CPUSS Inter Process Communication Interrupt #9"]
    CPUSS_INTERRUPTS_IPC_9 = 34,

    #[doc = "CPUSS Inter Process Communication Interrupt #10"]
    CPUSS_INTERRUPTS_IPC_10 = 35,

    #[doc = "CPUSS Inter Process Communication Interrupt #11"]
    CPUSS_INTERRUPTS_IPC_11 = 36,

    #[doc = "CPUSS Inter Process Communication Interrupt #12"]
    CPUSS_INTERRUPTS_IPC_12 = 37,

    #[doc = "CPUSS Inter Process Communication Interrupt #13"]
    CPUSS_INTERRUPTS_IPC_13 = 38,

    #[doc = "CPUSS Inter Process Communication Interrupt #14"]
    CPUSS_INTERRUPTS_IPC_14 = 39,

    #[doc = "CPUSS Inter Process Communication Interrupt #15"]
    CPUSS_INTERRUPTS_IPC_15 = 40,

    #[doc = "Serial Communication Block #0"]
    SCB_0_INTERRUPT = 41,

    #[doc = "Serial Communication Block #1"]
    SCB_1_INTERRUPT = 42,

    #[doc = "Serial Communication Block #2"]
    SCB_2_INTERRUPT = 43,

    #[doc = "Serial Communication Block #3"]
    SCB_3_INTERRUPT = 44,

    #[doc = "Serial Communication Block #4"]
    SCB_4_INTERRUPT = 45,

    #[doc = "Serial Communication Block #5"]
    SCB_5_INTERRUPT = 46,

    #[doc = "Serial Communication Block #6"]
    SCB_6_INTERRUPT = 47,

    #[doc = "Serial Communication Block #7"]
    SCB_7_INTERRUPT = 48,

    #[doc = "CSD (Capsense) interrupt"]
    CSD_INTERRUPT = 49,

    #[doc = "CPUSS DataWire #0, Channel #0"]
    CPUSS_INTERRUPTS_DW0_0 = 50,

    #[doc = "CPUSS DataWire #0, Channel #1"]
    CPUSS_INTERRUPTS_DW0_1 = 51,

    #[doc = "CPUSS DataWire #0, Channel #2"]
    CPUSS_INTERRUPTS_DW0_2 = 52,

    #[doc = "CPUSS DataWire #0, Channel #3"]
    CPUSS_INTERRUPTS_DW0_3 = 53,

    #[doc = "CPUSS DataWire #0, Channel #4"]
    CPUSS_INTERRUPTS_DW0_4 = 54,

    #[doc = "CPUSS DataWire #0, Channel #5"]
    CPUSS_INTERRUPTS_DW0_5 = 55,

    #[doc = "CPUSS DataWire #0, Channel #6"]
    CPUSS_INTERRUPTS_DW0_6 = 56,

    #[doc = "CPUSS DataWire #0, Channel #7"]
    CPUSS_INTERRUPTS_DW0_7 = 57,

    #[doc = "CPUSS DataWire #0, Channel #8"]
    CPUSS_INTERRUPTS_DW0_8 = 58,

    #[doc = "CPUSS DataWire #0, Channel #9"]
    CPUSS_INTERRUPTS_DW0_9 = 59,

    #[doc = "CPUSS DataWire #0, Channel #10"]
    CPUSS_INTERRUPTS_DW0_10 = 60,

    #[doc = "CPUSS DataWire #0, Channel #11"]
    CPUSS_INTERRUPTS_DW0_11 = 61,

    #[doc = "CPUSS DataWire #0, Channel #12"]
    CPUSS_INTERRUPTS_DW0_12 = 62,

    #[doc = "CPUSS DataWire #0, Channel #13"]
    CPUSS_INTERRUPTS_DW0_13 = 63,

    #[doc = "CPUSS DataWire #0, Channel #14"]
    CPUSS_INTERRUPTS_DW0_14 = 64,

    #[doc = "CPUSS DataWire #0, Channel #15"]
    CPUSS_INTERRUPTS_DW0_15 = 65,

    #[doc = "CPUSS DataWire #1, Channel #0"]
    CPUSS_INTERRUPTS_DW1_0 = 66,

    #[doc = "CPUSS DataWire #1, Channel #1"]
    CPUSS_INTERRUPTS_DW1_1 = 67,

    #[doc = "CPUSS DataWire #1, Channel #2"]
    CPUSS_INTERRUPTS_DW1_2 = 68,

    #[doc = "CPUSS DataWire #1, Channel #3"]
    CPUSS_INTERRUPTS_DW1_3 = 69,

    #[doc = "CPUSS DataWire #1, Channel #4"]
    CPUSS_INTERRUPTS_DW1_4 = 70,

    #[doc = "CPUSS DataWire #1, Channel #5"]
    CPUSS_INTERRUPTS_DW1_5 = 71,

    #[doc = "CPUSS DataWire #1, Channel #6"]
    CPUSS_INTERRUPTS_DW1_6 = 72,

    #[doc = "CPUSS DataWire #1, Channel #7"]
    CPUSS_INTERRUPTS_DW1_7 = 73,

    #[doc = "CPUSS DataWire #1, Channel #8"]
    CPUSS_INTERRUPTS_DW1_8 = 74,

    #[doc = "CPUSS DataWire #1, Channel #9"]
    CPUSS_INTERRUPTS_DW1_9 = 75,

    #[doc = "CPUSS DataWire #1, Channel #10"]
    CPUSS_INTERRUPTS_DW1_10 = 76,

    #[doc = "CPUSS DataWire #1, Channel #11"]
    CPUSS_INTERRUPTS_DW1_11 = 77,

    #[doc = "CPUSS DataWire #1, Channel #12"]
    CPUSS_INTERRUPTS_DW1_12 = 78,

    #[doc = "CPUSS DataWire #1, Channel #13"]
    CPUSS_INTERRUPTS_DW1_13 = 79,

    #[doc = "CPUSS DataWire #1, Channel #14"]
    CPUSS_INTERRUPTS_DW1_14 = 80,

    #[doc = "CPUSS DataWire #1, Channel #15"]
    CPUSS_INTERRUPTS_DW1_15 = 81,

    #[doc = "CPUSS Fault Structure Interrupt #0"]
    CPUSS_INTERRUPTS_FAULT_0 = 82,

    #[doc = "CPUSS Fault Structure Interrupt #1"]
    CPUSS_INTERRUPTS_FAULT_1 = 83,

    #[doc = "CRYPTO Accelerator Interrupt"]
    CPUSS_INTERRUPT_CRYPTO = 84,

    #[doc = "FLASH Macro Interrupt"]
    CPUSS_INTERRUPT_FM = 85,

    #[doc = "CM0+ CTI #0"]
    CPUSS_INTERRUPTS_CM0_CTI_0 = 86,

    #[doc = "CM0+ CTI #1"]
    CPUSS_INTERRUPTS_CM0_CTI_1 = 87,

    #[doc = "CM4 CTI #0"]
    CPUSS_INTERRUPTS_CM4_CTI_0 = 88,

    #[doc = "CM4 CTI #1"]
    CPUSS_INTERRUPTS_CM4_CTI_1 = 89,

    #[doc = "TCPWM #0, Counter #0"]
    TCPWM_0_INTERRUPTS_0 = 90,

    #[doc = "TCPWM #0, Counter #1"]
    TCPWM_0_INTERRUPTS_1 = 91,

    #[doc = "TCPWM #0, Counter #2"]
    TCPWM_0_INTERRUPTS_2 = 92,

    #[doc = "TCPWM #0, Counter #3"]
    TCPWM_0_INTERRUPTS_3 = 93,

    #[doc = "TCPWM #0, Counter #4"]
    TCPWM_0_INTERRUPTS_4 = 94,

    #[doc = "TCPWM #0, Counter #5"]
    TCPWM_0_INTERRUPTS_5 = 95,

    #[doc = "TCPWM #0, Counter #6"]
    TCPWM_0_INTERRUPTS_6 = 96,

    #[doc = "TCPWM #0, Counter #7"]
    TCPWM_0_INTERRUPTS_7 = 97,

    #[doc = "TCPWM #1, Counter #0"]
    TCPWM_1_INTERRUPTS_0 = 98,

    #[doc = "TCPWM #1, Counter #1"]
    TCPWM_1_INTERRUPTS_1 = 99,

    #[doc = "TCPWM #1, Counter #2"]
    TCPWM_1_INTERRUPTS_2 = 100,

    #[doc = "TCPWM #1, Counter #3"]
    TCPWM_1_INTERRUPTS_3 = 101,

    #[doc = "TCPWM #1, Counter #4"]
    TCPWM_1_INTERRUPTS_4 = 102,

    #[doc = "TCPWM #1, Counter #5"]
    TCPWM_1_INTERRUPTS_5 = 103,

    #[doc = "TCPWM #1, Counter #6"]
    TCPWM_1_INTERRUPTS_6 = 104,

    #[doc = "TCPWM #1, Counter #7"]
    TCPWM_1_INTERRUPTS_7 = 105,

    #[doc = "TCPWM #1, Counter #8"]
    TCPWM_1_INTERRUPTS_8 = 106,

    #[doc = "TCPWM #1, Counter #9"]
    TCPWM_1_INTERRUPTS_9 = 107,

    #[doc = "TCPWM #1, Counter #10"]
    TCPWM_1_INTERRUPTS_10 = 108,

    #[doc = "TCPWM #1, Counter #11"]
    TCPWM_1_INTERRUPTS_11 = 109,

    #[doc = "TCPWM #1, Counter #12"]
    TCPWM_1_INTERRUPTS_12 = 110,

    #[doc = "TCPWM #1, Counter #13"]
    TCPWM_1_INTERRUPTS_13 = 111,

    #[doc = "TCPWM #1, Counter #14"]
    TCPWM_1_INTERRUPTS_14 = 112,

    #[doc = "TCPWM #1, Counter #15"]
    TCPWM_1_INTERRUPTS_15 = 113,

    #[doc = "TCPWM #1, Counter #16"]
    TCPWM_1_INTERRUPTS_16 = 114,

    #[doc = "TCPWM #1, Counter #17"]
    TCPWM_1_INTERRUPTS_17 = 115,

    #[doc = "TCPWM #1, Counter #18"]
    TCPWM_1_INTERRUPTS_18 = 116,

    #[doc = "TCPWM #1, Counter #19"]
    TCPWM_1_INTERRUPTS_19 = 117,

    #[doc = "TCPWM #1, Counter #20"]
    TCPWM_1_INTERRUPTS_20 = 118,

    #[doc = "TCPWM #1, Counter #21"]
    TCPWM_1_INTERRUPTS_21 = 119,

    #[doc = "TCPWM #1, Counter #22"]
    TCPWM_1_INTERRUPTS_22 = 120,

    #[doc = "TCPWM #1, Counter #23"]
    TCPWM_1_INTERRUPTS_23 = 121,

    #[doc = "UDB Interrupt #0"]
    UDB_INTERRUPTS_0 = 122,

    #[doc = "UDB Interrupt #1"]
    UDB_INTERRUPTS_1 = 123,

    #[doc = "UDB Interrupt #2"]
    UDB_INTERRUPTS_2 = 124,

    #[doc = "UDB Interrupt #3"]
    UDB_INTERRUPTS_3 = 125,

    #[doc = "UDB Interrupt #4"]
    UDB_INTERRUPTS_4 = 126,

    #[doc = "UDB Interrupt #5"]
    UDB_INTERRUPTS_5 = 127,

    #[doc = "UDB Interrupt #6"]
    UDB_INTERRUPTS_6 = 128,

    #[doc = "UDB Interrupt #7"]
    UDB_INTERRUPTS_7 = 129,

    #[doc = "UDB Interrupt #8"]
    UDB_INTERRUPTS_8 = 130,

    #[doc = "UDB Interrupt #9"]
    UDB_INTERRUPTS_9 = 131,

    #[doc = "UDB Interrupt #10"]
    UDB_INTERRUPTS_10 = 132,

    #[doc = "UDB Interrupt #11"]
    UDB_INTERRUPTS_11 = 133,

    #[doc = "UDB Interrupt #12"]
    UDB_INTERRUPTS_12 = 134,

    #[doc = "UDB Interrupt #13"]
    UDB_INTERRUPTS_13 = 135,

    #[doc = "UDB Interrupt #14"]
    UDB_INTERRUPTS_14 = 136,

    #[doc = "UDB Interrupt #15"]
    UDB_INTERRUPTS_15 = 137,

    #[doc = "SAR ADC interrupt"]
    PASS_INTERRUPT_SAR = 138,

    #[doc = "I2S Audio interrupt"]
    AUDIOSS_INTERRUPT_I2S = 139,

    #[doc = "PDM/PCM Audio interrupt"]
    AUDIOSS_INTERRUPT_PDM = 140,

    #[doc = "Energy Profiler interrupt"]
    PROFILE_INTERRUPT = 141,

    #[doc = "Serial Memory Interface interrupt"]
    SMIF_INTERRUPT = 142,

    #[doc = "USB Interrupt"]
    USB_INTERRUPT_HI = 143,

    #[doc = "USB Interrupt"]
    USB_INTERRUPT_MED = 144,

    #[doc = "USB Interrupt"]
    USB_INTERRUPT_LO = 145,

    #[doc = "Consolidated interrrupt for all DACs"]
    PASS_INTERRUPT_DACS = 146,
}
unsafe impl cortex_m::interrupt::InterruptNumber for Interrupt {
    #[inline(always)]
    fn number(self) -> u16 {
        self as u16
    }
}
#[allow(non_snake_case)]
/// Required for compatibility with RTIC and other frameworks
pub struct Peripherals {
    #[cfg(feature = "peri")]
    pub PERI: self::Peri,
    #[cfg(feature = "crypto")]
    pub CRYPTO: self::Crypto,
    #[cfg(feature = "cpuss")]
    pub CPUSS: self::Cpuss,
    #[cfg(feature = "fault")]
    pub FAULT: self::Fault,
    #[cfg(feature = "ipc")]
    pub IPC: self::Ipc,
    #[cfg(feature = "prot")]
    pub PROT: self::Prot,
    #[cfg(feature = "flashc")]
    pub FLASHC: self::Flashc,
    #[cfg(feature = "srss")]
    pub SRSS: self::Srss,
    #[cfg(feature = "backup")]
    pub BACKUP: self::Backup,
    #[cfg(feature = "dw0")]
    pub DW0: self::Dw,
    #[cfg(feature = "dw1")]
    pub DW1: self::Dw,
    #[cfg(feature = "efuse")]
    pub EFUSE: self::Efuse,
    #[cfg(feature = "profile")]
    pub PROFILE: self::Profile,
    #[cfg(feature = "hsiom")]
    pub HSIOM: self::Hsiom,
    #[cfg(feature = "gpio")]
    pub GPIO: self::Gpio,
    #[cfg(feature = "smartio")]
    pub SMARTIO: self::Smartio,
    #[cfg(feature = "lpcomp")]
    pub LPCOMP: self::Lpcomp,
    #[cfg(feature = "csd0")]
    pub CSD0: self::Csd,
    #[cfg(feature = "tcpwm0")]
    pub TCPWM0: self::Tcpwm,
    #[cfg(feature = "tcpwm1")]
    pub TCPWM1: self::Tcpwm,
    #[cfg(feature = "lcd0")]
    pub LCD0: self::Lcd,
    #[cfg(feature = "ble")]
    pub BLE: self::Ble,
    #[cfg(feature = "usbfs0")]
    pub USBFS0: self::Usbfs,
    #[cfg(feature = "smif0")]
    pub SMIF0: self::Smif,
    #[cfg(feature = "scb0")]
    pub SCB0: self::Scb,
    #[cfg(feature = "scb1")]
    pub SCB1: self::Scb,
    #[cfg(feature = "scb2")]
    pub SCB2: self::Scb,
    #[cfg(feature = "scb3")]
    pub SCB3: self::Scb,
    #[cfg(feature = "scb4")]
    pub SCB4: self::Scb,
    #[cfg(feature = "scb5")]
    pub SCB5: self::Scb,
    #[cfg(feature = "scb6")]
    pub SCB6: self::Scb,
    #[cfg(feature = "scb7")]
    pub SCB7: self::Scb,
    #[cfg(feature = "scb8")]
    pub SCB8: self::Scb,
    #[cfg(feature = "ctbm0")]
    pub CTBM0: self::Ctbm,
    #[cfg(feature = "ctdac0")]
    pub CTDAC0: self::Ctdac,
    #[cfg(feature = "sar")]
    pub SAR: self::Sar,
    #[cfg(feature = "pass")]
    pub PASS: self::Pass,
    #[cfg(feature = "i2s0")]
    pub I2S0: self::I2S,
    #[cfg(feature = "pdm0")]
    pub PDM0: self::Pdm,
}

impl Peripherals {
    /// Returns Peripheral struct multiple times
    /// Required for compatibility with RTIC and other frameworks
    #[inline]
    pub fn take() -> Option<Self> {
        Some(Self::steal())
    }

    /// Returns Peripheral struct multiple times
    /// Required for compatibility with RTIC and other frameworks
    #[inline]
    pub fn steal() -> Self {
        Peripherals {
            #[cfg(feature = "peri")]
            PERI: crate::PERI,
            #[cfg(feature = "crypto")]
            CRYPTO: crate::CRYPTO,
            #[cfg(feature = "cpuss")]
            CPUSS: crate::CPUSS,
            #[cfg(feature = "fault")]
            FAULT: crate::FAULT,
            #[cfg(feature = "ipc")]
            IPC: crate::IPC,
            #[cfg(feature = "prot")]
            PROT: crate::PROT,
            #[cfg(feature = "flashc")]
            FLASHC: crate::FLASHC,
            #[cfg(feature = "srss")]
            SRSS: crate::SRSS,
            #[cfg(feature = "backup")]
            BACKUP: crate::BACKUP,
            #[cfg(feature = "dw0")]
            DW0: crate::DW0,
            #[cfg(feature = "dw1")]
            DW1: crate::DW1,
            #[cfg(feature = "efuse")]
            EFUSE: crate::EFUSE,
            #[cfg(feature = "profile")]
            PROFILE: crate::PROFILE,
            #[cfg(feature = "hsiom")]
            HSIOM: crate::HSIOM,
            #[cfg(feature = "gpio")]
            GPIO: crate::GPIO,
            #[cfg(feature = "smartio")]
            SMARTIO: crate::SMARTIO,
            #[cfg(feature = "lpcomp")]
            LPCOMP: crate::LPCOMP,
            #[cfg(feature = "csd0")]
            CSD0: crate::CSD0,
            #[cfg(feature = "tcpwm0")]
            TCPWM0: crate::TCPWM0,
            #[cfg(feature = "tcpwm1")]
            TCPWM1: crate::TCPWM1,
            #[cfg(feature = "lcd0")]
            LCD0: crate::LCD0,
            #[cfg(feature = "ble")]
            BLE: crate::BLE,
            #[cfg(feature = "usbfs0")]
            USBFS0: crate::USBFS0,
            #[cfg(feature = "smif0")]
            SMIF0: crate::SMIF0,
            #[cfg(feature = "scb0")]
            SCB0: crate::SCB0,
            #[cfg(feature = "scb1")]
            SCB1: crate::SCB1,
            #[cfg(feature = "scb2")]
            SCB2: crate::SCB2,
            #[cfg(feature = "scb3")]
            SCB3: crate::SCB3,
            #[cfg(feature = "scb4")]
            SCB4: crate::SCB4,
            #[cfg(feature = "scb5")]
            SCB5: crate::SCB5,
            #[cfg(feature = "scb6")]
            SCB6: crate::SCB6,
            #[cfg(feature = "scb7")]
            SCB7: crate::SCB7,
            #[cfg(feature = "scb8")]
            SCB8: crate::SCB8,
            #[cfg(feature = "ctbm0")]
            CTBM0: crate::CTBM0,
            #[cfg(feature = "ctdac0")]
            CTDAC0: crate::CTDAC0,
            #[cfg(feature = "sar")]
            SAR: crate::SAR,
            #[cfg(feature = "pass")]
            PASS: crate::PASS,
            #[cfg(feature = "i2s0")]
            I2S0: crate::I2S0,
            #[cfg(feature = "pdm0")]
            PDM0: crate::PDM0,
        }
    }
}