efm32pg23-pac 0.1.2

Peripheral access API for EFM32PG23 MCU (generated using svd2rust)
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
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
#![doc = "Peripheral access API for EFM32PG23B200F128IM40 microcontrollers (generated using svd2rust v0.28.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next]
svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.28.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"]
#[cfg(feature = "rt")]
pub use self::Interrupt as interrupt;
use core::marker::PhantomData;
use core::ops::Deref;
pub use cortex_m::peripheral::Peripherals as CorePeripherals;
pub use cortex_m::peripheral::{CBP, CPUID, DCB, DWT, FPB, FPU, ITM, MPU, NVIC, SCB, SYST, TPIU};
#[cfg(feature = "rt")]
pub use cortex_m_rt::interrupt;
#[cfg(feature = "rt")]
extern "C" {
    fn SMU_SECURE();
    fn SMU_S_PRIVILEGED();
    fn EMU();
    fn TIMER0();
    fn TIMER1();
    fn TIMER2();
    fn TIMER3();
    fn TIMER4();
    fn USART0_RX();
    fn USART0_TX();
    fn EUSART0_RX();
    fn EUSART0_TX();
    fn EUSART1_RX();
    fn EUSART1_TX();
    fn EUSART2_RX();
    fn EUSART2_TX();
    fn ICACHE0();
    fn BURTC();
    fn LETIMER0();
    fn SYSCFG();
    fn LDMA();
    fn LFXO();
    fn LFRCO();
    fn ULFRCO();
    fn GPIO_ODD();
    fn GPIO_EVEN();
    fn I2C0();
    fn I2C1();
    fn EMUDG();
    fn ACMP0();
    fn ACMP1();
    fn WDOG0();
    fn WDOG1();
    fn HFXO0();
    fn HFRCO0();
    fn HFRCOEM23();
    fn CMU();
    fn IADC();
    fn MSC();
    fn DPLL0();
    fn VDAC();
    fn PCNT0();
    fn SW0();
    fn SW1();
    fn SW2();
    fn SW3();
    fn SEMBRX();
    fn SEMBTX();
    fn LCD();
    fn KEYSCAN();
}
#[doc(hidden)]
pub union Vector {
    _handler: unsafe extern "C" fn(),
    _reserved: u32,
}
#[cfg(feature = "rt")]
#[doc(hidden)]
#[link_section = ".vector_table.interrupts"]
#[no_mangle]
pub static __INTERRUPTS: [Vector; 74] = [
    Vector {
        _handler: SMU_SECURE,
    },
    Vector {
        _handler: SMU_S_PRIVILEGED,
    },
    Vector { _reserved: 0 },
    Vector { _handler: EMU },
    Vector { _handler: TIMER0 },
    Vector { _handler: TIMER1 },
    Vector { _handler: TIMER2 },
    Vector { _handler: TIMER3 },
    Vector { _handler: TIMER4 },
    Vector {
        _handler: USART0_RX,
    },
    Vector {
        _handler: USART0_TX,
    },
    Vector {
        _handler: EUSART0_RX,
    },
    Vector {
        _handler: EUSART0_TX,
    },
    Vector {
        _handler: EUSART1_RX,
    },
    Vector {
        _handler: EUSART1_TX,
    },
    Vector {
        _handler: EUSART2_RX,
    },
    Vector {
        _handler: EUSART2_TX,
    },
    Vector { _handler: ICACHE0 },
    Vector { _handler: BURTC },
    Vector { _handler: LETIMER0 },
    Vector { _handler: SYSCFG },
    Vector { _reserved: 0 },
    Vector { _handler: LDMA },
    Vector { _handler: LFXO },
    Vector { _handler: LFRCO },
    Vector { _handler: ULFRCO },
    Vector { _handler: GPIO_ODD },
    Vector {
        _handler: GPIO_EVEN,
    },
    Vector { _handler: I2C0 },
    Vector { _handler: I2C1 },
    Vector { _handler: EMUDG },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _handler: ACMP0 },
    Vector { _handler: ACMP1 },
    Vector { _handler: WDOG0 },
    Vector { _handler: WDOG1 },
    Vector { _handler: HFXO0 },
    Vector { _handler: HFRCO0 },
    Vector {
        _handler: HFRCOEM23,
    },
    Vector { _handler: CMU },
    Vector { _reserved: 0 },
    Vector { _handler: IADC },
    Vector { _handler: MSC },
    Vector { _handler: DPLL0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _handler: VDAC },
    Vector { _handler: PCNT0 },
    Vector { _handler: SW0 },
    Vector { _handler: SW1 },
    Vector { _handler: SW2 },
    Vector { _handler: SW3 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _handler: SEMBRX },
    Vector { _handler: SEMBTX },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _reserved: 0 },
    Vector { _handler: LCD },
    Vector { _handler: KEYSCAN },
];
#[doc = r"Enumeration of all the interrupts."]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
#[repr(u16)]
pub enum Interrupt {
    #[doc = "0 - SMU_SECURE"]
    SMU_SECURE = 0,
    #[doc = "1 - SMU_S_PRIVILEGED"]
    SMU_S_PRIVILEGED = 1,
    #[doc = "3 - EMU"]
    EMU = 3,
    #[doc = "4 - TIMER0"]
    TIMER0 = 4,
    #[doc = "5 - TIMER1"]
    TIMER1 = 5,
    #[doc = "6 - TIMER2"]
    TIMER2 = 6,
    #[doc = "7 - TIMER3"]
    TIMER3 = 7,
    #[doc = "8 - TIMER4"]
    TIMER4 = 8,
    #[doc = "9 - USART0_RX"]
    USART0_RX = 9,
    #[doc = "10 - USART0_TX"]
    USART0_TX = 10,
    #[doc = "11 - EUSART0_RX"]
    EUSART0_RX = 11,
    #[doc = "12 - EUSART0_TX"]
    EUSART0_TX = 12,
    #[doc = "13 - EUSART1_RX"]
    EUSART1_RX = 13,
    #[doc = "14 - EUSART1_TX"]
    EUSART1_TX = 14,
    #[doc = "15 - EUSART2_RX"]
    EUSART2_RX = 15,
    #[doc = "16 - EUSART2_TX"]
    EUSART2_TX = 16,
    #[doc = "17 - ICACHE0"]
    ICACHE0 = 17,
    #[doc = "18 - BURTC"]
    BURTC = 18,
    #[doc = "19 - LETIMER0"]
    LETIMER0 = 19,
    #[doc = "20 - SYSCFG"]
    SYSCFG = 20,
    #[doc = "22 - LDMA"]
    LDMA = 22,
    #[doc = "23 - LFXO"]
    LFXO = 23,
    #[doc = "24 - LFRCO"]
    LFRCO = 24,
    #[doc = "25 - ULFRCO"]
    ULFRCO = 25,
    #[doc = "26 - GPIO_ODD"]
    GPIO_ODD = 26,
    #[doc = "27 - GPIO_EVEN"]
    GPIO_EVEN = 27,
    #[doc = "28 - I2C0"]
    I2C0 = 28,
    #[doc = "29 - I2C1"]
    I2C1 = 29,
    #[doc = "30 - EMUDG"]
    EMUDG = 30,
    #[doc = "41 - ACMP0"]
    ACMP0 = 41,
    #[doc = "42 - ACMP1"]
    ACMP1 = 42,
    #[doc = "43 - WDOG0"]
    WDOG0 = 43,
    #[doc = "44 - WDOG1"]
    WDOG1 = 44,
    #[doc = "45 - HFXO0"]
    HFXO0 = 45,
    #[doc = "46 - HFRCO0"]
    HFRCO0 = 46,
    #[doc = "47 - HFRCOEM23"]
    HFRCOEM23 = 47,
    #[doc = "48 - CMU"]
    CMU = 48,
    #[doc = "50 - IADC"]
    IADC = 50,
    #[doc = "51 - MSC"]
    MSC = 51,
    #[doc = "52 - DPLL0"]
    DPLL0 = 52,
    #[doc = "55 - VDAC"]
    VDAC = 55,
    #[doc = "56 - PCNT0"]
    PCNT0 = 56,
    #[doc = "57 - SW0"]
    SW0 = 57,
    #[doc = "58 - SW1"]
    SW1 = 58,
    #[doc = "59 - SW2"]
    SW2 = 59,
    #[doc = "60 - SW3"]
    SW3 = 60,
    #[doc = "67 - SEMBRX"]
    SEMBRX = 67,
    #[doc = "68 - SEMBTX"]
    SEMBTX = 68,
    #[doc = "72 - LCD"]
    LCD = 72,
    #[doc = "73 - KEYSCAN"]
    KEYSCAN = 73,
}
unsafe impl cortex_m::interrupt::InterruptNumber for Interrupt {
    #[inline(always)]
    fn number(self) -> u16 {
        self as u16
    }
}
#[doc = "SCRATCHPAD_S Registers"]
pub struct SCRATCHPAD_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SCRATCHPAD_S {}
impl SCRATCHPAD_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const scratchpad_s::RegisterBlock = 0x4000_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const scratchpad_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SCRATCHPAD_S {
    type Target = scratchpad_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SCRATCHPAD_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SCRATCHPAD_S").finish()
    }
}
#[doc = "SCRATCHPAD_S Registers"]
pub mod scratchpad_s;
#[doc = "EMU_S Registers"]
pub struct EMU_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for EMU_S {}
impl EMU_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const emu_s::RegisterBlock = 0x4000_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const emu_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for EMU_S {
    type Target = emu_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for EMU_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("EMU_S").finish()
    }
}
#[doc = "EMU_S Registers"]
pub mod emu_s;
#[doc = "CMU_S Registers"]
pub struct CMU_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for CMU_S {}
impl CMU_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const cmu_s::RegisterBlock = 0x4000_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const cmu_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for CMU_S {
    type Target = cmu_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for CMU_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("CMU_S").finish()
    }
}
#[doc = "CMU_S Registers"]
pub mod cmu_s;
#[doc = "HFRCO0_S Registers"]
pub struct HFRCO0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for HFRCO0_S {}
impl HFRCO0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const hfrco0_s::RegisterBlock = 0x4001_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const hfrco0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for HFRCO0_S {
    type Target = hfrco0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for HFRCO0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("HFRCO0_S").finish()
    }
}
#[doc = "HFRCO0_S Registers"]
pub mod hfrco0_s;
#[doc = "FSRCO_S Registers"]
pub struct FSRCO_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for FSRCO_S {}
impl FSRCO_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const fsrco_s::RegisterBlock = 0x4001_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const fsrco_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for FSRCO_S {
    type Target = fsrco_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for FSRCO_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("FSRCO_S").finish()
    }
}
#[doc = "FSRCO_S Registers"]
pub mod fsrco_s;
#[doc = "DPLL0_S Registers"]
pub struct DPLL0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for DPLL0_S {}
impl DPLL0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const dpll0_s::RegisterBlock = 0x4001_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const dpll0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for DPLL0_S {
    type Target = dpll0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for DPLL0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("DPLL0_S").finish()
    }
}
#[doc = "DPLL0_S Registers"]
pub mod dpll0_s;
#[doc = "LFXO_S Registers"]
pub struct LFXO_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LFXO_S {}
impl LFXO_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const lfxo_s::RegisterBlock = 0x4002_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const lfxo_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LFXO_S {
    type Target = lfxo_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LFXO_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LFXO_S").finish()
    }
}
#[doc = "LFXO_S Registers"]
pub mod lfxo_s;
#[doc = "LFRCO_S Registers"]
pub struct LFRCO_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LFRCO_S {}
impl LFRCO_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const lfrco_s::RegisterBlock = 0x4002_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const lfrco_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LFRCO_S {
    type Target = lfrco_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LFRCO_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LFRCO_S").finish()
    }
}
#[doc = "LFRCO_S Registers"]
pub mod lfrco_s;
#[doc = "ULFRCO_S Registers"]
pub struct ULFRCO_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for ULFRCO_S {}
impl ULFRCO_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const ulfrco_s::RegisterBlock = 0x4002_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const ulfrco_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for ULFRCO_S {
    type Target = ulfrco_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for ULFRCO_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("ULFRCO_S").finish()
    }
}
#[doc = "ULFRCO_S Registers"]
pub mod ulfrco_s;
#[doc = "MSC_S Registers"]
pub struct MSC_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for MSC_S {}
impl MSC_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const msc_s::RegisterBlock = 0x4003_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const msc_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for MSC_S {
    type Target = msc_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for MSC_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("MSC_S").finish()
    }
}
#[doc = "MSC_S Registers"]
pub mod msc_s;
#[doc = "ICACHE0_S Registers"]
pub struct ICACHE0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for ICACHE0_S {}
impl ICACHE0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const icache0_s::RegisterBlock = 0x4003_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const icache0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for ICACHE0_S {
    type Target = icache0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for ICACHE0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("ICACHE0_S").finish()
    }
}
#[doc = "ICACHE0_S Registers"]
pub mod icache0_s;
#[doc = "PRS_S Registers"]
pub struct PRS_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for PRS_S {}
impl PRS_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const prs_s::RegisterBlock = 0x4003_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const prs_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for PRS_S {
    type Target = prs_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for PRS_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("PRS_S").finish()
    }
}
#[doc = "PRS_S Registers"]
pub mod prs_s;
#[doc = "GPIO_S Registers"]
pub struct GPIO_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for GPIO_S {}
impl GPIO_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const gpio_s::RegisterBlock = 0x4003_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const gpio_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for GPIO_S {
    type Target = gpio_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for GPIO_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("GPIO_S").finish()
    }
}
#[doc = "GPIO_S Registers"]
pub mod gpio_s;
#[doc = "LDMA_S Registers"]
pub struct LDMA_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LDMA_S {}
impl LDMA_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const ldma_s::RegisterBlock = 0x4004_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const ldma_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LDMA_S {
    type Target = ldma_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LDMA_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LDMA_S").finish()
    }
}
#[doc = "LDMA_S Registers"]
pub mod ldma_s;
#[doc = "LDMAXBAR_S Registers"]
pub struct LDMAXBAR_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LDMAXBAR_S {}
impl LDMAXBAR_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const ldmaxbar_s::RegisterBlock = 0x4004_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const ldmaxbar_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LDMAXBAR_S {
    type Target = ldmaxbar_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LDMAXBAR_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LDMAXBAR_S").finish()
    }
}
#[doc = "LDMAXBAR_S Registers"]
pub mod ldmaxbar_s;
#[doc = "TIMER0_S Registers"]
pub struct TIMER0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for TIMER0_S {}
impl TIMER0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const timer0_s::RegisterBlock = 0x4004_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const timer0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for TIMER0_S {
    type Target = timer0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for TIMER0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMER0_S").finish()
    }
}
#[doc = "TIMER0_S Registers"]
pub mod timer0_s;
#[doc = "TIMER1_S Registers"]
pub struct TIMER1_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for TIMER1_S {}
impl TIMER1_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const timer1_s::RegisterBlock = 0x4004_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const timer1_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for TIMER1_S {
    type Target = timer1_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for TIMER1_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMER1_S").finish()
    }
}
#[doc = "TIMER1_S Registers"]
pub mod timer1_s;
#[doc = "TIMER2_S Registers"]
pub struct TIMER2_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for TIMER2_S {}
impl TIMER2_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const timer2_s::RegisterBlock = 0x4005_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const timer2_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for TIMER2_S {
    type Target = timer2_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for TIMER2_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMER2_S").finish()
    }
}
#[doc = "TIMER2_S Registers"]
pub mod timer2_s;
#[doc = "TIMER3_S Registers"]
pub struct TIMER3_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for TIMER3_S {}
impl TIMER3_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const timer3_s::RegisterBlock = 0x4005_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const timer3_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for TIMER3_S {
    type Target = timer3_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for TIMER3_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMER3_S").finish()
    }
}
#[doc = "TIMER3_S Registers"]
pub mod timer3_s;
#[doc = "TIMER4_S Registers"]
pub struct TIMER4_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for TIMER4_S {}
impl TIMER4_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const timer4_s::RegisterBlock = 0x4005_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const timer4_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for TIMER4_S {
    type Target = timer4_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for TIMER4_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMER4_S").finish()
    }
}
#[doc = "TIMER4_S Registers"]
pub mod timer4_s;
#[doc = "USART0_S Registers"]
pub struct USART0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for USART0_S {}
impl USART0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const usart0_s::RegisterBlock = 0x4005_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const usart0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for USART0_S {
    type Target = usart0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for USART0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("USART0_S").finish()
    }
}
#[doc = "USART0_S Registers"]
pub mod usart0_s;
#[doc = "BURTC_S Registers"]
pub struct BURTC_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for BURTC_S {}
impl BURTC_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const burtc_s::RegisterBlock = 0x4006_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const burtc_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for BURTC_S {
    type Target = burtc_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for BURTC_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("BURTC_S").finish()
    }
}
#[doc = "BURTC_S Registers"]
pub mod burtc_s;
#[doc = "I2C1_S Registers"]
pub struct I2C1_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for I2C1_S {}
impl I2C1_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const i2c1_s::RegisterBlock = 0x4006_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const i2c1_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for I2C1_S {
    type Target = i2c1_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for I2C1_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("I2C1_S").finish()
    }
}
#[doc = "I2C1_S Registers"]
pub mod i2c1_s;
#[doc = "SYSCFG_S_CFGNS Registers"]
pub struct SYSCFG_S_CFGNS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SYSCFG_S_CFGNS {}
impl SYSCFG_S_CFGNS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const syscfg_s_cfgns::RegisterBlock = 0x4007_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const syscfg_s_cfgns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SYSCFG_S_CFGNS {
    type Target = syscfg_s_cfgns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SYSCFG_S_CFGNS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SYSCFG_S_CFGNS").finish()
    }
}
#[doc = "SYSCFG_S_CFGNS Registers"]
pub mod syscfg_s_cfgns;
#[doc = "SYSCFG_S Registers"]
pub struct SYSCFG_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SYSCFG_S {}
impl SYSCFG_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const syscfg_s::RegisterBlock = 0x4007_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const syscfg_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SYSCFG_S {
    type Target = syscfg_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SYSCFG_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SYSCFG_S").finish()
    }
}
#[doc = "SYSCFG_S Registers"]
pub mod syscfg_s;
#[doc = "BURAM_S Registers"]
pub struct BURAM_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for BURAM_S {}
impl BURAM_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const buram_s::RegisterBlock = 0x4008_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const buram_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for BURAM_S {
    type Target = buram_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for BURAM_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("BURAM_S").finish()
    }
}
#[doc = "BURAM_S Registers"]
pub mod buram_s;
#[doc = "GPCRC_S Registers"]
pub struct GPCRC_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for GPCRC_S {}
impl GPCRC_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const gpcrc_s::RegisterBlock = 0x4008_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const gpcrc_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for GPCRC_S {
    type Target = gpcrc_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for GPCRC_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("GPCRC_S").finish()
    }
}
#[doc = "GPCRC_S Registers"]
pub mod gpcrc_s;
#[doc = "DCDC_S Registers"]
pub struct DCDC_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for DCDC_S {}
impl DCDC_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const dcdc_s::RegisterBlock = 0x4009_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const dcdc_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for DCDC_S {
    type Target = dcdc_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for DCDC_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("DCDC_S").finish()
    }
}
#[doc = "DCDC_S Registers"]
pub mod dcdc_s;
#[doc = "HOSTMAILBOX_S Registers"]
pub struct HOSTMAILBOX_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for HOSTMAILBOX_S {}
impl HOSTMAILBOX_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const hostmailbox_s::RegisterBlock = 0x4009_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const hostmailbox_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for HOSTMAILBOX_S {
    type Target = hostmailbox_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for HOSTMAILBOX_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("HOSTMAILBOX_S").finish()
    }
}
#[doc = "HOSTMAILBOX_S Registers"]
pub mod hostmailbox_s;
#[doc = "EUSART1_S Registers"]
pub struct EUSART1_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for EUSART1_S {}
impl EUSART1_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const eusart1_s::RegisterBlock = 0x400a_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const eusart1_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for EUSART1_S {
    type Target = eusart1_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for EUSART1_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("EUSART1_S").finish()
    }
}
#[doc = "EUSART1_S Registers"]
pub mod eusart1_s;
#[doc = "EUSART2_S Registers"]
pub struct EUSART2_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for EUSART2_S {}
impl EUSART2_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const eusart2_s::RegisterBlock = 0x400a_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const eusart2_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for EUSART2_S {
    type Target = eusart2_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for EUSART2_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("EUSART2_S").finish()
    }
}
#[doc = "EUSART2_S Registers"]
pub mod eusart2_s;
#[doc = "SYSRTC0_S Registers"]
pub struct SYSRTC0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SYSRTC0_S {}
impl SYSRTC0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const sysrtc0_s::RegisterBlock = 0x400a_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const sysrtc0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SYSRTC0_S {
    type Target = sysrtc0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SYSRTC0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SYSRTC0_S").finish()
    }
}
#[doc = "SYSRTC0_S Registers"]
pub mod sysrtc0_s;
#[doc = "LCD_S Registers"]
pub struct LCD_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LCD_S {}
impl LCD_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const lcd_s::RegisterBlock = 0x400a_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const lcd_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LCD_S {
    type Target = lcd_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LCD_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LCD_S").finish()
    }
}
#[doc = "LCD_S Registers"]
pub mod lcd_s;
#[doc = "KEYSCAN_S Registers"]
pub struct KEYSCAN_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for KEYSCAN_S {}
impl KEYSCAN_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const keyscan_s::RegisterBlock = 0x400b_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const keyscan_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for KEYSCAN_S {
    type Target = keyscan_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for KEYSCAN_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("KEYSCAN_S").finish()
    }
}
#[doc = "KEYSCAN_S Registers"]
pub mod keyscan_s;
#[doc = "DMEM_S Registers"]
pub struct DMEM_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for DMEM_S {}
impl DMEM_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const dmem_s::RegisterBlock = 0x400b_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const dmem_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for DMEM_S {
    type Target = dmem_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for DMEM_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("DMEM_S").finish()
    }
}
#[doc = "DMEM_S Registers"]
pub mod dmem_s;
#[doc = "LCDRF_S Registers"]
pub struct LCDRF_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LCDRF_S {}
impl LCDRF_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const lcdrf_s::RegisterBlock = 0x400c_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const lcdrf_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LCDRF_S {
    type Target = lcdrf_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LCDRF_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LCDRF_S").finish()
    }
}
#[doc = "LCDRF_S Registers"]
pub mod lcdrf_s;
#[doc = "SMU_S Registers"]
pub struct SMU_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SMU_S {}
impl SMU_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const smu_s::RegisterBlock = 0x4400_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const smu_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SMU_S {
    type Target = smu_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SMU_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SMU_S").finish()
    }
}
#[doc = "SMU_S Registers"]
pub mod smu_s;
#[doc = "SMU_S_CFGNS Registers"]
pub struct SMU_S_CFGNS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SMU_S_CFGNS {}
impl SMU_S_CFGNS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const smu_s_cfgns::RegisterBlock = 0x4400_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const smu_s_cfgns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SMU_S_CFGNS {
    type Target = smu_s_cfgns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SMU_S_CFGNS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SMU_S_CFGNS").finish()
    }
}
#[doc = "SMU_S_CFGNS Registers"]
pub mod smu_s_cfgns;
#[doc = "LETIMER0_S Registers"]
pub struct LETIMER0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LETIMER0_S {}
impl LETIMER0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const letimer0_s::RegisterBlock = 0x4900_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const letimer0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LETIMER0_S {
    type Target = letimer0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LETIMER0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LETIMER0_S").finish()
    }
}
#[doc = "LETIMER0_S Registers"]
pub mod letimer0_s;
#[doc = "IADC0_S Registers"]
pub struct IADC0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for IADC0_S {}
impl IADC0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const iadc0_s::RegisterBlock = 0x4900_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const iadc0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for IADC0_S {
    type Target = iadc0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for IADC0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("IADC0_S").finish()
    }
}
#[doc = "IADC0_S Registers"]
pub mod iadc0_s;
#[doc = "ACMP0_S Registers"]
pub struct ACMP0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for ACMP0_S {}
impl ACMP0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const acmp0_s::RegisterBlock = 0x4900_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const acmp0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for ACMP0_S {
    type Target = acmp0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for ACMP0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("ACMP0_S").finish()
    }
}
#[doc = "ACMP0_S Registers"]
pub mod acmp0_s;
#[doc = "ACMP1_S Registers"]
pub struct ACMP1_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for ACMP1_S {}
impl ACMP1_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const acmp1_s::RegisterBlock = 0x4900_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const acmp1_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for ACMP1_S {
    type Target = acmp1_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for ACMP1_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("ACMP1_S").finish()
    }
}
#[doc = "ACMP1_S Registers"]
pub mod acmp1_s;
#[doc = "AMUXCP0_S Registers"]
pub struct AMUXCP0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for AMUXCP0_S {}
impl AMUXCP0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const amuxcp0_s::RegisterBlock = 0x4902_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const amuxcp0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for AMUXCP0_S {
    type Target = amuxcp0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for AMUXCP0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("AMUXCP0_S").finish()
    }
}
#[doc = "AMUXCP0_S Registers"]
pub mod amuxcp0_s;
#[doc = "VDAC0_S Registers"]
pub struct VDAC0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for VDAC0_S {}
impl VDAC0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const vdac0_s::RegisterBlock = 0x4902_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const vdac0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for VDAC0_S {
    type Target = vdac0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for VDAC0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("VDAC0_S").finish()
    }
}
#[doc = "VDAC0_S Registers"]
pub mod vdac0_s;
#[doc = "PCNT0_S Registers"]
pub struct PCNT0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for PCNT0_S {}
impl PCNT0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const pcnt0_s::RegisterBlock = 0x4903_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const pcnt0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for PCNT0_S {
    type Target = pcnt0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for PCNT0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("PCNT0_S").finish()
    }
}
#[doc = "PCNT0_S Registers"]
pub mod pcnt0_s;
#[doc = "LESENSE_S Registers"]
pub struct LESENSE_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LESENSE_S {}
impl LESENSE_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const lesense_s::RegisterBlock = 0x4903_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const lesense_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LESENSE_S {
    type Target = lesense_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LESENSE_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LESENSE_S").finish()
    }
}
#[doc = "LESENSE_S Registers"]
pub mod lesense_s;
#[doc = "HFRCOEM23_S Registers"]
pub struct HFRCOEM23_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for HFRCOEM23_S {}
impl HFRCOEM23_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const hfrcoem23_s::RegisterBlock = 0x4a00_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const hfrcoem23_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for HFRCOEM23_S {
    type Target = hfrcoem23_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for HFRCOEM23_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("HFRCOEM23_S").finish()
    }
}
#[doc = "HFRCOEM23_S Registers"]
pub mod hfrcoem23_s;
#[doc = "HFXO0_S Registers"]
pub struct HFXO0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for HFXO0_S {}
impl HFXO0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const hfxo0_s::RegisterBlock = 0x4a00_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const hfxo0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for HFXO0_S {
    type Target = hfxo0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for HFXO0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("HFXO0_S").finish()
    }
}
#[doc = "HFXO0_S Registers"]
pub mod hfxo0_s;
#[doc = "I2C0_S Registers"]
pub struct I2C0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for I2C0_S {}
impl I2C0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const i2c0_s::RegisterBlock = 0x4b00_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const i2c0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for I2C0_S {
    type Target = i2c0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for I2C0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("I2C0_S").finish()
    }
}
#[doc = "I2C0_S Registers"]
pub mod i2c0_s;
#[doc = "WDOG0_S Registers"]
pub struct WDOG0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for WDOG0_S {}
impl WDOG0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const wdog0_s::RegisterBlock = 0x4b00_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const wdog0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for WDOG0_S {
    type Target = wdog0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for WDOG0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("WDOG0_S").finish()
    }
}
#[doc = "WDOG0_S Registers"]
pub mod wdog0_s;
#[doc = "WDOG1_S Registers"]
pub struct WDOG1_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for WDOG1_S {}
impl WDOG1_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const wdog1_s::RegisterBlock = 0x4b00_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const wdog1_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for WDOG1_S {
    type Target = wdog1_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for WDOG1_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("WDOG1_S").finish()
    }
}
#[doc = "WDOG1_S Registers"]
pub mod wdog1_s;
#[doc = "EUSART0_S Registers"]
pub struct EUSART0_S {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for EUSART0_S {}
impl EUSART0_S {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const eusart0_s::RegisterBlock = 0x4b01_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const eusart0_s::RegisterBlock {
        Self::PTR
    }
}
impl Deref for EUSART0_S {
    type Target = eusart0_s::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for EUSART0_S {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("EUSART0_S").finish()
    }
}
#[doc = "EUSART0_S Registers"]
pub mod eusart0_s;
#[doc = "SEMAILBOX_S_HOST Registers"]
pub struct SEMAILBOX_S_HOST {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SEMAILBOX_S_HOST {}
impl SEMAILBOX_S_HOST {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const semailbox_s_host::RegisterBlock = 0x4c00_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const semailbox_s_host::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SEMAILBOX_S_HOST {
    type Target = semailbox_s_host::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SEMAILBOX_S_HOST {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SEMAILBOX_S_HOST").finish()
    }
}
#[doc = "SEMAILBOX_S_HOST Registers"]
pub mod semailbox_s_host;
#[doc = "SCRATCHPAD_NS Registers"]
pub struct SCRATCHPAD_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SCRATCHPAD_NS {}
impl SCRATCHPAD_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const scratchpad_ns::RegisterBlock = 0x5000_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const scratchpad_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SCRATCHPAD_NS {
    type Target = scratchpad_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SCRATCHPAD_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SCRATCHPAD_NS").finish()
    }
}
#[doc = "SCRATCHPAD_NS Registers"]
pub mod scratchpad_ns;
#[doc = "EMU_NS Registers"]
pub struct EMU_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for EMU_NS {}
impl EMU_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const emu_ns::RegisterBlock = 0x5000_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const emu_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for EMU_NS {
    type Target = emu_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for EMU_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("EMU_NS").finish()
    }
}
#[doc = "EMU_NS Registers"]
pub mod emu_ns;
#[doc = "CMU_NS Registers"]
pub struct CMU_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for CMU_NS {}
impl CMU_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const cmu_ns::RegisterBlock = 0x5000_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const cmu_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for CMU_NS {
    type Target = cmu_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for CMU_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("CMU_NS").finish()
    }
}
#[doc = "CMU_NS Registers"]
pub mod cmu_ns;
#[doc = "HFRCO0_NS Registers"]
pub struct HFRCO0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for HFRCO0_NS {}
impl HFRCO0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const hfrco0_ns::RegisterBlock = 0x5001_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const hfrco0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for HFRCO0_NS {
    type Target = hfrco0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for HFRCO0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("HFRCO0_NS").finish()
    }
}
#[doc = "HFRCO0_NS Registers"]
pub mod hfrco0_ns;
#[doc = "FSRCO_NS Registers"]
pub struct FSRCO_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for FSRCO_NS {}
impl FSRCO_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const fsrco_ns::RegisterBlock = 0x5001_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const fsrco_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for FSRCO_NS {
    type Target = fsrco_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for FSRCO_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("FSRCO_NS").finish()
    }
}
#[doc = "FSRCO_NS Registers"]
pub mod fsrco_ns;
#[doc = "DPLL0_NS Registers"]
pub struct DPLL0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for DPLL0_NS {}
impl DPLL0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const dpll0_ns::RegisterBlock = 0x5001_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const dpll0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for DPLL0_NS {
    type Target = dpll0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for DPLL0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("DPLL0_NS").finish()
    }
}
#[doc = "DPLL0_NS Registers"]
pub mod dpll0_ns;
#[doc = "LFXO_NS Registers"]
pub struct LFXO_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LFXO_NS {}
impl LFXO_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const lfxo_ns::RegisterBlock = 0x5002_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const lfxo_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LFXO_NS {
    type Target = lfxo_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LFXO_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LFXO_NS").finish()
    }
}
#[doc = "LFXO_NS Registers"]
pub mod lfxo_ns;
#[doc = "LFRCO_NS Registers"]
pub struct LFRCO_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LFRCO_NS {}
impl LFRCO_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const lfrco_ns::RegisterBlock = 0x5002_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const lfrco_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LFRCO_NS {
    type Target = lfrco_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LFRCO_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LFRCO_NS").finish()
    }
}
#[doc = "LFRCO_NS Registers"]
pub mod lfrco_ns;
#[doc = "ULFRCO_NS Registers"]
pub struct ULFRCO_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for ULFRCO_NS {}
impl ULFRCO_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const ulfrco_ns::RegisterBlock = 0x5002_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const ulfrco_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for ULFRCO_NS {
    type Target = ulfrco_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for ULFRCO_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("ULFRCO_NS").finish()
    }
}
#[doc = "ULFRCO_NS Registers"]
pub mod ulfrco_ns;
#[doc = "MSC_NS Registers"]
pub struct MSC_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for MSC_NS {}
impl MSC_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const msc_ns::RegisterBlock = 0x5003_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const msc_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for MSC_NS {
    type Target = msc_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for MSC_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("MSC_NS").finish()
    }
}
#[doc = "MSC_NS Registers"]
pub mod msc_ns;
#[doc = "ICACHE0_NS Registers"]
pub struct ICACHE0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for ICACHE0_NS {}
impl ICACHE0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const icache0_ns::RegisterBlock = 0x5003_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const icache0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for ICACHE0_NS {
    type Target = icache0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for ICACHE0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("ICACHE0_NS").finish()
    }
}
#[doc = "ICACHE0_NS Registers"]
pub mod icache0_ns;
#[doc = "PRS_NS Registers"]
pub struct PRS_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for PRS_NS {}
impl PRS_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const prs_ns::RegisterBlock = 0x5003_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const prs_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for PRS_NS {
    type Target = prs_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for PRS_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("PRS_NS").finish()
    }
}
#[doc = "PRS_NS Registers"]
pub mod prs_ns;
#[doc = "GPIO_NS Registers"]
pub struct GPIO_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for GPIO_NS {}
impl GPIO_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const gpio_ns::RegisterBlock = 0x5003_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const gpio_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for GPIO_NS {
    type Target = gpio_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for GPIO_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("GPIO_NS").finish()
    }
}
#[doc = "GPIO_NS Registers"]
pub mod gpio_ns;
#[doc = "LDMA_NS Registers"]
pub struct LDMA_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LDMA_NS {}
impl LDMA_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const ldma_ns::RegisterBlock = 0x5004_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const ldma_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LDMA_NS {
    type Target = ldma_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LDMA_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LDMA_NS").finish()
    }
}
#[doc = "LDMA_NS Registers"]
pub mod ldma_ns;
#[doc = "LDMAXBAR_NS Registers"]
pub struct LDMAXBAR_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LDMAXBAR_NS {}
impl LDMAXBAR_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const ldmaxbar_ns::RegisterBlock = 0x5004_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const ldmaxbar_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LDMAXBAR_NS {
    type Target = ldmaxbar_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LDMAXBAR_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LDMAXBAR_NS").finish()
    }
}
#[doc = "LDMAXBAR_NS Registers"]
pub mod ldmaxbar_ns;
#[doc = "TIMER0_NS Registers"]
pub struct TIMER0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for TIMER0_NS {}
impl TIMER0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const timer0_ns::RegisterBlock = 0x5004_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const timer0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for TIMER0_NS {
    type Target = timer0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for TIMER0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMER0_NS").finish()
    }
}
#[doc = "TIMER0_NS Registers"]
pub mod timer0_ns;
#[doc = "TIMER1_NS Registers"]
pub struct TIMER1_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for TIMER1_NS {}
impl TIMER1_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const timer1_ns::RegisterBlock = 0x5004_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const timer1_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for TIMER1_NS {
    type Target = timer1_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for TIMER1_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMER1_NS").finish()
    }
}
#[doc = "TIMER1_NS Registers"]
pub mod timer1_ns;
#[doc = "TIMER2_NS Registers"]
pub struct TIMER2_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for TIMER2_NS {}
impl TIMER2_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const timer2_ns::RegisterBlock = 0x5005_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const timer2_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for TIMER2_NS {
    type Target = timer2_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for TIMER2_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMER2_NS").finish()
    }
}
#[doc = "TIMER2_NS Registers"]
pub mod timer2_ns;
#[doc = "TIMER3_NS Registers"]
pub struct TIMER3_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for TIMER3_NS {}
impl TIMER3_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const timer3_ns::RegisterBlock = 0x5005_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const timer3_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for TIMER3_NS {
    type Target = timer3_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for TIMER3_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMER3_NS").finish()
    }
}
#[doc = "TIMER3_NS Registers"]
pub mod timer3_ns;
#[doc = "TIMER4_NS Registers"]
pub struct TIMER4_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for TIMER4_NS {}
impl TIMER4_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const timer4_ns::RegisterBlock = 0x5005_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const timer4_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for TIMER4_NS {
    type Target = timer4_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for TIMER4_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("TIMER4_NS").finish()
    }
}
#[doc = "TIMER4_NS Registers"]
pub mod timer4_ns;
#[doc = "USART0_NS Registers"]
pub struct USART0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for USART0_NS {}
impl USART0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const usart0_ns::RegisterBlock = 0x5005_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const usart0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for USART0_NS {
    type Target = usart0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for USART0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("USART0_NS").finish()
    }
}
#[doc = "USART0_NS Registers"]
pub mod usart0_ns;
#[doc = "BURTC_NS Registers"]
pub struct BURTC_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for BURTC_NS {}
impl BURTC_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const burtc_ns::RegisterBlock = 0x5006_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const burtc_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for BURTC_NS {
    type Target = burtc_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for BURTC_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("BURTC_NS").finish()
    }
}
#[doc = "BURTC_NS Registers"]
pub mod burtc_ns;
#[doc = "I2C1_NS Registers"]
pub struct I2C1_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for I2C1_NS {}
impl I2C1_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const i2c1_ns::RegisterBlock = 0x5006_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const i2c1_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for I2C1_NS {
    type Target = i2c1_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for I2C1_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("I2C1_NS").finish()
    }
}
#[doc = "I2C1_NS Registers"]
pub mod i2c1_ns;
#[doc = "SYSCFG_NS_CFGNS Registers"]
pub struct SYSCFG_NS_CFGNS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SYSCFG_NS_CFGNS {}
impl SYSCFG_NS_CFGNS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const syscfg_ns_cfgns::RegisterBlock = 0x5007_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const syscfg_ns_cfgns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SYSCFG_NS_CFGNS {
    type Target = syscfg_ns_cfgns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SYSCFG_NS_CFGNS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SYSCFG_NS_CFGNS").finish()
    }
}
#[doc = "SYSCFG_NS_CFGNS Registers"]
pub mod syscfg_ns_cfgns;
#[doc = "SYSCFG_NS Registers"]
pub struct SYSCFG_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SYSCFG_NS {}
impl SYSCFG_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const syscfg_ns::RegisterBlock = 0x5007_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const syscfg_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SYSCFG_NS {
    type Target = syscfg_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SYSCFG_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SYSCFG_NS").finish()
    }
}
#[doc = "SYSCFG_NS Registers"]
pub mod syscfg_ns;
#[doc = "BURAM_NS Registers"]
pub struct BURAM_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for BURAM_NS {}
impl BURAM_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const buram_ns::RegisterBlock = 0x5008_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const buram_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for BURAM_NS {
    type Target = buram_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for BURAM_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("BURAM_NS").finish()
    }
}
#[doc = "BURAM_NS Registers"]
pub mod buram_ns;
#[doc = "GPCRC_NS Registers"]
pub struct GPCRC_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for GPCRC_NS {}
impl GPCRC_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const gpcrc_ns::RegisterBlock = 0x5008_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const gpcrc_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for GPCRC_NS {
    type Target = gpcrc_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for GPCRC_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("GPCRC_NS").finish()
    }
}
#[doc = "GPCRC_NS Registers"]
pub mod gpcrc_ns;
#[doc = "DCDC_NS Registers"]
pub struct DCDC_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for DCDC_NS {}
impl DCDC_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const dcdc_ns::RegisterBlock = 0x5009_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const dcdc_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for DCDC_NS {
    type Target = dcdc_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for DCDC_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("DCDC_NS").finish()
    }
}
#[doc = "DCDC_NS Registers"]
pub mod dcdc_ns;
#[doc = "HOSTMAILBOX_NS Registers"]
pub struct HOSTMAILBOX_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for HOSTMAILBOX_NS {}
impl HOSTMAILBOX_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const hostmailbox_ns::RegisterBlock = 0x5009_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const hostmailbox_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for HOSTMAILBOX_NS {
    type Target = hostmailbox_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for HOSTMAILBOX_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("HOSTMAILBOX_NS").finish()
    }
}
#[doc = "HOSTMAILBOX_NS Registers"]
pub mod hostmailbox_ns;
#[doc = "EUSART1_NS Registers"]
pub struct EUSART1_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for EUSART1_NS {}
impl EUSART1_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const eusart1_ns::RegisterBlock = 0x500a_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const eusart1_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for EUSART1_NS {
    type Target = eusart1_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for EUSART1_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("EUSART1_NS").finish()
    }
}
#[doc = "EUSART1_NS Registers"]
pub mod eusart1_ns;
#[doc = "EUSART2_NS Registers"]
pub struct EUSART2_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for EUSART2_NS {}
impl EUSART2_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const eusart2_ns::RegisterBlock = 0x500a_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const eusart2_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for EUSART2_NS {
    type Target = eusart2_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for EUSART2_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("EUSART2_NS").finish()
    }
}
#[doc = "EUSART2_NS Registers"]
pub mod eusart2_ns;
#[doc = "SYSRTC0_NS Registers"]
pub struct SYSRTC0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SYSRTC0_NS {}
impl SYSRTC0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const sysrtc0_ns::RegisterBlock = 0x500a_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const sysrtc0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SYSRTC0_NS {
    type Target = sysrtc0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SYSRTC0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SYSRTC0_NS").finish()
    }
}
#[doc = "SYSRTC0_NS Registers"]
pub mod sysrtc0_ns;
#[doc = "LCD_NS Registers"]
pub struct LCD_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LCD_NS {}
impl LCD_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const lcd_ns::RegisterBlock = 0x500a_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const lcd_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LCD_NS {
    type Target = lcd_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LCD_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LCD_NS").finish()
    }
}
#[doc = "LCD_NS Registers"]
pub mod lcd_ns;
#[doc = "KEYSCAN_NS Registers"]
pub struct KEYSCAN_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for KEYSCAN_NS {}
impl KEYSCAN_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const keyscan_ns::RegisterBlock = 0x500b_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const keyscan_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for KEYSCAN_NS {
    type Target = keyscan_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for KEYSCAN_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("KEYSCAN_NS").finish()
    }
}
#[doc = "KEYSCAN_NS Registers"]
pub mod keyscan_ns;
#[doc = "DMEM_NS Registers"]
pub struct DMEM_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for DMEM_NS {}
impl DMEM_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const dmem_ns::RegisterBlock = 0x500b_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const dmem_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for DMEM_NS {
    type Target = dmem_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for DMEM_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("DMEM_NS").finish()
    }
}
#[doc = "DMEM_NS Registers"]
pub mod dmem_ns;
#[doc = "LCDRF_NS Registers"]
pub struct LCDRF_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LCDRF_NS {}
impl LCDRF_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const lcdrf_ns::RegisterBlock = 0x500c_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const lcdrf_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LCDRF_NS {
    type Target = lcdrf_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LCDRF_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LCDRF_NS").finish()
    }
}
#[doc = "LCDRF_NS Registers"]
pub mod lcdrf_ns;
#[doc = "SMU_NS Registers"]
pub struct SMU_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SMU_NS {}
impl SMU_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const smu_ns::RegisterBlock = 0x5400_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const smu_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SMU_NS {
    type Target = smu_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SMU_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SMU_NS").finish()
    }
}
#[doc = "SMU_NS Registers"]
pub mod smu_ns;
#[doc = "SMU_NS_CFGNS Registers"]
pub struct SMU_NS_CFGNS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SMU_NS_CFGNS {}
impl SMU_NS_CFGNS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const smu_ns_cfgns::RegisterBlock = 0x5400_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const smu_ns_cfgns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SMU_NS_CFGNS {
    type Target = smu_ns_cfgns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SMU_NS_CFGNS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SMU_NS_CFGNS").finish()
    }
}
#[doc = "SMU_NS_CFGNS Registers"]
pub mod smu_ns_cfgns;
#[doc = "LETIMER0_NS Registers"]
pub struct LETIMER0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LETIMER0_NS {}
impl LETIMER0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const letimer0_ns::RegisterBlock = 0x5900_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const letimer0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LETIMER0_NS {
    type Target = letimer0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LETIMER0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LETIMER0_NS").finish()
    }
}
#[doc = "LETIMER0_NS Registers"]
pub mod letimer0_ns;
#[doc = "IADC0_NS Registers"]
pub struct IADC0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for IADC0_NS {}
impl IADC0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const iadc0_ns::RegisterBlock = 0x5900_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const iadc0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for IADC0_NS {
    type Target = iadc0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for IADC0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("IADC0_NS").finish()
    }
}
#[doc = "IADC0_NS Registers"]
pub mod iadc0_ns;
#[doc = "ACMP0_NS Registers"]
pub struct ACMP0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for ACMP0_NS {}
impl ACMP0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const acmp0_ns::RegisterBlock = 0x5900_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const acmp0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for ACMP0_NS {
    type Target = acmp0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for ACMP0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("ACMP0_NS").finish()
    }
}
#[doc = "ACMP0_NS Registers"]
pub mod acmp0_ns;
#[doc = "ACMP1_NS Registers"]
pub struct ACMP1_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for ACMP1_NS {}
impl ACMP1_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const acmp1_ns::RegisterBlock = 0x5900_c000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const acmp1_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for ACMP1_NS {
    type Target = acmp1_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for ACMP1_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("ACMP1_NS").finish()
    }
}
#[doc = "ACMP1_NS Registers"]
pub mod acmp1_ns;
#[doc = "AMUXCP0_NS Registers"]
pub struct AMUXCP0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for AMUXCP0_NS {}
impl AMUXCP0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const amuxcp0_ns::RegisterBlock = 0x5902_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const amuxcp0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for AMUXCP0_NS {
    type Target = amuxcp0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for AMUXCP0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("AMUXCP0_NS").finish()
    }
}
#[doc = "AMUXCP0_NS Registers"]
pub mod amuxcp0_ns;
#[doc = "VDAC0_NS Registers"]
pub struct VDAC0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for VDAC0_NS {}
impl VDAC0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const vdac0_ns::RegisterBlock = 0x5902_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const vdac0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for VDAC0_NS {
    type Target = vdac0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for VDAC0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("VDAC0_NS").finish()
    }
}
#[doc = "VDAC0_NS Registers"]
pub mod vdac0_ns;
#[doc = "PCNT0_NS Registers"]
pub struct PCNT0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for PCNT0_NS {}
impl PCNT0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const pcnt0_ns::RegisterBlock = 0x5903_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const pcnt0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for PCNT0_NS {
    type Target = pcnt0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for PCNT0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("PCNT0_NS").finish()
    }
}
#[doc = "PCNT0_NS Registers"]
pub mod pcnt0_ns;
#[doc = "LESENSE_NS Registers"]
pub struct LESENSE_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for LESENSE_NS {}
impl LESENSE_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const lesense_ns::RegisterBlock = 0x5903_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const lesense_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for LESENSE_NS {
    type Target = lesense_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for LESENSE_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LESENSE_NS").finish()
    }
}
#[doc = "LESENSE_NS Registers"]
pub mod lesense_ns;
#[doc = "HFRCOEM23_NS Registers"]
pub struct HFRCOEM23_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for HFRCOEM23_NS {}
impl HFRCOEM23_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const hfrcoem23_ns::RegisterBlock = 0x5a00_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const hfrcoem23_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for HFRCOEM23_NS {
    type Target = hfrcoem23_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for HFRCOEM23_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("HFRCOEM23_NS").finish()
    }
}
#[doc = "HFRCOEM23_NS Registers"]
pub mod hfrcoem23_ns;
#[doc = "HFXO0_NS Registers"]
pub struct HFXO0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for HFXO0_NS {}
impl HFXO0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const hfxo0_ns::RegisterBlock = 0x5a00_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const hfxo0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for HFXO0_NS {
    type Target = hfxo0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for HFXO0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("HFXO0_NS").finish()
    }
}
#[doc = "HFXO0_NS Registers"]
pub mod hfxo0_ns;
#[doc = "I2C0_NS Registers"]
pub struct I2C0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for I2C0_NS {}
impl I2C0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const i2c0_ns::RegisterBlock = 0x5b00_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const i2c0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for I2C0_NS {
    type Target = i2c0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for I2C0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("I2C0_NS").finish()
    }
}
#[doc = "I2C0_NS Registers"]
pub mod i2c0_ns;
#[doc = "WDOG0_NS Registers"]
pub struct WDOG0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for WDOG0_NS {}
impl WDOG0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const wdog0_ns::RegisterBlock = 0x5b00_4000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const wdog0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for WDOG0_NS {
    type Target = wdog0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for WDOG0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("WDOG0_NS").finish()
    }
}
#[doc = "WDOG0_NS Registers"]
pub mod wdog0_ns;
#[doc = "WDOG1_NS Registers"]
pub struct WDOG1_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for WDOG1_NS {}
impl WDOG1_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const wdog1_ns::RegisterBlock = 0x5b00_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const wdog1_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for WDOG1_NS {
    type Target = wdog1_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for WDOG1_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("WDOG1_NS").finish()
    }
}
#[doc = "WDOG1_NS Registers"]
pub mod wdog1_ns;
#[doc = "EUSART0_NS Registers"]
pub struct EUSART0_NS {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for EUSART0_NS {}
impl EUSART0_NS {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const eusart0_ns::RegisterBlock = 0x5b01_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const eusart0_ns::RegisterBlock {
        Self::PTR
    }
}
impl Deref for EUSART0_NS {
    type Target = eusart0_ns::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for EUSART0_NS {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("EUSART0_NS").finish()
    }
}
#[doc = "EUSART0_NS Registers"]
pub mod eusart0_ns;
#[doc = "SEMAILBOX_NS_HOST Registers"]
pub struct SEMAILBOX_NS_HOST {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for SEMAILBOX_NS_HOST {}
impl SEMAILBOX_NS_HOST {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const semailbox_ns_host::RegisterBlock = 0x5c00_0000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const semailbox_ns_host::RegisterBlock {
        Self::PTR
    }
}
impl Deref for SEMAILBOX_NS_HOST {
    type Target = semailbox_ns_host::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for SEMAILBOX_NS_HOST {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("SEMAILBOX_NS_HOST").finish()
    }
}
#[doc = "SEMAILBOX_NS_HOST Registers"]
pub mod semailbox_ns_host;
#[doc = "DEVINFO Registers"]
pub struct DEVINFO {
    _marker: PhantomData<*const ()>,
}
unsafe impl Send for DEVINFO {}
impl DEVINFO {
    #[doc = r"Pointer to the register block"]
    pub const PTR: *const devinfo::RegisterBlock = 0x0fe0_8000 as *const _;
    #[doc = r"Return the pointer to the register block"]
    #[inline(always)]
    pub const fn ptr() -> *const devinfo::RegisterBlock {
        Self::PTR
    }
}
impl Deref for DEVINFO {
    type Target = devinfo::RegisterBlock;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        unsafe { &*Self::PTR }
    }
}
impl core::fmt::Debug for DEVINFO {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("DEVINFO").finish()
    }
}
#[doc = "DEVINFO Registers"]
pub mod devinfo;
#[no_mangle]
static mut DEVICE_PERIPHERALS: bool = false;
#[doc = r" All the peripherals."]
#[allow(non_snake_case)]
pub struct Peripherals {
    #[doc = "SCRATCHPAD_S"]
    pub SCRATCHPAD_S: SCRATCHPAD_S,
    #[doc = "EMU_S"]
    pub EMU_S: EMU_S,
    #[doc = "CMU_S"]
    pub CMU_S: CMU_S,
    #[doc = "HFRCO0_S"]
    pub HFRCO0_S: HFRCO0_S,
    #[doc = "FSRCO_S"]
    pub FSRCO_S: FSRCO_S,
    #[doc = "DPLL0_S"]
    pub DPLL0_S: DPLL0_S,
    #[doc = "LFXO_S"]
    pub LFXO_S: LFXO_S,
    #[doc = "LFRCO_S"]
    pub LFRCO_S: LFRCO_S,
    #[doc = "ULFRCO_S"]
    pub ULFRCO_S: ULFRCO_S,
    #[doc = "MSC_S"]
    pub MSC_S: MSC_S,
    #[doc = "ICACHE0_S"]
    pub ICACHE0_S: ICACHE0_S,
    #[doc = "PRS_S"]
    pub PRS_S: PRS_S,
    #[doc = "GPIO_S"]
    pub GPIO_S: GPIO_S,
    #[doc = "LDMA_S"]
    pub LDMA_S: LDMA_S,
    #[doc = "LDMAXBAR_S"]
    pub LDMAXBAR_S: LDMAXBAR_S,
    #[doc = "TIMER0_S"]
    pub TIMER0_S: TIMER0_S,
    #[doc = "TIMER1_S"]
    pub TIMER1_S: TIMER1_S,
    #[doc = "TIMER2_S"]
    pub TIMER2_S: TIMER2_S,
    #[doc = "TIMER3_S"]
    pub TIMER3_S: TIMER3_S,
    #[doc = "TIMER4_S"]
    pub TIMER4_S: TIMER4_S,
    #[doc = "USART0_S"]
    pub USART0_S: USART0_S,
    #[doc = "BURTC_S"]
    pub BURTC_S: BURTC_S,
    #[doc = "I2C1_S"]
    pub I2C1_S: I2C1_S,
    #[doc = "SYSCFG_S_CFGNS"]
    pub SYSCFG_S_CFGNS: SYSCFG_S_CFGNS,
    #[doc = "SYSCFG_S"]
    pub SYSCFG_S: SYSCFG_S,
    #[doc = "BURAM_S"]
    pub BURAM_S: BURAM_S,
    #[doc = "GPCRC_S"]
    pub GPCRC_S: GPCRC_S,
    #[doc = "DCDC_S"]
    pub DCDC_S: DCDC_S,
    #[doc = "HOSTMAILBOX_S"]
    pub HOSTMAILBOX_S: HOSTMAILBOX_S,
    #[doc = "EUSART1_S"]
    pub EUSART1_S: EUSART1_S,
    #[doc = "EUSART2_S"]
    pub EUSART2_S: EUSART2_S,
    #[doc = "SYSRTC0_S"]
    pub SYSRTC0_S: SYSRTC0_S,
    #[doc = "LCD_S"]
    pub LCD_S: LCD_S,
    #[doc = "KEYSCAN_S"]
    pub KEYSCAN_S: KEYSCAN_S,
    #[doc = "DMEM_S"]
    pub DMEM_S: DMEM_S,
    #[doc = "LCDRF_S"]
    pub LCDRF_S: LCDRF_S,
    #[doc = "SMU_S"]
    pub SMU_S: SMU_S,
    #[doc = "SMU_S_CFGNS"]
    pub SMU_S_CFGNS: SMU_S_CFGNS,
    #[doc = "LETIMER0_S"]
    pub LETIMER0_S: LETIMER0_S,
    #[doc = "IADC0_S"]
    pub IADC0_S: IADC0_S,
    #[doc = "ACMP0_S"]
    pub ACMP0_S: ACMP0_S,
    #[doc = "ACMP1_S"]
    pub ACMP1_S: ACMP1_S,
    #[doc = "AMUXCP0_S"]
    pub AMUXCP0_S: AMUXCP0_S,
    #[doc = "VDAC0_S"]
    pub VDAC0_S: VDAC0_S,
    #[doc = "PCNT0_S"]
    pub PCNT0_S: PCNT0_S,
    #[doc = "LESENSE_S"]
    pub LESENSE_S: LESENSE_S,
    #[doc = "HFRCOEM23_S"]
    pub HFRCOEM23_S: HFRCOEM23_S,
    #[doc = "HFXO0_S"]
    pub HFXO0_S: HFXO0_S,
    #[doc = "I2C0_S"]
    pub I2C0_S: I2C0_S,
    #[doc = "WDOG0_S"]
    pub WDOG0_S: WDOG0_S,
    #[doc = "WDOG1_S"]
    pub WDOG1_S: WDOG1_S,
    #[doc = "EUSART0_S"]
    pub EUSART0_S: EUSART0_S,
    #[doc = "SEMAILBOX_S_HOST"]
    pub SEMAILBOX_S_HOST: SEMAILBOX_S_HOST,
    #[doc = "SCRATCHPAD_NS"]
    pub SCRATCHPAD_NS: SCRATCHPAD_NS,
    #[doc = "EMU_NS"]
    pub EMU_NS: EMU_NS,
    #[doc = "CMU_NS"]
    pub CMU_NS: CMU_NS,
    #[doc = "HFRCO0_NS"]
    pub HFRCO0_NS: HFRCO0_NS,
    #[doc = "FSRCO_NS"]
    pub FSRCO_NS: FSRCO_NS,
    #[doc = "DPLL0_NS"]
    pub DPLL0_NS: DPLL0_NS,
    #[doc = "LFXO_NS"]
    pub LFXO_NS: LFXO_NS,
    #[doc = "LFRCO_NS"]
    pub LFRCO_NS: LFRCO_NS,
    #[doc = "ULFRCO_NS"]
    pub ULFRCO_NS: ULFRCO_NS,
    #[doc = "MSC_NS"]
    pub MSC_NS: MSC_NS,
    #[doc = "ICACHE0_NS"]
    pub ICACHE0_NS: ICACHE0_NS,
    #[doc = "PRS_NS"]
    pub PRS_NS: PRS_NS,
    #[doc = "GPIO_NS"]
    pub GPIO_NS: GPIO_NS,
    #[doc = "LDMA_NS"]
    pub LDMA_NS: LDMA_NS,
    #[doc = "LDMAXBAR_NS"]
    pub LDMAXBAR_NS: LDMAXBAR_NS,
    #[doc = "TIMER0_NS"]
    pub TIMER0_NS: TIMER0_NS,
    #[doc = "TIMER1_NS"]
    pub TIMER1_NS: TIMER1_NS,
    #[doc = "TIMER2_NS"]
    pub TIMER2_NS: TIMER2_NS,
    #[doc = "TIMER3_NS"]
    pub TIMER3_NS: TIMER3_NS,
    #[doc = "TIMER4_NS"]
    pub TIMER4_NS: TIMER4_NS,
    #[doc = "USART0_NS"]
    pub USART0_NS: USART0_NS,
    #[doc = "BURTC_NS"]
    pub BURTC_NS: BURTC_NS,
    #[doc = "I2C1_NS"]
    pub I2C1_NS: I2C1_NS,
    #[doc = "SYSCFG_NS_CFGNS"]
    pub SYSCFG_NS_CFGNS: SYSCFG_NS_CFGNS,
    #[doc = "SYSCFG_NS"]
    pub SYSCFG_NS: SYSCFG_NS,
    #[doc = "BURAM_NS"]
    pub BURAM_NS: BURAM_NS,
    #[doc = "GPCRC_NS"]
    pub GPCRC_NS: GPCRC_NS,
    #[doc = "DCDC_NS"]
    pub DCDC_NS: DCDC_NS,
    #[doc = "HOSTMAILBOX_NS"]
    pub HOSTMAILBOX_NS: HOSTMAILBOX_NS,
    #[doc = "EUSART1_NS"]
    pub EUSART1_NS: EUSART1_NS,
    #[doc = "EUSART2_NS"]
    pub EUSART2_NS: EUSART2_NS,
    #[doc = "SYSRTC0_NS"]
    pub SYSRTC0_NS: SYSRTC0_NS,
    #[doc = "LCD_NS"]
    pub LCD_NS: LCD_NS,
    #[doc = "KEYSCAN_NS"]
    pub KEYSCAN_NS: KEYSCAN_NS,
    #[doc = "DMEM_NS"]
    pub DMEM_NS: DMEM_NS,
    #[doc = "LCDRF_NS"]
    pub LCDRF_NS: LCDRF_NS,
    #[doc = "SMU_NS"]
    pub SMU_NS: SMU_NS,
    #[doc = "SMU_NS_CFGNS"]
    pub SMU_NS_CFGNS: SMU_NS_CFGNS,
    #[doc = "LETIMER0_NS"]
    pub LETIMER0_NS: LETIMER0_NS,
    #[doc = "IADC0_NS"]
    pub IADC0_NS: IADC0_NS,
    #[doc = "ACMP0_NS"]
    pub ACMP0_NS: ACMP0_NS,
    #[doc = "ACMP1_NS"]
    pub ACMP1_NS: ACMP1_NS,
    #[doc = "AMUXCP0_NS"]
    pub AMUXCP0_NS: AMUXCP0_NS,
    #[doc = "VDAC0_NS"]
    pub VDAC0_NS: VDAC0_NS,
    #[doc = "PCNT0_NS"]
    pub PCNT0_NS: PCNT0_NS,
    #[doc = "LESENSE_NS"]
    pub LESENSE_NS: LESENSE_NS,
    #[doc = "HFRCOEM23_NS"]
    pub HFRCOEM23_NS: HFRCOEM23_NS,
    #[doc = "HFXO0_NS"]
    pub HFXO0_NS: HFXO0_NS,
    #[doc = "I2C0_NS"]
    pub I2C0_NS: I2C0_NS,
    #[doc = "WDOG0_NS"]
    pub WDOG0_NS: WDOG0_NS,
    #[doc = "WDOG1_NS"]
    pub WDOG1_NS: WDOG1_NS,
    #[doc = "EUSART0_NS"]
    pub EUSART0_NS: EUSART0_NS,
    #[doc = "SEMAILBOX_NS_HOST"]
    pub SEMAILBOX_NS_HOST: SEMAILBOX_NS_HOST,
    #[doc = "DEVINFO"]
    pub DEVINFO: DEVINFO,
}
impl Peripherals {
    #[doc = r" Returns all the peripherals *once*."]
    #[cfg(feature = "critical-section")]
    #[inline]
    pub fn take() -> Option<Self> {
        critical_section::with(|_| {
            if unsafe { DEVICE_PERIPHERALS } {
                return None;
            }
            Some(unsafe { Peripherals::steal() })
        })
    }
    #[doc = r" Unchecked version of `Peripherals::take`."]
    #[doc = r""]
    #[doc = r" # Safety"]
    #[doc = r""]
    #[doc = r" Each of the returned peripherals must be used at most once."]
    #[inline]
    pub unsafe fn steal() -> Self {
        DEVICE_PERIPHERALS = true;
        Peripherals {
            SCRATCHPAD_S: SCRATCHPAD_S {
                _marker: PhantomData,
            },
            EMU_S: EMU_S {
                _marker: PhantomData,
            },
            CMU_S: CMU_S {
                _marker: PhantomData,
            },
            HFRCO0_S: HFRCO0_S {
                _marker: PhantomData,
            },
            FSRCO_S: FSRCO_S {
                _marker: PhantomData,
            },
            DPLL0_S: DPLL0_S {
                _marker: PhantomData,
            },
            LFXO_S: LFXO_S {
                _marker: PhantomData,
            },
            LFRCO_S: LFRCO_S {
                _marker: PhantomData,
            },
            ULFRCO_S: ULFRCO_S {
                _marker: PhantomData,
            },
            MSC_S: MSC_S {
                _marker: PhantomData,
            },
            ICACHE0_S: ICACHE0_S {
                _marker: PhantomData,
            },
            PRS_S: PRS_S {
                _marker: PhantomData,
            },
            GPIO_S: GPIO_S {
                _marker: PhantomData,
            },
            LDMA_S: LDMA_S {
                _marker: PhantomData,
            },
            LDMAXBAR_S: LDMAXBAR_S {
                _marker: PhantomData,
            },
            TIMER0_S: TIMER0_S {
                _marker: PhantomData,
            },
            TIMER1_S: TIMER1_S {
                _marker: PhantomData,
            },
            TIMER2_S: TIMER2_S {
                _marker: PhantomData,
            },
            TIMER3_S: TIMER3_S {
                _marker: PhantomData,
            },
            TIMER4_S: TIMER4_S {
                _marker: PhantomData,
            },
            USART0_S: USART0_S {
                _marker: PhantomData,
            },
            BURTC_S: BURTC_S {
                _marker: PhantomData,
            },
            I2C1_S: I2C1_S {
                _marker: PhantomData,
            },
            SYSCFG_S_CFGNS: SYSCFG_S_CFGNS {
                _marker: PhantomData,
            },
            SYSCFG_S: SYSCFG_S {
                _marker: PhantomData,
            },
            BURAM_S: BURAM_S {
                _marker: PhantomData,
            },
            GPCRC_S: GPCRC_S {
                _marker: PhantomData,
            },
            DCDC_S: DCDC_S {
                _marker: PhantomData,
            },
            HOSTMAILBOX_S: HOSTMAILBOX_S {
                _marker: PhantomData,
            },
            EUSART1_S: EUSART1_S {
                _marker: PhantomData,
            },
            EUSART2_S: EUSART2_S {
                _marker: PhantomData,
            },
            SYSRTC0_S: SYSRTC0_S {
                _marker: PhantomData,
            },
            LCD_S: LCD_S {
                _marker: PhantomData,
            },
            KEYSCAN_S: KEYSCAN_S {
                _marker: PhantomData,
            },
            DMEM_S: DMEM_S {
                _marker: PhantomData,
            },
            LCDRF_S: LCDRF_S {
                _marker: PhantomData,
            },
            SMU_S: SMU_S {
                _marker: PhantomData,
            },
            SMU_S_CFGNS: SMU_S_CFGNS {
                _marker: PhantomData,
            },
            LETIMER0_S: LETIMER0_S {
                _marker: PhantomData,
            },
            IADC0_S: IADC0_S {
                _marker: PhantomData,
            },
            ACMP0_S: ACMP0_S {
                _marker: PhantomData,
            },
            ACMP1_S: ACMP1_S {
                _marker: PhantomData,
            },
            AMUXCP0_S: AMUXCP0_S {
                _marker: PhantomData,
            },
            VDAC0_S: VDAC0_S {
                _marker: PhantomData,
            },
            PCNT0_S: PCNT0_S {
                _marker: PhantomData,
            },
            LESENSE_S: LESENSE_S {
                _marker: PhantomData,
            },
            HFRCOEM23_S: HFRCOEM23_S {
                _marker: PhantomData,
            },
            HFXO0_S: HFXO0_S {
                _marker: PhantomData,
            },
            I2C0_S: I2C0_S {
                _marker: PhantomData,
            },
            WDOG0_S: WDOG0_S {
                _marker: PhantomData,
            },
            WDOG1_S: WDOG1_S {
                _marker: PhantomData,
            },
            EUSART0_S: EUSART0_S {
                _marker: PhantomData,
            },
            SEMAILBOX_S_HOST: SEMAILBOX_S_HOST {
                _marker: PhantomData,
            },
            SCRATCHPAD_NS: SCRATCHPAD_NS {
                _marker: PhantomData,
            },
            EMU_NS: EMU_NS {
                _marker: PhantomData,
            },
            CMU_NS: CMU_NS {
                _marker: PhantomData,
            },
            HFRCO0_NS: HFRCO0_NS {
                _marker: PhantomData,
            },
            FSRCO_NS: FSRCO_NS {
                _marker: PhantomData,
            },
            DPLL0_NS: DPLL0_NS {
                _marker: PhantomData,
            },
            LFXO_NS: LFXO_NS {
                _marker: PhantomData,
            },
            LFRCO_NS: LFRCO_NS {
                _marker: PhantomData,
            },
            ULFRCO_NS: ULFRCO_NS {
                _marker: PhantomData,
            },
            MSC_NS: MSC_NS {
                _marker: PhantomData,
            },
            ICACHE0_NS: ICACHE0_NS {
                _marker: PhantomData,
            },
            PRS_NS: PRS_NS {
                _marker: PhantomData,
            },
            GPIO_NS: GPIO_NS {
                _marker: PhantomData,
            },
            LDMA_NS: LDMA_NS {
                _marker: PhantomData,
            },
            LDMAXBAR_NS: LDMAXBAR_NS {
                _marker: PhantomData,
            },
            TIMER0_NS: TIMER0_NS {
                _marker: PhantomData,
            },
            TIMER1_NS: TIMER1_NS {
                _marker: PhantomData,
            },
            TIMER2_NS: TIMER2_NS {
                _marker: PhantomData,
            },
            TIMER3_NS: TIMER3_NS {
                _marker: PhantomData,
            },
            TIMER4_NS: TIMER4_NS {
                _marker: PhantomData,
            },
            USART0_NS: USART0_NS {
                _marker: PhantomData,
            },
            BURTC_NS: BURTC_NS {
                _marker: PhantomData,
            },
            I2C1_NS: I2C1_NS {
                _marker: PhantomData,
            },
            SYSCFG_NS_CFGNS: SYSCFG_NS_CFGNS {
                _marker: PhantomData,
            },
            SYSCFG_NS: SYSCFG_NS {
                _marker: PhantomData,
            },
            BURAM_NS: BURAM_NS {
                _marker: PhantomData,
            },
            GPCRC_NS: GPCRC_NS {
                _marker: PhantomData,
            },
            DCDC_NS: DCDC_NS {
                _marker: PhantomData,
            },
            HOSTMAILBOX_NS: HOSTMAILBOX_NS {
                _marker: PhantomData,
            },
            EUSART1_NS: EUSART1_NS {
                _marker: PhantomData,
            },
            EUSART2_NS: EUSART2_NS {
                _marker: PhantomData,
            },
            SYSRTC0_NS: SYSRTC0_NS {
                _marker: PhantomData,
            },
            LCD_NS: LCD_NS {
                _marker: PhantomData,
            },
            KEYSCAN_NS: KEYSCAN_NS {
                _marker: PhantomData,
            },
            DMEM_NS: DMEM_NS {
                _marker: PhantomData,
            },
            LCDRF_NS: LCDRF_NS {
                _marker: PhantomData,
            },
            SMU_NS: SMU_NS {
                _marker: PhantomData,
            },
            SMU_NS_CFGNS: SMU_NS_CFGNS {
                _marker: PhantomData,
            },
            LETIMER0_NS: LETIMER0_NS {
                _marker: PhantomData,
            },
            IADC0_NS: IADC0_NS {
                _marker: PhantomData,
            },
            ACMP0_NS: ACMP0_NS {
                _marker: PhantomData,
            },
            ACMP1_NS: ACMP1_NS {
                _marker: PhantomData,
            },
            AMUXCP0_NS: AMUXCP0_NS {
                _marker: PhantomData,
            },
            VDAC0_NS: VDAC0_NS {
                _marker: PhantomData,
            },
            PCNT0_NS: PCNT0_NS {
                _marker: PhantomData,
            },
            LESENSE_NS: LESENSE_NS {
                _marker: PhantomData,
            },
            HFRCOEM23_NS: HFRCOEM23_NS {
                _marker: PhantomData,
            },
            HFXO0_NS: HFXO0_NS {
                _marker: PhantomData,
            },
            I2C0_NS: I2C0_NS {
                _marker: PhantomData,
            },
            WDOG0_NS: WDOG0_NS {
                _marker: PhantomData,
            },
            WDOG1_NS: WDOG1_NS {
                _marker: PhantomData,
            },
            EUSART0_NS: EUSART0_NS {
                _marker: PhantomData,
            },
            SEMAILBOX_NS_HOST: SEMAILBOX_NS_HOST {
                _marker: PhantomData,
            },
            DEVINFO: DEVINFO {
                _marker: PhantomData,
            },
        }
    }
}