-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhw_gpio.h
2247 lines (1973 loc) · 101 KB
/
hw_gpio.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
/******************************************************************************
* Filename: hw_gpio_h
* Revised: 2017-01-31 09:37:48 +0100 (Tue, 31 Jan 2017)
* Revision: 48345
*
* Copyright (c) 2015 - 2017, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1) Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2) Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3) Neither the name of the ORGANIZATION nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************/
#ifndef __HW_GPIO_H__
#define __HW_GPIO_H__
//*****************************************************************************
//
// This section defines the register offsets of
// GPIO component
//
//*****************************************************************************
// Data Out 0 to 3
#define GPIO_O_DOUT3_0 0x00000000
// Data Out 4 to 7
#define GPIO_O_DOUT7_4 0x00000004
// Data Out 8 to 11
#define GPIO_O_DOUT11_8 0x00000008
// Data Out 12 to 15
#define GPIO_O_DOUT15_12 0x0000000C
// Data Out 16 to 19
#define GPIO_O_DOUT19_16 0x00000010
// Data Out 20 to 23
#define GPIO_O_DOUT23_20 0x00000014
// Data Out 24 to 27
#define GPIO_O_DOUT27_24 0x00000018
// Data Out 28 to 31
#define GPIO_O_DOUT31_28 0x0000001C
// Data Output for DIO 0 to 31
#define GPIO_O_DOUT31_0 0x00000080
// Data Out Set
#define GPIO_O_DOUTSET31_0 0x00000090
// Data Out Clear
#define GPIO_O_DOUTCLR31_0 0x000000A0
// Data Out Toggle
#define GPIO_O_DOUTTGL31_0 0x000000B0
// Data Input from DIO 0 to 31
#define GPIO_O_DIN31_0 0x000000C0
// Data Output Enable for DIO 0 to 31
#define GPIO_O_DOE31_0 0x000000D0
// Event Register for DIO 0 to 31
#define GPIO_O_EVFLAGS31_0 0x000000E0
//*****************************************************************************
//
// Register: GPIO_O_DOUT3_0
//
//*****************************************************************************
// Field: [24] DIO3
//
// Sets the state of the pin that is configured as DIO#3, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT3_0_DIO3 0x01000000
#define GPIO_DOUT3_0_DIO3_BITN 24
#define GPIO_DOUT3_0_DIO3_M 0x01000000
#define GPIO_DOUT3_0_DIO3_S 24
// Field: [16] DIO2
//
// Sets the state of the pin that is configured as DIO#2, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT3_0_DIO2 0x00010000
#define GPIO_DOUT3_0_DIO2_BITN 16
#define GPIO_DOUT3_0_DIO2_M 0x00010000
#define GPIO_DOUT3_0_DIO2_S 16
// Field: [8] DIO1
//
// Sets the state of the pin that is configured as DIO#1, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT3_0_DIO1 0x00000100
#define GPIO_DOUT3_0_DIO1_BITN 8
#define GPIO_DOUT3_0_DIO1_M 0x00000100
#define GPIO_DOUT3_0_DIO1_S 8
// Field: [0] DIO0
//
// Sets the state of the pin that is configured as DIO#0, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT3_0_DIO0 0x00000001
#define GPIO_DOUT3_0_DIO0_BITN 0
#define GPIO_DOUT3_0_DIO0_M 0x00000001
#define GPIO_DOUT3_0_DIO0_S 0
//*****************************************************************************
//
// Register: GPIO_O_DOUT7_4
//
//*****************************************************************************
// Field: [24] DIO7
//
// Sets the state of the pin that is configured as DIO#7, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT7_4_DIO7 0x01000000
#define GPIO_DOUT7_4_DIO7_BITN 24
#define GPIO_DOUT7_4_DIO7_M 0x01000000
#define GPIO_DOUT7_4_DIO7_S 24
// Field: [16] DIO6
//
// Sets the state of the pin that is configured as DIO#6, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT7_4_DIO6 0x00010000
#define GPIO_DOUT7_4_DIO6_BITN 16
#define GPIO_DOUT7_4_DIO6_M 0x00010000
#define GPIO_DOUT7_4_DIO6_S 16
// Field: [8] DIO5
//
// Sets the state of the pin that is configured as DIO#5, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT7_4_DIO5 0x00000100
#define GPIO_DOUT7_4_DIO5_BITN 8
#define GPIO_DOUT7_4_DIO5_M 0x00000100
#define GPIO_DOUT7_4_DIO5_S 8
// Field: [0] DIO4
//
// Sets the state of the pin that is configured as DIO#4, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT7_4_DIO4 0x00000001
#define GPIO_DOUT7_4_DIO4_BITN 0
#define GPIO_DOUT7_4_DIO4_M 0x00000001
#define GPIO_DOUT7_4_DIO4_S 0
//*****************************************************************************
//
// Register: GPIO_O_DOUT11_8
//
//*****************************************************************************
// Field: [24] DIO11
//
// Sets the state of the pin that is configured as DIO#11, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT11_8_DIO11 0x01000000
#define GPIO_DOUT11_8_DIO11_BITN 24
#define GPIO_DOUT11_8_DIO11_M 0x01000000
#define GPIO_DOUT11_8_DIO11_S 24
// Field: [16] DIO10
//
// Sets the state of the pin that is configured as DIO#10, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT11_8_DIO10 0x00010000
#define GPIO_DOUT11_8_DIO10_BITN 16
#define GPIO_DOUT11_8_DIO10_M 0x00010000
#define GPIO_DOUT11_8_DIO10_S 16
// Field: [8] DIO9
//
// Sets the state of the pin that is configured as DIO#9, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT11_8_DIO9 0x00000100
#define GPIO_DOUT11_8_DIO9_BITN 8
#define GPIO_DOUT11_8_DIO9_M 0x00000100
#define GPIO_DOUT11_8_DIO9_S 8
// Field: [0] DIO8
//
// Sets the state of the pin that is configured as DIO#8, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT11_8_DIO8 0x00000001
#define GPIO_DOUT11_8_DIO8_BITN 0
#define GPIO_DOUT11_8_DIO8_M 0x00000001
#define GPIO_DOUT11_8_DIO8_S 0
//*****************************************************************************
//
// Register: GPIO_O_DOUT15_12
//
//*****************************************************************************
// Field: [24] DIO15
//
// Sets the state of the pin that is configured as DIO#15, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT15_12_DIO15 0x01000000
#define GPIO_DOUT15_12_DIO15_BITN 24
#define GPIO_DOUT15_12_DIO15_M 0x01000000
#define GPIO_DOUT15_12_DIO15_S 24
// Field: [16] DIO14
//
// Sets the state of the pin that is configured as DIO#14, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT15_12_DIO14 0x00010000
#define GPIO_DOUT15_12_DIO14_BITN 16
#define GPIO_DOUT15_12_DIO14_M 0x00010000
#define GPIO_DOUT15_12_DIO14_S 16
// Field: [8] DIO13
//
// Sets the state of the pin that is configured as DIO#13, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT15_12_DIO13 0x00000100
#define GPIO_DOUT15_12_DIO13_BITN 8
#define GPIO_DOUT15_12_DIO13_M 0x00000100
#define GPIO_DOUT15_12_DIO13_S 8
// Field: [0] DIO12
//
// Sets the state of the pin that is configured as DIO#12, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT15_12_DIO12 0x00000001
#define GPIO_DOUT15_12_DIO12_BITN 0
#define GPIO_DOUT15_12_DIO12_M 0x00000001
#define GPIO_DOUT15_12_DIO12_S 0
//*****************************************************************************
//
// Register: GPIO_O_DOUT19_16
//
//*****************************************************************************
// Field: [24] DIO19
//
// Sets the state of the pin that is configured as DIO#19, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT19_16_DIO19 0x01000000
#define GPIO_DOUT19_16_DIO19_BITN 24
#define GPIO_DOUT19_16_DIO19_M 0x01000000
#define GPIO_DOUT19_16_DIO19_S 24
// Field: [16] DIO18
//
// Sets the state of the pin that is configured as DIO#18, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT19_16_DIO18 0x00010000
#define GPIO_DOUT19_16_DIO18_BITN 16
#define GPIO_DOUT19_16_DIO18_M 0x00010000
#define GPIO_DOUT19_16_DIO18_S 16
// Field: [8] DIO17
//
// Sets the state of the pin that is configured as DIO#17, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT19_16_DIO17 0x00000100
#define GPIO_DOUT19_16_DIO17_BITN 8
#define GPIO_DOUT19_16_DIO17_M 0x00000100
#define GPIO_DOUT19_16_DIO17_S 8
// Field: [0] DIO16
//
// Sets the state of the pin that is configured as DIO#16, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT19_16_DIO16 0x00000001
#define GPIO_DOUT19_16_DIO16_BITN 0
#define GPIO_DOUT19_16_DIO16_M 0x00000001
#define GPIO_DOUT19_16_DIO16_S 0
//*****************************************************************************
//
// Register: GPIO_O_DOUT23_20
//
//*****************************************************************************
// Field: [24] DIO23
//
// Sets the state of the pin that is configured as DIO#23, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT23_20_DIO23 0x01000000
#define GPIO_DOUT23_20_DIO23_BITN 24
#define GPIO_DOUT23_20_DIO23_M 0x01000000
#define GPIO_DOUT23_20_DIO23_S 24
// Field: [16] DIO22
//
// Sets the state of the pin that is configured as DIO#22, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT23_20_DIO22 0x00010000
#define GPIO_DOUT23_20_DIO22_BITN 16
#define GPIO_DOUT23_20_DIO22_M 0x00010000
#define GPIO_DOUT23_20_DIO22_S 16
// Field: [8] DIO21
//
// Sets the state of the pin that is configured as DIO#21, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT23_20_DIO21 0x00000100
#define GPIO_DOUT23_20_DIO21_BITN 8
#define GPIO_DOUT23_20_DIO21_M 0x00000100
#define GPIO_DOUT23_20_DIO21_S 8
// Field: [0] DIO20
//
// Sets the state of the pin that is configured as DIO#20, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT23_20_DIO20 0x00000001
#define GPIO_DOUT23_20_DIO20_BITN 0
#define GPIO_DOUT23_20_DIO20_M 0x00000001
#define GPIO_DOUT23_20_DIO20_S 0
//*****************************************************************************
//
// Register: GPIO_O_DOUT27_24
//
//*****************************************************************************
// Field: [24] DIO27
//
// Sets the state of the pin that is configured as DIO#27, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT27_24_DIO27 0x01000000
#define GPIO_DOUT27_24_DIO27_BITN 24
#define GPIO_DOUT27_24_DIO27_M 0x01000000
#define GPIO_DOUT27_24_DIO27_S 24
// Field: [16] DIO26
//
// Sets the state of the pin that is configured as DIO#26, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT27_24_DIO26 0x00010000
#define GPIO_DOUT27_24_DIO26_BITN 16
#define GPIO_DOUT27_24_DIO26_M 0x00010000
#define GPIO_DOUT27_24_DIO26_S 16
// Field: [8] DIO25
//
// Sets the state of the pin that is configured as DIO#25, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT27_24_DIO25 0x00000100
#define GPIO_DOUT27_24_DIO25_BITN 8
#define GPIO_DOUT27_24_DIO25_M 0x00000100
#define GPIO_DOUT27_24_DIO25_S 8
// Field: [0] DIO24
//
// Sets the state of the pin that is configured as DIO#24, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT27_24_DIO24 0x00000001
#define GPIO_DOUT27_24_DIO24_BITN 0
#define GPIO_DOUT27_24_DIO24_M 0x00000001
#define GPIO_DOUT27_24_DIO24_S 0
//*****************************************************************************
//
// Register: GPIO_O_DOUT31_28
//
//*****************************************************************************
// Field: [24] DIO31
//
// Sets the state of the pin that is configured as DIO#31, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT31_28_DIO31 0x01000000
#define GPIO_DOUT31_28_DIO31_BITN 24
#define GPIO_DOUT31_28_DIO31_M 0x01000000
#define GPIO_DOUT31_28_DIO31_S 24
// Field: [16] DIO30
//
// Sets the state of the pin that is configured as DIO#30, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT31_28_DIO30 0x00010000
#define GPIO_DOUT31_28_DIO30_BITN 16
#define GPIO_DOUT31_28_DIO30_M 0x00010000
#define GPIO_DOUT31_28_DIO30_S 16
// Field: [8] DIO29
//
// Sets the state of the pin that is configured as DIO#29, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT31_28_DIO29 0x00000100
#define GPIO_DOUT31_28_DIO29_BITN 8
#define GPIO_DOUT31_28_DIO29_M 0x00000100
#define GPIO_DOUT31_28_DIO29_S 8
// Field: [0] DIO28
//
// Sets the state of the pin that is configured as DIO#28, if the corresponding
// DOE31_0 bitfield is set.
#define GPIO_DOUT31_28_DIO28 0x00000001
#define GPIO_DOUT31_28_DIO28_BITN 0
#define GPIO_DOUT31_28_DIO28_M 0x00000001
#define GPIO_DOUT31_28_DIO28_S 0
//*****************************************************************************
//
// Register: GPIO_O_DOUT31_0
//
//*****************************************************************************
// Field: [31] DIO31
//
// Data output for DIO 31
#define GPIO_DOUT31_0_DIO31 0x80000000
#define GPIO_DOUT31_0_DIO31_BITN 31
#define GPIO_DOUT31_0_DIO31_M 0x80000000
#define GPIO_DOUT31_0_DIO31_S 31
// Field: [30] DIO30
//
// Data output for DIO 30
#define GPIO_DOUT31_0_DIO30 0x40000000
#define GPIO_DOUT31_0_DIO30_BITN 30
#define GPIO_DOUT31_0_DIO30_M 0x40000000
#define GPIO_DOUT31_0_DIO30_S 30
// Field: [29] DIO29
//
// Data output for DIO 29
#define GPIO_DOUT31_0_DIO29 0x20000000
#define GPIO_DOUT31_0_DIO29_BITN 29
#define GPIO_DOUT31_0_DIO29_M 0x20000000
#define GPIO_DOUT31_0_DIO29_S 29
// Field: [28] DIO28
//
// Data output for DIO 28
#define GPIO_DOUT31_0_DIO28 0x10000000
#define GPIO_DOUT31_0_DIO28_BITN 28
#define GPIO_DOUT31_0_DIO28_M 0x10000000
#define GPIO_DOUT31_0_DIO28_S 28
// Field: [27] DIO27
//
// Data output for DIO 27
#define GPIO_DOUT31_0_DIO27 0x08000000
#define GPIO_DOUT31_0_DIO27_BITN 27
#define GPIO_DOUT31_0_DIO27_M 0x08000000
#define GPIO_DOUT31_0_DIO27_S 27
// Field: [26] DIO26
//
// Data output for DIO 26
#define GPIO_DOUT31_0_DIO26 0x04000000
#define GPIO_DOUT31_0_DIO26_BITN 26
#define GPIO_DOUT31_0_DIO26_M 0x04000000
#define GPIO_DOUT31_0_DIO26_S 26
// Field: [25] DIO25
//
// Data output for DIO 25
#define GPIO_DOUT31_0_DIO25 0x02000000
#define GPIO_DOUT31_0_DIO25_BITN 25
#define GPIO_DOUT31_0_DIO25_M 0x02000000
#define GPIO_DOUT31_0_DIO25_S 25
// Field: [24] DIO24
//
// Data output for DIO 24
#define GPIO_DOUT31_0_DIO24 0x01000000
#define GPIO_DOUT31_0_DIO24_BITN 24
#define GPIO_DOUT31_0_DIO24_M 0x01000000
#define GPIO_DOUT31_0_DIO24_S 24
// Field: [23] DIO23
//
// Data output for DIO 23
#define GPIO_DOUT31_0_DIO23 0x00800000
#define GPIO_DOUT31_0_DIO23_BITN 23
#define GPIO_DOUT31_0_DIO23_M 0x00800000
#define GPIO_DOUT31_0_DIO23_S 23
// Field: [22] DIO22
//
// Data output for DIO 22
#define GPIO_DOUT31_0_DIO22 0x00400000
#define GPIO_DOUT31_0_DIO22_BITN 22
#define GPIO_DOUT31_0_DIO22_M 0x00400000
#define GPIO_DOUT31_0_DIO22_S 22
// Field: [21] DIO21
//
// Data output for DIO 21
#define GPIO_DOUT31_0_DIO21 0x00200000
#define GPIO_DOUT31_0_DIO21_BITN 21
#define GPIO_DOUT31_0_DIO21_M 0x00200000
#define GPIO_DOUT31_0_DIO21_S 21
// Field: [20] DIO20
//
// Data output for DIO 20
#define GPIO_DOUT31_0_DIO20 0x00100000
#define GPIO_DOUT31_0_DIO20_BITN 20
#define GPIO_DOUT31_0_DIO20_M 0x00100000
#define GPIO_DOUT31_0_DIO20_S 20
// Field: [19] DIO19
//
// Data output for DIO 19
#define GPIO_DOUT31_0_DIO19 0x00080000
#define GPIO_DOUT31_0_DIO19_BITN 19
#define GPIO_DOUT31_0_DIO19_M 0x00080000
#define GPIO_DOUT31_0_DIO19_S 19
// Field: [18] DIO18
//
// Data output for DIO 18
#define GPIO_DOUT31_0_DIO18 0x00040000
#define GPIO_DOUT31_0_DIO18_BITN 18
#define GPIO_DOUT31_0_DIO18_M 0x00040000
#define GPIO_DOUT31_0_DIO18_S 18
// Field: [17] DIO17
//
// Data output for DIO 17
#define GPIO_DOUT31_0_DIO17 0x00020000
#define GPIO_DOUT31_0_DIO17_BITN 17
#define GPIO_DOUT31_0_DIO17_M 0x00020000
#define GPIO_DOUT31_0_DIO17_S 17
// Field: [16] DIO16
//
// Data output for DIO 16
#define GPIO_DOUT31_0_DIO16 0x00010000
#define GPIO_DOUT31_0_DIO16_BITN 16
#define GPIO_DOUT31_0_DIO16_M 0x00010000
#define GPIO_DOUT31_0_DIO16_S 16
// Field: [15] DIO15
//
// Data output for DIO 15
#define GPIO_DOUT31_0_DIO15 0x00008000
#define GPIO_DOUT31_0_DIO15_BITN 15
#define GPIO_DOUT31_0_DIO15_M 0x00008000
#define GPIO_DOUT31_0_DIO15_S 15
// Field: [14] DIO14
//
// Data output for DIO 14
#define GPIO_DOUT31_0_DIO14 0x00004000
#define GPIO_DOUT31_0_DIO14_BITN 14
#define GPIO_DOUT31_0_DIO14_M 0x00004000
#define GPIO_DOUT31_0_DIO14_S 14
// Field: [13] DIO13
//
// Data output for DIO 13
#define GPIO_DOUT31_0_DIO13 0x00002000
#define GPIO_DOUT31_0_DIO13_BITN 13
#define GPIO_DOUT31_0_DIO13_M 0x00002000
#define GPIO_DOUT31_0_DIO13_S 13
// Field: [12] DIO12
//
// Data output for DIO 12
#define GPIO_DOUT31_0_DIO12 0x00001000
#define GPIO_DOUT31_0_DIO12_BITN 12
#define GPIO_DOUT31_0_DIO12_M 0x00001000
#define GPIO_DOUT31_0_DIO12_S 12
// Field: [11] DIO11
//
// Data output for DIO 11
#define GPIO_DOUT31_0_DIO11 0x00000800
#define GPIO_DOUT31_0_DIO11_BITN 11
#define GPIO_DOUT31_0_DIO11_M 0x00000800
#define GPIO_DOUT31_0_DIO11_S 11
// Field: [10] DIO10
//
// Data output for DIO 10
#define GPIO_DOUT31_0_DIO10 0x00000400
#define GPIO_DOUT31_0_DIO10_BITN 10
#define GPIO_DOUT31_0_DIO10_M 0x00000400
#define GPIO_DOUT31_0_DIO10_S 10
// Field: [9] DIO9
//
// Data output for DIO 9
#define GPIO_DOUT31_0_DIO9 0x00000200
#define GPIO_DOUT31_0_DIO9_BITN 9
#define GPIO_DOUT31_0_DIO9_M 0x00000200
#define GPIO_DOUT31_0_DIO9_S 9
// Field: [8] DIO8
//
// Data output for DIO 8
#define GPIO_DOUT31_0_DIO8 0x00000100
#define GPIO_DOUT31_0_DIO8_BITN 8
#define GPIO_DOUT31_0_DIO8_M 0x00000100
#define GPIO_DOUT31_0_DIO8_S 8
// Field: [7] DIO7
//
// Data output for DIO 7
#define GPIO_DOUT31_0_DIO7 0x00000080
#define GPIO_DOUT31_0_DIO7_BITN 7
#define GPIO_DOUT31_0_DIO7_M 0x00000080
#define GPIO_DOUT31_0_DIO7_S 7
// Field: [6] DIO6
//
// Data output for DIO 6
#define GPIO_DOUT31_0_DIO6 0x00000040
#define GPIO_DOUT31_0_DIO6_BITN 6
#define GPIO_DOUT31_0_DIO6_M 0x00000040
#define GPIO_DOUT31_0_DIO6_S 6
// Field: [5] DIO5
//
// Data output for DIO 5
#define GPIO_DOUT31_0_DIO5 0x00000020
#define GPIO_DOUT31_0_DIO5_BITN 5
#define GPIO_DOUT31_0_DIO5_M 0x00000020
#define GPIO_DOUT31_0_DIO5_S 5
// Field: [4] DIO4
//
// Data output for DIO 4
#define GPIO_DOUT31_0_DIO4 0x00000010
#define GPIO_DOUT31_0_DIO4_BITN 4
#define GPIO_DOUT31_0_DIO4_M 0x00000010
#define GPIO_DOUT31_0_DIO4_S 4
// Field: [3] DIO3
//
// Data output for DIO 3
#define GPIO_DOUT31_0_DIO3 0x00000008
#define GPIO_DOUT31_0_DIO3_BITN 3
#define GPIO_DOUT31_0_DIO3_M 0x00000008
#define GPIO_DOUT31_0_DIO3_S 3
// Field: [2] DIO2
//
// Data output for DIO 2
#define GPIO_DOUT31_0_DIO2 0x00000004
#define GPIO_DOUT31_0_DIO2_BITN 2
#define GPIO_DOUT31_0_DIO2_M 0x00000004
#define GPIO_DOUT31_0_DIO2_S 2
// Field: [1] DIO1
//
// Data output for DIO 1
#define GPIO_DOUT31_0_DIO1 0x00000002
#define GPIO_DOUT31_0_DIO1_BITN 1
#define GPIO_DOUT31_0_DIO1_M 0x00000002
#define GPIO_DOUT31_0_DIO1_S 1
// Field: [0] DIO0
//
// Data output for DIO 0
#define GPIO_DOUT31_0_DIO0 0x00000001
#define GPIO_DOUT31_0_DIO0_BITN 0
#define GPIO_DOUT31_0_DIO0_M 0x00000001
#define GPIO_DOUT31_0_DIO0_S 0
//*****************************************************************************
//
// Register: GPIO_O_DOUTSET31_0
//
//*****************************************************************************
// Field: [31] DIO31
//
// Set bit 31
#define GPIO_DOUTSET31_0_DIO31 0x80000000
#define GPIO_DOUTSET31_0_DIO31_BITN 31
#define GPIO_DOUTSET31_0_DIO31_M 0x80000000
#define GPIO_DOUTSET31_0_DIO31_S 31
// Field: [30] DIO30
//
// Set bit 30
#define GPIO_DOUTSET31_0_DIO30 0x40000000
#define GPIO_DOUTSET31_0_DIO30_BITN 30
#define GPIO_DOUTSET31_0_DIO30_M 0x40000000
#define GPIO_DOUTSET31_0_DIO30_S 30
// Field: [29] DIO29
//
// Set bit 29
#define GPIO_DOUTSET31_0_DIO29 0x20000000
#define GPIO_DOUTSET31_0_DIO29_BITN 29
#define GPIO_DOUTSET31_0_DIO29_M 0x20000000
#define GPIO_DOUTSET31_0_DIO29_S 29
// Field: [28] DIO28
//
// Set bit 28
#define GPIO_DOUTSET31_0_DIO28 0x10000000
#define GPIO_DOUTSET31_0_DIO28_BITN 28
#define GPIO_DOUTSET31_0_DIO28_M 0x10000000
#define GPIO_DOUTSET31_0_DIO28_S 28
// Field: [27] DIO27
//
// Set bit 27
#define GPIO_DOUTSET31_0_DIO27 0x08000000
#define GPIO_DOUTSET31_0_DIO27_BITN 27
#define GPIO_DOUTSET31_0_DIO27_M 0x08000000
#define GPIO_DOUTSET31_0_DIO27_S 27
// Field: [26] DIO26
//
// Set bit 26
#define GPIO_DOUTSET31_0_DIO26 0x04000000
#define GPIO_DOUTSET31_0_DIO26_BITN 26
#define GPIO_DOUTSET31_0_DIO26_M 0x04000000
#define GPIO_DOUTSET31_0_DIO26_S 26
// Field: [25] DIO25
//
// Set bit 25
#define GPIO_DOUTSET31_0_DIO25 0x02000000
#define GPIO_DOUTSET31_0_DIO25_BITN 25
#define GPIO_DOUTSET31_0_DIO25_M 0x02000000
#define GPIO_DOUTSET31_0_DIO25_S 25
// Field: [24] DIO24
//
// Set bit 24
#define GPIO_DOUTSET31_0_DIO24 0x01000000
#define GPIO_DOUTSET31_0_DIO24_BITN 24
#define GPIO_DOUTSET31_0_DIO24_M 0x01000000
#define GPIO_DOUTSET31_0_DIO24_S 24
// Field: [23] DIO23
//
// Set bit 23
#define GPIO_DOUTSET31_0_DIO23 0x00800000
#define GPIO_DOUTSET31_0_DIO23_BITN 23
#define GPIO_DOUTSET31_0_DIO23_M 0x00800000
#define GPIO_DOUTSET31_0_DIO23_S 23
// Field: [22] DIO22
//
// Set bit 22
#define GPIO_DOUTSET31_0_DIO22 0x00400000
#define GPIO_DOUTSET31_0_DIO22_BITN 22
#define GPIO_DOUTSET31_0_DIO22_M 0x00400000
#define GPIO_DOUTSET31_0_DIO22_S 22
// Field: [21] DIO21
//
// Set bit 21
#define GPIO_DOUTSET31_0_DIO21 0x00200000
#define GPIO_DOUTSET31_0_DIO21_BITN 21
#define GPIO_DOUTSET31_0_DIO21_M 0x00200000
#define GPIO_DOUTSET31_0_DIO21_S 21
// Field: [20] DIO20
//
// Set bit 20
#define GPIO_DOUTSET31_0_DIO20 0x00100000
#define GPIO_DOUTSET31_0_DIO20_BITN 20
#define GPIO_DOUTSET31_0_DIO20_M 0x00100000
#define GPIO_DOUTSET31_0_DIO20_S 20
// Field: [19] DIO19
//
// Set bit 19
#define GPIO_DOUTSET31_0_DIO19 0x00080000
#define GPIO_DOUTSET31_0_DIO19_BITN 19
#define GPIO_DOUTSET31_0_DIO19_M 0x00080000
#define GPIO_DOUTSET31_0_DIO19_S 19
// Field: [18] DIO18
//
// Set bit 18
#define GPIO_DOUTSET31_0_DIO18 0x00040000
#define GPIO_DOUTSET31_0_DIO18_BITN 18
#define GPIO_DOUTSET31_0_DIO18_M 0x00040000
#define GPIO_DOUTSET31_0_DIO18_S 18
// Field: [17] DIO17
//
// Set bit 17
#define GPIO_DOUTSET31_0_DIO17 0x00020000
#define GPIO_DOUTSET31_0_DIO17_BITN 17
#define GPIO_DOUTSET31_0_DIO17_M 0x00020000
#define GPIO_DOUTSET31_0_DIO17_S 17
// Field: [16] DIO16
//
// Set bit 16
#define GPIO_DOUTSET31_0_DIO16 0x00010000
#define GPIO_DOUTSET31_0_DIO16_BITN 16
#define GPIO_DOUTSET31_0_DIO16_M 0x00010000
#define GPIO_DOUTSET31_0_DIO16_S 16
// Field: [15] DIO15
//
// Set bit 15
#define GPIO_DOUTSET31_0_DIO15 0x00008000
#define GPIO_DOUTSET31_0_DIO15_BITN 15
#define GPIO_DOUTSET31_0_DIO15_M 0x00008000
#define GPIO_DOUTSET31_0_DIO15_S 15
// Field: [14] DIO14
//
// Set bit 14
#define GPIO_DOUTSET31_0_DIO14 0x00004000
#define GPIO_DOUTSET31_0_DIO14_BITN 14
#define GPIO_DOUTSET31_0_DIO14_M 0x00004000
#define GPIO_DOUTSET31_0_DIO14_S 14
// Field: [13] DIO13
//
// Set bit 13
#define GPIO_DOUTSET31_0_DIO13 0x00002000
#define GPIO_DOUTSET31_0_DIO13_BITN 13
#define GPIO_DOUTSET31_0_DIO13_M 0x00002000
#define GPIO_DOUTSET31_0_DIO13_S 13
// Field: [12] DIO12
//
// Set bit 12
#define GPIO_DOUTSET31_0_DIO12 0x00001000
#define GPIO_DOUTSET31_0_DIO12_BITN 12
#define GPIO_DOUTSET31_0_DIO12_M 0x00001000
#define GPIO_DOUTSET31_0_DIO12_S 12
// Field: [11] DIO11
//
// Set bit 11
#define GPIO_DOUTSET31_0_DIO11 0x00000800
#define GPIO_DOUTSET31_0_DIO11_BITN 11
#define GPIO_DOUTSET31_0_DIO11_M 0x00000800
#define GPIO_DOUTSET31_0_DIO11_S 11
// Field: [10] DIO10
//
// Set bit 10
#define GPIO_DOUTSET31_0_DIO10 0x00000400
#define GPIO_DOUTSET31_0_DIO10_BITN 10
#define GPIO_DOUTSET31_0_DIO10_M 0x00000400
#define GPIO_DOUTSET31_0_DIO10_S 10
// Field: [9] DIO9
//
// Set bit 9
#define GPIO_DOUTSET31_0_DIO9 0x00000200
#define GPIO_DOUTSET31_0_DIO9_BITN 9
#define GPIO_DOUTSET31_0_DIO9_M 0x00000200
#define GPIO_DOUTSET31_0_DIO9_S 9
// Field: [8] DIO8
//
// Set bit 8
#define GPIO_DOUTSET31_0_DIO8 0x00000100
#define GPIO_DOUTSET31_0_DIO8_BITN 8
#define GPIO_DOUTSET31_0_DIO8_M 0x00000100
#define GPIO_DOUTSET31_0_DIO8_S 8
// Field: [7] DIO7
//
// Set bit 7
#define GPIO_DOUTSET31_0_DIO7 0x00000080
#define GPIO_DOUTSET31_0_DIO7_BITN 7
#define GPIO_DOUTSET31_0_DIO7_M 0x00000080
#define GPIO_DOUTSET31_0_DIO7_S 7
// Field: [6] DIO6
//
// Set bit 6
#define GPIO_DOUTSET31_0_DIO6 0x00000040
#define GPIO_DOUTSET31_0_DIO6_BITN 6
#define GPIO_DOUTSET31_0_DIO6_M 0x00000040
#define GPIO_DOUTSET31_0_DIO6_S 6
// Field: [5] DIO5
//
// Set bit 5
#define GPIO_DOUTSET31_0_DIO5 0x00000020
#define GPIO_DOUTSET31_0_DIO5_BITN 5
#define GPIO_DOUTSET31_0_DIO5_M 0x00000020
#define GPIO_DOUTSET31_0_DIO5_S 5
// Field: [4] DIO4
//
// Set bit 4
#define GPIO_DOUTSET31_0_DIO4 0x00000010
#define GPIO_DOUTSET31_0_DIO4_BITN 4
#define GPIO_DOUTSET31_0_DIO4_M 0x00000010
#define GPIO_DOUTSET31_0_DIO4_S 4
// Field: [3] DIO3
//
// Set bit 3
#define GPIO_DOUTSET31_0_DIO3 0x00000008
#define GPIO_DOUTSET31_0_DIO3_BITN 3
#define GPIO_DOUTSET31_0_DIO3_M 0x00000008
#define GPIO_DOUTSET31_0_DIO3_S 3
// Field: [2] DIO2
//
// Set bit 2
#define GPIO_DOUTSET31_0_DIO2 0x00000004
#define GPIO_DOUTSET31_0_DIO2_BITN 2
#define GPIO_DOUTSET31_0_DIO2_M 0x00000004
#define GPIO_DOUTSET31_0_DIO2_S 2
// Field: [1] DIO1
//
// Set bit 1
#define GPIO_DOUTSET31_0_DIO1 0x00000002
#define GPIO_DOUTSET31_0_DIO1_BITN 1
#define GPIO_DOUTSET31_0_DIO1_M 0x00000002
#define GPIO_DOUTSET31_0_DIO1_S 1
// Field: [0] DIO0
//
// Set bit 0
#define GPIO_DOUTSET31_0_DIO0 0x00000001
#define GPIO_DOUTSET31_0_DIO0_BITN 0
#define GPIO_DOUTSET31_0_DIO0_M 0x00000001
#define GPIO_DOUTSET31_0_DIO0_S 0
//*****************************************************************************
//
// Register: GPIO_O_DOUTCLR31_0
//
//*****************************************************************************
// Field: [31] DIO31
//
// Clears bit 31
#define GPIO_DOUTCLR31_0_DIO31 0x80000000
#define GPIO_DOUTCLR31_0_DIO31_BITN 31
#define GPIO_DOUTCLR31_0_DIO31_M 0x80000000
#define GPIO_DOUTCLR31_0_DIO31_S 31
// Field: [30] DIO30
//
// Clears bit 30
#define GPIO_DOUTCLR31_0_DIO30 0x40000000
#define GPIO_DOUTCLR31_0_DIO30_BITN 30
#define GPIO_DOUTCLR31_0_DIO30_M 0x40000000
#define GPIO_DOUTCLR31_0_DIO30_S 30
// Field: [29] DIO29
//
// Clears bit 29
#define GPIO_DOUTCLR31_0_DIO29 0x20000000
#define GPIO_DOUTCLR31_0_DIO29_BITN 29
#define GPIO_DOUTCLR31_0_DIO29_M 0x20000000
#define GPIO_DOUTCLR31_0_DIO29_S 29
// Field: [28] DIO28
//
// Clears bit 28
#define GPIO_DOUTCLR31_0_DIO28 0x10000000
#define GPIO_DOUTCLR31_0_DIO28_BITN 28
#define GPIO_DOUTCLR31_0_DIO28_M 0x10000000
#define GPIO_DOUTCLR31_0_DIO28_S 28
// Field: [27] DIO27
//
// Clears bit 27
#define GPIO_DOUTCLR31_0_DIO27 0x08000000
#define GPIO_DOUTCLR31_0_DIO27_BITN 27
#define GPIO_DOUTCLR31_0_DIO27_M 0x08000000
#define GPIO_DOUTCLR31_0_DIO27_S 27
// Field: [26] DIO26
//
// Clears bit 26
#define GPIO_DOUTCLR31_0_DIO26 0x04000000
#define GPIO_DOUTCLR31_0_DIO26_BITN 26
#define GPIO_DOUTCLR31_0_DIO26_M 0x04000000
#define GPIO_DOUTCLR31_0_DIO26_S 26
// Field: [25] DIO25
//
// Clears bit 25
#define GPIO_DOUTCLR31_0_DIO25 0x02000000
#define GPIO_DOUTCLR31_0_DIO25_BITN 25
#define GPIO_DOUTCLR31_0_DIO25_M 0x02000000
#define GPIO_DOUTCLR31_0_DIO25_S 25