imxrt_ral/
imxrt1062.rs

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
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum Interrupt {
    #[doc = "0 - DMA0_DMA16"]
    DMA0_DMA16 = 0,
    #[doc = "1 - DMA1_DMA17"]
    DMA1_DMA17 = 1,
    #[doc = "2 - DMA2_DMA18"]
    DMA2_DMA18 = 2,
    #[doc = "3 - DMA3_DMA19"]
    DMA3_DMA19 = 3,
    #[doc = "4 - DMA4_DMA20"]
    DMA4_DMA20 = 4,
    #[doc = "5 - DMA5_DMA21"]
    DMA5_DMA21 = 5,
    #[doc = "6 - DMA6_DMA22"]
    DMA6_DMA22 = 6,
    #[doc = "7 - DMA7_DMA23"]
    DMA7_DMA23 = 7,
    #[doc = "8 - DMA8_DMA24"]
    DMA8_DMA24 = 8,
    #[doc = "9 - DMA9_DMA25"]
    DMA9_DMA25 = 9,
    #[doc = "10 - DMA10_DMA26"]
    DMA10_DMA26 = 10,
    #[doc = "11 - DMA11_DMA27"]
    DMA11_DMA27 = 11,
    #[doc = "12 - DMA12_DMA28"]
    DMA12_DMA28 = 12,
    #[doc = "13 - DMA13_DMA29"]
    DMA13_DMA29 = 13,
    #[doc = "14 - DMA14_DMA30"]
    DMA14_DMA30 = 14,
    #[doc = "15 - DMA15_DMA31"]
    DMA15_DMA31 = 15,
    #[doc = "16 - DMA_ERROR"]
    DMA_ERROR = 16,
    #[doc = "20 - LPUART1"]
    LPUART1 = 20,
    #[doc = "21 - LPUART2"]
    LPUART2 = 21,
    #[doc = "22 - LPUART3"]
    LPUART3 = 22,
    #[doc = "23 - LPUART4"]
    LPUART4 = 23,
    #[doc = "24 - LPUART5"]
    LPUART5 = 24,
    #[doc = "25 - LPUART6"]
    LPUART6 = 25,
    #[doc = "26 - LPUART7"]
    LPUART7 = 26,
    #[doc = "27 - LPUART8"]
    LPUART8 = 27,
    #[doc = "28 - LPI2C1"]
    LPI2C1 = 28,
    #[doc = "29 - LPI2C2"]
    LPI2C2 = 29,
    #[doc = "30 - LPI2C3"]
    LPI2C3 = 30,
    #[doc = "31 - LPI2C4"]
    LPI2C4 = 31,
    #[doc = "32 - LPSPI1"]
    LPSPI1 = 32,
    #[doc = "33 - LPSPI2"]
    LPSPI2 = 33,
    #[doc = "34 - LPSPI3"]
    LPSPI3 = 34,
    #[doc = "35 - LPSPI4"]
    LPSPI4 = 35,
    #[doc = "36 - CAN1"]
    CAN1 = 36,
    #[doc = "37 - CAN2"]
    CAN2 = 37,
    #[doc = "38 - FLEXRAM"]
    FLEXRAM = 38,
    #[doc = "39 - KPP"]
    KPP = 39,
    #[doc = "40 - TSC_DIG"]
    TSC_DIG = 40,
    #[doc = "41 - GPR (aka \"GPC\") interrupt request"]
    GPR_IRQ = 41,
    #[doc = "42 - LCDIF"]
    LCDIF = 42,
    #[doc = "43 - CSI"]
    CSI = 43,
    #[doc = "44 - PXP"]
    PXP = 44,
    #[doc = "45 - WDOG2"]
    WDOG2 = 45,
    #[doc = "46 - SNVS_HP_WRAPPER"]
    SNVS_HP_WRAPPER = 46,
    #[doc = "47 - SNVS_HP_WRAPPER_TZ"]
    SNVS_HP_WRAPPER_TZ = 47,
    #[doc = "48 - SNVS_LP_WRAPPER"]
    SNVS_LP_WRAPPER = 48,
    #[doc = "49 - CSU"]
    CSU = 49,
    #[doc = "50 - DCP"]
    DCP = 50,
    #[doc = "51 - DCP_VMI"]
    DCP_VMI = 51,
    #[doc = "53 - TRNG"]
    TRNG = 53,
    #[doc = "55 - BEE"]
    BEE = 55,
    #[doc = "56 - SAI1"]
    SAI1 = 56,
    #[doc = "57 - SAI2"]
    SAI2 = 57,
    #[doc = "58 - SAI3_RX"]
    SAI3_RX = 58,
    #[doc = "59 - SAI3_TX"]
    SAI3_TX = 59,
    #[doc = "60 - SPDIF"]
    SPDIF = 60,
    #[doc = "61 - PMU_EVENT"]
    PMU_EVENT = 61,
    #[doc = "63 - TEMP_LOW_HIGH"]
    TEMP_LOW_HIGH = 63,
    #[doc = "64 - TEMP_PANIC"]
    TEMP_PANIC = 64,
    #[doc = "65 - USB_PHY1"]
    USB_PHY1 = 65,
    #[doc = "66 - USB_PHY2"]
    USB_PHY2 = 66,
    #[doc = "67 - ADC1"]
    ADC1 = 67,
    #[doc = "68 - ADC2"]
    ADC2 = 68,
    #[doc = "69 - DCDC"]
    DCDC = 69,
    #[doc = "72 - GPIO1_INT0"]
    GPIO1_INT0 = 72,
    #[doc = "73 - GPIO1_INT1"]
    GPIO1_INT1 = 73,
    #[doc = "74 - GPIO1_INT2"]
    GPIO1_INT2 = 74,
    #[doc = "75 - GPIO1_INT3"]
    GPIO1_INT3 = 75,
    #[doc = "76 - GPIO1_INT4"]
    GPIO1_INT4 = 76,
    #[doc = "77 - GPIO1_INT5"]
    GPIO1_INT5 = 77,
    #[doc = "78 - GPIO1_INT6"]
    GPIO1_INT6 = 78,
    #[doc = "79 - GPIO1_INT7"]
    GPIO1_INT7 = 79,
    #[doc = "80 - GPIO1_COMBINED_0_15"]
    GPIO1_COMBINED_0_15 = 80,
    #[doc = "81 - GPIO1_COMBINED_16_31"]
    GPIO1_COMBINED_16_31 = 81,
    #[doc = "82 - GPIO2_COMBINED_0_15"]
    GPIO2_COMBINED_0_15 = 82,
    #[doc = "83 - GPIO2_COMBINED_16_31"]
    GPIO2_COMBINED_16_31 = 83,
    #[doc = "84 - GPIO3_COMBINED_0_15"]
    GPIO3_COMBINED_0_15 = 84,
    #[doc = "85 - GPIO3_COMBINED_16_31"]
    GPIO3_COMBINED_16_31 = 85,
    #[doc = "86 - GPIO4_COMBINED_0_15"]
    GPIO4_COMBINED_0_15 = 86,
    #[doc = "87 - GPIO4_COMBINED_16_31"]
    GPIO4_COMBINED_16_31 = 87,
    #[doc = "88 - GPIO5_COMBINED_0_15"]
    GPIO5_COMBINED_0_15 = 88,
    #[doc = "89 - GPIO5_COMBINED_16_31"]
    GPIO5_COMBINED_16_31 = 89,
    #[doc = "90 - FLEXIO1"]
    FLEXIO1 = 90,
    #[doc = "91 - FLEXIO2"]
    FLEXIO2 = 91,
    #[doc = "92 - WDOG1"]
    WDOG1 = 92,
    #[doc = "93 - RTWDOG"]
    RTWDOG = 93,
    #[doc = "94 - EWM"]
    EWM = 94,
    #[doc = "95 - CCM_1"]
    CCM_1 = 95,
    #[doc = "96 - CCM_2"]
    CCM_2 = 96,
    #[doc = "97 - GPC"]
    GPC = 97,
    #[doc = "98 - SRC"]
    SRC = 98,
    #[doc = "100 - GPT1"]
    GPT1 = 100,
    #[doc = "101 - GPT2"]
    GPT2 = 101,
    #[doc = "102 - PWM1_0"]
    PWM1_0 = 102,
    #[doc = "103 - PWM1_1"]
    PWM1_1 = 103,
    #[doc = "104 - PWM1_2"]
    PWM1_2 = 104,
    #[doc = "105 - PWM1_3"]
    PWM1_3 = 105,
    #[doc = "106 - PWM1_FAULT"]
    PWM1_FAULT = 106,
    #[doc = "107 - FLEXSPI2"]
    FLEXSPI2 = 107,
    #[doc = "108 - FLEXSPI"]
    FLEXSPI = 108,
    #[doc = "109 - SEMC"]
    SEMC = 109,
    #[doc = "110 - USDHC1"]
    USDHC1 = 110,
    #[doc = "111 - USDHC2"]
    USDHC2 = 111,
    #[doc = "112 - USB_OTG2"]
    USB_OTG2 = 112,
    #[doc = "113 - USB_OTG1"]
    USB_OTG1 = 113,
    #[doc = "114 - ENET"]
    ENET = 114,
    #[doc = "115 - ENET_1588_TIMER"]
    ENET_1588_TIMER = 115,
    #[doc = "116 - XBAR1_IRQ_0_1"]
    XBAR1_IRQ_0_1 = 116,
    #[doc = "117 - XBAR1_IRQ_2_3"]
    XBAR1_IRQ_2_3 = 117,
    #[doc = "118 - ADC_ETC_IRQ0"]
    ADC_ETC_IRQ0 = 118,
    #[doc = "119 - ADC_ETC_IRQ1"]
    ADC_ETC_IRQ1 = 119,
    #[doc = "120 - ADC_ETC_IRQ2"]
    ADC_ETC_IRQ2 = 120,
    #[doc = "121 - ADC_ETC_ERROR_IRQ"]
    ADC_ETC_ERROR_IRQ = 121,
    #[doc = "122 - PIT"]
    PIT = 122,
    #[doc = "123 - ACMP1"]
    ACMP1 = 123,
    #[doc = "124 - ACMP2"]
    ACMP2 = 124,
    #[doc = "125 - ACMP3"]
    ACMP3 = 125,
    #[doc = "126 - ACMP4"]
    ACMP4 = 126,
    #[doc = "129 - ENC1"]
    ENC1 = 129,
    #[doc = "130 - ENC2"]
    ENC2 = 130,
    #[doc = "131 - ENC3"]
    ENC3 = 131,
    #[doc = "132 - ENC4"]
    ENC4 = 132,
    #[doc = "133 - TMR1"]
    TMR1 = 133,
    #[doc = "134 - TMR2"]
    TMR2 = 134,
    #[doc = "135 - TMR3"]
    TMR3 = 135,
    #[doc = "136 - TMR4"]
    TMR4 = 136,
    #[doc = "137 - PWM2_0"]
    PWM2_0 = 137,
    #[doc = "138 - PWM2_1"]
    PWM2_1 = 138,
    #[doc = "139 - PWM2_2"]
    PWM2_2 = 139,
    #[doc = "140 - PWM2_3"]
    PWM2_3 = 140,
    #[doc = "141 - PWM2_FAULT"]
    PWM2_FAULT = 141,
    #[doc = "142 - PWM3_0"]
    PWM3_0 = 142,
    #[doc = "143 - PWM3_1"]
    PWM3_1 = 143,
    #[doc = "144 - PWM3_2"]
    PWM3_2 = 144,
    #[doc = "145 - PWM3_3"]
    PWM3_3 = 145,
    #[doc = "146 - PWM3_FAULT"]
    PWM3_FAULT = 146,
    #[doc = "147 - PWM4_0"]
    PWM4_0 = 147,
    #[doc = "148 - PWM4_1"]
    PWM4_1 = 148,
    #[doc = "149 - PWM4_2"]
    PWM4_2 = 149,
    #[doc = "150 - PWM4_3"]
    PWM4_3 = 150,
    #[doc = "151 - PWM4_FAULT"]
    PWM4_FAULT = 151,
    #[doc = "152 - ENET2"]
    ENET2 = 152,
    #[doc = "153 - ENET2_1588_TIMER"]
    ENET2_1588_TIMER = 153,
    #[doc = "154 - CAN3"]
    CAN3 = 154,
    #[doc = "156 - FLEXIO3"]
    FLEXIO3 = 156,
    #[doc = "157 - GPIO6_7_8_9"]
    GPIO6_7_8_9 = 157,
}
pub type interrupt = Interrupt;
unsafe impl cortex_m::interrupt::InterruptNumber for Interrupt {
    #[inline(always)]
    fn number(self) -> u16 {
        self as u16
    }
}
#[cfg(all(feature = "rt", target_os = "none"))]
mod _vectors {
    extern "C" {
        fn DMA0_DMA16();
        fn DMA1_DMA17();
        fn DMA2_DMA18();
        fn DMA3_DMA19();
        fn DMA4_DMA20();
        fn DMA5_DMA21();
        fn DMA6_DMA22();
        fn DMA7_DMA23();
        fn DMA8_DMA24();
        fn DMA9_DMA25();
        fn DMA10_DMA26();
        fn DMA11_DMA27();
        fn DMA12_DMA28();
        fn DMA13_DMA29();
        fn DMA14_DMA30();
        fn DMA15_DMA31();
        fn DMA_ERROR();
        fn LPUART1();
        fn LPUART2();
        fn LPUART3();
        fn LPUART4();
        fn LPUART5();
        fn LPUART6();
        fn LPUART7();
        fn LPUART8();
        fn LPI2C1();
        fn LPI2C2();
        fn LPI2C3();
        fn LPI2C4();
        fn LPSPI1();
        fn LPSPI2();
        fn LPSPI3();
        fn LPSPI4();
        fn CAN1();
        fn CAN2();
        fn FLEXRAM();
        fn KPP();
        fn TSC_DIG();
        fn GPR_IRQ();
        fn LCDIF();
        fn CSI();
        fn PXP();
        fn WDOG2();
        fn SNVS_HP_WRAPPER();
        fn SNVS_HP_WRAPPER_TZ();
        fn SNVS_LP_WRAPPER();
        fn CSU();
        fn DCP();
        fn DCP_VMI();
        fn TRNG();
        fn BEE();
        fn SAI1();
        fn SAI2();
        fn SAI3_RX();
        fn SAI3_TX();
        fn SPDIF();
        fn PMU_EVENT();
        fn TEMP_LOW_HIGH();
        fn TEMP_PANIC();
        fn USB_PHY1();
        fn USB_PHY2();
        fn ADC1();
        fn ADC2();
        fn DCDC();
        fn GPIO1_INT0();
        fn GPIO1_INT1();
        fn GPIO1_INT2();
        fn GPIO1_INT3();
        fn GPIO1_INT4();
        fn GPIO1_INT5();
        fn GPIO1_INT6();
        fn GPIO1_INT7();
        fn GPIO1_COMBINED_0_15();
        fn GPIO1_COMBINED_16_31();
        fn GPIO2_COMBINED_0_15();
        fn GPIO2_COMBINED_16_31();
        fn GPIO3_COMBINED_0_15();
        fn GPIO3_COMBINED_16_31();
        fn GPIO4_COMBINED_0_15();
        fn GPIO4_COMBINED_16_31();
        fn GPIO5_COMBINED_0_15();
        fn GPIO5_COMBINED_16_31();
        fn FLEXIO1();
        fn FLEXIO2();
        fn WDOG1();
        fn RTWDOG();
        fn EWM();
        fn CCM_1();
        fn CCM_2();
        fn GPC();
        fn SRC();
        fn GPT1();
        fn GPT2();
        fn PWM1_0();
        fn PWM1_1();
        fn PWM1_2();
        fn PWM1_3();
        fn PWM1_FAULT();
        fn FLEXSPI2();
        fn FLEXSPI();
        fn SEMC();
        fn USDHC1();
        fn USDHC2();
        fn USB_OTG2();
        fn USB_OTG1();
        fn ENET();
        fn ENET_1588_TIMER();
        fn XBAR1_IRQ_0_1();
        fn XBAR1_IRQ_2_3();
        fn ADC_ETC_IRQ0();
        fn ADC_ETC_IRQ1();
        fn ADC_ETC_IRQ2();
        fn ADC_ETC_ERROR_IRQ();
        fn PIT();
        fn ACMP1();
        fn ACMP2();
        fn ACMP3();
        fn ACMP4();
        fn ENC1();
        fn ENC2();
        fn ENC3();
        fn ENC4();
        fn TMR1();
        fn TMR2();
        fn TMR3();
        fn TMR4();
        fn PWM2_0();
        fn PWM2_1();
        fn PWM2_2();
        fn PWM2_3();
        fn PWM2_FAULT();
        fn PWM3_0();
        fn PWM3_1();
        fn PWM3_2();
        fn PWM3_3();
        fn PWM3_FAULT();
        fn PWM4_0();
        fn PWM4_1();
        fn PWM4_2();
        fn PWM4_3();
        fn PWM4_FAULT();
        fn ENET2();
        fn ENET2_1588_TIMER();
        fn CAN3();
        fn FLEXIO3();
        fn GPIO6_7_8_9();
    }
    pub union Vector {
        _handler: unsafe extern "C" fn(),
        _reserved: u32,
    }
    #[cfg_attr(target_os = "none", link_section = ".vector_table.interrupts")]
    #[no_mangle]
    pub static __INTERRUPTS: [Vector; 158] = [
        Vector {
            _handler: DMA0_DMA16,
        },
        Vector {
            _handler: DMA1_DMA17,
        },
        Vector {
            _handler: DMA2_DMA18,
        },
        Vector {
            _handler: DMA3_DMA19,
        },
        Vector {
            _handler: DMA4_DMA20,
        },
        Vector {
            _handler: DMA5_DMA21,
        },
        Vector {
            _handler: DMA6_DMA22,
        },
        Vector {
            _handler: DMA7_DMA23,
        },
        Vector {
            _handler: DMA8_DMA24,
        },
        Vector {
            _handler: DMA9_DMA25,
        },
        Vector {
            _handler: DMA10_DMA26,
        },
        Vector {
            _handler: DMA11_DMA27,
        },
        Vector {
            _handler: DMA12_DMA28,
        },
        Vector {
            _handler: DMA13_DMA29,
        },
        Vector {
            _handler: DMA14_DMA30,
        },
        Vector {
            _handler: DMA15_DMA31,
        },
        Vector {
            _handler: DMA_ERROR,
        },
        Vector { _reserved: 0 },
        Vector { _reserved: 0 },
        Vector { _reserved: 0 },
        Vector { _handler: LPUART1 },
        Vector { _handler: LPUART2 },
        Vector { _handler: LPUART3 },
        Vector { _handler: LPUART4 },
        Vector { _handler: LPUART5 },
        Vector { _handler: LPUART6 },
        Vector { _handler: LPUART7 },
        Vector { _handler: LPUART8 },
        Vector { _handler: LPI2C1 },
        Vector { _handler: LPI2C2 },
        Vector { _handler: LPI2C3 },
        Vector { _handler: LPI2C4 },
        Vector { _handler: LPSPI1 },
        Vector { _handler: LPSPI2 },
        Vector { _handler: LPSPI3 },
        Vector { _handler: LPSPI4 },
        Vector { _handler: CAN1 },
        Vector { _handler: CAN2 },
        Vector { _handler: FLEXRAM },
        Vector { _handler: KPP },
        Vector { _handler: TSC_DIG },
        Vector { _handler: GPR_IRQ },
        Vector { _handler: LCDIF },
        Vector { _handler: CSI },
        Vector { _handler: PXP },
        Vector { _handler: WDOG2 },
        Vector {
            _handler: SNVS_HP_WRAPPER,
        },
        Vector {
            _handler: SNVS_HP_WRAPPER_TZ,
        },
        Vector {
            _handler: SNVS_LP_WRAPPER,
        },
        Vector { _handler: CSU },
        Vector { _handler: DCP },
        Vector { _handler: DCP_VMI },
        Vector { _reserved: 0 },
        Vector { _handler: TRNG },
        Vector { _reserved: 0 },
        Vector { _handler: BEE },
        Vector { _handler: SAI1 },
        Vector { _handler: SAI2 },
        Vector { _handler: SAI3_RX },
        Vector { _handler: SAI3_TX },
        Vector { _handler: SPDIF },
        Vector {
            _handler: PMU_EVENT,
        },
        Vector { _reserved: 0 },
        Vector {
            _handler: TEMP_LOW_HIGH,
        },
        Vector {
            _handler: TEMP_PANIC,
        },
        Vector { _handler: USB_PHY1 },
        Vector { _handler: USB_PHY2 },
        Vector { _handler: ADC1 },
        Vector { _handler: ADC2 },
        Vector { _handler: DCDC },
        Vector { _reserved: 0 },
        Vector { _reserved: 0 },
        Vector {
            _handler: GPIO1_INT0,
        },
        Vector {
            _handler: GPIO1_INT1,
        },
        Vector {
            _handler: GPIO1_INT2,
        },
        Vector {
            _handler: GPIO1_INT3,
        },
        Vector {
            _handler: GPIO1_INT4,
        },
        Vector {
            _handler: GPIO1_INT5,
        },
        Vector {
            _handler: GPIO1_INT6,
        },
        Vector {
            _handler: GPIO1_INT7,
        },
        Vector {
            _handler: GPIO1_COMBINED_0_15,
        },
        Vector {
            _handler: GPIO1_COMBINED_16_31,
        },
        Vector {
            _handler: GPIO2_COMBINED_0_15,
        },
        Vector {
            _handler: GPIO2_COMBINED_16_31,
        },
        Vector {
            _handler: GPIO3_COMBINED_0_15,
        },
        Vector {
            _handler: GPIO3_COMBINED_16_31,
        },
        Vector {
            _handler: GPIO4_COMBINED_0_15,
        },
        Vector {
            _handler: GPIO4_COMBINED_16_31,
        },
        Vector {
            _handler: GPIO5_COMBINED_0_15,
        },
        Vector {
            _handler: GPIO5_COMBINED_16_31,
        },
        Vector { _handler: FLEXIO1 },
        Vector { _handler: FLEXIO2 },
        Vector { _handler: WDOG1 },
        Vector { _handler: RTWDOG },
        Vector { _handler: EWM },
        Vector { _handler: CCM_1 },
        Vector { _handler: CCM_2 },
        Vector { _handler: GPC },
        Vector { _handler: SRC },
        Vector { _reserved: 0 },
        Vector { _handler: GPT1 },
        Vector { _handler: GPT2 },
        Vector { _handler: PWM1_0 },
        Vector { _handler: PWM1_1 },
        Vector { _handler: PWM1_2 },
        Vector { _handler: PWM1_3 },
        Vector {
            _handler: PWM1_FAULT,
        },
        Vector { _handler: FLEXSPI2 },
        Vector { _handler: FLEXSPI },
        Vector { _handler: SEMC },
        Vector { _handler: USDHC1 },
        Vector { _handler: USDHC2 },
        Vector { _handler: USB_OTG2 },
        Vector { _handler: USB_OTG1 },
        Vector { _handler: ENET },
        Vector {
            _handler: ENET_1588_TIMER,
        },
        Vector {
            _handler: XBAR1_IRQ_0_1,
        },
        Vector {
            _handler: XBAR1_IRQ_2_3,
        },
        Vector {
            _handler: ADC_ETC_IRQ0,
        },
        Vector {
            _handler: ADC_ETC_IRQ1,
        },
        Vector {
            _handler: ADC_ETC_IRQ2,
        },
        Vector {
            _handler: ADC_ETC_ERROR_IRQ,
        },
        Vector { _handler: PIT },
        Vector { _handler: ACMP1 },
        Vector { _handler: ACMP2 },
        Vector { _handler: ACMP3 },
        Vector { _handler: ACMP4 },
        Vector { _reserved: 0 },
        Vector { _reserved: 0 },
        Vector { _handler: ENC1 },
        Vector { _handler: ENC2 },
        Vector { _handler: ENC3 },
        Vector { _handler: ENC4 },
        Vector { _handler: TMR1 },
        Vector { _handler: TMR2 },
        Vector { _handler: TMR3 },
        Vector { _handler: TMR4 },
        Vector { _handler: PWM2_0 },
        Vector { _handler: PWM2_1 },
        Vector { _handler: PWM2_2 },
        Vector { _handler: PWM2_3 },
        Vector {
            _handler: PWM2_FAULT,
        },
        Vector { _handler: PWM3_0 },
        Vector { _handler: PWM3_1 },
        Vector { _handler: PWM3_2 },
        Vector { _handler: PWM3_3 },
        Vector {
            _handler: PWM3_FAULT,
        },
        Vector { _handler: PWM4_0 },
        Vector { _handler: PWM4_1 },
        Vector { _handler: PWM4_2 },
        Vector { _handler: PWM4_3 },
        Vector {
            _handler: PWM4_FAULT,
        },
        Vector { _handler: ENET2 },
        Vector {
            _handler: ENET2_1588_TIMER,
        },
        Vector { _handler: CAN3 },
        Vector { _reserved: 0 },
        Vector { _handler: FLEXIO3 },
        Vector {
            _handler: GPIO6_7_8_9,
        },
    ];
}
#[path = "."]
pub mod adc {
    #[doc = "Analog-to-Digital Converter"]
    pub const ADC1: *const RegisterBlock = 0x400c_4000 as *const RegisterBlock;
    #[doc = "Analog-to-Digital Converter"]
    pub const ADC2: *const RegisterBlock = 0x400c_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1021/adc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type ADC1 = Instance<1>;
    impl crate::private::Sealed for ADC1 {}
    impl crate::Valid for ADC1 {}
    impl ADC1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(ADC1)
        }
    }
    pub type ADC2 = Instance<2>;
    impl crate::private::Sealed for ADC2 {}
    impl crate::Valid for ADC2 {}
    impl ADC2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(ADC2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(ADC1, 1), (ADC2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod adc_etc {
    #[doc = "ADC_ETC"]
    pub const ADC_ETC: *const RegisterBlock = 0x403b_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/adc_etc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type ADC_ETC = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for ADC_ETC {}
    impl crate::Valid for ADC_ETC {}
    impl ADC_ETC {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(ADC_ETC)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, ADC_ETC).then_some(0)
    }
}
#[path = "."]
pub mod aipstz {
    #[doc = "AIPSTZ Control Registers"]
    pub const AIPSTZ1: *const RegisterBlock = 0x4007_c000 as *const RegisterBlock;
    #[doc = "AIPSTZ Control Registers"]
    pub const AIPSTZ2: *const RegisterBlock = 0x4017_c000 as *const RegisterBlock;
    #[doc = "AIPSTZ Control Registers"]
    pub const AIPSTZ3: *const RegisterBlock = 0x4027_c000 as *const RegisterBlock;
    #[doc = "AIPSTZ Control Registers"]
    pub const AIPSTZ4: *const RegisterBlock = 0x4037_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/aipstz.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type AIPSTZ1 = Instance<1>;
    impl crate::private::Sealed for AIPSTZ1 {}
    impl crate::Valid for AIPSTZ1 {}
    impl AIPSTZ1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(AIPSTZ1)
        }
    }
    pub type AIPSTZ2 = Instance<2>;
    impl crate::private::Sealed for AIPSTZ2 {}
    impl crate::Valid for AIPSTZ2 {}
    impl AIPSTZ2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(AIPSTZ2)
        }
    }
    pub type AIPSTZ3 = Instance<3>;
    impl crate::private::Sealed for AIPSTZ3 {}
    impl crate::Valid for AIPSTZ3 {}
    impl AIPSTZ3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(AIPSTZ3)
        }
    }
    pub type AIPSTZ4 = Instance<4>;
    impl crate::private::Sealed for AIPSTZ4 {}
    impl crate::Valid for AIPSTZ4 {}
    impl AIPSTZ4 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(AIPSTZ4)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(AIPSTZ1, 1), (AIPSTZ2, 2), (AIPSTZ3, 3), (AIPSTZ4, 4)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod aoi {
    #[doc = "AND/OR/INVERT module"]
    pub const AOI1: *const RegisterBlock = 0x403b_4000 as *const RegisterBlock;
    #[doc = "AND/OR/INVERT module"]
    pub const AOI2: *const RegisterBlock = 0x403b_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/aoi.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type AOI1 = Instance<1>;
    impl crate::private::Sealed for AOI1 {}
    impl crate::Valid for AOI1 {}
    impl AOI1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(AOI1)
        }
    }
    pub type AOI2 = Instance<2>;
    impl crate::private::Sealed for AOI2 {}
    impl crate::Valid for AOI2 {}
    impl AOI2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(AOI2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(AOI1, 1), (AOI2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod bee {
    #[doc = "Bus Encryption Engine"]
    pub const BEE: *const RegisterBlock = 0x403e_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1015/bee.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type BEE = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for BEE {}
    impl crate::Valid for BEE {}
    impl BEE {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(BEE)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, BEE).then_some(0)
    }
}
#[path = "."]
pub mod can {
    #[doc = "FLEXCAN"]
    pub const CAN1: *const RegisterBlock = 0x401d_0000 as *const RegisterBlock;
    #[doc = "FLEXCAN"]
    pub const CAN2: *const RegisterBlock = 0x401d_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/can.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type CAN1 = Instance<1>;
    impl crate::private::Sealed for CAN1 {}
    impl crate::Valid for CAN1 {}
    impl CAN1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CAN1)
        }
    }
    pub type CAN2 = Instance<2>;
    impl crate::private::Sealed for CAN2 {}
    impl crate::Valid for CAN2 {}
    impl CAN2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CAN2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(CAN1, 1), (CAN2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod can3 {
    #[doc = "CAN"]
    pub const CAN3: *const RegisterBlock = 0x401d_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/can3.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type CAN3 = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for CAN3 {}
    impl crate::Valid for CAN3 {}
    impl CAN3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CAN3)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, CAN3).then_some(0)
    }
}
#[path = "."]
pub mod ccm {
    #[doc = "CCM"]
    pub const CCM: *const RegisterBlock = 0x400f_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/ccm.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type CCM = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for CCM {}
    impl crate::Valid for CCM {}
    impl CCM {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CCM)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, CCM).then_some(0)
    }
}
#[path = "."]
pub mod ccm_analog {
    #[doc = "CCM_ANALOG"]
    pub const CCM_ANALOG: *const RegisterBlock = 0x400d_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/ccm_analog.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type CCM_ANALOG = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for CCM_ANALOG {}
    impl crate::Valid for CCM_ANALOG {}
    impl CCM_ANALOG {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CCM_ANALOG)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, CCM_ANALOG).then_some(0)
    }
}
#[path = "."]
pub mod cmp {
    #[doc = "High-Speed Comparator (CMP), Voltage Reference (VREF) Digital-to-Analog Converter (DAC), and Analog Mux (ANMUX)"]
    pub const CMP1: *const RegisterBlock = 0x4009_4000 as *const RegisterBlock;
    #[doc = "High-Speed Comparator (CMP), Voltage Reference (VREF) Digital-to-Analog Converter (DAC), and Analog Mux (ANMUX)"]
    pub const CMP2: *const RegisterBlock = 0x4009_4008 as *const RegisterBlock;
    #[doc = "High-Speed Comparator (CMP), Voltage Reference (VREF) Digital-to-Analog Converter (DAC), and Analog Mux (ANMUX)"]
    pub const CMP3: *const RegisterBlock = 0x4009_4010 as *const RegisterBlock;
    #[doc = "High-Speed Comparator (CMP), Voltage Reference (VREF) Digital-to-Analog Converter (DAC), and Analog Mux (ANMUX)"]
    pub const CMP4: *const RegisterBlock = 0x4009_4018 as *const RegisterBlock;
    #[path = "blocks/imxrt1021/cmp.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type CMP1 = Instance<1>;
    impl crate::private::Sealed for CMP1 {}
    impl crate::Valid for CMP1 {}
    impl CMP1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CMP1)
        }
    }
    pub type CMP2 = Instance<2>;
    impl crate::private::Sealed for CMP2 {}
    impl crate::Valid for CMP2 {}
    impl CMP2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CMP2)
        }
    }
    pub type CMP3 = Instance<3>;
    impl crate::private::Sealed for CMP3 {}
    impl crate::Valid for CMP3 {}
    impl CMP3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CMP3)
        }
    }
    pub type CMP4 = Instance<4>;
    impl crate::private::Sealed for CMP4 {}
    impl crate::Valid for CMP4 {}
    impl CMP4 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CMP4)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(CMP1, 1), (CMP2, 2), (CMP3, 3), (CMP4, 4)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod csi {
    #[doc = "CSI"]
    pub const CSI: *const RegisterBlock = 0x402b_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1052/csi.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type CSI = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for CSI {}
    impl crate::Valid for CSI {}
    impl CSI {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CSI)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, CSI).then_some(0)
    }
}
#[path = "."]
pub mod csu {
    #[doc = "CSU registers"]
    pub const CSU: *const RegisterBlock = 0x400d_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/csu.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type CSU = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for CSU {}
    impl crate::Valid for CSU {}
    impl CSU {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(CSU)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, CSU).then_some(0)
    }
}
#[path = "."]
pub mod dcdc {
    #[doc = "DCDC"]
    pub const DCDC: *const RegisterBlock = 0x4008_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/dcdc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type DCDC = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for DCDC {}
    impl crate::Valid for DCDC {}
    impl DCDC {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(DCDC)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, DCDC).then_some(0)
    }
}
#[path = "."]
pub mod dcp {
    #[doc = "DCP register reference index"]
    pub const DCP: *const RegisterBlock = 0x402f_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/dcp.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type DCP = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for DCP {}
    impl crate::Valid for DCP {}
    impl DCP {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(DCP)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, DCP).then_some(0)
    }
}
#[path = "."]
pub mod dma {
    #[doc = "DMA"]
    pub const DMA: *const RegisterBlock = 0x400e_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/dma.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type DMA = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for DMA {}
    impl crate::Valid for DMA {}
    impl DMA {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(DMA)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, DMA).then_some(0)
    }
}
#[path = "."]
pub mod dmamux {
    #[doc = "DMA_CH_MUX"]
    pub const DMAMUX: *const RegisterBlock = 0x400e_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1015/dmamux.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type DMAMUX = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for DMAMUX {}
    impl crate::Valid for DMAMUX {}
    impl DMAMUX {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(DMAMUX)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, DMAMUX).then_some(0)
    }
}
#[path = "."]
pub mod enc {
    #[doc = "Quadrature Decoder"]
    pub const ENC1: *const RegisterBlock = 0x403c_8000 as *const RegisterBlock;
    #[doc = "Quadrature Decoder"]
    pub const ENC2: *const RegisterBlock = 0x403c_c000 as *const RegisterBlock;
    #[doc = "Quadrature Decoder"]
    pub const ENC3: *const RegisterBlock = 0x403d_0000 as *const RegisterBlock;
    #[doc = "Quadrature Decoder"]
    pub const ENC4: *const RegisterBlock = 0x403d_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1021/enc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type ENC1 = Instance<1>;
    impl crate::private::Sealed for ENC1 {}
    impl crate::Valid for ENC1 {}
    impl ENC1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(ENC1)
        }
    }
    pub type ENC2 = Instance<2>;
    impl crate::private::Sealed for ENC2 {}
    impl crate::Valid for ENC2 {}
    impl ENC2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(ENC2)
        }
    }
    pub type ENC3 = Instance<3>;
    impl crate::private::Sealed for ENC3 {}
    impl crate::Valid for ENC3 {}
    impl ENC3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(ENC3)
        }
    }
    pub type ENC4 = Instance<4>;
    impl crate::private::Sealed for ENC4 {}
    impl crate::Valid for ENC4 {}
    impl ENC4 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(ENC4)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(ENC1, 1), (ENC2, 2), (ENC3, 3), (ENC4, 4)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod enet {
    #[doc = "Ethernet MAC-NET Core"]
    pub const ENET1: *const RegisterBlock = 0x402d_8000 as *const RegisterBlock;
    #[doc = "Ethernet MAC-NET Core"]
    pub const ENET2: *const RegisterBlock = 0x402d_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/enet.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type ENET1 = Instance<1>;
    impl crate::private::Sealed for ENET1 {}
    impl crate::Valid for ENET1 {}
    impl ENET1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(ENET1)
        }
    }
    pub type ENET2 = Instance<2>;
    impl crate::private::Sealed for ENET2 {}
    impl crate::Valid for ENET2 {}
    impl ENET2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(ENET2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(ENET1, 1), (ENET2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod ewm {
    #[doc = "EWM"]
    pub const EWM: *const RegisterBlock = 0x400b_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/ewm.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type EWM = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for EWM {}
    impl crate::Valid for EWM {}
    impl EWM {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(EWM)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, EWM).then_some(0)
    }
}
#[path = "."]
pub mod flexio {
    #[doc = "FLEXIO"]
    pub const FLEXIO1: *const RegisterBlock = 0x401a_c000 as *const RegisterBlock;
    #[doc = "FLEXIO"]
    pub const FLEXIO2: *const RegisterBlock = 0x401b_0000 as *const RegisterBlock;
    #[doc = "FLEXIO"]
    pub const FLEXIO3: *const RegisterBlock = 0x4202_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/flexio.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type FLEXIO1 = Instance<1>;
    impl crate::private::Sealed for FLEXIO1 {}
    impl crate::Valid for FLEXIO1 {}
    impl FLEXIO1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(FLEXIO1)
        }
    }
    pub type FLEXIO2 = Instance<2>;
    impl crate::private::Sealed for FLEXIO2 {}
    impl crate::Valid for FLEXIO2 {}
    impl FLEXIO2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(FLEXIO2)
        }
    }
    pub type FLEXIO3 = Instance<3>;
    impl crate::private::Sealed for FLEXIO3 {}
    impl crate::Valid for FLEXIO3 {}
    impl FLEXIO3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(FLEXIO3)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(FLEXIO1, 1), (FLEXIO2, 2), (FLEXIO3, 3)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod flexram {
    #[doc = "FLEXRAM"]
    pub const FLEXRAM: *const RegisterBlock = 0x400b_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1015/flexram.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type FLEXRAM = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for FLEXRAM {}
    impl crate::Valid for FLEXRAM {}
    impl FLEXRAM {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(FLEXRAM)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, FLEXRAM).then_some(0)
    }
}
#[path = "."]
pub mod flexspi {
    #[doc = "FlexSPI"]
    pub const FLEXSPI1: *const RegisterBlock = 0x402a_8000 as *const RegisterBlock;
    #[doc = "FlexSPI"]
    pub const FLEXSPI2: *const RegisterBlock = 0x402a_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/flexspi.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type FLEXSPI1 = Instance<1>;
    impl crate::private::Sealed for FLEXSPI1 {}
    impl crate::Valid for FLEXSPI1 {}
    impl FLEXSPI1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(FLEXSPI1)
        }
    }
    pub type FLEXSPI2 = Instance<2>;
    impl crate::private::Sealed for FLEXSPI2 {}
    impl crate::Valid for FLEXSPI2 {}
    impl FLEXSPI2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(FLEXSPI2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(FLEXSPI1, 1), (FLEXSPI2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod gpc {
    #[doc = "GPC"]
    pub const GPC: *const RegisterBlock = 0x400f_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/gpc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type GPC = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for GPC {}
    impl crate::Valid for GPC {}
    impl GPC {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPC)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, GPC).then_some(0)
    }
}
#[path = "."]
pub mod gpio {
    #[doc = "GPIO"]
    pub const GPIO1: *const RegisterBlock = 0x401b_8000 as *const RegisterBlock;
    #[doc = "GPIO"]
    pub const GPIO5: *const RegisterBlock = 0x400c_0000 as *const RegisterBlock;
    #[doc = "GPIO"]
    pub const GPIO2: *const RegisterBlock = 0x401b_c000 as *const RegisterBlock;
    #[doc = "GPIO"]
    pub const GPIO3: *const RegisterBlock = 0x401c_0000 as *const RegisterBlock;
    #[doc = "GPIO"]
    pub const GPIO4: *const RegisterBlock = 0x401c_4000 as *const RegisterBlock;
    #[doc = "GPIO"]
    pub const GPIO6: *const RegisterBlock = 0x4200_0000 as *const RegisterBlock;
    #[doc = "GPIO"]
    pub const GPIO7: *const RegisterBlock = 0x4200_4000 as *const RegisterBlock;
    #[doc = "GPIO"]
    pub const GPIO8: *const RegisterBlock = 0x4200_8000 as *const RegisterBlock;
    #[doc = "GPIO"]
    pub const GPIO9: *const RegisterBlock = 0x4200_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/gpio.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type GPIO1 = Instance<1>;
    impl crate::private::Sealed for GPIO1 {}
    impl crate::Valid for GPIO1 {}
    impl GPIO1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPIO1)
        }
    }
    pub type GPIO5 = Instance<5>;
    impl crate::private::Sealed for GPIO5 {}
    impl crate::Valid for GPIO5 {}
    impl GPIO5 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPIO5)
        }
    }
    pub type GPIO2 = Instance<2>;
    impl crate::private::Sealed for GPIO2 {}
    impl crate::Valid for GPIO2 {}
    impl GPIO2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPIO2)
        }
    }
    pub type GPIO3 = Instance<3>;
    impl crate::private::Sealed for GPIO3 {}
    impl crate::Valid for GPIO3 {}
    impl GPIO3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPIO3)
        }
    }
    pub type GPIO4 = Instance<4>;
    impl crate::private::Sealed for GPIO4 {}
    impl crate::Valid for GPIO4 {}
    impl GPIO4 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPIO4)
        }
    }
    pub type GPIO6 = Instance<6>;
    impl crate::private::Sealed for GPIO6 {}
    impl crate::Valid for GPIO6 {}
    impl GPIO6 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPIO6)
        }
    }
    pub type GPIO7 = Instance<7>;
    impl crate::private::Sealed for GPIO7 {}
    impl crate::Valid for GPIO7 {}
    impl GPIO7 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPIO7)
        }
    }
    pub type GPIO8 = Instance<8>;
    impl crate::private::Sealed for GPIO8 {}
    impl crate::Valid for GPIO8 {}
    impl GPIO8 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPIO8)
        }
    }
    pub type GPIO9 = Instance<9>;
    impl crate::private::Sealed for GPIO9 {}
    impl crate::Valid for GPIO9 {}
    impl GPIO9 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPIO9)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [
            (GPIO1, 1),
            (GPIO5, 5),
            (GPIO2, 2),
            (GPIO3, 3),
            (GPIO4, 4),
            (GPIO6, 6),
            (GPIO7, 7),
            (GPIO8, 8),
            (GPIO9, 9),
        ]
        .into_iter()
        .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
        .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod gpt {
    #[doc = "GPT"]
    pub const GPT1: *const RegisterBlock = 0x401e_c000 as *const RegisterBlock;
    #[doc = "GPT"]
    pub const GPT2: *const RegisterBlock = 0x401f_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/gpt.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type GPT1 = Instance<1>;
    impl crate::private::Sealed for GPT1 {}
    impl crate::Valid for GPT1 {}
    impl GPT1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPT1)
        }
    }
    pub type GPT2 = Instance<2>;
    impl crate::private::Sealed for GPT2 {}
    impl crate::Valid for GPT2 {}
    impl GPT2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(GPT2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(GPT1, 1), (GPT2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod iomuxc {
    #[doc = "IOMUXC"]
    pub const IOMUXC: *const RegisterBlock = 0x401f_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/iomuxc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type IOMUXC = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for IOMUXC {}
    impl crate::Valid for IOMUXC {}
    impl IOMUXC {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(IOMUXC)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, IOMUXC).then_some(0)
    }
}
#[path = "."]
pub mod iomuxc_gpr {
    #[doc = "IOMUXC_GPR"]
    pub const IOMUXC_GPR: *const RegisterBlock = 0x400a_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/iomuxc_gpr.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type IOMUXC_GPR = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for IOMUXC_GPR {}
    impl crate::Valid for IOMUXC_GPR {}
    impl IOMUXC_GPR {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(IOMUXC_GPR)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, IOMUXC_GPR).then_some(0)
    }
}
#[path = "."]
pub mod iomuxc_snvs {
    #[doc = "IOMUXC_SNVS"]
    pub const IOMUXC_SNVS: *const RegisterBlock = 0x400a_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1021/iomuxc_snvs.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type IOMUXC_SNVS = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for IOMUXC_SNVS {}
    impl crate::Valid for IOMUXC_SNVS {}
    impl IOMUXC_SNVS {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(IOMUXC_SNVS)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, IOMUXC_SNVS).then_some(0)
    }
}
#[path = "."]
pub mod iomuxc_snvs_gpr {
    #[doc = "IOMUXC"]
    pub const IOMUXC_SNVS_GPR: *const RegisterBlock = 0x400a_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/iomuxc_snvs_gpr.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type IOMUXC_SNVS_GPR = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for IOMUXC_SNVS_GPR {}
    impl crate::Valid for IOMUXC_SNVS_GPR {}
    impl IOMUXC_SNVS_GPR {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(IOMUXC_SNVS_GPR)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, IOMUXC_SNVS_GPR).then_some(0)
    }
}
#[path = "."]
pub mod kpp {
    #[doc = "KPP Registers"]
    pub const KPP: *const RegisterBlock = 0x401f_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/kpp.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type KPP = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for KPP {}
    impl crate::Valid for KPP {}
    impl KPP {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(KPP)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, KPP).then_some(0)
    }
}
#[path = "."]
pub mod lcdif {
    #[doc = "LCDIF Register Reference Index"]
    pub const LCDIF: *const RegisterBlock = 0x402b_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1062/lcdif.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type LCDIF = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for LCDIF {}
    impl crate::Valid for LCDIF {}
    impl LCDIF {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LCDIF)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, LCDIF).then_some(0)
    }
}
#[path = "."]
pub mod lpi2c {
    #[doc = "LPI2C"]
    pub const LPI2C1: *const RegisterBlock = 0x403f_0000 as *const RegisterBlock;
    #[doc = "LPI2C"]
    pub const LPI2C2: *const RegisterBlock = 0x403f_4000 as *const RegisterBlock;
    #[doc = "LPI2C"]
    pub const LPI2C3: *const RegisterBlock = 0x403f_8000 as *const RegisterBlock;
    #[doc = "LPI2C"]
    pub const LPI2C4: *const RegisterBlock = 0x403f_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/lpi2c.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type LPI2C1 = Instance<1>;
    impl crate::private::Sealed for LPI2C1 {}
    impl crate::Valid for LPI2C1 {}
    impl LPI2C1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPI2C1)
        }
    }
    pub type LPI2C2 = Instance<2>;
    impl crate::private::Sealed for LPI2C2 {}
    impl crate::Valid for LPI2C2 {}
    impl LPI2C2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPI2C2)
        }
    }
    pub type LPI2C3 = Instance<3>;
    impl crate::private::Sealed for LPI2C3 {}
    impl crate::Valid for LPI2C3 {}
    impl LPI2C3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPI2C3)
        }
    }
    pub type LPI2C4 = Instance<4>;
    impl crate::private::Sealed for LPI2C4 {}
    impl crate::Valid for LPI2C4 {}
    impl LPI2C4 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPI2C4)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(LPI2C1, 1), (LPI2C2, 2), (LPI2C3, 3), (LPI2C4, 4)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod lpspi {
    #[doc = "LPSPI"]
    pub const LPSPI1: *const RegisterBlock = 0x4039_4000 as *const RegisterBlock;
    #[doc = "LPSPI"]
    pub const LPSPI2: *const RegisterBlock = 0x4039_8000 as *const RegisterBlock;
    #[doc = "LPSPI"]
    pub const LPSPI3: *const RegisterBlock = 0x4039_c000 as *const RegisterBlock;
    #[doc = "LPSPI"]
    pub const LPSPI4: *const RegisterBlock = 0x403a_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/lpspi.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type LPSPI1 = Instance<1>;
    impl crate::private::Sealed for LPSPI1 {}
    impl crate::Valid for LPSPI1 {}
    impl LPSPI1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPSPI1)
        }
    }
    pub type LPSPI2 = Instance<2>;
    impl crate::private::Sealed for LPSPI2 {}
    impl crate::Valid for LPSPI2 {}
    impl LPSPI2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPSPI2)
        }
    }
    pub type LPSPI3 = Instance<3>;
    impl crate::private::Sealed for LPSPI3 {}
    impl crate::Valid for LPSPI3 {}
    impl LPSPI3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPSPI3)
        }
    }
    pub type LPSPI4 = Instance<4>;
    impl crate::private::Sealed for LPSPI4 {}
    impl crate::Valid for LPSPI4 {}
    impl LPSPI4 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPSPI4)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(LPSPI1, 1), (LPSPI2, 2), (LPSPI3, 3), (LPSPI4, 4)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod lpuart {
    #[doc = "LPUART"]
    pub const LPUART1: *const RegisterBlock = 0x4018_4000 as *const RegisterBlock;
    #[doc = "LPUART"]
    pub const LPUART2: *const RegisterBlock = 0x4018_8000 as *const RegisterBlock;
    #[doc = "LPUART"]
    pub const LPUART3: *const RegisterBlock = 0x4018_c000 as *const RegisterBlock;
    #[doc = "LPUART"]
    pub const LPUART4: *const RegisterBlock = 0x4019_0000 as *const RegisterBlock;
    #[doc = "LPUART"]
    pub const LPUART5: *const RegisterBlock = 0x4019_4000 as *const RegisterBlock;
    #[doc = "LPUART"]
    pub const LPUART6: *const RegisterBlock = 0x4019_8000 as *const RegisterBlock;
    #[doc = "LPUART"]
    pub const LPUART7: *const RegisterBlock = 0x4019_c000 as *const RegisterBlock;
    #[doc = "LPUART"]
    pub const LPUART8: *const RegisterBlock = 0x401a_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/lpuart.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type LPUART1 = Instance<1>;
    impl crate::private::Sealed for LPUART1 {}
    impl crate::Valid for LPUART1 {}
    impl LPUART1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPUART1)
        }
    }
    pub type LPUART2 = Instance<2>;
    impl crate::private::Sealed for LPUART2 {}
    impl crate::Valid for LPUART2 {}
    impl LPUART2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPUART2)
        }
    }
    pub type LPUART3 = Instance<3>;
    impl crate::private::Sealed for LPUART3 {}
    impl crate::Valid for LPUART3 {}
    impl LPUART3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPUART3)
        }
    }
    pub type LPUART4 = Instance<4>;
    impl crate::private::Sealed for LPUART4 {}
    impl crate::Valid for LPUART4 {}
    impl LPUART4 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPUART4)
        }
    }
    pub type LPUART5 = Instance<5>;
    impl crate::private::Sealed for LPUART5 {}
    impl crate::Valid for LPUART5 {}
    impl LPUART5 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPUART5)
        }
    }
    pub type LPUART6 = Instance<6>;
    impl crate::private::Sealed for LPUART6 {}
    impl crate::Valid for LPUART6 {}
    impl LPUART6 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPUART6)
        }
    }
    pub type LPUART7 = Instance<7>;
    impl crate::private::Sealed for LPUART7 {}
    impl crate::Valid for LPUART7 {}
    impl LPUART7 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPUART7)
        }
    }
    pub type LPUART8 = Instance<8>;
    impl crate::private::Sealed for LPUART8 {}
    impl crate::Valid for LPUART8 {}
    impl LPUART8 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(LPUART8)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [
            (LPUART1, 1),
            (LPUART2, 2),
            (LPUART3, 3),
            (LPUART4, 4),
            (LPUART5, 5),
            (LPUART6, 6),
            (LPUART7, 7),
            (LPUART8, 8),
        ]
        .into_iter()
        .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
        .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod ocotp {
    #[doc = "OCOTP"]
    pub const OCOTP: *const RegisterBlock = 0x401f_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/ocotp.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type OCOTP = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for OCOTP {}
    impl crate::Valid for OCOTP {}
    impl OCOTP {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(OCOTP)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, OCOTP).then_some(0)
    }
}
#[path = "."]
pub mod pgc {
    #[doc = "PGC"]
    pub const PGC: *const RegisterBlock = 0x400f_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/pgc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type PGC = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for PGC {}
    impl crate::Valid for PGC {}
    impl PGC {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(PGC)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, PGC).then_some(0)
    }
}
#[path = "."]
pub mod pit {
    #[doc = "PIT"]
    pub const PIT: *const RegisterBlock = 0x4008_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/pit.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type PIT = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for PIT {}
    impl crate::Valid for PIT {}
    impl PIT {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(PIT)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, PIT).then_some(0)
    }
}
#[path = "."]
pub mod pmu {
    #[doc = "PMU"]
    pub const PMU: *const RegisterBlock = 0x400d_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/pmu.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type PMU = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for PMU {}
    impl crate::Valid for PMU {}
    impl PMU {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(PMU)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, PMU).then_some(0)
    }
}
#[path = "."]
pub mod pwm {
    #[doc = "PWM"]
    pub const PWM1: *const RegisterBlock = 0x403d_c000 as *const RegisterBlock;
    #[doc = "PWM"]
    pub const PWM2: *const RegisterBlock = 0x403e_0000 as *const RegisterBlock;
    #[doc = "PWM"]
    pub const PWM3: *const RegisterBlock = 0x403e_4000 as *const RegisterBlock;
    #[doc = "PWM"]
    pub const PWM4: *const RegisterBlock = 0x403e_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1021/pwm.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type PWM1 = Instance<1>;
    impl crate::private::Sealed for PWM1 {}
    impl crate::Valid for PWM1 {}
    impl PWM1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(PWM1)
        }
    }
    pub type PWM2 = Instance<2>;
    impl crate::private::Sealed for PWM2 {}
    impl crate::Valid for PWM2 {}
    impl PWM2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(PWM2)
        }
    }
    pub type PWM3 = Instance<3>;
    impl crate::private::Sealed for PWM3 {}
    impl crate::Valid for PWM3 {}
    impl PWM3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(PWM3)
        }
    }
    pub type PWM4 = Instance<4>;
    impl crate::private::Sealed for PWM4 {}
    impl crate::Valid for PWM4 {}
    impl PWM4 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(PWM4)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(PWM1, 1), (PWM2, 2), (PWM3, 3), (PWM4, 4)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod pxp {
    #[doc = "PXP v2.0 Register Reference Index"]
    pub const PXP: *const RegisterBlock = 0x402b_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1052/pxp.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type PXP = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for PXP {}
    impl crate::Valid for PXP {}
    impl PXP {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(PXP)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, PXP).then_some(0)
    }
}
#[path = "."]
pub mod romc {
    #[doc = "ROMC"]
    pub const ROMC: *const RegisterBlock = 0x4018_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/romc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type ROMC = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for ROMC {}
    impl crate::Valid for ROMC {}
    impl ROMC {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(ROMC)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, ROMC).then_some(0)
    }
}
#[path = "."]
pub mod rtwdog {
    #[doc = "WDOG"]
    pub const RTWDOG: *const RegisterBlock = 0x400b_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/rtwdog.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type RTWDOG = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for RTWDOG {}
    impl crate::Valid for RTWDOG {}
    impl RTWDOG {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(RTWDOG)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, RTWDOG).then_some(0)
    }
}
#[path = "."]
pub mod sai {
    #[doc = "I2S"]
    pub const SAI1: *const RegisterBlock = 0x4038_4000 as *const RegisterBlock;
    #[doc = "I2S"]
    pub const SAI2: *const RegisterBlock = 0x4038_8000 as *const RegisterBlock;
    #[doc = "I2S"]
    pub const SAI3: *const RegisterBlock = 0x4038_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1015/sai.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type SAI1 = Instance<1>;
    impl crate::private::Sealed for SAI1 {}
    impl crate::Valid for SAI1 {}
    impl SAI1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(SAI1)
        }
    }
    pub type SAI2 = Instance<2>;
    impl crate::private::Sealed for SAI2 {}
    impl crate::Valid for SAI2 {}
    impl SAI2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(SAI2)
        }
    }
    pub type SAI3 = Instance<3>;
    impl crate::private::Sealed for SAI3 {}
    impl crate::Valid for SAI3 {}
    impl SAI3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(SAI3)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(SAI1, 1), (SAI2, 2), (SAI3, 3)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod semc {
    #[doc = "SEMC"]
    pub const SEMC: *const RegisterBlock = 0x402f_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/semc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type SEMC = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for SEMC {}
    impl crate::Valid for SEMC {}
    impl SEMC {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(SEMC)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, SEMC).then_some(0)
    }
}
#[path = "."]
pub mod snvs {
    #[doc = "SNVS"]
    pub const SNVS: *const RegisterBlock = 0x400d_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/snvs.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type SNVS = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for SNVS {}
    impl crate::Valid for SNVS {}
    impl SNVS {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(SNVS)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, SNVS).then_some(0)
    }
}
#[path = "."]
pub mod spdif {
    #[doc = "SPDIF"]
    pub const SPDIF: *const RegisterBlock = 0x4038_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/spdif.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type SPDIF = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for SPDIF {}
    impl crate::Valid for SPDIF {}
    impl SPDIF {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(SPDIF)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, SPDIF).then_some(0)
    }
}
#[path = "."]
pub mod src {
    #[doc = "SRC"]
    pub const SRC: *const RegisterBlock = 0x400f_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/src.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type SRC = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for SRC {}
    impl crate::Valid for SRC {}
    impl SRC {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(SRC)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, SRC).then_some(0)
    }
}
#[path = "."]
pub mod tempmon {
    #[doc = "Temperature Monitor"]
    pub const TEMPMON: *const RegisterBlock = 0x400d_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/tempmon.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type TEMPMON = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for TEMPMON {}
    impl crate::Valid for TEMPMON {}
    impl TEMPMON {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(TEMPMON)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, TEMPMON).then_some(0)
    }
}
#[path = "."]
pub mod tmr {
    #[doc = "Quad Timer"]
    pub const TMR1: *const RegisterBlock = 0x401d_c000 as *const RegisterBlock;
    #[doc = "Quad Timer"]
    pub const TMR2: *const RegisterBlock = 0x401e_0000 as *const RegisterBlock;
    #[doc = "Quad Timer"]
    pub const TMR3: *const RegisterBlock = 0x401e_4000 as *const RegisterBlock;
    #[doc = "Quad Timer"]
    pub const TMR4: *const RegisterBlock = 0x401e_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1021/tmr.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type TMR1 = Instance<1>;
    impl crate::private::Sealed for TMR1 {}
    impl crate::Valid for TMR1 {}
    impl TMR1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(TMR1)
        }
    }
    pub type TMR2 = Instance<2>;
    impl crate::private::Sealed for TMR2 {}
    impl crate::Valid for TMR2 {}
    impl TMR2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(TMR2)
        }
    }
    pub type TMR3 = Instance<3>;
    impl crate::private::Sealed for TMR3 {}
    impl crate::Valid for TMR3 {}
    impl TMR3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(TMR3)
        }
    }
    pub type TMR4 = Instance<4>;
    impl crate::private::Sealed for TMR4 {}
    impl crate::Valid for TMR4 {}
    impl TMR4 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(TMR4)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(TMR1, 1), (TMR2, 2), (TMR3, 3), (TMR4, 4)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod trng {
    #[doc = "TRNG"]
    pub const TRNG: *const RegisterBlock = 0x400c_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/trng.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type TRNG = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for TRNG {}
    impl crate::Valid for TRNG {}
    impl TRNG {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(TRNG)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, TRNG).then_some(0)
    }
}
#[path = "."]
pub mod tsc {
    #[doc = "Touch Screen Controller"]
    pub const TSC: *const RegisterBlock = 0x400e_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/tsc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type TSC = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for TSC {}
    impl crate::Valid for TSC {}
    impl TSC {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(TSC)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, TSC).then_some(0)
    }
}
#[path = "."]
pub mod usb {
    #[doc = "USB"]
    pub const USB1: *const RegisterBlock = 0x402e_0000 as *const RegisterBlock;
    #[doc = "USB"]
    pub const USB2: *const RegisterBlock = 0x402e_0200 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/usb.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type USB1 = Instance<1>;
    impl crate::private::Sealed for USB1 {}
    impl crate::Valid for USB1 {}
    impl USB1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(USB1)
        }
    }
    pub type USB2 = Instance<2>;
    impl crate::private::Sealed for USB2 {}
    impl crate::Valid for USB2 {}
    impl USB2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(USB2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(USB1, 1), (USB2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod usb_analog {
    #[doc = "USB Analog"]
    pub const USB_ANALOG: *const RegisterBlock = 0x400d_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1061/usb_analog.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type USB_ANALOG = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for USB_ANALOG {}
    impl crate::Valid for USB_ANALOG {}
    impl USB_ANALOG {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(USB_ANALOG)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, USB_ANALOG).then_some(0)
    }
}
#[path = "."]
pub mod usbnc {
    #[doc = "USB"]
    pub const USBNC1: *const RegisterBlock = 0x402e_0000 as *const RegisterBlock;
    #[doc = "USB"]
    pub const USBNC2: *const RegisterBlock = 0x402e_0004 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/usbnc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type USBNC1 = Instance<1>;
    impl crate::private::Sealed for USBNC1 {}
    impl crate::Valid for USBNC1 {}
    impl USBNC1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(USBNC1)
        }
    }
    pub type USBNC2 = Instance<2>;
    impl crate::private::Sealed for USBNC2 {}
    impl crate::Valid for USBNC2 {}
    impl USBNC2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(USBNC2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(USBNC1, 1), (USBNC2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod usbphy {
    #[doc = "USBPHY Register Reference Index"]
    pub const USBPHY1: *const RegisterBlock = 0x400d_9000 as *const RegisterBlock;
    #[doc = "USBPHY Register Reference Index"]
    pub const USBPHY2: *const RegisterBlock = 0x400d_a000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/usbphy.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type USBPHY1 = Instance<1>;
    impl crate::private::Sealed for USBPHY1 {}
    impl crate::Valid for USBPHY1 {}
    impl USBPHY1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(USBPHY1)
        }
    }
    pub type USBPHY2 = Instance<2>;
    impl crate::private::Sealed for USBPHY2 {}
    impl crate::Valid for USBPHY2 {}
    impl USBPHY2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(USBPHY2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(USBPHY1, 1), (USBPHY2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod usdhc {
    #[doc = "uSDHC"]
    pub const USDHC1: *const RegisterBlock = 0x402c_0000 as *const RegisterBlock;
    #[doc = "uSDHC"]
    pub const USDHC2: *const RegisterBlock = 0x402c_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1021/usdhc.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type USDHC1 = Instance<1>;
    impl crate::private::Sealed for USDHC1 {}
    impl crate::Valid for USDHC1 {}
    impl USDHC1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(USDHC1)
        }
    }
    pub type USDHC2 = Instance<2>;
    impl crate::private::Sealed for USDHC2 {}
    impl crate::Valid for USDHC2 {}
    impl USDHC2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(USDHC2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(USDHC1, 1), (USDHC2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod wdog {
    #[doc = "WDOG"]
    pub const WDOG1: *const RegisterBlock = 0x400b_8000 as *const RegisterBlock;
    #[doc = "WDOG"]
    pub const WDOG2: *const RegisterBlock = 0x400d_0000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/wdog.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type WDOG1 = Instance<1>;
    impl crate::private::Sealed for WDOG1 {}
    impl crate::Valid for WDOG1 {}
    impl WDOG1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(WDOG1)
        }
    }
    pub type WDOG2 = Instance<2>;
    impl crate::private::Sealed for WDOG2 {}
    impl crate::Valid for WDOG2 {}
    impl WDOG2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(WDOG2)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(WDOG1, 1), (WDOG2, 2)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod xbara1 {
    #[doc = "Crossbar Switch"]
    pub const XBARA1: *const RegisterBlock = 0x403b_c000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/xbara1.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type XBARA1 = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for XBARA1 {}
    impl crate::Valid for XBARA1 {}
    impl XBARA1 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(XBARA1)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, XBARA1).then_some(0)
    }
}
#[path = "."]
pub mod xbarb {
    #[doc = "Crossbar Switch"]
    pub const XBARB2: *const RegisterBlock = 0x403c_0000 as *const RegisterBlock;
    #[doc = "Crossbar Switch"]
    pub const XBARB3: *const RegisterBlock = 0x403c_4000 as *const RegisterBlock;
    #[path = "blocks/imxrt1051/xbarb.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type XBARB2 = Instance<2>;
    impl crate::private::Sealed for XBARB2 {}
    impl crate::Valid for XBARB2 {}
    impl XBARB2 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(XBARB2)
        }
    }
    pub type XBARB3 = Instance<3>;
    impl crate::private::Sealed for XBARB3 {}
    impl crate::Valid for XBARB3 {}
    impl XBARB3 {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(XBARB3)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        [(XBARB2, 2), (XBARB3, 3)]
            .into_iter()
            .find(|(ptr, _)| core::ptr::eq(rb, *ptr))
            .map(|(_, inst)| inst)
    }
}
#[path = "."]
pub mod xtalosc24m {
    #[doc = "XTALOSC24M"]
    pub const XTALOSC24M: *const RegisterBlock = 0x400d_8000 as *const RegisterBlock;
    #[path = "blocks/imxrt1011/xtalosc24m.rs"]
    mod blocks;
    pub use blocks::*;
    pub type Instance<const N: u8> = crate::Instance<RegisterBlock, N>;
    pub type XTALOSC24M = Instance<{ crate::SOLE_INSTANCE }>;
    impl crate::private::Sealed for XTALOSC24M {}
    impl crate::Valid for XTALOSC24M {}
    impl XTALOSC24M {
        #[doc = r" Acquire a vaild, but possibly aliased, instance."]
        #[doc = r""]
        #[doc = r" # Safety"]
        #[doc = r""]
        #[doc = r" See [the struct-level safety documentation](crate::Instance)."]
        #[inline]
        pub const unsafe fn instance() -> Self {
            Instance::new(XTALOSC24M)
        }
    }
    #[doc = r" Returns the instance number `N` for a peripheral instance."]
    pub fn number(rb: *const RegisterBlock) -> Option<u8> {
        core::ptr::eq(rb, XTALOSC24M).then_some(0)
    }
}
#[doc = r"Number available in the NVIC for configuring priority"]
pub const NVIC_PRIO_BITS: u8 = 4;
#[doc = r" Instances for all of this device's peripherals."]
#[doc = r""]
#[doc = r" Use this if you want a single way to acquire *all* instances"]
#[doc = r" for your device."]
pub struct Instances {
    pub ADC1: adc::ADC1,
    pub ADC2: adc::ADC2,
    pub ADC_ETC: adc_etc::ADC_ETC,
    pub AIPSTZ1: aipstz::AIPSTZ1,
    pub AIPSTZ2: aipstz::AIPSTZ2,
    pub AIPSTZ3: aipstz::AIPSTZ3,
    pub AIPSTZ4: aipstz::AIPSTZ4,
    pub AOI1: aoi::AOI1,
    pub AOI2: aoi::AOI2,
    pub BEE: bee::BEE,
    pub CAN1: can::CAN1,
    pub CAN2: can::CAN2,
    pub CAN3: can3::CAN3,
    pub CCM: ccm::CCM,
    pub CCM_ANALOG: ccm_analog::CCM_ANALOG,
    pub CMP1: cmp::CMP1,
    pub CMP2: cmp::CMP2,
    pub CMP3: cmp::CMP3,
    pub CMP4: cmp::CMP4,
    pub CSI: csi::CSI,
    pub CSU: csu::CSU,
    pub DCDC: dcdc::DCDC,
    pub DCP: dcp::DCP,
    pub DMA: dma::DMA,
    pub DMAMUX: dmamux::DMAMUX,
    pub ENC1: enc::ENC1,
    pub ENC2: enc::ENC2,
    pub ENC3: enc::ENC3,
    pub ENC4: enc::ENC4,
    pub ENET1: enet::ENET1,
    pub ENET2: enet::ENET2,
    pub EWM: ewm::EWM,
    pub FLEXIO1: flexio::FLEXIO1,
    pub FLEXIO2: flexio::FLEXIO2,
    pub FLEXIO3: flexio::FLEXIO3,
    pub FLEXRAM: flexram::FLEXRAM,
    pub FLEXSPI1: flexspi::FLEXSPI1,
    pub FLEXSPI2: flexspi::FLEXSPI2,
    pub GPC: gpc::GPC,
    pub GPIO1: gpio::GPIO1,
    pub GPIO5: gpio::GPIO5,
    pub GPIO2: gpio::GPIO2,
    pub GPIO3: gpio::GPIO3,
    pub GPIO4: gpio::GPIO4,
    pub GPIO6: gpio::GPIO6,
    pub GPIO7: gpio::GPIO7,
    pub GPIO8: gpio::GPIO8,
    pub GPIO9: gpio::GPIO9,
    pub GPT1: gpt::GPT1,
    pub GPT2: gpt::GPT2,
    pub IOMUXC: iomuxc::IOMUXC,
    pub IOMUXC_GPR: iomuxc_gpr::IOMUXC_GPR,
    pub IOMUXC_SNVS: iomuxc_snvs::IOMUXC_SNVS,
    pub IOMUXC_SNVS_GPR: iomuxc_snvs_gpr::IOMUXC_SNVS_GPR,
    pub KPP: kpp::KPP,
    pub LCDIF: lcdif::LCDIF,
    pub LPI2C1: lpi2c::LPI2C1,
    pub LPI2C2: lpi2c::LPI2C2,
    pub LPI2C3: lpi2c::LPI2C3,
    pub LPI2C4: lpi2c::LPI2C4,
    pub LPSPI1: lpspi::LPSPI1,
    pub LPSPI2: lpspi::LPSPI2,
    pub LPSPI3: lpspi::LPSPI3,
    pub LPSPI4: lpspi::LPSPI4,
    pub LPUART1: lpuart::LPUART1,
    pub LPUART2: lpuart::LPUART2,
    pub LPUART3: lpuart::LPUART3,
    pub LPUART4: lpuart::LPUART4,
    pub LPUART5: lpuart::LPUART5,
    pub LPUART6: lpuart::LPUART6,
    pub LPUART7: lpuart::LPUART7,
    pub LPUART8: lpuart::LPUART8,
    pub OCOTP: ocotp::OCOTP,
    pub PGC: pgc::PGC,
    pub PIT: pit::PIT,
    pub PMU: pmu::PMU,
    pub PWM1: pwm::PWM1,
    pub PWM2: pwm::PWM2,
    pub PWM3: pwm::PWM3,
    pub PWM4: pwm::PWM4,
    pub PXP: pxp::PXP,
    pub ROMC: romc::ROMC,
    pub RTWDOG: rtwdog::RTWDOG,
    pub SAI1: sai::SAI1,
    pub SAI2: sai::SAI2,
    pub SAI3: sai::SAI3,
    pub SEMC: semc::SEMC,
    pub SNVS: snvs::SNVS,
    pub SPDIF: spdif::SPDIF,
    pub SRC: src::SRC,
    pub TEMPMON: tempmon::TEMPMON,
    pub TMR1: tmr::TMR1,
    pub TMR2: tmr::TMR2,
    pub TMR3: tmr::TMR3,
    pub TMR4: tmr::TMR4,
    pub TRNG: trng::TRNG,
    pub TSC: tsc::TSC,
    pub USB1: usb::USB1,
    pub USB2: usb::USB2,
    pub USB_ANALOG: usb_analog::USB_ANALOG,
    pub USBNC1: usbnc::USBNC1,
    pub USBNC2: usbnc::USBNC2,
    pub USBPHY1: usbphy::USBPHY1,
    pub USBPHY2: usbphy::USBPHY2,
    pub USDHC1: usdhc::USDHC1,
    pub USDHC2: usdhc::USDHC2,
    pub WDOG1: wdog::WDOG1,
    pub WDOG2: wdog::WDOG2,
    pub XBARA1: xbara1::XBARA1,
    pub XBARB2: xbarb::XBARB2,
    pub XBARB3: xbarb::XBARB3,
    pub XTALOSC24M: xtalosc24m::XTALOSC24M,
}
impl Instances {
    #[doc = r" Acquire all peripheral instances."]
    #[doc = r""]
    #[doc = r" # Safety"]
    #[doc = r""]
    #[doc = r" Since this calls `instance()` to initialize each of its members,"]
    #[doc = r" the `instance()` safety contract applies. See [the `Instance` safety"]
    #[doc = r" documentation](crate::Instance) for more information."]
    #[inline]
    pub const unsafe fn instances() -> Self {
        Self {
            ADC1: adc::ADC1::instance(),
            ADC2: adc::ADC2::instance(),
            ADC_ETC: adc_etc::ADC_ETC::instance(),
            AIPSTZ1: aipstz::AIPSTZ1::instance(),
            AIPSTZ2: aipstz::AIPSTZ2::instance(),
            AIPSTZ3: aipstz::AIPSTZ3::instance(),
            AIPSTZ4: aipstz::AIPSTZ4::instance(),
            AOI1: aoi::AOI1::instance(),
            AOI2: aoi::AOI2::instance(),
            BEE: bee::BEE::instance(),
            CAN1: can::CAN1::instance(),
            CAN2: can::CAN2::instance(),
            CAN3: can3::CAN3::instance(),
            CCM: ccm::CCM::instance(),
            CCM_ANALOG: ccm_analog::CCM_ANALOG::instance(),
            CMP1: cmp::CMP1::instance(),
            CMP2: cmp::CMP2::instance(),
            CMP3: cmp::CMP3::instance(),
            CMP4: cmp::CMP4::instance(),
            CSI: csi::CSI::instance(),
            CSU: csu::CSU::instance(),
            DCDC: dcdc::DCDC::instance(),
            DCP: dcp::DCP::instance(),
            DMA: dma::DMA::instance(),
            DMAMUX: dmamux::DMAMUX::instance(),
            ENC1: enc::ENC1::instance(),
            ENC2: enc::ENC2::instance(),
            ENC3: enc::ENC3::instance(),
            ENC4: enc::ENC4::instance(),
            ENET1: enet::ENET1::instance(),
            ENET2: enet::ENET2::instance(),
            EWM: ewm::EWM::instance(),
            FLEXIO1: flexio::FLEXIO1::instance(),
            FLEXIO2: flexio::FLEXIO2::instance(),
            FLEXIO3: flexio::FLEXIO3::instance(),
            FLEXRAM: flexram::FLEXRAM::instance(),
            FLEXSPI1: flexspi::FLEXSPI1::instance(),
            FLEXSPI2: flexspi::FLEXSPI2::instance(),
            GPC: gpc::GPC::instance(),
            GPIO1: gpio::GPIO1::instance(),
            GPIO5: gpio::GPIO5::instance(),
            GPIO2: gpio::GPIO2::instance(),
            GPIO3: gpio::GPIO3::instance(),
            GPIO4: gpio::GPIO4::instance(),
            GPIO6: gpio::GPIO6::instance(),
            GPIO7: gpio::GPIO7::instance(),
            GPIO8: gpio::GPIO8::instance(),
            GPIO9: gpio::GPIO9::instance(),
            GPT1: gpt::GPT1::instance(),
            GPT2: gpt::GPT2::instance(),
            IOMUXC: iomuxc::IOMUXC::instance(),
            IOMUXC_GPR: iomuxc_gpr::IOMUXC_GPR::instance(),
            IOMUXC_SNVS: iomuxc_snvs::IOMUXC_SNVS::instance(),
            IOMUXC_SNVS_GPR: iomuxc_snvs_gpr::IOMUXC_SNVS_GPR::instance(),
            KPP: kpp::KPP::instance(),
            LCDIF: lcdif::LCDIF::instance(),
            LPI2C1: lpi2c::LPI2C1::instance(),
            LPI2C2: lpi2c::LPI2C2::instance(),
            LPI2C3: lpi2c::LPI2C3::instance(),
            LPI2C4: lpi2c::LPI2C4::instance(),
            LPSPI1: lpspi::LPSPI1::instance(),
            LPSPI2: lpspi::LPSPI2::instance(),
            LPSPI3: lpspi::LPSPI3::instance(),
            LPSPI4: lpspi::LPSPI4::instance(),
            LPUART1: lpuart::LPUART1::instance(),
            LPUART2: lpuart::LPUART2::instance(),
            LPUART3: lpuart::LPUART3::instance(),
            LPUART4: lpuart::LPUART4::instance(),
            LPUART5: lpuart::LPUART5::instance(),
            LPUART6: lpuart::LPUART6::instance(),
            LPUART7: lpuart::LPUART7::instance(),
            LPUART8: lpuart::LPUART8::instance(),
            OCOTP: ocotp::OCOTP::instance(),
            PGC: pgc::PGC::instance(),
            PIT: pit::PIT::instance(),
            PMU: pmu::PMU::instance(),
            PWM1: pwm::PWM1::instance(),
            PWM2: pwm::PWM2::instance(),
            PWM3: pwm::PWM3::instance(),
            PWM4: pwm::PWM4::instance(),
            PXP: pxp::PXP::instance(),
            ROMC: romc::ROMC::instance(),
            RTWDOG: rtwdog::RTWDOG::instance(),
            SAI1: sai::SAI1::instance(),
            SAI2: sai::SAI2::instance(),
            SAI3: sai::SAI3::instance(),
            SEMC: semc::SEMC::instance(),
            SNVS: snvs::SNVS::instance(),
            SPDIF: spdif::SPDIF::instance(),
            SRC: src::SRC::instance(),
            TEMPMON: tempmon::TEMPMON::instance(),
            TMR1: tmr::TMR1::instance(),
            TMR2: tmr::TMR2::instance(),
            TMR3: tmr::TMR3::instance(),
            TMR4: tmr::TMR4::instance(),
            TRNG: trng::TRNG::instance(),
            TSC: tsc::TSC::instance(),
            USB1: usb::USB1::instance(),
            USB2: usb::USB2::instance(),
            USB_ANALOG: usb_analog::USB_ANALOG::instance(),
            USBNC1: usbnc::USBNC1::instance(),
            USBNC2: usbnc::USBNC2::instance(),
            USBPHY1: usbphy::USBPHY1::instance(),
            USBPHY2: usbphy::USBPHY2::instance(),
            USDHC1: usdhc::USDHC1::instance(),
            USDHC2: usdhc::USDHC2::instance(),
            WDOG1: wdog::WDOG1::instance(),
            WDOG2: wdog::WDOG2::instance(),
            XBARA1: xbara1::XBARA1::instance(),
            XBARB2: xbarb::XBARB2::instance(),
            XBARB3: xbarb::XBARB3::instance(),
            XTALOSC24M: xtalosc24m::XTALOSC24M::instance(),
        }
    }
}