-
Notifications
You must be signed in to change notification settings - Fork 2
/
hw_sysctl.h
3749 lines (3518 loc) · 212 KB
/
hw_sysctl.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
//*****************************************************************************
//
// hw_sysctl.h - Macros used when accessing the system control hardware.
//
// Copyright (c) 2005-2017 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// 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.
//
// Neither the name of Texas Instruments Incorporated 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
// OWNER 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.
//
// This is part of revision 2.1.4.178 of the Tiva Firmware Development Package.
//
//*****************************************************************************
#ifndef __HW_SYSCTL_H__
#define __HW_SYSCTL_H__
//*****************************************************************************
//
// The following are defines for the System Control register addresses.
//
//*****************************************************************************
#define SYSCTL_DID0 0x400FE000 // Device Identification 0
#define SYSCTL_DID1 0x400FE004 // Device Identification 1
#define SYSCTL_DC0 0x400FE008 // Device Capabilities 0
#define SYSCTL_DC1 0x400FE010 // Device Capabilities 1
#define SYSCTL_DC2 0x400FE014 // Device Capabilities 2
#define SYSCTL_DC3 0x400FE018 // Device Capabilities 3
#define SYSCTL_DC4 0x400FE01C // Device Capabilities 4
#define SYSCTL_DC5 0x400FE020 // Device Capabilities 5
#define SYSCTL_DC6 0x400FE024 // Device Capabilities 6
#define SYSCTL_DC7 0x400FE028 // Device Capabilities 7
#define SYSCTL_DC8 0x400FE02C // Device Capabilities 8
#define SYSCTL_PBORCTL 0x400FE030 // Brown-Out Reset Control
#define SYSCTL_PTBOCTL 0x400FE038 // Power-Temp Brown Out Control
#define SYSCTL_SRCR0 0x400FE040 // Software Reset Control 0
#define SYSCTL_SRCR1 0x400FE044 // Software Reset Control 1
#define SYSCTL_SRCR2 0x400FE048 // Software Reset Control 2
#define SYSCTL_RIS 0x400FE050 // Raw Interrupt Status
#define SYSCTL_IMC 0x400FE054 // Interrupt Mask Control
#define SYSCTL_MISC 0x400FE058 // Masked Interrupt Status and
// Clear
#define SYSCTL_RESC 0x400FE05C // Reset Cause
#define SYSCTL_PWRTC 0x400FE060 // Power-Temperature Cause
#define SYSCTL_RCC 0x400FE060 // Run-Mode Clock Configuration
#define SYSCTL_NMIC 0x400FE064 // NMI Cause Register
#define SYSCTL_GPIOHBCTL 0x400FE06C // GPIO High-Performance Bus
// Control
#define SYSCTL_RCC2 0x400FE070 // Run-Mode Clock Configuration 2
#define SYSCTL_MOSCCTL 0x400FE07C // Main Oscillator Control
#define SYSCTL_RSCLKCFG 0x400FE0B0 // Run and Sleep Mode Configuration
// Register
#define SYSCTL_MEMTIM0 0x400FE0C0 // Memory Timing Parameter Register
// 0 for Main Flash and EEPROM
#define SYSCTL_RCGC0 0x400FE100 // Run Mode Clock Gating Control
// Register 0
#define SYSCTL_RCGC1 0x400FE104 // Run Mode Clock Gating Control
// Register 1
#define SYSCTL_RCGC2 0x400FE108 // Run Mode Clock Gating Control
// Register 2
#define SYSCTL_SCGC0 0x400FE110 // Sleep Mode Clock Gating Control
// Register 0
#define SYSCTL_SCGC1 0x400FE114 // Sleep Mode Clock Gating Control
// Register 1
#define SYSCTL_SCGC2 0x400FE118 // Sleep Mode Clock Gating Control
// Register 2
#define SYSCTL_DCGC0 0x400FE120 // Deep Sleep Mode Clock Gating
// Control Register 0
#define SYSCTL_DCGC1 0x400FE124 // Deep-Sleep Mode Clock Gating
// Control Register 1
#define SYSCTL_DCGC2 0x400FE128 // Deep Sleep Mode Clock Gating
// Control Register 2
#define SYSCTL_ALTCLKCFG 0x400FE138 // Alternate Clock Configuration
#define SYSCTL_DSLPCLKCFG 0x400FE144 // Deep Sleep Clock Configuration
#define SYSCTL_DSCLKCFG 0x400FE144 // Deep Sleep Clock Configuration
// Register
#define SYSCTL_DIVSCLK 0x400FE148 // Divisor and Source Clock
// Configuration
#define SYSCTL_SYSPROP 0x400FE14C // System Properties
#define SYSCTL_PIOSCCAL 0x400FE150 // Precision Internal Oscillator
// Calibration
#define SYSCTL_PIOSCSTAT 0x400FE154 // Precision Internal Oscillator
// Statistics
#define SYSCTL_PLLFREQ0 0x400FE160 // PLL Frequency 0
#define SYSCTL_PLLFREQ1 0x400FE164 // PLL Frequency 1
#define SYSCTL_PLLSTAT 0x400FE168 // PLL Status
#define SYSCTL_SLPPWRCFG 0x400FE188 // Sleep Power Configuration
#define SYSCTL_DSLPPWRCFG 0x400FE18C // Deep-Sleep Power Configuration
#define SYSCTL_DC9 0x400FE190 // Device Capabilities 9
#define SYSCTL_NVMSTAT 0x400FE1A0 // Non-Volatile Memory Information
#define SYSCTL_LDOSPCTL 0x400FE1B4 // LDO Sleep Power Control
#define SYSCTL_LDODPCTL 0x400FE1BC // LDO Deep-Sleep Power Control
#define SYSCTL_RESBEHAVCTL 0x400FE1D8 // Reset Behavior Control Register
#define SYSCTL_HSSR 0x400FE1F4 // Hardware System Service Request
#define SYSCTL_USBPDS 0x400FE280 // USB Power Domain Status
#define SYSCTL_USBMPC 0x400FE284 // USB Memory Power Control
#define SYSCTL_EMACPDS 0x400FE288 // Ethernet MAC Power Domain Status
#define SYSCTL_EMACMPC 0x400FE28C // Ethernet MAC Memory Power
// Control
#define SYSCTL_LCDMPC 0x400FE294 // LCD Memory Power Control
#define SYSCTL_PPWD 0x400FE300 // Watchdog Timer Peripheral
// Present
#define SYSCTL_PPTIMER 0x400FE304 // 16/32-Bit General-Purpose Timer
// Peripheral Present
#define SYSCTL_PPGPIO 0x400FE308 // General-Purpose Input/Output
// Peripheral Present
#define SYSCTL_PPDMA 0x400FE30C // Micro Direct Memory Access
// Peripheral Present
#define SYSCTL_PPEPI 0x400FE310 // EPI Peripheral Present
#define SYSCTL_PPHIB 0x400FE314 // Hibernation Peripheral Present
#define SYSCTL_PPUART 0x400FE318 // Universal Asynchronous
// Receiver/Transmitter Peripheral
// Present
#define SYSCTL_PPSSI 0x400FE31C // Synchronous Serial Interface
// Peripheral Present
#define SYSCTL_PPI2C 0x400FE320 // Inter-Integrated Circuit
// Peripheral Present
#define SYSCTL_PPUSB 0x400FE328 // Universal Serial Bus Peripheral
// Present
#define SYSCTL_PPEPHY 0x400FE330 // Ethernet PHY Peripheral Present
#define SYSCTL_PPCAN 0x400FE334 // Controller Area Network
// Peripheral Present
#define SYSCTL_PPADC 0x400FE338 // Analog-to-Digital Converter
// Peripheral Present
#define SYSCTL_PPACMP 0x400FE33C // Analog Comparator Peripheral
// Present
#define SYSCTL_PPPWM 0x400FE340 // Pulse Width Modulator Peripheral
// Present
#define SYSCTL_PPQEI 0x400FE344 // Quadrature Encoder Interface
// Peripheral Present
#define SYSCTL_PPLPC 0x400FE348 // Low Pin Count Interface
// Peripheral Present
#define SYSCTL_PPPECI 0x400FE350 // Platform Environment Control
// Interface Peripheral Present
#define SYSCTL_PPFAN 0x400FE354 // Fan Control Peripheral Present
#define SYSCTL_PPEEPROM 0x400FE358 // EEPROM Peripheral Present
#define SYSCTL_PPWTIMER 0x400FE35C // 32/64-Bit Wide General-Purpose
// Timer Peripheral Present
#define SYSCTL_PPRTS 0x400FE370 // Remote Temperature Sensor
// Peripheral Present
#define SYSCTL_PPCCM 0x400FE374 // CRC and Cryptographic Modules
// Peripheral Present
#define SYSCTL_PPLCD 0x400FE390 // LCD Peripheral Present
#define SYSCTL_PPOWIRE 0x400FE398 // 1-Wire Peripheral Present
#define SYSCTL_PPEMAC 0x400FE39C // Ethernet MAC Peripheral Present
#define SYSCTL_PPHIM 0x400FE3A4 // Human Interface Master
// Peripheral Present
#define SYSCTL_SRWD 0x400FE500 // Watchdog Timer Software Reset
#define SYSCTL_SRTIMER 0x400FE504 // 16/32-Bit General-Purpose Timer
// Software Reset
#define SYSCTL_SRGPIO 0x400FE508 // General-Purpose Input/Output
// Software Reset
#define SYSCTL_SRDMA 0x400FE50C // Micro Direct Memory Access
// Software Reset
#define SYSCTL_SREPI 0x400FE510 // EPI Software Reset
#define SYSCTL_SRHIB 0x400FE514 // Hibernation Software Reset
#define SYSCTL_SRUART 0x400FE518 // Universal Asynchronous
// Receiver/Transmitter Software
// Reset
#define SYSCTL_SRSSI 0x400FE51C // Synchronous Serial Interface
// Software Reset
#define SYSCTL_SRI2C 0x400FE520 // Inter-Integrated Circuit
// Software Reset
#define SYSCTL_SRUSB 0x400FE528 // Universal Serial Bus Software
// Reset
#define SYSCTL_SREPHY 0x400FE530 // Ethernet PHY Software Reset
#define SYSCTL_SRCAN 0x400FE534 // Controller Area Network Software
// Reset
#define SYSCTL_SRADC 0x400FE538 // Analog-to-Digital Converter
// Software Reset
#define SYSCTL_SRACMP 0x400FE53C // Analog Comparator Software Reset
#define SYSCTL_SRPWM 0x400FE540 // Pulse Width Modulator Software
// Reset
#define SYSCTL_SRQEI 0x400FE544 // Quadrature Encoder Interface
// Software Reset
#define SYSCTL_SREEPROM 0x400FE558 // EEPROM Software Reset
#define SYSCTL_SRWTIMER 0x400FE55C // 32/64-Bit Wide General-Purpose
// Timer Software Reset
#define SYSCTL_SRCCM 0x400FE574 // CRC and Cryptographic Modules
// Software Reset
#define SYSCTL_SRLCD 0x400FE590 // LCD Controller Software Reset
#define SYSCTL_SROWIRE 0x400FE598 // 1-Wire Software Reset
#define SYSCTL_SREMAC 0x400FE59C // Ethernet MAC Software Reset
#define SYSCTL_RCGCWD 0x400FE600 // Watchdog Timer Run Mode Clock
// Gating Control
#define SYSCTL_RCGCTIMER 0x400FE604 // 16/32-Bit General-Purpose Timer
// Run Mode Clock Gating Control
#define SYSCTL_RCGCGPIO 0x400FE608 // General-Purpose Input/Output Run
// Mode Clock Gating Control
#define SYSCTL_RCGCDMA 0x400FE60C // Micro Direct Memory Access Run
// Mode Clock Gating Control
#define SYSCTL_RCGCEPI 0x400FE610 // EPI Run Mode Clock Gating
// Control
#define SYSCTL_RCGCHIB 0x400FE614 // Hibernation Run Mode Clock
// Gating Control
#define SYSCTL_RCGCUART 0x400FE618 // Universal Asynchronous
// Receiver/Transmitter Run Mode
// Clock Gating Control
#define SYSCTL_RCGCSSI 0x400FE61C // Synchronous Serial Interface Run
// Mode Clock Gating Control
#define SYSCTL_RCGCI2C 0x400FE620 // Inter-Integrated Circuit Run
// Mode Clock Gating Control
#define SYSCTL_RCGCUSB 0x400FE628 // Universal Serial Bus Run Mode
// Clock Gating Control
#define SYSCTL_RCGCEPHY 0x400FE630 // Ethernet PHY Run Mode Clock
// Gating Control
#define SYSCTL_RCGCCAN 0x400FE634 // Controller Area Network Run Mode
// Clock Gating Control
#define SYSCTL_RCGCADC 0x400FE638 // Analog-to-Digital Converter Run
// Mode Clock Gating Control
#define SYSCTL_RCGCACMP 0x400FE63C // Analog Comparator Run Mode Clock
// Gating Control
#define SYSCTL_RCGCPWM 0x400FE640 // Pulse Width Modulator Run Mode
// Clock Gating Control
#define SYSCTL_RCGCQEI 0x400FE644 // Quadrature Encoder Interface Run
// Mode Clock Gating Control
#define SYSCTL_RCGCEEPROM 0x400FE658 // EEPROM Run Mode Clock Gating
// Control
#define SYSCTL_RCGCWTIMER 0x400FE65C // 32/64-Bit Wide General-Purpose
// Timer Run Mode Clock Gating
// Control
#define SYSCTL_RCGCCCM 0x400FE674 // CRC and Cryptographic Modules
// Run Mode Clock Gating Control
#define SYSCTL_RCGCLCD 0x400FE690 // LCD Controller Run Mode Clock
// Gating Control
#define SYSCTL_RCGCOWIRE 0x400FE698 // 1-Wire Run Mode Clock Gating
// Control
#define SYSCTL_RCGCEMAC 0x400FE69C // Ethernet MAC Run Mode Clock
// Gating Control
#define SYSCTL_SCGCWD 0x400FE700 // Watchdog Timer Sleep Mode Clock
// Gating Control
#define SYSCTL_SCGCTIMER 0x400FE704 // 16/32-Bit General-Purpose Timer
// Sleep Mode Clock Gating Control
#define SYSCTL_SCGCGPIO 0x400FE708 // General-Purpose Input/Output
// Sleep Mode Clock Gating Control
#define SYSCTL_SCGCDMA 0x400FE70C // Micro Direct Memory Access Sleep
// Mode Clock Gating Control
#define SYSCTL_SCGCEPI 0x400FE710 // EPI Sleep Mode Clock Gating
// Control
#define SYSCTL_SCGCHIB 0x400FE714 // Hibernation Sleep Mode Clock
// Gating Control
#define SYSCTL_SCGCUART 0x400FE718 // Universal Asynchronous
// Receiver/Transmitter Sleep Mode
// Clock Gating Control
#define SYSCTL_SCGCSSI 0x400FE71C // Synchronous Serial Interface
// Sleep Mode Clock Gating Control
#define SYSCTL_SCGCI2C 0x400FE720 // Inter-Integrated Circuit Sleep
// Mode Clock Gating Control
#define SYSCTL_SCGCUSB 0x400FE728 // Universal Serial Bus Sleep Mode
// Clock Gating Control
#define SYSCTL_SCGCEPHY 0x400FE730 // Ethernet PHY Sleep Mode Clock
// Gating Control
#define SYSCTL_SCGCCAN 0x400FE734 // Controller Area Network Sleep
// Mode Clock Gating Control
#define SYSCTL_SCGCADC 0x400FE738 // Analog-to-Digital Converter
// Sleep Mode Clock Gating Control
#define SYSCTL_SCGCACMP 0x400FE73C // Analog Comparator Sleep Mode
// Clock Gating Control
#define SYSCTL_SCGCPWM 0x400FE740 // Pulse Width Modulator Sleep Mode
// Clock Gating Control
#define SYSCTL_SCGCQEI 0x400FE744 // Quadrature Encoder Interface
// Sleep Mode Clock Gating Control
#define SYSCTL_SCGCEEPROM 0x400FE758 // EEPROM Sleep Mode Clock Gating
// Control
#define SYSCTL_SCGCWTIMER 0x400FE75C // 32/64-Bit Wide General-Purpose
// Timer Sleep Mode Clock Gating
// Control
#define SYSCTL_SCGCCCM 0x400FE774 // CRC and Cryptographic Modules
// Sleep Mode Clock Gating Control
#define SYSCTL_SCGCLCD 0x400FE790 // LCD Controller Sleep Mode Clock
// Gating Control
#define SYSCTL_SCGCOWIRE 0x400FE798 // 1-Wire Sleep Mode Clock Gating
// Control
#define SYSCTL_SCGCEMAC 0x400FE79C // Ethernet MAC Sleep Mode Clock
// Gating Control
#define SYSCTL_DCGCWD 0x400FE800 // Watchdog Timer Deep-Sleep Mode
// Clock Gating Control
#define SYSCTL_DCGCTIMER 0x400FE804 // 16/32-Bit General-Purpose Timer
// Deep-Sleep Mode Clock Gating
// Control
#define SYSCTL_DCGCGPIO 0x400FE808 // General-Purpose Input/Output
// Deep-Sleep Mode Clock Gating
// Control
#define SYSCTL_DCGCDMA 0x400FE80C // Micro Direct Memory Access
// Deep-Sleep Mode Clock Gating
// Control
#define SYSCTL_DCGCEPI 0x400FE810 // EPI Deep-Sleep Mode Clock Gating
// Control
#define SYSCTL_DCGCHIB 0x400FE814 // Hibernation Deep-Sleep Mode
// Clock Gating Control
#define SYSCTL_DCGCUART 0x400FE818 // Universal Asynchronous
// Receiver/Transmitter Deep-Sleep
// Mode Clock Gating Control
#define SYSCTL_DCGCSSI 0x400FE81C // Synchronous Serial Interface
// Deep-Sleep Mode Clock Gating
// Control
#define SYSCTL_DCGCI2C 0x400FE820 // Inter-Integrated Circuit
// Deep-Sleep Mode Clock Gating
// Control
#define SYSCTL_DCGCUSB 0x400FE828 // Universal Serial Bus Deep-Sleep
// Mode Clock Gating Control
#define SYSCTL_DCGCEPHY 0x400FE830 // Ethernet PHY Deep-Sleep Mode
// Clock Gating Control
#define SYSCTL_DCGCCAN 0x400FE834 // Controller Area Network
// Deep-Sleep Mode Clock Gating
// Control
#define SYSCTL_DCGCADC 0x400FE838 // Analog-to-Digital Converter
// Deep-Sleep Mode Clock Gating
// Control
#define SYSCTL_DCGCACMP 0x400FE83C // Analog Comparator Deep-Sleep
// Mode Clock Gating Control
#define SYSCTL_DCGCPWM 0x400FE840 // Pulse Width Modulator Deep-Sleep
// Mode Clock Gating Control
#define SYSCTL_DCGCQEI 0x400FE844 // Quadrature Encoder Interface
// Deep-Sleep Mode Clock Gating
// Control
#define SYSCTL_DCGCEEPROM 0x400FE858 // EEPROM Deep-Sleep Mode Clock
// Gating Control
#define SYSCTL_DCGCWTIMER 0x400FE85C // 32/64-Bit Wide General-Purpose
// Timer Deep-Sleep Mode Clock
// Gating Control
#define SYSCTL_DCGCCCM 0x400FE874 // CRC and Cryptographic Modules
// Deep-Sleep Mode Clock Gating
// Control
#define SYSCTL_DCGCLCD 0x400FE890 // LCD Controller Deep-Sleep Mode
// Clock Gating Control
#define SYSCTL_DCGCOWIRE 0x400FE898 // 1-Wire Deep-Sleep Mode Clock
// Gating Control
#define SYSCTL_DCGCEMAC 0x400FE89C // Ethernet MAC Deep-Sleep Mode
// Clock Gating Control
#define SYSCTL_PCWD 0x400FE900 // Watchdog Timer Power Control
#define SYSCTL_PCTIMER 0x400FE904 // 16/32-Bit General-Purpose Timer
// Power Control
#define SYSCTL_PCGPIO 0x400FE908 // General-Purpose Input/Output
// Power Control
#define SYSCTL_PCDMA 0x400FE90C // Micro Direct Memory Access Power
// Control
#define SYSCTL_PCEPI 0x400FE910 // External Peripheral Interface
// Power Control
#define SYSCTL_PCHIB 0x400FE914 // Hibernation Power Control
#define SYSCTL_PCUART 0x400FE918 // Universal Asynchronous
// Receiver/Transmitter Power
// Control
#define SYSCTL_PCSSI 0x400FE91C // Synchronous Serial Interface
// Power Control
#define SYSCTL_PCI2C 0x400FE920 // Inter-Integrated Circuit Power
// Control
#define SYSCTL_PCUSB 0x400FE928 // Universal Serial Bus Power
// Control
#define SYSCTL_PCEPHY 0x400FE930 // Ethernet PHY Power Control
#define SYSCTL_PCCAN 0x400FE934 // Controller Area Network Power
// Control
#define SYSCTL_PCADC 0x400FE938 // Analog-to-Digital Converter
// Power Control
#define SYSCTL_PCACMP 0x400FE93C // Analog Comparator Power Control
#define SYSCTL_PCPWM 0x400FE940 // Pulse Width Modulator Power
// Control
#define SYSCTL_PCQEI 0x400FE944 // Quadrature Encoder Interface
// Power Control
#define SYSCTL_PCEEPROM 0x400FE958 // EEPROM Power Control
#define SYSCTL_PCCCM 0x400FE974 // CRC and Cryptographic Modules
// Power Control
#define SYSCTL_PCLCD 0x400FE990 // LCD Controller Power Control
#define SYSCTL_PCOWIRE 0x400FE998 // 1-Wire Power Control
#define SYSCTL_PCEMAC 0x400FE99C // Ethernet MAC Power Control
#define SYSCTL_PRWD 0x400FEA00 // Watchdog Timer Peripheral Ready
#define SYSCTL_PRTIMER 0x400FEA04 // 16/32-Bit General-Purpose Timer
// Peripheral Ready
#define SYSCTL_PRGPIO 0x400FEA08 // General-Purpose Input/Output
// Peripheral Ready
#define SYSCTL_PRDMA 0x400FEA0C // Micro Direct Memory Access
// Peripheral Ready
#define SYSCTL_PREPI 0x400FEA10 // EPI Peripheral Ready
#define SYSCTL_PRHIB 0x400FEA14 // Hibernation Peripheral Ready
#define SYSCTL_PRUART 0x400FEA18 // Universal Asynchronous
// Receiver/Transmitter Peripheral
// Ready
#define SYSCTL_PRSSI 0x400FEA1C // Synchronous Serial Interface
// Peripheral Ready
#define SYSCTL_PRI2C 0x400FEA20 // Inter-Integrated Circuit
// Peripheral Ready
#define SYSCTL_PRUSB 0x400FEA28 // Universal Serial Bus Peripheral
// Ready
#define SYSCTL_PREPHY 0x400FEA30 // Ethernet PHY Peripheral Ready
#define SYSCTL_PRCAN 0x400FEA34 // Controller Area Network
// Peripheral Ready
#define SYSCTL_PRADC 0x400FEA38 // Analog-to-Digital Converter
// Peripheral Ready
#define SYSCTL_PRACMP 0x400FEA3C // Analog Comparator Peripheral
// Ready
#define SYSCTL_PRPWM 0x400FEA40 // Pulse Width Modulator Peripheral
// Ready
#define SYSCTL_PRQEI 0x400FEA44 // Quadrature Encoder Interface
// Peripheral Ready
#define SYSCTL_PREEPROM 0x400FEA58 // EEPROM Peripheral Ready
#define SYSCTL_PRWTIMER 0x400FEA5C // 32/64-Bit Wide General-Purpose
// Timer Peripheral Ready
#define SYSCTL_PRCCM 0x400FEA74 // CRC and Cryptographic Modules
// Peripheral Ready
#define SYSCTL_PRLCD 0x400FEA90 // LCD Controller Peripheral Ready
#define SYSCTL_PROWIRE 0x400FEA98 // 1-Wire Peripheral Ready
#define SYSCTL_PREMAC 0x400FEA9C // Ethernet MAC Peripheral Ready
#define SYSCTL_UNIQUEID0 0x400FEF20 // Unique ID 0
#define SYSCTL_UNIQUEID1 0x400FEF24 // Unique ID 1
#define SYSCTL_UNIQUEID2 0x400FEF28 // Unique ID 2
#define SYSCTL_UNIQUEID3 0x400FEF2C // Unique ID 3
#define SYSCTL_CCMCGREQ 0x44030204 // Cryptographic Modules Clock
// Gating Request
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DID0 register.
//
//*****************************************************************************
#define SYSCTL_DID0_VER_M 0x70000000 // DID0 Version
#define SYSCTL_DID0_VER_1 0x10000000 // Second version of the DID0
// register format.
#define SYSCTL_DID0_CLASS_M 0x00FF0000 // Device Class
#define SYSCTL_DID0_CLASS_TM4C123 \
0x00050000 // Tiva TM4C123x and TM4E123x
// microcontrollers
#define SYSCTL_DID0_CLASS_TM4C129 \
0x000A0000 // Tiva(TM) TM4C129-class
// microcontrollers
#define SYSCTL_DID0_MAJ_M 0x0000FF00 // Major Revision
#define SYSCTL_DID0_MAJ_REVA 0x00000000 // Revision A (initial device)
#define SYSCTL_DID0_MAJ_REVB 0x00000100 // Revision B (first base layer
// revision)
#define SYSCTL_DID0_MAJ_REVC 0x00000200 // Revision C (second base layer
// revision)
#define SYSCTL_DID0_MIN_M 0x000000FF // Minor Revision
#define SYSCTL_DID0_MIN_0 0x00000000 // Initial device, or a major
// revision update
#define SYSCTL_DID0_MIN_1 0x00000001 // First metal layer change
#define SYSCTL_DID0_MIN_2 0x00000002 // Second metal layer change
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DID1 register.
//
//*****************************************************************************
#define SYSCTL_DID1_VER_M 0xF0000000 // DID1 Version
#define SYSCTL_DID1_VER_1 0x10000000 // fury_ib
#define SYSCTL_DID1_FAM_M 0x0F000000 // Family
#define SYSCTL_DID1_FAM_TIVA 0x00000000 // Tiva family of microcontollers
#define SYSCTL_DID1_PRTNO_M 0x00FF0000 // Part Number
#define SYSCTL_DID1_PRTNO_TM4C1230C3PM \
0x00220000 // TM4C1230C3PM
#define SYSCTL_DID1_PRTNO_TM4C1230D5PM \
0x00230000 // TM4C1230D5PM
#define SYSCTL_DID1_PRTNO_TM4C1230E6PM \
0x00200000 // TM4C1230E6PM
#define SYSCTL_DID1_PRTNO_TM4C1230H6PM \
0x00210000 // TM4C1230H6PM
#define SYSCTL_DID1_PRTNO_TM4C1231C3PM \
0x00180000 // TM4C1231C3PM
#define SYSCTL_DID1_PRTNO_TM4C1231D5PM \
0x00190000 // TM4C1231D5PM
#define SYSCTL_DID1_PRTNO_TM4C1231D5PZ \
0x00360000 // TM4C1231D5PZ
#define SYSCTL_DID1_PRTNO_TM4C1231E6PM \
0x00100000 // TM4C1231E6PM
#define SYSCTL_DID1_PRTNO_TM4C1231E6PZ \
0x00300000 // TM4C1231E6PZ
#define SYSCTL_DID1_PRTNO_TM4C1231H6PGE \
0x00350000 // TM4C1231H6PGE
#define SYSCTL_DID1_PRTNO_TM4C1231H6PM \
0x00110000 // TM4C1231H6PM
#define SYSCTL_DID1_PRTNO_TM4C1231H6PZ \
0x00310000 // TM4C1231H6PZ
#define SYSCTL_DID1_PRTNO_TM4C1232C3PM \
0x00080000 // TM4C1232C3PM
#define SYSCTL_DID1_PRTNO_TM4C1232D5PM \
0x00090000 // TM4C1232D5PM
#define SYSCTL_DID1_PRTNO_TM4C1232E6PM \
0x000A0000 // TM4C1232E6PM
#define SYSCTL_DID1_PRTNO_TM4C1232H6PM \
0x000B0000 // TM4C1232H6PM
#define SYSCTL_DID1_PRTNO_TM4C1233C3PM \
0x00010000 // TM4C1233C3PM
#define SYSCTL_DID1_PRTNO_TM4C1233D5PM \
0x00020000 // TM4C1233D5PM
#define SYSCTL_DID1_PRTNO_TM4C1233D5PZ \
0x00D00000 // TM4C1233D5PZ
#define SYSCTL_DID1_PRTNO_TM4C1233E6PM \
0x00030000 // TM4C1233E6PM
#define SYSCTL_DID1_PRTNO_TM4C1233E6PZ \
0x00D10000 // TM4C1233E6PZ
#define SYSCTL_DID1_PRTNO_TM4C1233H6PGE \
0x00D60000 // TM4C1233H6PGE
#define SYSCTL_DID1_PRTNO_TM4C1233H6PM \
0x00040000 // TM4C1233H6PM
#define SYSCTL_DID1_PRTNO_TM4C1233H6PZ \
0x00D20000 // TM4C1233H6PZ
#define SYSCTL_DID1_PRTNO_TM4C1236D5PM \
0x00520000 // TM4C1236D5PM
#define SYSCTL_DID1_PRTNO_TM4C1236E6PM \
0x00500000 // TM4C1236E6PM
#define SYSCTL_DID1_PRTNO_TM4C1236H6PM \
0x00510000 // TM4C1236H6PM
#define SYSCTL_DID1_PRTNO_TM4C1237D5PM \
0x00480000 // TM4C1237D5PM
#define SYSCTL_DID1_PRTNO_TM4C1237D5PZ \
0x00660000 // TM4C1237D5PZ
#define SYSCTL_DID1_PRTNO_TM4C1237E6PM \
0x00400000 // TM4C1237E6PM
#define SYSCTL_DID1_PRTNO_TM4C1237E6PZ \
0x00600000 // TM4C1237E6PZ
#define SYSCTL_DID1_PRTNO_TM4C1237H6PGE \
0x00650000 // TM4C1237H6PGE
#define SYSCTL_DID1_PRTNO_TM4C1237H6PM \
0x00410000 // TM4C1237H6PM
#define SYSCTL_DID1_PRTNO_TM4C1237H6PZ \
0x00610000 // TM4C1237H6PZ
#define SYSCTL_DID1_PRTNO_TM4C123AE6PM \
0x00800000 // TM4C123AE6PM
#define SYSCTL_DID1_PRTNO_TM4C123AH6PM \
0x00830000 // TM4C123AH6PM
#define SYSCTL_DID1_PRTNO_TM4C123BE6PM \
0x00700000 // TM4C123BE6PM
#define SYSCTL_DID1_PRTNO_TM4C123BE6PZ \
0x00C30000 // TM4C123BE6PZ
#define SYSCTL_DID1_PRTNO_TM4C123BH6PGE \
0x00C60000 // TM4C123BH6PGE
#define SYSCTL_DID1_PRTNO_TM4C123BH6PM \
0x00730000 // TM4C123BH6PM
#define SYSCTL_DID1_PRTNO_TM4C123BH6PZ \
0x00C40000 // TM4C123BH6PZ
#define SYSCTL_DID1_PRTNO_TM4C123BH6ZRB \
0x00E90000 // TM4C123BH6ZRB
#define SYSCTL_DID1_PRTNO_TM4C123FE6PM \
0x00B00000 // TM4C123FE6PM
#define SYSCTL_DID1_PRTNO_TM4C123FH6PM \
0x00B10000 // TM4C123FH6PM
#define SYSCTL_DID1_PRTNO_TM4C123GE6PM \
0x00A00000 // TM4C123GE6PM
#define SYSCTL_DID1_PRTNO_TM4C123GE6PZ \
0x00C00000 // TM4C123GE6PZ
#define SYSCTL_DID1_PRTNO_TM4C123GH6PGE \
0x00C50000 // TM4C123GH6PGE
#define SYSCTL_DID1_PRTNO_TM4C123GH6PM \
0x00A10000 // TM4C123GH6PM
#define SYSCTL_DID1_PRTNO_TM4C123GH6PZ \
0x00C10000 // TM4C123GH6PZ
#define SYSCTL_DID1_PRTNO_TM4C123GH6ZRB \
0x00E30000 // TM4C123GH6ZRB
#define SYSCTL_DID1_PRTNO_TM4C1290NCPDT \
0x00190000 // TM4C1290NCPDT
#define SYSCTL_DID1_PRTNO_TM4C1290NCZAD \
0x001B0000 // TM4C1290NCZAD
#define SYSCTL_DID1_PRTNO_TM4C1292NCPDT \
0x001C0000 // TM4C1292NCPDT
#define SYSCTL_DID1_PRTNO_TM4C1292NCZAD \
0x001E0000 // TM4C1292NCZAD
#define SYSCTL_DID1_PRTNO_TM4C1294KCPDT \
0x00340000 // TM4C1294KCPDT
#define SYSCTL_DID1_PRTNO_TM4C1294NCPDT \
0x001F0000 // TM4C1294NCPDT
#define SYSCTL_DID1_PRTNO_TM4C1294NCZAD \
0x00210000 // TM4C1294NCZAD
#define SYSCTL_DID1_PRTNO_TM4C1297NCZAD \
0x00220000 // TM4C1297NCZAD
#define SYSCTL_DID1_PRTNO_TM4C1299KCZAD \
0x00360000 // TM4C1299KCZAD
#define SYSCTL_DID1_PRTNO_TM4C1299NCZAD \
0x00230000 // TM4C1299NCZAD
#define SYSCTL_DID1_PRTNO_TM4C129CNCPDT \
0x00240000 // TM4C129CNCPDT
#define SYSCTL_DID1_PRTNO_TM4C129CNCZAD \
0x00260000 // TM4C129CNCZAD
#define SYSCTL_DID1_PRTNO_TM4C129DNCPDT \
0x00270000 // TM4C129DNCPDT
#define SYSCTL_DID1_PRTNO_TM4C129DNCZAD \
0x00290000 // TM4C129DNCZAD
#define SYSCTL_DID1_PRTNO_TM4C129EKCPDT \
0x00350000 // TM4C129EKCPDT
#define SYSCTL_DID1_PRTNO_TM4C129ENCPDT \
0x002D0000 // TM4C129ENCPDT
#define SYSCTL_DID1_PRTNO_TM4C129ENCZAD \
0x002F0000 // TM4C129ENCZAD
#define SYSCTL_DID1_PRTNO_TM4C129LNCZAD \
0x00300000 // TM4C129LNCZAD
#define SYSCTL_DID1_PRTNO_TM4C129XKCZAD \
0x00370000 // TM4C129XKCZAD
#define SYSCTL_DID1_PRTNO_TM4C129XNCZAD \
0x00320000 // TM4C129XNCZAD
#define SYSCTL_DID1_PINCNT_M 0x0000E000 // Package Pin Count
#define SYSCTL_DID1_PINCNT_100 0x00004000 // 100-pin LQFP package
#define SYSCTL_DID1_PINCNT_64 0x00006000 // 64-pin LQFP package
#define SYSCTL_DID1_PINCNT_144 0x00008000 // 144-pin LQFP package
#define SYSCTL_DID1_PINCNT_157 0x0000A000 // 157-pin BGA package
#define SYSCTL_DID1_PINCNT_128 0x0000C000 // 128-pin TQFP package
#define SYSCTL_DID1_TEMP_M 0x000000E0 // Temperature Range
#define SYSCTL_DID1_TEMP_C 0x00000000 // Commercial temperature range
#define SYSCTL_DID1_TEMP_I 0x00000020 // Industrial temperature range
#define SYSCTL_DID1_TEMP_E 0x00000040 // Extended temperature range
#define SYSCTL_DID1_TEMP_IE 0x00000060 // Available in both industrial
// temperature range (-40C to 85C)
// and extended temperature range
// (-40C to 105C) devices. See
#define SYSCTL_DID1_PKG_M 0x00000018 // Package Type
#define SYSCTL_DID1_PKG_QFP 0x00000008 // QFP package
#define SYSCTL_DID1_PKG_BGA 0x00000010 // BGA package
#define SYSCTL_DID1_ROHS 0x00000004 // RoHS-Compliance
#define SYSCTL_DID1_QUAL_M 0x00000003 // Qualification Status
#define SYSCTL_DID1_QUAL_ES 0x00000000 // Engineering Sample (unqualified)
#define SYSCTL_DID1_QUAL_PP 0x00000001 // Pilot Production (unqualified)
#define SYSCTL_DID1_QUAL_FQ 0x00000002 // Fully Qualified
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DC0 register.
//
//*****************************************************************************
#define SYSCTL_DC0_SRAMSZ_M 0xFFFF0000 // SRAM Size
#define SYSCTL_DC0_SRAMSZ_2KB 0x00070000 // 2 KB of SRAM
#define SYSCTL_DC0_SRAMSZ_4KB 0x000F0000 // 4 KB of SRAM
#define SYSCTL_DC0_SRAMSZ_6KB 0x00170000 // 6 KB of SRAM
#define SYSCTL_DC0_SRAMSZ_8KB 0x001F0000 // 8 KB of SRAM
#define SYSCTL_DC0_SRAMSZ_12KB 0x002F0000 // 12 KB of SRAM
#define SYSCTL_DC0_SRAMSZ_16KB 0x003F0000 // 16 KB of SRAM
#define SYSCTL_DC0_SRAMSZ_20KB 0x004F0000 // 20 KB of SRAM
#define SYSCTL_DC0_SRAMSZ_24KB 0x005F0000 // 24 KB of SRAM
#define SYSCTL_DC0_SRAMSZ_32KB 0x007F0000 // 32 KB of SRAM
#define SYSCTL_DC0_FLASHSZ_M 0x0000FFFF // Flash Size
#define SYSCTL_DC0_FLASHSZ_8KB 0x00000003 // 8 KB of Flash
#define SYSCTL_DC0_FLASHSZ_16KB 0x00000007 // 16 KB of Flash
#define SYSCTL_DC0_FLASHSZ_32KB 0x0000000F // 32 KB of Flash
#define SYSCTL_DC0_FLASHSZ_64KB 0x0000001F // 64 KB of Flash
#define SYSCTL_DC0_FLASHSZ_96KB 0x0000002F // 96 KB of Flash
#define SYSCTL_DC0_FLASHSZ_128K 0x0000003F // 128 KB of Flash
#define SYSCTL_DC0_FLASHSZ_192K 0x0000005F // 192 KB of Flash
#define SYSCTL_DC0_FLASHSZ_256K 0x0000007F // 256 KB of Flash
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DC1 register.
//
//*****************************************************************************
#define SYSCTL_DC1_WDT1 0x10000000 // Watchdog Timer1 Present
#define SYSCTL_DC1_CAN1 0x02000000 // CAN Module 1 Present
#define SYSCTL_DC1_CAN0 0x01000000 // CAN Module 0 Present
#define SYSCTL_DC1_PWM1 0x00200000 // PWM Module 1 Present
#define SYSCTL_DC1_PWM0 0x00100000 // PWM Module 0 Present
#define SYSCTL_DC1_ADC1 0x00020000 // ADC Module 1 Present
#define SYSCTL_DC1_ADC0 0x00010000 // ADC Module 0 Present
#define SYSCTL_DC1_MINSYSDIV_M 0x0000F000 // System Clock Divider
#define SYSCTL_DC1_MINSYSDIV_80 0x00002000 // Specifies an 80-MHz CPU clock
// with a PLL divider of 2.5
#define SYSCTL_DC1_MINSYSDIV_50 0x00003000 // Specifies a 50-MHz CPU clock
// with a PLL divider of 4
#define SYSCTL_DC1_MINSYSDIV_40 0x00004000 // Specifies a 40-MHz CPU clock
// with a PLL divider of 5
#define SYSCTL_DC1_MINSYSDIV_25 0x00007000 // Specifies a 25-MHz clock with a
// PLL divider of 8
#define SYSCTL_DC1_MINSYSDIV_20 0x00009000 // Specifies a 20-MHz clock with a
// PLL divider of 10
#define SYSCTL_DC1_ADC1SPD_M 0x00000C00 // Max ADC1 Speed
#define SYSCTL_DC1_ADC1SPD_125K 0x00000000 // 125K samples/second
#define SYSCTL_DC1_ADC1SPD_250K 0x00000400 // 250K samples/second
#define SYSCTL_DC1_ADC1SPD_500K 0x00000800 // 500K samples/second
#define SYSCTL_DC1_ADC1SPD_1M 0x00000C00 // 1M samples/second
#define SYSCTL_DC1_ADC0SPD_M 0x00000300 // Max ADC0 Speed
#define SYSCTL_DC1_ADC0SPD_125K 0x00000000 // 125K samples/second
#define SYSCTL_DC1_ADC0SPD_250K 0x00000100 // 250K samples/second
#define SYSCTL_DC1_ADC0SPD_500K 0x00000200 // 500K samples/second
#define SYSCTL_DC1_ADC0SPD_1M 0x00000300 // 1M samples/second
#define SYSCTL_DC1_MPU 0x00000080 // MPU Present
#define SYSCTL_DC1_HIB 0x00000040 // Hibernation Module Present
#define SYSCTL_DC1_TEMP 0x00000020 // Temp Sensor Present
#define SYSCTL_DC1_PLL 0x00000010 // PLL Present
#define SYSCTL_DC1_WDT0 0x00000008 // Watchdog Timer 0 Present
#define SYSCTL_DC1_SWO 0x00000004 // SWO Trace Port Present
#define SYSCTL_DC1_SWD 0x00000002 // SWD Present
#define SYSCTL_DC1_JTAG 0x00000001 // JTAG Present
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DC2 register.
//
//*****************************************************************************
#define SYSCTL_DC2_EPI0 0x40000000 // EPI Module 0 Present
#define SYSCTL_DC2_I2S0 0x10000000 // I2S Module 0 Present
#define SYSCTL_DC2_COMP2 0x04000000 // Analog Comparator 2 Present
#define SYSCTL_DC2_COMP1 0x02000000 // Analog Comparator 1 Present
#define SYSCTL_DC2_COMP0 0x01000000 // Analog Comparator 0 Present
#define SYSCTL_DC2_TIMER3 0x00080000 // Timer Module 3 Present
#define SYSCTL_DC2_TIMER2 0x00040000 // Timer Module 2 Present
#define SYSCTL_DC2_TIMER1 0x00020000 // Timer Module 1 Present
#define SYSCTL_DC2_TIMER0 0x00010000 // Timer Module 0 Present
#define SYSCTL_DC2_I2C1HS 0x00008000 // I2C Module 1 Speed
#define SYSCTL_DC2_I2C1 0x00004000 // I2C Module 1 Present
#define SYSCTL_DC2_I2C0HS 0x00002000 // I2C Module 0 Speed
#define SYSCTL_DC2_I2C0 0x00001000 // I2C Module 0 Present
#define SYSCTL_DC2_QEI1 0x00000200 // QEI Module 1 Present
#define SYSCTL_DC2_QEI0 0x00000100 // QEI Module 0 Present
#define SYSCTL_DC2_SSI1 0x00000020 // SSI Module 1 Present
#define SYSCTL_DC2_SSI0 0x00000010 // SSI Module 0 Present
#define SYSCTL_DC2_UART2 0x00000004 // UART Module 2 Present
#define SYSCTL_DC2_UART1 0x00000002 // UART Module 1 Present
#define SYSCTL_DC2_UART0 0x00000001 // UART Module 0 Present
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DC3 register.
//
//*****************************************************************************
#define SYSCTL_DC3_32KHZ 0x80000000 // 32KHz Input Clock Available
#define SYSCTL_DC3_CCP5 0x20000000 // T2CCP1 Pin Present
#define SYSCTL_DC3_CCP4 0x10000000 // T2CCP0 Pin Present
#define SYSCTL_DC3_CCP3 0x08000000 // T1CCP1 Pin Present
#define SYSCTL_DC3_CCP2 0x04000000 // T1CCP0 Pin Present
#define SYSCTL_DC3_CCP1 0x02000000 // T0CCP1 Pin Present
#define SYSCTL_DC3_CCP0 0x01000000 // T0CCP0 Pin Present
#define SYSCTL_DC3_ADC0AIN7 0x00800000 // ADC Module 0 AIN7 Pin Present
#define SYSCTL_DC3_ADC0AIN6 0x00400000 // ADC Module 0 AIN6 Pin Present
#define SYSCTL_DC3_ADC0AIN5 0x00200000 // ADC Module 0 AIN5 Pin Present
#define SYSCTL_DC3_ADC0AIN4 0x00100000 // ADC Module 0 AIN4 Pin Present
#define SYSCTL_DC3_ADC0AIN3 0x00080000 // ADC Module 0 AIN3 Pin Present
#define SYSCTL_DC3_ADC0AIN2 0x00040000 // ADC Module 0 AIN2 Pin Present
#define SYSCTL_DC3_ADC0AIN1 0x00020000 // ADC Module 0 AIN1 Pin Present
#define SYSCTL_DC3_ADC0AIN0 0x00010000 // ADC Module 0 AIN0 Pin Present
#define SYSCTL_DC3_PWMFAULT 0x00008000 // PWM Fault Pin Present
#define SYSCTL_DC3_C2O 0x00004000 // C2o Pin Present
#define SYSCTL_DC3_C2PLUS 0x00002000 // C2+ Pin Present
#define SYSCTL_DC3_C2MINUS 0x00001000 // C2- Pin Present
#define SYSCTL_DC3_C1O 0x00000800 // C1o Pin Present
#define SYSCTL_DC3_C1PLUS 0x00000400 // C1+ Pin Present
#define SYSCTL_DC3_C1MINUS 0x00000200 // C1- Pin Present
#define SYSCTL_DC3_C0O 0x00000100 // C0o Pin Present
#define SYSCTL_DC3_C0PLUS 0x00000080 // C0+ Pin Present
#define SYSCTL_DC3_C0MINUS 0x00000040 // C0- Pin Present
#define SYSCTL_DC3_PWM5 0x00000020 // PWM5 Pin Present
#define SYSCTL_DC3_PWM4 0x00000010 // PWM4 Pin Present
#define SYSCTL_DC3_PWM3 0x00000008 // PWM3 Pin Present
#define SYSCTL_DC3_PWM2 0x00000004 // PWM2 Pin Present
#define SYSCTL_DC3_PWM1 0x00000002 // PWM1 Pin Present
#define SYSCTL_DC3_PWM0 0x00000001 // PWM0 Pin Present
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DC4 register.
//
//*****************************************************************************
#define SYSCTL_DC4_EPHY0 0x40000000 // Ethernet PHY Layer 0 Present
#define SYSCTL_DC4_EMAC0 0x10000000 // Ethernet MAC Layer 0 Present
#define SYSCTL_DC4_E1588 0x01000000 // 1588 Capable
#define SYSCTL_DC4_PICAL 0x00040000 // PIOSC Calibrate
#define SYSCTL_DC4_CCP7 0x00008000 // T3CCP1 Pin Present
#define SYSCTL_DC4_CCP6 0x00004000 // T3CCP0 Pin Present
#define SYSCTL_DC4_UDMA 0x00002000 // Micro-DMA Module Present
#define SYSCTL_DC4_ROM 0x00001000 // Internal Code ROM Present
#define SYSCTL_DC4_GPIOJ 0x00000100 // GPIO Port J Present
#define SYSCTL_DC4_GPIOH 0x00000080 // GPIO Port H Present
#define SYSCTL_DC4_GPIOG 0x00000040 // GPIO Port G Present
#define SYSCTL_DC4_GPIOF 0x00000020 // GPIO Port F Present
#define SYSCTL_DC4_GPIOE 0x00000010 // GPIO Port E Present
#define SYSCTL_DC4_GPIOD 0x00000008 // GPIO Port D Present
#define SYSCTL_DC4_GPIOC 0x00000004 // GPIO Port C Present
#define SYSCTL_DC4_GPIOB 0x00000002 // GPIO Port B Present
#define SYSCTL_DC4_GPIOA 0x00000001 // GPIO Port A Present
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DC5 register.
//
//*****************************************************************************
#define SYSCTL_DC5_PWMFAULT3 0x08000000 // PWM Fault 3 Pin Present
#define SYSCTL_DC5_PWMFAULT2 0x04000000 // PWM Fault 2 Pin Present
#define SYSCTL_DC5_PWMFAULT1 0x02000000 // PWM Fault 1 Pin Present
#define SYSCTL_DC5_PWMFAULT0 0x01000000 // PWM Fault 0 Pin Present
#define SYSCTL_DC5_PWMEFLT 0x00200000 // PWM Extended Fault Active
#define SYSCTL_DC5_PWMESYNC 0x00100000 // PWM Extended SYNC Active
#define SYSCTL_DC5_PWM7 0x00000080 // PWM7 Pin Present
#define SYSCTL_DC5_PWM6 0x00000040 // PWM6 Pin Present
#define SYSCTL_DC5_PWM5 0x00000020 // PWM5 Pin Present
#define SYSCTL_DC5_PWM4 0x00000010 // PWM4 Pin Present
#define SYSCTL_DC5_PWM3 0x00000008 // PWM3 Pin Present
#define SYSCTL_DC5_PWM2 0x00000004 // PWM2 Pin Present
#define SYSCTL_DC5_PWM1 0x00000002 // PWM1 Pin Present
#define SYSCTL_DC5_PWM0 0x00000001 // PWM0 Pin Present
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DC6 register.
//
//*****************************************************************************
#define SYSCTL_DC6_USB0PHY 0x00000010 // USB Module 0 PHY Present
#define SYSCTL_DC6_USB0_M 0x00000003 // USB Module 0 Present
#define SYSCTL_DC6_USB0_DEV 0x00000001 // USB0 is Device Only
#define SYSCTL_DC6_USB0_HOSTDEV 0x00000002 // USB is Device or Host
#define SYSCTL_DC6_USB0_OTG 0x00000003 // USB0 is OTG
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DC7 register.
//
//*****************************************************************************
#define SYSCTL_DC7_DMACH30 0x40000000 // DMA Channel 30
#define SYSCTL_DC7_DMACH29 0x20000000 // DMA Channel 29
#define SYSCTL_DC7_DMACH28 0x10000000 // DMA Channel 28
#define SYSCTL_DC7_DMACH27 0x08000000 // DMA Channel 27
#define SYSCTL_DC7_DMACH26 0x04000000 // DMA Channel 26
#define SYSCTL_DC7_DMACH25 0x02000000 // DMA Channel 25
#define SYSCTL_DC7_DMACH24 0x01000000 // DMA Channel 24
#define SYSCTL_DC7_DMACH23 0x00800000 // DMA Channel 23
#define SYSCTL_DC7_DMACH22 0x00400000 // DMA Channel 22
#define SYSCTL_DC7_DMACH21 0x00200000 // DMA Channel 21
#define SYSCTL_DC7_DMACH20 0x00100000 // DMA Channel 20
#define SYSCTL_DC7_DMACH19 0x00080000 // DMA Channel 19
#define SYSCTL_DC7_DMACH18 0x00040000 // DMA Channel 18
#define SYSCTL_DC7_DMACH17 0x00020000 // DMA Channel 17
#define SYSCTL_DC7_DMACH16 0x00010000 // DMA Channel 16
#define SYSCTL_DC7_DMACH15 0x00008000 // DMA Channel 15
#define SYSCTL_DC7_DMACH14 0x00004000 // DMA Channel 14
#define SYSCTL_DC7_DMACH13 0x00002000 // DMA Channel 13
#define SYSCTL_DC7_DMACH12 0x00001000 // DMA Channel 12
#define SYSCTL_DC7_DMACH11 0x00000800 // DMA Channel 11
#define SYSCTL_DC7_DMACH10 0x00000400 // DMA Channel 10
#define SYSCTL_DC7_DMACH9 0x00000200 // DMA Channel 9
#define SYSCTL_DC7_DMACH8 0x00000100 // DMA Channel 8
#define SYSCTL_DC7_DMACH7 0x00000080 // DMA Channel 7
#define SYSCTL_DC7_DMACH6 0x00000040 // DMA Channel 6
#define SYSCTL_DC7_DMACH5 0x00000020 // DMA Channel 5
#define SYSCTL_DC7_DMACH4 0x00000010 // DMA Channel 4
#define SYSCTL_DC7_DMACH3 0x00000008 // DMA Channel 3
#define SYSCTL_DC7_DMACH2 0x00000004 // DMA Channel 2
#define SYSCTL_DC7_DMACH1 0x00000002 // DMA Channel 1
#define SYSCTL_DC7_DMACH0 0x00000001 // DMA Channel 0
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_DC8 register.
//
//*****************************************************************************
#define SYSCTL_DC8_ADC1AIN15 0x80000000 // ADC Module 1 AIN15 Pin Present
#define SYSCTL_DC8_ADC1AIN14 0x40000000 // ADC Module 1 AIN14 Pin Present
#define SYSCTL_DC8_ADC1AIN13 0x20000000 // ADC Module 1 AIN13 Pin Present
#define SYSCTL_DC8_ADC1AIN12 0x10000000 // ADC Module 1 AIN12 Pin Present
#define SYSCTL_DC8_ADC1AIN11 0x08000000 // ADC Module 1 AIN11 Pin Present
#define SYSCTL_DC8_ADC1AIN10 0x04000000 // ADC Module 1 AIN10 Pin Present
#define SYSCTL_DC8_ADC1AIN9 0x02000000 // ADC Module 1 AIN9 Pin Present
#define SYSCTL_DC8_ADC1AIN8 0x01000000 // ADC Module 1 AIN8 Pin Present
#define SYSCTL_DC8_ADC1AIN7 0x00800000 // ADC Module 1 AIN7 Pin Present
#define SYSCTL_DC8_ADC1AIN6 0x00400000 // ADC Module 1 AIN6 Pin Present
#define SYSCTL_DC8_ADC1AIN5 0x00200000 // ADC Module 1 AIN5 Pin Present
#define SYSCTL_DC8_ADC1AIN4 0x00100000 // ADC Module 1 AIN4 Pin Present
#define SYSCTL_DC8_ADC1AIN3 0x00080000 // ADC Module 1 AIN3 Pin Present
#define SYSCTL_DC8_ADC1AIN2 0x00040000 // ADC Module 1 AIN2 Pin Present
#define SYSCTL_DC8_ADC1AIN1 0x00020000 // ADC Module 1 AIN1 Pin Present
#define SYSCTL_DC8_ADC1AIN0 0x00010000 // ADC Module 1 AIN0 Pin Present
#define SYSCTL_DC8_ADC0AIN15 0x00008000 // ADC Module 0 AIN15 Pin Present
#define SYSCTL_DC8_ADC0AIN14 0x00004000 // ADC Module 0 AIN14 Pin Present
#define SYSCTL_DC8_ADC0AIN13 0x00002000 // ADC Module 0 AIN13 Pin Present
#define SYSCTL_DC8_ADC0AIN12 0x00001000 // ADC Module 0 AIN12 Pin Present
#define SYSCTL_DC8_ADC0AIN11 0x00000800 // ADC Module 0 AIN11 Pin Present
#define SYSCTL_DC8_ADC0AIN10 0x00000400 // ADC Module 0 AIN10 Pin Present
#define SYSCTL_DC8_ADC0AIN9 0x00000200 // ADC Module 0 AIN9 Pin Present
#define SYSCTL_DC8_ADC0AIN8 0x00000100 // ADC Module 0 AIN8 Pin Present
#define SYSCTL_DC8_ADC0AIN7 0x00000080 // ADC Module 0 AIN7 Pin Present
#define SYSCTL_DC8_ADC0AIN6 0x00000040 // ADC Module 0 AIN6 Pin Present
#define SYSCTL_DC8_ADC0AIN5 0x00000020 // ADC Module 0 AIN5 Pin Present
#define SYSCTL_DC8_ADC0AIN4 0x00000010 // ADC Module 0 AIN4 Pin Present
#define SYSCTL_DC8_ADC0AIN3 0x00000008 // ADC Module 0 AIN3 Pin Present
#define SYSCTL_DC8_ADC0AIN2 0x00000004 // ADC Module 0 AIN2 Pin Present
#define SYSCTL_DC8_ADC0AIN1 0x00000002 // ADC Module 0 AIN1 Pin Present
#define SYSCTL_DC8_ADC0AIN0 0x00000001 // ADC Module 0 AIN0 Pin Present
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_PBORCTL register.
//
//*****************************************************************************
#define SYSCTL_PBORCTL_BOR0 0x00000004 // VDD under BOR0 Event Action
#define SYSCTL_PBORCTL_BOR1 0x00000002 // VDD under BOR1 Event Action
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_PTBOCTL register.
//
//*****************************************************************************
#define SYSCTL_PTBOCTL_VDDA_UBOR_M \
0x00000300 // VDDA under BOR Event Action
#define SYSCTL_PTBOCTL_VDDA_UBOR_NONE \
0x00000000 // No Action
#define SYSCTL_PTBOCTL_VDDA_UBOR_SYSINT \
0x00000100 // System control interrupt
#define SYSCTL_PTBOCTL_VDDA_UBOR_NMI \
0x00000200 // NMI
#define SYSCTL_PTBOCTL_VDDA_UBOR_RST \
0x00000300 // Reset
#define SYSCTL_PTBOCTL_VDD_UBOR_M \
0x00000003 // VDD (VDDS) under BOR Event
// Action
#define SYSCTL_PTBOCTL_VDD_UBOR_NONE \
0x00000000 // No Action
#define SYSCTL_PTBOCTL_VDD_UBOR_SYSINT \
0x00000001 // System control interrupt
#define SYSCTL_PTBOCTL_VDD_UBOR_NMI \
0x00000002 // NMI
#define SYSCTL_PTBOCTL_VDD_UBOR_RST \
0x00000003 // Reset
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_SRCR0 register.
//
//*****************************************************************************
#define SYSCTL_SRCR0_WDT1 0x10000000 // WDT1 Reset Control
#define SYSCTL_SRCR0_CAN1 0x02000000 // CAN1 Reset Control
#define SYSCTL_SRCR0_CAN0 0x01000000 // CAN0 Reset Control
#define SYSCTL_SRCR0_PWM0 0x00100000 // PWM Reset Control
#define SYSCTL_SRCR0_ADC1 0x00020000 // ADC1 Reset Control
#define SYSCTL_SRCR0_ADC0 0x00010000 // ADC0 Reset Control
#define SYSCTL_SRCR0_HIB 0x00000040 // HIB Reset Control
#define SYSCTL_SRCR0_WDT0 0x00000008 // WDT0 Reset Control
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_SRCR1 register.
//
//*****************************************************************************
#define SYSCTL_SRCR1_COMP2 0x04000000 // Analog Comp 2 Reset Control
#define SYSCTL_SRCR1_COMP1 0x02000000 // Analog Comp 1 Reset Control
#define SYSCTL_SRCR1_COMP0 0x01000000 // Analog Comp 0 Reset Control
#define SYSCTL_SRCR1_TIMER3 0x00080000 // Timer 3 Reset Control
#define SYSCTL_SRCR1_TIMER2 0x00040000 // Timer 2 Reset Control
#define SYSCTL_SRCR1_TIMER1 0x00020000 // Timer 1 Reset Control
#define SYSCTL_SRCR1_TIMER0 0x00010000 // Timer 0 Reset Control
#define SYSCTL_SRCR1_I2C1 0x00004000 // I2C1 Reset Control
#define SYSCTL_SRCR1_I2C0 0x00001000 // I2C0 Reset Control
#define SYSCTL_SRCR1_QEI1 0x00000200 // QEI1 Reset Control
#define SYSCTL_SRCR1_QEI0 0x00000100 // QEI0 Reset Control
#define SYSCTL_SRCR1_SSI1 0x00000020 // SSI1 Reset Control
#define SYSCTL_SRCR1_SSI0 0x00000010 // SSI0 Reset Control
#define SYSCTL_SRCR1_UART2 0x00000004 // UART2 Reset Control
#define SYSCTL_SRCR1_UART1 0x00000002 // UART1 Reset Control
#define SYSCTL_SRCR1_UART0 0x00000001 // UART0 Reset Control
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_SRCR2 register.
//
//*****************************************************************************
#define SYSCTL_SRCR2_USB0 0x00010000 // USB0 Reset Control
#define SYSCTL_SRCR2_UDMA 0x00002000 // Micro-DMA Reset Control
#define SYSCTL_SRCR2_GPIOJ 0x00000100 // Port J Reset Control
#define SYSCTL_SRCR2_GPIOH 0x00000080 // Port H Reset Control
#define SYSCTL_SRCR2_GPIOG 0x00000040 // Port G Reset Control
#define SYSCTL_SRCR2_GPIOF 0x00000020 // Port F Reset Control
#define SYSCTL_SRCR2_GPIOE 0x00000010 // Port E Reset Control
#define SYSCTL_SRCR2_GPIOD 0x00000008 // Port D Reset Control
#define SYSCTL_SRCR2_GPIOC 0x00000004 // Port C Reset Control
#define SYSCTL_SRCR2_GPIOB 0x00000002 // Port B Reset Control
#define SYSCTL_SRCR2_GPIOA 0x00000001 // Port A Reset Control
//*****************************************************************************
//
// The following are defines for the bit fields in the SYSCTL_RIS register.
//
//*****************************************************************************
#define SYSCTL_RIS_BOR0RIS 0x00000800 // VDD under BOR0 Raw Interrupt
// Status
#define SYSCTL_RIS_VDDARIS 0x00000400 // VDDA Power OK Event Raw
// Interrupt Status
#define SYSCTL_RIS_MOSCPUPRIS 0x00000100 // MOSC Power Up Raw Interrupt
// Status
#define SYSCTL_RIS_USBPLLLRIS 0x00000080 // USB PLL Lock Raw Interrupt
// Status
#define SYSCTL_RIS_PLLLRIS 0x00000040 // PLL Lock Raw Interrupt Status
#define SYSCTL_RIS_MOFRIS 0x00000008 // Main Oscillator Failure Raw
// Interrupt Status
#define SYSCTL_RIS_BOR1RIS 0x00000002 // VDD under BOR1 Raw Interrupt
// Status
#define SYSCTL_RIS_BORRIS 0x00000002 // Brown-Out Reset Raw Interrupt