-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio_NXP_M0+_header.h
3025 lines (2582 loc) · 176 KB
/
io_NXP_M0+_header.h
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
; 81x EQUates that are new or different from 11xx EQUates.
; _81x used where register has a different address
; Maintain UM naming convention to distinquish which processor they apply to.
// IO_NXP_M0_Plus_81x_Specific_Equates:
PINASSIGN0 EQU 0x4000C000 ; U0_TXD U0_RXD, U0_CTS_I, U0_RTS_O
PINASSIGN1 EQU 0x4000C004 ; U0_SCLK, U1_TXD, U1_RXD, U1_RTS_O
PINASSIGN2 EQU 0x4000C008 ; U1_CTS_I, U1_SCLK, U2_TXD, U2_RXD
PINASSIGN3 EQU 0x4000C00C ; U2_RTS_O, U2_CTS_I, U2_SCLK, U2_SCK
PINASSIGN4 EQU 0x4000C010 ; SPI0
PINASSIGN5 EQU 0x4000C014 ; SPI1, CTIN_0_I
PINASSIGN6 EQU 0x4000C018 ; CTIN_1_I, (2&3), CTOUT_0_O
PINASSIGN7 EQU 0x4000C01C ; CTOUT_1_O, (2&3), I2C_SDA_IO
PINASSIGN8 EQU 0x4000C020 ; I2C_SCL_IO, ACMP_O_O, CLKOUT, GPIO_INT_BMAT
PINENABLE0 EQU 0x4000C1C0 ; SWDCLK_EN, SWDIO_EN and RESET_EN
DIR0 EQU 0xA0002000 ; Direction for gpio pins
PIN0 EQU 0xA0002100 ; PIN RW
UARTCLKDIV_81x EQU 0x40048094 ; 81x address different
UART0_STAT EQU 0x40064008 ;
USART0_RXDAT EQU 0x40064014 ;
USART0_TXDAT EQU 0x4006401C ;
UARTFRGDIV EQU 0x400480F0 ; Common fractional generator divider register
USART0_BRG EQU 0x40064020 ; Baud Rate Generator register
USART0_CFG EQU 0x40064000 ; USART Configuration register
DEVICE_ID_81x EQU 0x400483F8 ; Part ID numbers for LPC81x parts
// IO_NXP_M0_11xx_Generic_Equates:
; 11xx EQUates:
;
; NVIC
;
; Name Zone Address Bytesize Displaybase Bitrange
; ---- ---- ------- -------- ----------- --------
SYST_CSR EQU 0xE000E010 ; E000E010h
SYSTICKCSR EQU SYST_CSR
;`SYSTICKCSR.ENABLE` 0xE000E010, 4, base=16, bitRange=0-0
;`SYSTICKCSR.TICKINT` 0xE000E010, 4, base=16, bitRange=1-1
;`SYSTICKCSR.CLKSOURCE` 0xE000E010, 4, base=16, bitRange=2-2
;`SYSTICKCSR.COUNTFLAG` 0xE000E010, 4, base=16, bitRange=16-16
SYST_RVR EQU 0xE000E014 ;
SYSTICKRVR EQU SYST_RVR
;`SYSTICKRVR.RELOAD` 0xE000E014, 4, base=16, bitRange=0-23
SYST_CVR EQU 0xE000E018 ;
SYSTICKCVR EQU SYST_CVR
;`SYSTICKCVR.CURRENT` 0xE000E018, 4, base=16, bitRange=0-23
SYST_CALIB EQU 0xE000E01C;
SYSTICKCALVR EQU SYST_CALIB
;`SYSTICKCALVR.TENMS` 0xE000E01C, 4, base=16, bitRange=0-23
;`SYSTICKCALVR.SKEW` 0xE000E01C, 4, base=16, bitRange=30-30
;`SYSTICKCALVR.NOREF` 0xE000E01C, 4, base=16, bitRange=31-31
SETENA0 EQU 0xE000E100
;`SETENA0.SETENA0` 0xE000E100, 4, base=16, bitRange=0-0
;`SETENA0.SETENA1` 0xE000E100, 4, base=16, bitRange=1-1
;`SETENA0.SETENA2` 0xE000E100, 4, base=16, bitRange=2-2
;`SETENA0.SETENA3` 0xE000E100, 4, base=16, bitRange=3-3
;`SETENA0.SETENA4` 0xE000E100, 4, base=16, bitRange=4-4
;`SETENA0.SETENA5` 0xE000E100, 4, base=16, bitRange=5-5
;`SETENA0.SETENA6` 0xE000E100, 4, base=16, bitRange=6-6
;`SETENA0.SETENA7` 0xE000E100, 4, base=16, bitRange=7-7
;`SETENA0.SETENA8` 0xE000E100, 4, base=16, bitRange=8-8
;`SETENA0.SETENA9` 0xE000E100, 4, base=16, bitRange=9-9
;`SETENA0.SETENA10` 0xE000E100, 4, base=16, bitRange=10-10
;`SETENA0.SETENA11` 0xE000E100, 4, base=16, bitRange=11-11
;`SETENA0.SETENA12` 0xE000E100, 4, base=16, bitRange=12-12
;`SETENA0.SETENA13` 0xE000E100, 4, base=16, bitRange=13-13
;`SETENA0.SETENA14` 0xE000E100, 4, base=16, bitRange=14-14
;`SETENA0.SETENA15` 0xE000E100, 4, base=16, bitRange=15-15
;`SETENA0.SETENA16` 0xE000E100, 4, base=16, bitRange=16-16
;`SETENA0.SETENA17` 0xE000E100, 4, base=16, bitRange=17-17
;`SETENA0.SETENA18` 0xE000E100, 4, base=16, bitRange=18-18
;`SETENA0.SETENA19` 0xE000E100, 4, base=16, bitRange=19-19
;`SETENA0.SETENA20` 0xE000E100, 4, base=16, bitRange=20-20
;`SETENA0.SETENA21` 0xE000E100, 4, base=16, bitRange=21-21
;`SETENA0.SETENA22` 0xE000E100, 4, base=16, bitRange=22-22
;`SETENA0.SETENA23` 0xE000E100, 4, base=16, bitRange=23-23
;`SETENA0.SETENA24` 0xE000E100, 4, base=16, bitRange=24-24
;`SETENA0.SETENA25` 0xE000E100, 4, base=16, bitRange=25-25
;`SETENA0.SETENA26` 0xE000E100, 4, base=16, bitRange=26-26
;`SETENA0.SETENA27` 0xE000E100, 4, base=16, bitRange=27-27
;`SETENA0.SETENA28` 0xE000E100, 4, base=16, bitRange=28-28
;`SETENA0.SETENA29` 0xE000E100, 4, base=16, bitRange=29-29
;`SETENA0.SETENA30` 0xE000E100, 4, base=16, bitRange=30-30
;`SETENA0.SETENA31` 0xE000E100, 4, base=16, bitRange=31-31
ISER EQU 0xE000E100
;`ISER.SETENA0` 0xE000E100, 4, base=16, bitRange=0-0
;`ISER.SETENA1` 0xE000E100, 4, base=16, bitRange=1-1
;`ISER.SETENA2` 0xE000E100, 4, base=16, bitRange=2-2
;`ISER.SETENA3` 0xE000E100, 4, base=16, bitRange=3-3
;`ISER.SETENA4` 0xE000E100, 4, base=16, bitRange=4-4
;`ISER.SETENA5` 0xE000E100, 4, base=16, bitRange=5-5
;`ISER.SETENA6` 0xE000E100, 4, base=16, bitRange=6-6
;`ISER.SETENA7` 0xE000E100, 4, base=16, bitRange=7-7
;`ISER.SETENA8` 0xE000E100, 4, base=16, bitRange=8-8
;`ISER.SETENA9` 0xE000E100, 4, base=16, bitRange=9-9
;`ISER.SETENA10` 0xE000E100, 4, base=16, bitRange=10-10
;`ISER.SETENA11` 0xE000E100, 4, base=16, bitRange=11-11
;`ISER.SETENA12` 0xE000E100, 4, base=16, bitRange=12-12
;`ISER.SETENA13` 0xE000E100, 4, base=16, bitRange=13-13
;`ISER.SETENA14` 0xE000E100, 4, base=16, bitRange=14-14
;`ISER.SETENA15` 0xE000E100, 4, base=16, bitRange=15-15
;`ISER.SETENA16` 0xE000E100, 4, base=16, bitRange=16-16
;`ISER.SETENA17` 0xE000E100, 4, base=16, bitRange=17-17
;`ISER.SETENA18` 0xE000E100, 4, base=16, bitRange=18-18
;`ISER.SETENA19` 0xE000E100, 4, base=16, bitRange=19-19
;`ISER.SETENA20` 0xE000E100, 4, base=16, bitRange=20-20
;`ISER.SETENA21` 0xE000E100, 4, base=16, bitRange=21-21
;`ISER.SETENA22` 0xE000E100, 4, base=16, bitRange=22-22
;`ISER.SETENA23` 0xE000E100, 4, base=16, bitRange=23-23
;`ISER.SETENA24` 0xE000E100, 4, base=16, bitRange=24-24
;`ISER.SETENA25` 0xE000E100, 4, base=16, bitRange=25-25
;`ISER.SETENA26` 0xE000E100, 4, base=16, bitRange=26-26
;`ISER.SETENA27` 0xE000E100, 4, base=16, bitRange=27-27
;`ISER.SETENA28` 0xE000E100, 4, base=16, bitRange=28-28
;`ISER.SETENA29` 0xE000E100, 4, base=16, bitRange=29-29
;`ISER.SETENA30` 0xE000E100, 4, base=16, bitRange=30-30
;`ISER.SETENA31` 0xE000E100, 4, base=16, bitRange=31-31
CLRENA0 EQU 0xE000E180
;`CLRENA0.CLRENA0` 0xE000E180, 4, base=16, bitRange=0-0
;`CLRENA0.CLRENA1` 0xE000E180, 4, base=16, bitRange=1-1
;`CLRENA0.CLRENA2` 0xE000E180, 4, base=16, bitRange=2-2
;`CLRENA0.CLRENA3` 0xE000E180, 4, base=16, bitRange=3-3
;`CLRENA0.CLRENA4` 0xE000E180, 4, base=16, bitRange=4-4
;`CLRENA0.CLRENA5` 0xE000E180, 4, base=16, bitRange=5-5
;`CLRENA0.CLRENA6` 0xE000E180, 4, base=16, bitRange=6-6
;`CLRENA0.CLRENA7` 0xE000E180, 4, base=16, bitRange=7-7
;`CLRENA0.CLRENA8` 0xE000E180, 4, base=16, bitRange=8-8
;`CLRENA0.CLRENA9` 0xE000E180, 4, base=16, bitRange=9-9
;`CLRENA0.CLRENA10` 0xE000E180, 4, base=16, bitRange=10-10
;`CLRENA0.CLRENA11` 0xE000E180, 4, base=16, bitRange=11-11
;`CLRENA0.CLRENA12` 0xE000E180, 4, base=16, bitRange=12-12
;`CLRENA0.CLRENA13` 0xE000E180, 4, base=16, bitRange=13-13
;`CLRENA0.CLRENA14` 0xE000E180, 4, base=16, bitRange=14-14
;`CLRENA0.CLRENA15` 0xE000E180, 4, base=16, bitRange=15-15
;`CLRENA0.CLRENA16` 0xE000E180, 4, base=16, bitRange=16-16
;`CLRENA0.CLRENA17` 0xE000E180, 4, base=16, bitRange=17-17
;`CLRENA0.CLRENA18` 0xE000E180, 4, base=16, bitRange=18-18
;`CLRENA0.CLRENA19` 0xE000E180, 4, base=16, bitRange=19-19
;`CLRENA0.CLRENA20` 0xE000E180, 4, base=16, bitRange=20-20
;`CLRENA0.CLRENA21` 0xE000E180, 4, base=16, bitRange=21-21
;`CLRENA0.CLRENA22` 0xE000E180, 4, base=16, bitRange=22-22
;`CLRENA0.CLRENA23` 0xE000E180, 4, base=16, bitRange=23-23
;`CLRENA0.CLRENA24` 0xE000E180, 4, base=16, bitRange=24-24
;`CLRENA0.CLRENA25` 0xE000E180, 4, base=16, bitRange=25-25
;`CLRENA0.CLRENA26` 0xE000E180, 4, base=16, bitRange=26-26
;`CLRENA0.CLRENA27` 0xE000E180, 4, base=16, bitRange=27-27
;`CLRENA0.CLRENA28` 0xE000E180, 4, base=16, bitRange=28-28
;`CLRENA0.CLRENA29` 0xE000E180, 4, base=16, bitRange=29-29
;`CLRENA0.CLRENA30` 0xE000E180, 4, base=16, bitRange=30-30
;`CLRENA0.CLRENA31` 0xE000E180, 4, base=16, bitRange=31-31
ICER EQU 0xE000E180
;`ICER.CLRENA0` 0xE000E180, 4, base=16, bitRange=0-0
;`ICER.CLRENA1` 0xE000E180, 4, base=16, bitRange=1-1
;`ICER.CLRENA2` 0xE000E180, 4, base=16, bitRange=2-2
;`ICER.CLRENA3` 0xE000E180, 4, base=16, bitRange=3-3
;`ICER.CLRENA4` 0xE000E180, 4, base=16, bitRange=4-4
;`ICER.CLRENA5` 0xE000E180, 4, base=16, bitRange=5-5
;`ICER.CLRENA6` 0xE000E180, 4, base=16, bitRange=6-6
;`ICER.CLRENA7` 0xE000E180, 4, base=16, bitRange=7-7
;`ICER.CLRENA8` 0xE000E180, 4, base=16, bitRange=8-8
;`ICER.CLRENA9` 0xE000E180, 4, base=16, bitRange=9-9
;`ICER.CLRENA10` 0xE000E180, 4, base=16, bitRange=10-10
;`ICER.CLRENA11` 0xE000E180, 4, base=16, bitRange=11-11
;`ICER.CLRENA12` 0xE000E180, 4, base=16, bitRange=12-12
;`ICER.CLRENA13` 0xE000E180, 4, base=16, bitRange=13-13
;`ICER.CLRENA14` 0xE000E180, 4, base=16, bitRange=14-14
;`ICER.CLRENA15` 0xE000E180, 4, base=16, bitRange=15-15
;`ICER.CLRENA16` 0xE000E180, 4, base=16, bitRange=16-16
;`ICER.CLRENA17` 0xE000E180, 4, base=16, bitRange=17-17
;`ICER.CLRENA18` 0xE000E180, 4, base=16, bitRange=18-18
;`ICER.CLRENA19` 0xE000E180, 4, base=16, bitRange=19-19
;`ICER.CLRENA20` 0xE000E180, 4, base=16, bitRange=20-20
;`ICER.CLRENA21` 0xE000E180, 4, base=16, bitRange=21-21
;`ICER.CLRENA22` 0xE000E180, 4, base=16, bitRange=22-22
;`ICER.CLRENA23` 0xE000E180, 4, base=16, bitRange=23-23
;`ICER.CLRENA24` 0xE000E180, 4, base=16, bitRange=24-24
;`ICER.CLRENA25` 0xE000E180, 4, base=16, bitRange=25-25
;`ICER.CLRENA26` 0xE000E180, 4, base=16, bitRange=26-26
;`ICER.CLRENA27` 0xE000E180, 4, base=16, bitRange=27-27
;`ICER.CLRENA28` 0xE000E180, 4, base=16, bitRange=28-28
;`ICER.CLRENA29` 0xE000E180, 4, base=16, bitRange=29-29
;`ICER.CLRENA30` 0xE000E180, 4, base=16, bitRange=30-30
;`ICER.CLRENA31` 0xE000E180, 4, base=16, bitRange=31-31
SETPEND0 EQU 0xE000E200
;`SETPEND0.SETPEND0` 0xE000E200, 4, base=16, bitRange=0-0
;`SETPEND0.SETPEND1` 0xE000E200, 4, base=16, bitRange=1-1
;`SETPEND0.SETPEND2` 0xE000E200, 4, base=16, bitRange=2-2
;`SETPEND0.SETPEND3` 0xE000E200, 4, base=16, bitRange=3-3
;`SETPEND0.SETPEND4` 0xE000E200, 4, base=16, bitRange=4-4
;`SETPEND0.SETPEND5` 0xE000E200, 4, base=16, bitRange=5-5
;`SETPEND0.SETPEND6` 0xE000E200, 4, base=16, bitRange=6-6
;`SETPEND0.SETPEND7` 0xE000E200, 4, base=16, bitRange=7-7
;`SETPEND0.SETPEND8` 0xE000E200, 4, base=16, bitRange=8-8
;`SETPEND0.SETPEND9` 0xE000E200, 4, base=16, bitRange=9-9
;`SETPEND0.SETPEND10` 0xE000E200, 4, base=16, bitRange=10-10
;`SETPEND0.SETPEND11` 0xE000E200, 4, base=16, bitRange=11-11
;`SETPEND0.SETPEND12` 0xE000E200, 4, base=16, bitRange=12-12
;`SETPEND0.SETPEND13` 0xE000E200, 4, base=16, bitRange=13-13
;`SETPEND0.SETPEND14` 0xE000E200, 4, base=16, bitRange=14-14
;`SETPEND0.SETPEND15` 0xE000E200, 4, base=16, bitRange=15-15
;`SETPEND0.SETPEND16` 0xE000E200, 4, base=16, bitRange=16-16
;`SETPEND0.SETPEND17` 0xE000E200, 4, base=16, bitRange=17-17
;`SETPEND0.SETPEND18` 0xE000E200, 4, base=16, bitRange=18-18
;`SETPEND0.SETPEND19` 0xE000E200, 4, base=16, bitRange=19-19
;`SETPEND0.SETPEND20` 0xE000E200, 4, base=16, bitRange=20-20
;`SETPEND0.SETPEND21` 0xE000E200, 4, base=16, bitRange=21-21
;`SETPEND0.SETPEND22` 0xE000E200, 4, base=16, bitRange=22-22
;`SETPEND0.SETPEND23` 0xE000E200, 4, base=16, bitRange=23-23
;`SETPEND0.SETPEND24` 0xE000E200, 4, base=16, bitRange=24-24
;`SETPEND0.SETPEND25` 0xE000E200, 4, base=16, bitRange=25-25
;`SETPEND0.SETPEND26` 0xE000E200, 4, base=16, bitRange=26-26
;`SETPEND0.SETPEND27` 0xE000E200, 4, base=16, bitRange=27-27
;`SETPEND0.SETPEND28` 0xE000E200, 4, base=16, bitRange=28-28
;`SETPEND0.SETPEND29` 0xE000E200, 4, base=16, bitRange=29-29
;`SETPEND0.SETPEND30` 0xE000E200, 4, base=16, bitRange=30-30
;`SETPEND0.SETPEND31` 0xE000E200, 4, base=16, bitRange=31-31
ISPR EQU 0xE000E200
;`ISPR.SETPEND0` 0xE000E200, 4, base=16, bitRange=0-0
;`ISPR.SETPEND1` 0xE000E200, 4, base=16, bitRange=1-1
;`ISPR.SETPEND2` 0xE000E200, 4, base=16, bitRange=2-2
;`ISPR.SETPEND3` 0xE000E200, 4, base=16, bitRange=3-3
;`ISPR.SETPEND4` 0xE000E200, 4, base=16, bitRange=4-4
;`ISPR.SETPEND5` 0xE000E200, 4, base=16, bitRange=5-5
;`ISPR.SETPEND6` 0xE000E200, 4, base=16, bitRange=6-6
;`ISPR.SETPEND7` 0xE000E200, 4, base=16, bitRange=7-7
;`ISPR.SETPEND8` 0xE000E200, 4, base=16, bitRange=8-8
;`ISPR.SETPEND9` 0xE000E200, 4, base=16, bitRange=9-9
;`ISPR.SETPEND10` 0xE000E200, 4, base=16, bitRange=10-10
;`ISPR.SETPEND11` 0xE000E200, 4, base=16, bitRange=11-11
;`ISPR.SETPEND12` 0xE000E200, 4, base=16, bitRange=12-12
;`ISPR.SETPEND13` 0xE000E200, 4, base=16, bitRange=13-13
;`ISPR.SETPEND14` 0xE000E200, 4, base=16, bitRange=14-14
;`ISPR.SETPEND15` 0xE000E200, 4, base=16, bitRange=15-15
;`ISPR.SETPEND16` 0xE000E200, 4, base=16, bitRange=16-16
;`ISPR.SETPEND17` 0xE000E200, 4, base=16, bitRange=17-17
;`ISPR.SETPEND18` 0xE000E200, 4, base=16, bitRange=18-18
;`ISPR.SETPEND19` 0xE000E200, 4, base=16, bitRange=19-19
;`ISPR.SETPEND20` 0xE000E200, 4, base=16, bitRange=20-20
;`ISPR.SETPEND21` 0xE000E200, 4, base=16, bitRange=21-21
;`ISPR.SETPEND22` 0xE000E200, 4, base=16, bitRange=22-22
;`ISPR.SETPEND23` 0xE000E200, 4, base=16, bitRange=23-23
;`ISPR.SETPEND24` 0xE000E200, 4, base=16, bitRange=24-24
;`ISPR.SETPEND25` 0xE000E200, 4, base=16, bitRange=25-25
;`ISPR.SETPEND26` 0xE000E200, 4, base=16, bitRange=26-26
;`ISPR.SETPEND27` 0xE000E200, 4, base=16, bitRange=27-27
;`ISPR.SETPEND28` 0xE000E200, 4, base=16, bitRange=28-28
;`ISPR.SETPEND29` 0xE000E200, 4, base=16, bitRange=29-29
;`ISPR.SETPEND30` 0xE000E200, 4, base=16, bitRange=30-30
;`ISPR.SETPEND31` 0xE000E200, 4, base=16, bitRange=31-31
CLRPEND0 EQU 0xE000E280
;`CLRPEND0.CLRPEND0` 0xE000E280, 4, base=16, bitRange=0-0
;`CLRPEND0.CLRPEND1` 0xE000E280, 4, base=16, bitRange=1-1
;`CLRPEND0.CLRPEND2` 0xE000E280, 4, base=16, bitRange=2-2
;`CLRPEND0.CLRPEND3` 0xE000E280, 4, base=16, bitRange=3-3
;`CLRPEND0.CLRPEND4` 0xE000E280, 4, base=16, bitRange=4-4
;`CLRPEND0.CLRPEND5` 0xE000E280, 4, base=16, bitRange=5-5
;`CLRPEND0.CLRPEND6` 0xE000E280, 4, base=16, bitRange=6-6
;`CLRPEND0.CLRPEND7` 0xE000E280, 4, base=16, bitRange=7-7
;`CLRPEND0.CLRPEND8` 0xE000E280, 4, base=16, bitRange=8-8
;`CLRPEND0.CLRPEND9` 0xE000E280, 4, base=16, bitRange=9-9
;`CLRPEND0.CLRPEND10` 0xE000E280, 4, base=16, bitRange=10-10
;`CLRPEND0.CLRPEND11` 0xE000E280, 4, base=16, bitRange=11-11
;`CLRPEND0.CLRPEND12` 0xE000E280, 4, base=16, bitRange=12-12
;`CLRPEND0.CLRPEND13` 0xE000E280, 4, base=16, bitRange=13-13
;`CLRPEND0.CLRPEND14` 0xE000E280, 4, base=16, bitRange=14-14
;`CLRPEND0.CLRPEND15` 0xE000E280, 4, base=16, bitRange=15-15
;`CLRPEND0.CLRPEND16` 0xE000E280, 4, base=16, bitRange=16-16
;`CLRPEND0.CLRPEND17` 0xE000E280, 4, base=16, bitRange=17-17
;`CLRPEND0.CLRPEND18` 0xE000E280, 4, base=16, bitRange=18-18
;`CLRPEND0.CLRPEND19` 0xE000E280, 4, base=16, bitRange=19-19
;`CLRPEND0.CLRPEND20` 0xE000E280, 4, base=16, bitRange=20-20
;`CLRPEND0.CLRPEND21` 0xE000E280, 4, base=16, bitRange=21-21
;`CLRPEND0.CLRPEND22` 0xE000E280, 4, base=16, bitRange=22-22
;`CLRPEND0.CLRPEND23` 0xE000E280, 4, base=16, bitRange=23-23
;`CLRPEND0.CLRPEND24` 0xE000E280, 4, base=16, bitRange=24-24
;`CLRPEND0.CLRPEND25` 0xE000E280, 4, base=16, bitRange=25-25
;`CLRPEND0.CLRPEND26` 0xE000E280, 4, base=16, bitRange=26-26
;`CLRPEND0.CLRPEND27` 0xE000E280, 4, base=16, bitRange=27-27
;`CLRPEND0.CLRPEND28` 0xE000E280, 4, base=16, bitRange=28-28
;`CLRPEND0.CLRPEND29` 0xE000E280, 4, base=16, bitRange=29-29
;`CLRPEND0.CLRPEND30` 0xE000E280, 4, base=16, bitRange=30-30
;`CLRPEND0.CLRPEND31` 0xE000E280, 4, base=16, bitRange=31-31
ICPR EQU 0xE000E280
;`ICPR.CLRPEND0` 0xE000E280, 4, base=16, bitRange=0-0
;`ICPR.CLRPEND1` 0xE000E280, 4, base=16, bitRange=1-1
;`ICPR.CLRPEND2` 0xE000E280, 4, base=16, bitRange=2-2
;`ICPR.CLRPEND3` 0xE000E280, 4, base=16, bitRange=3-3
;`ICPR.CLRPEND4` 0xE000E280, 4, base=16, bitRange=4-4
;`ICPR.CLRPEND5` 0xE000E280, 4, base=16, bitRange=5-5
;`ICPR.CLRPEND6` 0xE000E280, 4, base=16, bitRange=6-6
;`ICPR.CLRPEND7` 0xE000E280, 4, base=16, bitRange=7-7
;`ICPR.CLRPEND8` 0xE000E280, 4, base=16, bitRange=8-8
;`ICPR.CLRPEND9` 0xE000E280, 4, base=16, bitRange=9-9
;`ICPR.CLRPEND10` 0xE000E280, 4, base=16, bitRange=10-10
;`ICPR.CLRPEND11` 0xE000E280, 4, base=16, bitRange=11-11
;`ICPR.CLRPEND12` 0xE000E280, 4, base=16, bitRange=12-12
;`ICPR.CLRPEND13` 0xE000E280, 4, base=16, bitRange=13-13
;`ICPR.CLRPEND14` 0xE000E280, 4, base=16, bitRange=14-14
;`ICPR.CLRPEND15` 0xE000E280, 4, base=16, bitRange=15-15
;`ICPR.CLRPEND16` 0xE000E280, 4, base=16, bitRange=16-16
;`ICPR.CLRPEND17` 0xE000E280, 4, base=16, bitRange=17-17
;`ICPR.CLRPEND18` 0xE000E280, 4, base=16, bitRange=18-18
;`ICPR.CLRPEND19` 0xE000E280, 4, base=16, bitRange=19-19
;`ICPR.CLRPEND20` 0xE000E280, 4, base=16, bitRange=20-20
;`ICPR.CLRPEND21` 0xE000E280, 4, base=16, bitRange=21-21
;`ICPR.CLRPEND22` 0xE000E280, 4, base=16, bitRange=22-22
;`ICPR.CLRPEND23` 0xE000E280, 4, base=16, bitRange=23-23
;`ICPR.CLRPEND24` 0xE000E280, 4, base=16, bitRange=24-24
;`ICPR.CLRPEND25` 0xE000E280, 4, base=16, bitRange=25-25
;`ICPR.CLRPEND26` 0xE000E280, 4, base=16, bitRange=26-26
;`ICPR.CLRPEND27` 0xE000E280, 4, base=16, bitRange=27-27
;`ICPR.CLRPEND28` 0xE000E280, 4, base=16, bitRange=28-28
;`ICPR.CLRPEND29` 0xE000E280, 4, base=16, bitRange=29-29
;`ICPR.CLRPEND30` 0xE000E280, 4, base=16, bitRange=30-30
;`ICPR.CLRPEND31` 0xE000E280, 4, base=16, bitRange=31-31
IP0 EQU 0xE000E400
;`IP0.PRI_0` 0xE000E400, 4, base=16, bitRange=0-7
;`IP0.PRI_1` 0xE000E400, 4, base=16, bitRange=8-15
;`IP0.PRI_2` 0xE000E400, 4, base=16, bitRange=16-23
;`IP0.PRI_3` 0xE000E400, 4, base=16, bitRange=24-31
IP1 EQU 0xE000E404
;`IP1.PRI_4` 0xE000E404, 4, base=16, bitRange=0-7
;`IP1.PRI_5` 0xE000E404, 4, base=16, bitRange=8-15
;`IP1.PRI_6` 0xE000E404, 4, base=16, bitRange=16-23
;`IP1.PRI_7` 0xE000E404, 4, base=16, bitRange=24-31
IP2 EQU 0xE000E408
;`IP2.PRI_8` 0xE000E408, 4, base=16, bitRange=0-7
;`IP2.PRI_9` 0xE000E408, 4, base=16, bitRange=8-15
;`IP2.PRI_10` 0xE000E408, 4, base=16, bitRange=16-23
;`IP2.PRI_11` 0xE000E408, 4, base=16, bitRange=24-31
IP3 EQU 0xE000E40C
;`IP3.PRI_12` 0xE000E40C, 4, base=16, bitRange=0-7
;`IP3.PRI_13` 0xE000E40C, 4, base=16, bitRange=8-15
;`IP3.PRI_14` 0xE000E40C, 4, base=16, bitRange=16-23
;`IP3.PRI_15` 0xE000E40C, 4, base=16, bitRange=24-31
IP4 EQU 0xE000E410
;`IP4.PRI_16` 0xE000E410, 4, base=16, bitRange=0-7
;`IP4.PRI_17` 0xE000E410, 4, base=16, bitRange=8-15
;`IP4.PRI_18` 0xE000E410, 4, base=16, bitRange=16-23
;`IP4.PRI_19` 0xE000E410, 4, base=16, bitRange=24-31
IP5 EQU 0xE000E414
;`IP5.PRI_20` 0xE000E414, 4, base=16, bitRange=0-7
;`IP5.PRI_21` 0xE000E414, 4, base=16, bitRange=8-15
;`IP5.PRI_22` 0xE000E414, 4, base=16, bitRange=16-23
;`IP5.PRI_23` 0xE000E414, 4, base=16, bitRange=24-31
IP6 EQU 0xE000E418
;`IP6.PRI_24` 0xE000E418, 4, base=16, bitRange=0-7
;`IP6.PRI_25` 0xE000E418, 4, base=16, bitRange=8-15
;`IP6.PRI_26` 0xE000E418, 4, base=16, bitRange=16-23
;`IP6.PRI_27` 0xE000E418, 4, base=16, bitRange=24-31
IP7 EQU 0xE000E41C
;`IP7.PRI_28` 0xE000E41C, 4, base=16, bitRange=0-7
;`IP7.PRI_29` 0xE000E41C, 4, base=16, bitRange=8-15
;`IP7.PRI_30` 0xE000E41C, 4, base=16, bitRange=16-23
;`IP7.PRI_31` 0xE000E41C, 4, base=16, bitRange=24-31
CPUIDBR EQU 0xE000ED00
;`CPUIDBR.REVISION` 0xE000ED00, 4, base=16, bitRange=0-3
;`CPUIDBR.PARTNO` 0xE000ED00, 4, base=16, bitRange=4-15
;`CPUIDBR.CONSTANT` 0xE000ED00, 4, base=16, bitRange=16-19
;`CPUIDBR.VARIANT` 0xE000ED00, 4, base=16, bitRange=20-23
;`CPUIDBR.IMPLEMENTER` 0xE000ED00, 4, base=16, bitRange=24-31
CPUID EQU 0xE000ED00
;`CPUID.REVISION` 0xE000ED00, 4, base=16, bitRange=0-3
;`CPUID.PARTNO` 0xE000ED00, 4, base=16, bitRange=4-15
;`CPUID.CONSTANT` 0xE000ED00, 4, base=16, bitRange=16-19
;`CPUID.VARIANT` 0xE000ED00, 4, base=16, bitRange=20-23
;`CPUID.IMPLEMENTER` 0xE000ED00, 4, base=16, bitRange=24-31
ICSR EQU 0xE000ED04
;`ICSR.VECTACTIVE` 0xE000ED04, 4, base=16, bitRange=0-5
;`ICSR.VECTPENDING` 0xE000ED04, 4, base=16, bitRange=12-17
;`ICSR.ISRPENDING` 0xE000ED04, 4, base=16, bitRange=22-22
;`ICSR.PENDSTCLR` 0xE000ED04, 4, base=16, bitRange=25-25
;`ICSR.PENDSTSET` 0xE000ED04, 4, base=16, bitRange=26-26
;`ICSR.PENDSVCLR` 0xE000ED04, 4, base=16, bitRange=27-27
;`ICSR.PENDSVSET` 0xE000ED04, 4, base=16, bitRange=28-28
;`ICSR.NMIPENDSET` 0xE000ED04, 4, base=16, bitRange=31-31
AIRCR EQU 0xE000ED0C
;`AIRCR.VECTCLRACTIVE` 0xE000ED0C, 4, base=16, bitRange=1-1
;`AIRCR.SYSRESETREQ` 0xE000ED0C, 4, base=16, bitRange=2-2
;`AIRCR.ENDIANESS` 0xE000ED0C, 4, base=16, bitRange=15-15
;`AIRCR.VECTKEY` 0xE000ED0C, 4, base=16, bitRange=16-31
SCR EQU 0xE000ED10
;`SCR.SLEEPONEXIT` 0xE000ED10, 4, base=16, bitRange=1-1
;`SCR.SLEEPDEEP` 0xE000ED10, 4, base=16, bitRange=2-2
;`SCR.SEVONPEND` 0xE000ED10, 4, base=16, bitRange=4-4
CCR EQU 0xE000ED14
;`CCR.UNALIGN_TRP` 0xE000ED14, 4, base=16, bitRange=3-3
;`CCR.STKALIGN` 0xE000ED14, 4, base=16, bitRange=8-8
SHPR2 EQU 0xE000ED1C
;`SHPR2.PRI_11` 0xE000ED1C, 4, base=16, bitRange=24-31
SHPR3 EQU 0xE000ED20
;`SHPR3.PRI_14` 0xE000ED20, 4, base=16, bitRange=16-23
;`SHPR3.PRI_15` 0xE000ED20, 4, base=16, bitRange=24-31
;
; System control block
;
; Name Zone Address Bytesize Displaybase Bitrange
; ---- ---- ------- -------- ----------- --------
SYSMEMREMAP EQU 0x40048000
;`SYSMEMREMAP.MAP` 0x40048000, 4, base=16, bitRange=0-1
PRESETCTRL EQU 0x40048004
;`PRESETCTRL.SSP0_RST_N` 0x40048004, 4, base=16, bitRange=0-0
;`PRESETCTRL.I2C_RST_N` 0x40048004, 4, base=16, bitRange=1-1
;`PRESETCTRL.SSP1_RST_N` 0x40048004, 4, base=16, bitRange=2-2
SYSPLLCTRL EQU 0x40048008
;`SYSPLLCTRL.MSEL` 0x40048008, 4, base=16, bitRange=0-4
;`SYSPLLCTRL.PSEL` 0x40048008, 4, base=16, bitRange=5-6
SYSPLLSTAT EQU 0x4004800C
;`SYSPLLSTAT.LOCK` 0x4004800C, 4, base=16, bitRange=0-0
SYSOSCCTRL EQU 0x40048020
;`SYSOSCCTRL.BYPASS` 0x40048020, 4, base=16, bitRange=0-0
;`SYSOSCCTRL.FREQRANGE` 0x40048020, 4, base=16, bitRange=1-1
WDTOSCCTRL EQU 0x40048024
;`WDTOSCCTRL.DIVSEL` 0x40048024, 4, base=16, bitRange=0-4
;`WDTOSCCTRL.FREQSEL` 0x40048024, 4, base=16, bitRange=5-8
IRCCTRL EQU 0x40048028
;`IRCCTRL.TRIM` 0x40048028, 4, base=16, bitRange=0-7
SYSRSTSTAT EQU 0x40048030 ; M0+
SYSRESSTAT EQU SYSRSTSTAT ; VIC
;`SYSRESSTAT.POR` 0x40048030, 4, base=16, bitRange=0-0
;`SYSRESSTAT.EXTRST` 0x40048030, 4, base=16, bitRange=1-1
;`SYSRESSTAT.WDT` 0x40048030, 4, base=16, bitRange=2-2
;`SYSRESSTAT.BOD` 0x40048030, 4, base=16, bitRange=3-3
;`SYSRESSTAT.SYSRST` 0x40048030, 4, base=16, bitRange=4-4
SYSPLLCLKSEL EQU 0x40048040
;`SYSPLLCLKSEL.SEL` 0x40048040, 4, base=16, bitRange=0-1
SYSPLLCLKUEN EQU 0x40048044
;`SYSPLLCLKUEN.ENA` 0x40048044, 4, base=16, bitRange=0-0
MAINCLKSEL EQU 0x40048070
;`MAINCLKSEL.SEL` 0x40048070, 4, base=16, bitRange=0-1
MAINCLKUEN EQU 0x40048074
;`MAINCLKUEN.ENA` 0x40048074, 4, base=16, bitRange=0-0
SYSAHBCLKDIV EQU 0x40048078
;`SYSAHBCLKDIV.DIV` 0x40048078, 4, base=16, bitRange=0-7
SYSAHBCLKCTRL EQU 0x40048080
;`SYSAHBCLKCTRL.SYS` 0x40048080, 4, base=16, bitRange=0-0
;`SYSAHBCLKCTRL.ROM` 0x40048080, 4, base=16, bitRange=1-1
;`SYSAHBCLKCTRL.RAM` 0x40048080, 4, base=16, bitRange=2-2
;`SYSAHBCLKCTRL.FLASHREG` 0x40048080, 4, base=16, bitRange=3-3
;`SYSAHBCLKCTRL.FLASHARRAY` 0x40048080, 4, base=16, bitRange=4-4
;`SYSAHBCLKCTRL.I2C` 0x40048080, 4, base=16, bitRange=5-5
;`SYSAHBCLKCTRL.GPIO` 0x40048080, 4, base=16, bitRange=6-6
;`SYSAHBCLKCTRL.CT16B0` 0x40048080, 4, base=16, bitRange=7-7
;`SYSAHBCLKCTRL.CT16B1` 0x40048080, 4, base=16, bitRange=8-8
;`SYSAHBCLKCTRL.CT32B0` 0x40048080, 4, base=16, bitRange=9-9
;`SYSAHBCLKCTRL.CT32B1` 0x40048080, 4, base=16, bitRange=10-10
;`SYSAHBCLKCTRL.SSP0` 0x40048080, 4, base=16, bitRange=11-11
;`SYSAHBCLKCTRL.UART` 0x40048080, 4, base=16, bitRange=12-12
;`SYSAHBCLKCTRL.ADC` 0x40048080, 4, base=16, bitRange=13-13
;`SYSAHBCLKCTRL.WDT` 0x40048080, 4, base=16, bitRange=15-15
;`SYSAHBCLKCTRL.IOCON` 0x40048080, 4, base=16, bitRange=16-16
;`SYSAHBCLKCTRL.SSP1` 0x40048080, 4, base=16, bitRange=18-18
SSP0CLKDIV EQU 0x40048094
;`SSP0CLKDIV.DIV` 0x40048094, 4, base=16, bitRange=0-7
UARTCLKDIV EQU 0x40048098 ; 11xx
;`UARTCLKDIV.DIV` 0x40048098, 4, base=16, bitRange=0-7
SSP1CLKDIV EQU 0x4004809C
;`SSP1CLKDIV.DIV` 0x4004809C, 4, base=16, bitRange=0-7
WDTCLKSEL EQU 0x400480D0
;`WDTCLKSEL.SEL` 0x400480D0, 4, base=16, bitRange=0-1
WDTCLKUEN EQU 0x400480D4
;`WDTCLKUEN.ENA` 0x400480D4, 4, base=16, bitRange=0-0
WDTCLKDIV EQU 0x400480D8
;`WDTCLKDIV.DIV` 0x400480D8, 4, base=16, bitRange=0-7
CLKOUTCLKSEL EQU 0x400480E0
;`CLKOUTCLKSEL.SEL` 0x400480E0, 4, base=16, bitRange=0-1
CLKOUTUEN EQU 0x400480E4
;`CLKOUTUEN.ENA` 0x400480E4, 4, base=16, bitRange=0-0
CLKOUTDIV EQU 0x400480E8 ; M0+
CLKOUTCLKDIV EQU CLKOUTDIV ; VIC
; CLKOUTCLKDIV EQU 0x400480E8
;`CLKOUTDIV.DIV` 0x400480E8, 4, base=16, bitRange=0-7
PIOPORCAP0 EQU 0x40048100
;`PIOPORCAP0.CAPPIO0_0` 0x40048100, 4, base=16, bitRange=0-0
;`PIOPORCAP0.CAPPIO0_1` 0x40048100, 4, base=16, bitRange=1-1
;`PIOPORCAP0.CAPPIO0_2` 0x40048100, 4, base=16, bitRange=2-2
;`PIOPORCAP0.CAPPIO0_3` 0x40048100, 4, base=16, bitRange=3-3
;`PIOPORCAP0.CAPPIO0_4` 0x40048100, 4, base=16, bitRange=4-4
;`PIOPORCAP0.CAPPIO0_5` 0x40048100, 4, base=16, bitRange=5-5
;`PIOPORCAP0.CAPPIO0_6` 0x40048100, 4, base=16, bitRange=6-6
;`PIOPORCAP0.CAPPIO0_7` 0x40048100, 4, base=16, bitRange=7-7
;`PIOPORCAP0.CAPPIO0_8` 0x40048100, 4, base=16, bitRange=8-8
;`PIOPORCAP0.CAPPIO0_9` 0x40048100, 4, base=16, bitRange=9-9
;`PIOPORCAP0.CAPPIO0_10` 0x40048100, 4, base=16, bitRange=10-10
;`PIOPORCAP0.CAPPIO0_11` 0x40048100, 4, base=16, bitRange=11-11
;`PIOPORCAP0.CAPPIO1_0` 0x40048100, 4, base=16, bitRange=12-12
;`PIOPORCAP0.CAPPIO1_1` 0x40048100, 4, base=16, bitRange=13-13
;`PIOPORCAP0.CAPPIO1_2` 0x40048100, 4, base=16, bitRange=14-14
;`PIOPORCAP0.CAPPIO1_3` 0x40048100, 4, base=16, bitRange=15-15
;`PIOPORCAP0.CAPPIO1_4` 0x40048100, 4, base=16, bitRange=16-16
;`PIOPORCAP0.CAPPIO1_5` 0x40048100, 4, base=16, bitRange=17-17
;`PIOPORCAP0.CAPPIO1_6` 0x40048100, 4, base=16, bitRange=18-18
;`PIOPORCAP0.CAPPIO1_7` 0x40048100, 4, base=16, bitRange=19-19
;`PIOPORCAP0.CAPPIO1_8` 0x40048100, 4, base=16, bitRange=20-20
;`PIOPORCAP0.CAPPIO1_9` 0x40048100, 4, base=16, bitRange=21-21
;`PIOPORCAP0.CAPPIO1_10` 0x40048100, 4, base=16, bitRange=22-22
;`PIOPORCAP0.CAPPIO1_11` 0x40048100, 4, base=16, bitRange=23-23
;`PIOPORCAP0.CAPPIO2_0` 0x40048100, 4, base=16, bitRange=24-24
;`PIOPORCAP0.CAPPIO2_1` 0x40048100, 4, base=16, bitRange=25-25
;`PIOPORCAP0.CAPPIO2_2` 0x40048100, 4, base=16, bitRange=26-26
;`PIOPORCAP0.CAPPIO2_3` 0x40048100, 4, base=16, bitRange=27-27
;`PIOPORCAP0.CAPPIO2_4` 0x40048100, 4, base=16, bitRange=28-28
;`PIOPORCAP0.CAPPIO2_5` 0x40048100, 4, base=16, bitRange=29-29
;`PIOPORCAP0.CAPPIO2_6` 0x40048100, 4, base=16, bitRange=30-30
;`PIOPORCAP0.CAPPIO2_7` 0x40048100, 4, base=16, bitRange=31-31
PIOPORCAP1 EQU 0x40048104
;`PIOPORCAP1.CAPPIO2_8` 0x40048104, 4, base=16, bitRange=0-0
;`PIOPORCAP1.CAPPIO2_9` 0x40048104, 4, base=16, bitRange=1-1
;`PIOPORCAP1.CAPPIO2_10` 0x40048104, 4, base=16, bitRange=2-2
;`PIOPORCAP1.CAPPIO2_11` 0x40048104, 4, base=16, bitRange=3-3
;`PIOPORCAP1.CAPPIO3_0` 0x40048104, 4, base=16, bitRange=4-4
;`PIOPORCAP1.CAPPIO3_1` 0x40048104, 4, base=16, bitRange=5-5
;`PIOPORCAP1.CAPPIO3_2` 0x40048104, 4, base=16, bitRange=6-6
;`PIOPORCAP1.CAPPIO3_3` 0x40048104, 4, base=16, bitRange=7-7
;`PIOPORCAP1.CAPPIO3_4` 0x40048104, 4, base=16, bitRange=8-8
;`PIOPORCAP1.CAPPIO3_5` 0x40048104, 4, base=16, bitRange=9-9
BODCTRL EQU 0x40048150
;`BODCTRL.BODRSTLEV` 0x40048150, 4, base=16, bitRange=0-1
;`BODCTRL.BODINTVAL` 0x40048150, 4, base=16, bitRange=2-3
;`BODCTRL.BODRSTENA` 0x40048150, 4, base=16, bitRange=4-4
SYSTCKCAL EQU 0x40048154
;`SYSTCKCAL.CAL` 0x40048154, 4, base=16, bitRange=0-25
NMISRC EQU 0x40048174
;`NMISRC.IRQNO` 0x40048174, 4, base=16, bitRange=0-4
;`NMISRC.NMIEN` 0x40048174, 4, base=16, bitRange=31-31
STARTAPRP0 EQU 0x40048200
;`STARTAPRP0.APRPIO0_0` 0x40048200, 4, base=16, bitRange=0-0
;`STARTAPRP0.APRPIO0_1` 0x40048200, 4, base=16, bitRange=1-1
;`STARTAPRP0.APRPIO0_2` 0x40048200, 4, base=16, bitRange=2-2
;`STARTAPRP0.APRPIO0_3` 0x40048200, 4, base=16, bitRange=3-3
;`STARTAPRP0.APRPIO0_4` 0x40048200, 4, base=16, bitRange=4-4
;`STARTAPRP0.APRPIO0_5` 0x40048200, 4, base=16, bitRange=5-5
;`STARTAPRP0.APRPIO0_6` 0x40048200, 4, base=16, bitRange=6-6
;`STARTAPRP0.APRPIO0_7` 0x40048200, 4, base=16, bitRange=7-7
;`STARTAPRP0.APRPIO0_8` 0x40048200, 4, base=16, bitRange=8-8
;`STARTAPRP0.APRPIO0_9` 0x40048200, 4, base=16, bitRange=9-9
;`STARTAPRP0.APRPIO0_10` 0x40048200, 4, base=16, bitRange=10-10
;`STARTAPRP0.APRPIO0_11` 0x40048200, 4, base=16, bitRange=11-11
;`STARTAPRP0.APRPIO1_0` 0x40048200, 4, base=16, bitRange=12-12
STARTERP0 EQU 0x40048204
;`STARTERP0.ERPIO0_0` 0x40048204, 4, base=16, bitRange=0-0
;`STARTERP0.ERPIO0_1` 0x40048204, 4, base=16, bitRange=1-1
;`STARTERP0.ERPIO0_2` 0x40048204, 4, base=16, bitRange=2-2
;`STARTERP0.ERPIO0_3` 0x40048204, 4, base=16, bitRange=3-3
;`STARTERP0.ERPIO0_4` 0x40048204, 4, base=16, bitRange=4-4
;`STARTERP0.ERPIO0_5` 0x40048204, 4, base=16, bitRange=5-5
;`STARTERP0.ERPIO0_6` 0x40048204, 4, base=16, bitRange=6-6
;`STARTERP0.ERPIO0_7` 0x40048204, 4, base=16, bitRange=7-7
;`STARTERP0.ERPIO0_8` 0x40048204, 4, base=16, bitRange=8-8
;`STARTERP0.ERPIO0_9` 0x40048204, 4, base=16, bitRange=9-9
;`STARTERP0.ERPIO0_10` 0x40048204, 4, base=16, bitRange=10-10
;`STARTERP0.ERPIO0_11` 0x40048204, 4, base=16, bitRange=11-11
;`STARTERP0.ERPIO1_0` 0x40048204, 4, base=16, bitRange=12-12
STARTRSRP0CLR EQU 0x40048208
STARTSRP0 EQU 0x4004820C
;`STARTSRP0.SRPIO0_0` 0x4004820C, 4, base=16, bitRange=0-0
;`STARTSRP0.SRPIO0_1` 0x4004820C, 4, base=16, bitRange=1-1
;`STARTSRP0.SRPIO0_2` 0x4004820C, 4, base=16, bitRange=2-2
;`STARTSRP0.SRPIO0_3` 0x4004820C, 4, base=16, bitRange=3-3
;`STARTSRP0.SRPIO0_4` 0x4004820C, 4, base=16, bitRange=4-4
;`STARTSRP0.SRPIO0_5` 0x4004820C, 4, base=16, bitRange=5-5
;`STARTSRP0.SRPIO0_6` 0x4004820C, 4, base=16, bitRange=6-6
;`STARTSRP0.SRPIO0_7` 0x4004820C, 4, base=16, bitRange=7-7
;`STARTSRP0.SRPIO0_8` 0x4004820C, 4, base=16, bitRange=8-8
;`STARTSRP0.SRPIO0_9` 0x4004820C, 4, base=16, bitRange=9-9
;`STARTSRP0.SRPIO0_10` 0x4004820C, 4, base=16, bitRange=10-10
;`STARTSRP0.SRPIO0_11` 0x4004820C, 4, base=16, bitRange=11-11
;`STARTSRP0.SRPIO1_0` 0x4004820C, 4, base=16, bitRange=12-12
PDSLEEPCFG EQU 0x40048230
;`PDSLEEPCFG.BOD_PD` 0x40048230, 4, base=16, bitRange=3-3
;`PDSLEEPCFG.WDTOSC_PD` 0x40048230, 4, base=16, bitRange=6-6
PDAWAKECFG EQU 0x40048234
;`PDAWAKECFG.IRCOUT_PD` 0x40048234, 4, base=16, bitRange=0-0
;`PDAWAKECFG.IRC_PD` 0x40048234, 4, base=16, bitRange=1-1
;`PDAWAKECFG.FLASH_PD` 0x40048234, 4, base=16, bitRange=2-2
;`PDAWAKECFG.BOD_PD` 0x40048234, 4, base=16, bitRange=3-3
;`PDAWAKECFG.ADC_PD` 0x40048234, 4, base=16, bitRange=4-4
;`PDAWAKECFG.SYSOSC_PD` 0x40048234, 4, base=16, bitRange=5-5
;`PDAWAKECFG.WDTOSC_PD` 0x40048234, 4, base=16, bitRange=6-6
;`PDAWAKECFG.SYSPLL_PD` 0x40048234, 4, base=16, bitRange=7-7
PDRUNCFG EQU 0x40048238
;`PDRUNCFG.IRCOUT_PD` 0x40048238, 4, base=16, bitRange=0-0
;`PDRUNCFG.IRC_PD` 0x40048238, 4, base=16, bitRange=1-1
;`PDRUNCFG.FLASH_PD` 0x40048238, 4, base=16, bitRange=2-2
;`PDRUNCFG.BOD_PD` 0x40048238, 4, base=16, bitRange=3-3
;`PDRUNCFG.ADC_PD` 0x40048238, 4, base=16, bitRange=4-4
;`PDRUNCFG.SYSOSC_PD` 0x40048238, 4, base=16, bitRange=5-5
;`PDRUNCFG.WDTOSC_PD` 0x40048238, 4, base=16, bitRange=6-6
;`PDRUNCFG.SYSPLL_PD` 0x40048238, 4, base=16, bitRange=7-7
DEVICE_ID EQU 0x400483F4 ; Part ID numbers for LPC111x/LPC11Cxx parts
;
; PMU
;
; Name Zone Address Bytesize Displaybase Bitrange
; ---- ---- ------- -------- ----------- --------
PCON EQU 0x40038000
;`PCON.DPDEN` 0x40038000, 4, base=16, bitRange=1-1
;`PCON.SLEEPFLAG` 0x40038000, 4, base=16, bitRange=8-8
;`PCON.DPDFLAG` 0x40038000, 4, base=16, bitRange=11-11
GPREG0 EQU 0x40038004
GPREG1 EQU 0x40038008
GPREG2 EQU 0x4003800C
GPREG3 EQU 0x40038010
GPREG4 EQU 0x40038014
;`GPREG4.WAKEUPHYS` 0x40038014, 4, base=16, bitRange=10-10
;`GPREG4.GPDATA` 0x40038014, 4, base=16, bitRange=11-31
;
; I/O configuration
;
; Name Zone Address Bytesize Displaybase Bitrange
; ---- ---- ------- -------- ----------- --------
IOCON_PIO2_6 EQU 0x40044000
;`IOCON_PIO2_6.FUNC` 0x40044000, 4, base=16, bitRange=0-2
;`IOCON_PIO2_6.MODE` 0x40044000, 4, base=16, bitRange=3-4
;`IOCON_PIO2_6.HYS` 0x40044000, 4, base=16, bitRange=5-5
;`IOCON_PIO2_6.OD` 0x40044000, 4, base=16, bitRange=10-10
IOCON_PIO2_0 EQU 0x40044008
;`IOCON_PIO2_0.FUNC` 0x40044008, 4, base=16, bitRange=0-2
;`IOCON_PIO2_0.MODE` 0x40044008, 4, base=16, bitRange=3-4
;`IOCON_PIO2_0.HYS` 0x40044008, 4, base=16, bitRange=5-5
;`IOCON_PIO2_0.OD` 0x40044008, 4, base=16, bitRange=10-10
IOCON_RESET_PIO0_0 EQU 0x4004400C
;`IOCON_RESET_PIO0_0.FUNC` 0x4004400C, 4, base=16, bitRange=0-2
;`IOCON_RESET_PIO0_0.MODE` 0x4004400C, 4, base=16, bitRange=3-4
;`IOCON_RESET_PIO0_0.HYS` 0x4004400C, 4, base=16, bitRange=5-5
;`IOCON_RESET_PIO0_0.OD` 0x4004400C, 4, base=16, bitRange=10-10
IOCON_PIO0_1 EQU 0x40044010
;`IOCON_PIO0_1.FUNC` 0x40044010, 4, base=16, bitRange=0-2
;`IOCON_PIO0_1.MODE` 0x40044010, 4, base=16, bitRange=3-4
;`IOCON_PIO0_1.HYS` 0x40044010, 4, base=16, bitRange=5-5
;`IOCON_PIO0_1.OD` 0x40044010, 4, base=16, bitRange=10-10
IOCON_PIO1_8 EQU 0x40044014
;`IOCON_PIO1_8.FUNC` 0x40044014, 4, base=16, bitRange=0-2
;`IOCON_PIO1_8.MODE` 0x40044014, 4, base=16, bitRange=3-4
;`IOCON_PIO1_8.HYS` 0x40044014, 4, base=16, bitRange=5-5
;`IOCON_PIO1_8.OD` 0x40044014, 4, base=16, bitRange=10-10
IOCON_PIO0_2 EQU 0x4004401C
;`IOCON_PIO0_2.FUNC` 0x4004401C, 4, base=16, bitRange=0-2
;`IOCON_PIO0_2.MODE` 0x4004401C, 4, base=16, bitRange=3-4
;`IOCON_PIO0_2.HYS` 0x4004401C, 4, base=16, bitRange=5-5
;`IOCON_PIO0_2.OD` 0x4004401C, 4, base=16, bitRange=10-10
IOCON_PIO2_7 EQU 0x40044020
;`IOCON_PIO2_7.FUNC` 0x40044020, 4, base=16, bitRange=0-2
;`IOCON_PIO2_7.MODE` 0x40044020, 4, base=16, bitRange=3-4
;`IOCON_PIO2_7.HYS` 0x40044020, 4, base=16, bitRange=5-5
;`IOCON_PIO2_7.OD` 0x40044020, 4, base=16, bitRange=10-10
IOCON_PIO2_8 EQU 0x40044024
;`IOCON_PIO2_8.FUNC` 0x40044024, 4, base=16, bitRange=0-2
;`IOCON_PIO2_8.MODE` 0x40044024, 4, base=16, bitRange=3-4
;`IOCON_PIO2_8.HYS` 0x40044024, 4, base=16, bitRange=5-5
;`IOCON_PIO2_8.OD` 0x40044024, 4, base=16, bitRange=10-10
IOCON_PIO2_1 EQU 0x40044028
;`IOCON_PIO2_1.FUNC` 0x40044028, 4, base=16, bitRange=0-2
;`IOCON_PIO2_1.MODE` 0x40044028, 4, base=16, bitRange=3-4
;`IOCON_PIO2_1.HYS` 0x40044028, 4, base=16, bitRange=5-5
;`IOCON_PIO2_1.OD` 0x40044028, 4, base=16, bitRange=10-10
IOCON_PIO0_3 EQU 0x4004402C
;`IOCON_PIO0_3.FUNC` 0x4004402C, 4, base=16, bitRange=0-2
;`IOCON_PIO0_3.MODE` 0x4004402C, 4, base=16, bitRange=3-4
;`IOCON_PIO0_3.HYS` 0x4004402C, 4, base=16, bitRange=5-5
;`IOCON_PIO0_3.OD` 0x4004402C, 4, base=16, bitRange=10-10
IOCON_PIO0_4 EQU 0x40044030
;`IOCON_PIO0_4.FUNC` 0x40044030, 4, base=16, bitRange=0-2
;`IOCON_PIO0_4.I2CMODE` 0x40044030, 4, base=16, bitRange=8-9
IOCON_PIO0_5 EQU 0x40044034
;`IOCON_PIO0_5.FUNC` 0x40044034, 4, base=16, bitRange=0-2
;`IOCON_PIO0_5.I2CMODE` 0x40044034, 4, base=16, bitRange=8-9
IOCON_PIO1_9 EQU 0x40044038
;`IOCON_PIO1_9.FUNC` 0x40044038, 4, base=16, bitRange=0-2
;`IOCON_PIO1_9.MODE` 0x40044038, 4, base=16, bitRange=3-4
;`IOCON_PIO1_9.HYS` 0x40044038, 4, base=16, bitRange=5-5
;`IOCON_PIO1_9.OD` 0x40044038, 4, base=16, bitRange=10-10
IOCON_PIO3_4 EQU 0x4004403C
;`IOCON_PIO3_4.FUNC` 0x4004403C, 4, base=16, bitRange=0-2
;`IOCON_PIO3_4.MODE` 0x4004403C, 4, base=16, bitRange=3-4
;`IOCON_PIO3_4.HYS` 0x4004403C, 4, base=16, bitRange=5-5
;`IOCON_PIO3_4.OD` 0x4004403C, 4, base=16, bitRange=10-10
IOCON_PIO2_4 EQU 0x40044040
;`IOCON_PIO2_4.FUNC` 0x40044040, 4, base=16, bitRange=0-2
;`IOCON_PIO2_4.MODE` 0x40044040, 4, base=16, bitRange=3-4
;`IOCON_PIO2_4.HYS` 0x40044040, 4, base=16, bitRange=5-5
;`IOCON_PIO2_4.OD` 0x40044040, 4, base=16, bitRange=10-10
IOCON_PIO2_5 EQU 0x40044044
;`IOCON_PIO2_5.FUNC` 0x40044044, 4, base=16, bitRange=0-2
;`IOCON_PIO2_5.MODE` 0x40044044, 4, base=16, bitRange=3-4
;`IOCON_PIO2_5.HYS` 0x40044044, 4, base=16, bitRange=5-5
;`IOCON_PIO2_5.OD` 0x40044044, 4, base=16, bitRange=10-10
IOCON_PIO3_5 EQU 0x40044048
;`IOCON_PIO3_5.FUNC` 0x40044048, 4, base=16, bitRange=0-2
;`IOCON_PIO3_5.MODE` 0x40044048, 4, base=16, bitRange=3-4
;`IOCON_PIO3_5.HYS` 0x40044048, 4, base=16, bitRange=5-5
;`IOCON_PIO3_5.OD` 0x40044048, 4, base=16, bitRange=10-10
IOCON_PIO0_6 EQU 0x4004404C
;`IOCON_PIO0_6.FUNC` 0x4004404C, 4, base=16, bitRange=0-2
;`IOCON_PIO0_6.MODE` 0x4004404C, 4, base=16, bitRange=3-4
;`IOCON_PIO0_6.HYS` 0x4004404C, 4, base=16, bitRange=5-5
;`IOCON_PIO0_6.OD` 0x4004404C, 4, base=16, bitRange=10-10
IOCON_PIO0_7 EQU 0x40044050
;`IOCON_PIO0_7.FUNC` 0x40044050, 4, base=16, bitRange=0-2
;`IOCON_PIO0_7.MODE` 0x40044050, 4, base=16, bitRange=3-4
;`IOCON_PIO0_7.HYS` 0x40044050, 4, base=16, bitRange=5-5
;`IOCON_PIO0_7.OD` 0x40044050, 4, base=16, bitRange=10-10
IOCON_PIO2_9 EQU 0x40044054
;`IOCON_PIO2_9.FUNC` 0x40044054, 4, base=16, bitRange=0-2
;`IOCON_PIO2_9.MODE` 0x40044054, 4, base=16, bitRange=3-4
;`IOCON_PIO2_9.HYS` 0x40044054, 4, base=16, bitRange=5-5
;`IOCON_PIO2_9.OD` 0x40044054, 4, base=16, bitRange=10-10
IOCON_PIO2_10 EQU 0x40044058
;`IOCON_PIO2_10.FUNC` 0x40044058, 4, base=16, bitRange=0-2
;`IOCON_PIO2_10.MODE` 0x40044058, 4, base=16, bitRange=3-4
;`IOCON_PIO2_10.HYS` 0x40044058, 4, base=16, bitRange=5-5
;`IOCON_PIO2_10.OD` 0x40044058, 4, base=16, bitRange=10-10
IOCON_PIO2_2 EQU 0x4004405C
;`IOCON_PIO2_2.FUNC` 0x4004405C, 4, base=16, bitRange=0-2
;`IOCON_PIO2_2.MODE` 0x4004405C, 4, base=16, bitRange=3-4
;`IOCON_PIO2_2.HYS` 0x4004405C, 4, base=16, bitRange=5-5
;`IOCON_PIO2_2.OD` 0x4004405C, 4, base=16, bitRange=10-10
IOCON_PIO0_8 EQU 0x40044060
;`IOCON_PIO0_8.FUNC` 0x40044060, 4, base=16, bitRange=0-2
;`IOCON_PIO0_8.MODE` 0x40044060, 4, base=16, bitRange=3-4
;`IOCON_PIO0_8.HYS` 0x40044060, 4, base=16, bitRange=5-5
;`IOCON_PIO0_8.OD` 0x40044060, 4, base=16, bitRange=10-10
IOCON_PIO0_9 EQU 0x40044064
;`IOCON_PIO0_9.FUNC` 0x40044064, 4, base=16, bitRange=0-2
;`IOCON_PIO0_9.MODE` 0x40044064, 4, base=16, bitRange=3-4
;`IOCON_PIO0_9.HYS` 0x40044064, 4, base=16, bitRange=5-5
;`IOCON_PIO0_9.OD` 0x40044064, 4, base=16, bitRange=10-10
IOCON_SWCLK_PIO0_10 EQU 0x40044068
;`IOCON_SWCLK_PIO0_10.FUNC` 0x40044068, 4, base=16, bitRange=0-2
;`IOCON_SWCLK_PIO0_10.MODE` 0x40044068, 4, base=16, bitRange=3-4
;`IOCON_SWCLK_PIO0_10.HYS` 0x40044068, 4, base=16, bitRange=5-5
;`IOCON_SWCLK_PIO0_10.OD` 0x40044068, 4, base=16, bitRange=10-10
IOCON_PIO1_10 EQU 0x4004406C
;`IOCON_PIO1_10.FUNC` 0x4004406C, 4, base=16, bitRange=0-2
;`IOCON_PIO1_10.MODE` 0x4004406C, 4, base=16, bitRange=3-4
;`IOCON_PIO1_10.HYS` 0x4004406C, 4, base=16, bitRange=5-5
;`IOCON_PIO1_10.ADMODE` 0x4004406C, 4, base=16, bitRange=7-7
;`IOCON_PIO1_10.OD` 0x4004406C, 4, base=16, bitRange=10-10
IOCON_PIO2_11 EQU 0x40044070
;`IOCON_PIO2_11.FUNC` 0x40044070, 4, base=16, bitRange=0-2
;`IOCON_PIO2_11.MODE` 0x40044070, 4, base=16, bitRange=3-4
;`IOCON_PIO2_11.HYS` 0x40044070, 4, base=16, bitRange=5-5
;`IOCON_PIO2_11.OD` 0x40044070, 4, base=16, bitRange=10-10
IOCON_R_PIO0_11 EQU 0x40044074
;`IOCON_R_PIO0_11.FUNC` 0x40044074, 4, base=16, bitRange=0-2
;`IOCON_R_PIO0_11.MODE` 0x40044074, 4, base=16, bitRange=3-4
;`IOCON_R_PIO0_11.HYS` 0x40044074, 4, base=16, bitRange=5-5
;`IOCON_R_PIO0_11.ADMODE` 0x40044074, 4, base=16, bitRange=7-7
;`IOCON_R_PIO0_11.OD` 0x40044074, 4, base=16, bitRange=10-10
IOCON_R_PIO1_0 EQU 0x40044078
;`IOCON_R_PIO1_0.FUNC` 0x40044078, 4, base=16, bitRange=0-2
;`IOCON_R_PIO1_0.MODE` 0x40044078, 4, base=16, bitRange=3-4
;`IOCON_R_PIO1_0.HYS` 0x40044078, 4, base=16, bitRange=5-5
;`IOCON_R_PIO1_0.ADMODE` 0x40044078, 4, base=16, bitRange=7-7
;`IOCON_R_PIO1_0.OD` 0x40044078, 4, base=16, bitRange=10-10
IOCON_R_PIO1_1 EQU 0x4004407C
;`IOCON_R_PIO1_1.FUNC` 0x4004407C, 4, base=16, bitRange=0-2
;`IOCON_R_PIO1_1.MODE` 0x4004407C, 4, base=16, bitRange=3-4
;`IOCON_R_PIO1_1.HYS` 0x4004407C, 4, base=16, bitRange=5-5
;`IOCON_R_PIO1_1.ADMODE` 0x4004407C, 4, base=16, bitRange=7-7
;`IOCON_R_PIO1_1.OD` 0x4004407C, 4, base=16, bitRange=10-10
IOCON_R_PIO1_2 EQU 0x40044080
;`IOCON_R_PIO1_2.FUNC` 0x40044080, 4, base=16, bitRange=0-2
;`IOCON_R_PIO1_2.MODE` 0x40044080, 4, base=16, bitRange=3-4
;`IOCON_R_PIO1_2.HYS` 0x40044080, 4, base=16, bitRange=5-5
;`IOCON_R_PIO1_2.ADMODE` 0x40044080, 4, base=16, bitRange=7-7
;`IOCON_R_PIO1_2.OD` 0x40044080, 4, base=16, bitRange=10-10
IOCON_PIO3_0 EQU 0x40044084
;`IOCON_PIO3_0.FUNC` 0x40044084, 4, base=16, bitRange=0-2
;`IOCON_PIO3_0.MODE` 0x40044084, 4, base=16, bitRange=3-4
;`IOCON_PIO3_0.HYS` 0x40044084, 4, base=16, bitRange=5-5
;`IOCON_PIO3_0.OD` 0x40044084, 4, base=16, bitRange=10-10
IOCON_PIO3_1 EQU 0x40044088
;`IOCON_PIO3_1.FUNC` 0x40044088, 4, base=16, bitRange=0-2
;`IOCON_PIO3_1.MODE` 0x40044088, 4, base=16, bitRange=3-4
;`IOCON_PIO3_1.HYS` 0x40044088, 4, base=16, bitRange=5-5
;`IOCON_PIO3_1.OD` 0x40044088, 4, base=16, bitRange=10-10
IOCON_PIO2_3 EQU 0x4004408C
;`IOCON_PIO2_3.FUNC` 0x4004408C, 4, base=16, bitRange=0-2
;`IOCON_PIO2_3.MODE` 0x4004408C, 4, base=16, bitRange=3-4
;`IOCON_PIO2_3.HYS` 0x4004408C, 4, base=16, bitRange=5-5
;`IOCON_PIO2_3.OD` 0x4004408C, 4, base=16, bitRange=10-10
IOCON_SWDIO_PIO1_3 EQU 0x40044090
;`IOCON_SWDIO_PIO1_3.FUNC` 0x40044090, 4, base=16, bitRange=0-2
;`IOCON_SWDIO_PIO1_3.MODE` 0x40044090, 4, base=16, bitRange=3-4
;`IOCON_SWDIO_PIO1_3.HYS` 0x40044090, 4, base=16, bitRange=5-5
;`IOCON_SWDIO_PIO1_3.ADMODE` 0x40044090, 4, base=16, bitRange=7-7
;`IOCON_SWDIO_PIO1_3.OD` 0x40044090, 4, base=16, bitRange=10-10
IOCON_PIO1_4 EQU 0x40044094
;`IOCON_PIO1_4.FUNC` 0x40044094, 4, base=16, bitRange=0-2
;`IOCON_PIO1_4.MODE` 0x40044094, 4, base=16, bitRange=3-4
;`IOCON_PIO1_4.HYS` 0x40044094, 4, base=16, bitRange=5-5
;`IOCON_PIO1_4.ADMODE` 0x40044094, 4, base=16, bitRange=7-7
;`IOCON_PIO1_4.OD` 0x40044094, 4, base=16, bitRange=10-10
IOCON_PIO1_11 EQU 0x40044098
;`IOCON_PIO1_11.FUNC` 0x40044098, 4, base=16, bitRange=0-2
;`IOCON_PIO1_11.MODE` 0x40044098, 4, base=16, bitRange=3-4
;`IOCON_PIO1_11.HYS` 0x40044098, 4, base=16, bitRange=5-5
;`IOCON_PIO1_11.ADMODE` 0x40044098, 4, base=16, bitRange=7-7
;`IOCON_PIO1_11.OD` 0x40044098, 4, base=16, bitRange=10-10
IOCON_PIO3_2 EQU 0x4004409C
;`IOCON_PIO3_2.FUNC` 0x4004409C, 4, base=16, bitRange=0-2
;`IOCON_PIO3_2.MODE` 0x4004409C, 4, base=16, bitRange=3-4
;`IOCON_PIO3_2.HYS` 0x4004409C, 4, base=16, bitRange=5-5
;`IOCON_PIO3_2.OD` 0x4004409C, 4, base=16, bitRange=10-10
IOCON_PIO1_5 EQU 0x400440A0
;`IOCON_PIO1_5.FUNC` 0x400440A0, 4, base=16, bitRange=0-2
;`IOCON_PIO1_5.MODE` 0x400440A0, 4, base=16, bitRange=3-4
;`IOCON_PIO1_5.HYS` 0x400440A0, 4, base=16, bitRange=5-5
;`IOCON_PIO1_5.OD` 0x400440A0, 4, base=16, bitRange=10-10
IOCON_PIO1_6 EQU 0x400440A4
;`IOCON_PIO1_6.FUNC` 0x400440A4, 4, base=16, bitRange=0-2
;`IOCON_PIO1_6.MODE` 0x400440A4, 4, base=16, bitRange=3-4
;`IOCON_PIO1_6.HYS` 0x400440A4, 4, base=16, bitRange=5-5
;`IOCON_PIO1_6.OD` 0x400440A4, 4, base=16, bitRange=10-10
IOCON_PIO1_7 EQU 0x400440A8
;`IOCON_PIO1_7.FUNC` 0x400440A8, 4, base=16, bitRange=0-2
;`IOCON_PIO1_7.MODE` 0x400440A8, 4, base=16, bitRange=3-4
;`IOCON_PIO1_7.HYS` 0x400440A8, 4, base=16, bitRange=5-5
;`IOCON_PIO1_7.OD` 0x400440A8, 4, base=16, bitRange=10-10
IOCON_PIO3_3 EQU 0x400440AC
;`IOCON_PIO3_3.FUNC` 0x400440AC, 4, base=16, bitRange=0-2
;`IOCON_PIO3_3.MODE` 0x400440AC, 4, base=16, bitRange=3-4
;`IOCON_PIO3_3.HYS` 0x400440AC, 4, base=16, bitRange=5-5
;`IOCON_PIO3_3.OD` 0x400440AC, 4, base=16, bitRange=10-10
IOCON_SCK_LOC EQU 0x400440B0
;`IOCON_SCK_LOC.SCKLOC` 0x400440B0, 4, base=16, bitRange=0-1
IOCON_DSR_LOC EQU 0x400440B4
;`IOCON_DSR_LOC.DSRLOC` 0x400440B4, 4, base=16, bitRange=0-1
IOCON_DCD_LOC EQU 0x400440B8
;`IOCON_DCD_LOC.DCDLOC` 0x400440B8, 4, base=16, bitRange=0-1
IOCON_RI_LOC EQU 0x400440BC
;`IOCON_RI_LOC.RILOC` 0x400440BC, 4, base=16, bitRange=0-1
;
; CPIO
;
; Name Zone Address Bytesize Displaybase Bitrange
; ---- ---- ------- -------- ----------- --------
GPIO0DATA EQU 0x50003FFC
;`GPIO0DATA.P0_0` 0x50003FFC, 4, base=16, bitRange=0-0
;`GPIO0DATA.P0_1` 0x50003FFC, 4, base=16, bitRange=1-1
;`GPIO0DATA.P0_2` 0x50003FFC, 4, base=16, bitRange=2-2
;`GPIO0DATA.P0_3` 0x50003FFC, 4, base=16, bitRange=3-3
;`GPIO0DATA.P0_4` 0x50003FFC, 4, base=16, bitRange=4-4
;`GPIO0DATA.P0_5` 0x50003FFC, 4, base=16, bitRange=5-5
;`GPIO0DATA.P0_6` 0x50003FFC, 4, base=16, bitRange=6-6
;`GPIO0DATA.P0_7` 0x50003FFC, 4, base=16, bitRange=7-7
;`GPIO0DATA.P0_8` 0x50003FFC, 4, base=16, bitRange=8-8
;`GPIO0DATA.P0_9` 0x50003FFC, 4, base=16, bitRange=9-9
;`GPIO0DATA.P0_10` 0x50003FFC, 4, base=16, bitRange=10-10
;`GPIO0DATA.P0_11` 0x50003FFC, 4, base=16, bitRange=11-11
GPIO0DATA0 EQU 0x50003FFC
;`GPIO0DATA0.P0_0` 0x50003FFC, 1, base=16, bitRange=0-0
;`GPIO0DATA0.P0_1` 0x50003FFC, 1, base=16, bitRange=1-1
;`GPIO0DATA0.P0_2` 0x50003FFC, 1, base=16, bitRange=2-2
;`GPIO0DATA0.P0_3` 0x50003FFC, 1, base=16, bitRange=3-3
;`GPIO0DATA0.P0_4` 0x50003FFC, 1, base=16, bitRange=4-4
;`GPIO0DATA0.P0_5` 0x50003FFC, 1, base=16, bitRange=5-5
;`GPIO0DATA0.P0_6` 0x50003FFC, 1, base=16, bitRange=6-6
;`GPIO0DATA0.P0_7` 0x50003FFC, 1, base=16, bitRange=7-7