OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [Common/] [drivers/] [LuminaryMicro/] [hw_sysctl.h] - Blame information for rev 615

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 610 jeremybenn
//*****************************************************************************
2
//
3
// hw_sysctl.h - Macros used when accessing the system control hardware.
4
//
5
// Copyright (c) 2005-2008 Luminary Micro, Inc.  All rights reserved.
6
// 
7
// Software License Agreement
8
// 
9
// Luminary Micro, Inc. (LMI) is supplying this software for use solely and
10
// exclusively on LMI's microcontroller products.
11
// 
12
// The software is owned by LMI and/or its suppliers, and is protected under
13
// applicable copyright laws.  All rights are reserved.  You may not combine
14
// this software with "viral" open-source software in order to form a larger
15
// program.  Any use in violation of the foregoing restrictions may subject
16
// the user to criminal sanctions under applicable laws, as well as to civil
17
// liability for the breach of the terms and conditions of this license.
18
// 
19
// THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
20
// OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
21
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
22
// LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
23
// CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
24
// 
25
// This is part of revision 2523 of the Stellaris Peripheral Driver Library.
26
//
27
//*****************************************************************************
28
 
29
#ifndef __HW_SYSCTL_H__
30
#define __HW_SYSCTL_H__
31
 
32
//*****************************************************************************
33
//
34
// The following are defines for the system control register addresses.
35
//
36
//*****************************************************************************
37
#define SYSCTL_DID0             0x400FE000  // Device identification register 0
38
#define SYSCTL_DID1             0x400FE004  // Device identification register 1
39
#define SYSCTL_DC0              0x400FE008  // Device capabilities register 0
40
#define SYSCTL_DC1              0x400FE010  // Device capabilities register 1
41
#define SYSCTL_DC2              0x400FE014  // Device capabilities register 2
42
#define SYSCTL_DC3              0x400FE018  // Device capabilities register 3
43
#define SYSCTL_DC4              0x400FE01C  // Device capabilities register 4
44
#define SYSCTL_DC5              0x400FE020  // Device capabilities register 5
45
#define SYSCTL_DC6              0x400FE024  // Device capabilities register 6
46
#define SYSCTL_DC7              0x400FE028  // Device capabilities register 7
47
#define SYSCTL_PBORCTL          0x400FE030  // POR/BOR reset control register
48
#define SYSCTL_LDOPCTL          0x400FE034  // LDO power control register
49
#define SYSCTL_SRCR0            0x400FE040  // Software reset control reg 0
50
#define SYSCTL_SRCR1            0x400FE044  // Software reset control reg 1
51
#define SYSCTL_SRCR2            0x400FE048  // Software reset control reg 2
52
#define SYSCTL_RIS              0x400FE050  // Raw interrupt status register
53
#define SYSCTL_IMC              0x400FE054  // Interrupt mask/control register
54
#define SYSCTL_MISC             0x400FE058  // Interrupt status register
55
#define SYSCTL_RESC             0x400FE05C  // Reset cause register
56
#define SYSCTL_RCC              0x400FE060  // Run-mode clock config register
57
#define SYSCTL_PLLCFG           0x400FE064  // PLL configuration register
58
#define SYSCTL_GPIOHSCTL        0x400FE06C  // GPIO High Speed Control
59
#define SYSCTL_RCC2             0x400FE070  // Run-mode clock config register 2
60
#define SYSCTL_MOSCCTL          0x400FE07C  // Main Oscillator Control
61
#define SYSCTL_RCGC0            0x400FE100  // Run-mode clock gating register 0
62
#define SYSCTL_RCGC1            0x400FE104  // Run-mode clock gating register 1
63
#define SYSCTL_RCGC2            0x400FE108  // Run-mode clock gating register 2
64
#define SYSCTL_SCGC0            0x400FE110  // Sleep-mode clock gating reg 0
65
#define SYSCTL_SCGC1            0x400FE114  // Sleep-mode clock gating reg 1
66
#define SYSCTL_SCGC2            0x400FE118  // Sleep-mode clock gating reg 2
67
#define SYSCTL_DCGC0            0x400FE120  // Deep Sleep-mode clock gate reg 0
68
#define SYSCTL_DCGC1            0x400FE124  // Deep Sleep-mode clock gate reg 1
69
#define SYSCTL_DCGC2            0x400FE128  // Deep Sleep-mode clock gate reg 2
70
#define SYSCTL_DSLPCLKCFG       0x400FE144  // Deep Sleep-mode clock config reg
71
#define SYSCTL_CLKVCLR          0x400FE150  // Clock verifcation clear register
72
#define SYSCTL_LDOARST          0x400FE160  // LDO reset control register
73
 
74
//*****************************************************************************
75
//
76
// The following are defines for the bit fields in the SYSCTL_DID0 register.
77
//
78
//*****************************************************************************
79
#define SYSCTL_DID0_VER_M       0x70000000  // DID0 version mask
80
#define SYSCTL_DID0_VER_0       0x00000000  // DID0 version 0
81
#define SYSCTL_DID0_VER_1       0x10000000  // DID0 version 1
82
#define SYSCTL_DID0_CLASS_M     0x00FF0000  // Device Class
83
#define SYSCTL_DID0_CLASS_SANDSTORM \
84
                                0x00000000  // Sandstorm-class Device
85
#define SYSCTL_DID0_CLASS_FURY  0x00010000  // Fury-class Device
86
#define SYSCTL_DID0_CLASS_DUSTDEVIL \
87
                                0x00030000  // DustDevil-class Device
88
#define SYSCTL_DID0_MAJ_M       0x0000FF00  // Major revision mask
89
#define SYSCTL_DID0_MAJ_REVA    0x00000000  // Revision A (initial device)
90
#define SYSCTL_DID0_MAJ_REVB    0x00000100  // Revision B (first base layer
91
                                            // revision)
92
#define SYSCTL_DID0_MAJ_REVC    0x00000200  // Revision C (second base layer
93
                                            // revision)
94
#define SYSCTL_DID0_MIN_M       0x000000FF  // Minor revision mask
95
#define SYSCTL_DID0_MIN_0       0x00000000  // Minor revision 0
96
#define SYSCTL_DID0_MIN_1       0x00000001  // Minor revision 1
97
#define SYSCTL_DID0_MIN_2       0x00000002  // Minor revision 2
98
#define SYSCTL_DID0_MIN_3       0x00000003  // Minor revision 3
99
#define SYSCTL_DID0_MIN_4       0x00000004  // Minor revision 4
100
#define SYSCTL_DID0_MIN_5       0x00000005  // Minor revision 5
101
 
102
//*****************************************************************************
103
//
104
// The following are defines for the bit fields in the SYSCTL_DID1 register.
105
//
106
//*****************************************************************************
107
#define SYSCTL_DID1_VER_M       0xF0000000  // DID1 Version.
108
#define SYSCTL_DID1_VER_0       0x00000000  // Initial DID1 register format
109
                                            // definition, indicating a
110
                                            // Stellaris LM3Snnn device.
111
#define SYSCTL_DID1_VER_1       0x10000000  // First revision of the DID1
112
                                            // register format, indicating a
113
                                            // Stellaris Fury-class device.
114
#define SYSCTL_DID1_FAM_M       0x0F000000  // Family.
115
#define SYSCTL_DID1_FAM_STELLARIS \
116
                                0x00000000  // Stellaris family of
117
                                            // microcontollers, that is, all
118
                                            // devices with external part
119
                                            // numbers starting with LM3S.
120
#define SYSCTL_DID1_PRTNO_M     0x00FF0000  // Part number mask
121
#define SYSCTL_DID1_PRTNO_101   0x00010000  // LM3S101
122
#define SYSCTL_DID1_PRTNO_102   0x00020000  // LM3S102
123
#define SYSCTL_DID1_PRTNO_300   0x00190000  // LM3S300
124
#define SYSCTL_DID1_PRTNO_301   0x00110000  // LM3S301
125
#define SYSCTL_DID1_PRTNO_308   0x001A0000  // LM3S308
126
#define SYSCTL_DID1_PRTNO_310   0x00120000  // LM3S310
127
#define SYSCTL_DID1_PRTNO_315   0x00130000  // LM3S315
128
#define SYSCTL_DID1_PRTNO_316   0x00140000  // LM3S316
129
#define SYSCTL_DID1_PRTNO_317   0x00170000  // LM3S317
130
#define SYSCTL_DID1_PRTNO_328   0x00150000  // LM3S328
131
#define SYSCTL_DID1_PRTNO_600   0x002A0000  // LM3S600
132
#define SYSCTL_DID1_PRTNO_601   0x00210000  // LM3S601
133
#define SYSCTL_DID1_PRTNO_608   0x002B0000  // LM3S608
134
#define SYSCTL_DID1_PRTNO_610   0x00220000  // LM3S610
135
#define SYSCTL_DID1_PRTNO_611   0x00230000  // LM3S611
136
#define SYSCTL_DID1_PRTNO_612   0x00240000  // LM3S612
137
#define SYSCTL_DID1_PRTNO_613   0x00250000  // LM3S613
138
#define SYSCTL_DID1_PRTNO_615   0x00260000  // LM3S615
139
#define SYSCTL_DID1_PRTNO_617   0x00280000  // LM3S617
140
#define SYSCTL_DID1_PRTNO_618   0x00290000  // LM3S618
141
#define SYSCTL_DID1_PRTNO_628   0x00270000  // LM3S628
142
#define SYSCTL_DID1_PRTNO_800   0x00380000  // LM3S800
143
#define SYSCTL_DID1_PRTNO_801   0x00310000  // LM3S801
144
#define SYSCTL_DID1_PRTNO_808   0x00390000  // LM3S808
145
#define SYSCTL_DID1_PRTNO_811   0x00320000  // LM3S811
146
#define SYSCTL_DID1_PRTNO_812   0x00330000  // LM3S812
147
#define SYSCTL_DID1_PRTNO_815   0x00340000  // LM3S815
148
#define SYSCTL_DID1_PRTNO_817   0x00360000  // LM3S817
149
#define SYSCTL_DID1_PRTNO_818   0x00370000  // LM3S818
150
#define SYSCTL_DID1_PRTNO_828   0x00350000  // LM3S828
151
#define SYSCTL_DID1_PRTNO_1110  0x00BF0000  // LM3S1110
152
#define SYSCTL_DID1_PRTNO_1133  0x00C30000  // LM3S1133
153
#define SYSCTL_DID1_PRTNO_1138  0x00C50000  // LM3S1138
154
#define SYSCTL_DID1_PRTNO_1150  0x00C10000  // LM3S1150
155
#define SYSCTL_DID1_PRTNO_1162  0x00C40000  // LM3S1162
156
#define SYSCTL_DID1_PRTNO_1165  0x00C20000  // LM3S1165
157
#define SYSCTL_DID1_PRTNO_1332  0x00C60000  // LM3S1332
158
#define SYSCTL_DID1_PRTNO_1435  0x00BC0000  // LM3S1435
159
#define SYSCTL_DID1_PRTNO_1439  0x00BA0000  // LM3S1439
160
#define SYSCTL_DID1_PRTNO_1512  0x00BB0000  // LM3S1512
161
#define SYSCTL_DID1_PRTNO_1538  0x00C70000  // LM3S1538
162
#define SYSCTL_DID1_PRTNO_1601  0x00DB0000  // LM3S1601
163
#define SYSCTL_DID1_PRTNO_1607  0x00060000  // LM3S1607
164
#define SYSCTL_DID1_PRTNO_1608  0x00DA0000  // LM3S1608
165
#define SYSCTL_DID1_PRTNO_1620  0x00C00000  // LM3S1620
166
#define SYSCTL_DID1_PRTNO_1625  0x00030000  // LM3S1625
167
#define SYSCTL_DID1_PRTNO_1626  0x00040000  // LM3S1626
168
#define SYSCTL_DID1_PRTNO_1627  0x00050000  // LM3S1627
169
#define SYSCTL_DID1_PRTNO_1635  0x00B30000  // LM3S1635
170
#define SYSCTL_DID1_PRTNO_1637  0x00BD0000  // LM3S1637
171
#define SYSCTL_DID1_PRTNO_1751  0x00B90000  // LM3S1751
172
#define SYSCTL_DID1_PRTNO_1776  0x00100000  // LM3S1776
173
#define SYSCTL_DID1_PRTNO_1850  0x00B40000  // LM3S1850
174
#define SYSCTL_DID1_PRTNO_1911  0x00DD0000  // LM3S1911
175
#define SYSCTL_DID1_PRTNO_1918  0x00DC0000  // LM3S1918
176
#define SYSCTL_DID1_PRTNO_1937  0x00B70000  // LM3S1937
177
#define SYSCTL_DID1_PRTNO_1958  0x00BE0000  // LM3S1958
178
#define SYSCTL_DID1_PRTNO_1960  0x00B50000  // LM3S1960
179
#define SYSCTL_DID1_PRTNO_1968  0x00B80000  // LM3S1968
180
#define SYSCTL_DID1_PRTNO_2110  0x00510000  // LM3S2110
181
#define SYSCTL_DID1_PRTNO_2139  0x00840000  // LM3S2139
182
#define SYSCTL_DID1_PRTNO_2276  0x00390000  // LM3S2276
183
#define SYSCTL_DID1_PRTNO_2410  0x00A20000  // LM3S2410
184
#define SYSCTL_DID1_PRTNO_2412  0x00590000  // LM3S2412
185
#define SYSCTL_DID1_PRTNO_2432  0x00560000  // LM3S2432
186
#define SYSCTL_DID1_PRTNO_2533  0x005A0000  // LM3S2533
187
#define SYSCTL_DID1_PRTNO_2601  0x00E10000  // LM3S2601
188
#define SYSCTL_DID1_PRTNO_2608  0x00E00000  // LM3S2608
189
#define SYSCTL_DID1_PRTNO_2616  0x00330000  // LM3S2616
190
#define SYSCTL_DID1_PRTNO_2620  0x00570000  // LM3S2620
191
#define SYSCTL_DID1_PRTNO_2637  0x00850000  // LM3S2637
192
#define SYSCTL_DID1_PRTNO_2651  0x00530000  // LM3S2651
193
#define SYSCTL_DID1_PRTNO_2671  0x00800000  // LM3S2671
194
#define SYSCTL_DID1_PRTNO_2678  0x00500000  // LM3S2678
195
#define SYSCTL_DID1_PRTNO_2730  0x00A40000  // LM3S2730
196
#define SYSCTL_DID1_PRTNO_2739  0x00520000  // LM3S2739
197
#define SYSCTL_DID1_PRTNO_2776  0x003A0000  // LM3S2776
198
#define SYSCTL_DID1_PRTNO_2911  0x00E30000  // LM3S2911
199
#define SYSCTL_DID1_PRTNO_2918  0x00E20000  // LM3S2918
200
#define SYSCTL_DID1_PRTNO_2939  0x00540000  // LM3S2939
201
#define SYSCTL_DID1_PRTNO_2948  0x008F0000  // LM3S2948
202
#define SYSCTL_DID1_PRTNO_2950  0x00580000  // LM3S2950
203
#define SYSCTL_DID1_PRTNO_2965  0x00550000  // LM3S2965
204
#define SYSCTL_DID1_PRTNO_3651  0x00430000  // LM3S3651
205
#define SYSCTL_DID1_PRTNO_3739  0x00440000  // LM3S3739
206
#define SYSCTL_DID1_PRTNO_3748  0x00490000  // LM3S3748
207
#define SYSCTL_DID1_PRTNO_3749  0x00450000  // LM3S3749
208
#define SYSCTL_DID1_PRTNO_3759  0x00460000  // LM3S3759
209
#define SYSCTL_DID1_PRTNO_3768  0x00480000  // LM3S3768
210
#define SYSCTL_DID1_PRTNO_5632  0x00810000  // LM3S5632
211
#define SYSCTL_DID1_PRTNO_5652  0x008A0000  // LM3S5652
212
#define SYSCTL_DID1_PRTNO_5662  0x00910000  // LM3S5662
213
#define SYSCTL_DID1_PRTNO_5732  0x00960000  // LM3S5732
214
#define SYSCTL_DID1_PRTNO_5737  0x00970000  // LM3S5737
215
#define SYSCTL_DID1_PRTNO_5739  0x00A00000  // LM3S5739
216
#define SYSCTL_DID1_PRTNO_5747  0x00990000  // LM3S5747
217
#define SYSCTL_DID1_PRTNO_5749  0x00A70000  // LM3S5749
218
#define SYSCTL_DID1_PRTNO_5752  0x009A0000  // LM3S5752
219
#define SYSCTL_DID1_PRTNO_5757  0x009B0000  // LM3S5757
220
#define SYSCTL_DID1_PRTNO_5762  0x009C0000  // LM3S5762
221
#define SYSCTL_DID1_PRTNO_5767  0x009D0000  // LM3S5767
222
#define SYSCTL_DID1_PRTNO_5768  0x00A90000  // LM3S5768
223
#define SYSCTL_DID1_PRTNO_5769  0x00A80000  // LM3S5769
224
#define SYSCTL_DID1_PRTNO_6100  0x00A10000  // LM3S6100
225
#define SYSCTL_DID1_PRTNO_6110  0x00740000  // LM3S6110
226
#define SYSCTL_DID1_PRTNO_6420  0x00A50000  // LM3S6420
227
#define SYSCTL_DID1_PRTNO_6422  0x00820000  // LM3S6422
228
#define SYSCTL_DID1_PRTNO_6432  0x00750000  // LM3S6432
229
#define SYSCTL_DID1_PRTNO_6537  0x00760000  // LM3S6537
230
#define SYSCTL_DID1_PRTNO_6610  0x00710000  // LM3S6610
231
#define SYSCTL_DID1_PRTNO_6611  0x00E70000  // LM3S6611
232
#define SYSCTL_DID1_PRTNO_6618  0x00E60000  // LM3S6618
233
#define SYSCTL_DID1_PRTNO_6633  0x00830000  // LM3S6633
234
#define SYSCTL_DID1_PRTNO_6637  0x008B0000  // LM3S6637
235
#define SYSCTL_DID1_PRTNO_6730  0x00A30000  // LM3S6730
236
#define SYSCTL_DID1_PRTNO_6753  0x00770000  // LM3S6753
237
#define SYSCTL_DID1_PRTNO_6911  0x00E90000  // LM3S6911
238
#define SYSCTL_DID1_PRTNO_6918  0x00E80000  // LM3S6918
239
#define SYSCTL_DID1_PRTNO_6938  0x00890000  // LM3S6938
240
#define SYSCTL_DID1_PRTNO_6950  0x00720000  // LM3S6950
241
#define SYSCTL_DID1_PRTNO_6952  0x00780000  // LM3S6952
242
#define SYSCTL_DID1_PRTNO_6965  0x00730000  // LM3S6965
243
#define SYSCTL_DID1_PRTNO_8530  0x00640000  // LM3S8530
244
#define SYSCTL_DID1_PRTNO_8538  0x008E0000  // LM3S8538
245
#define SYSCTL_DID1_PRTNO_8630  0x00610000  // LM3S8630
246
#define SYSCTL_DID1_PRTNO_8730  0x00630000  // LM3S8730
247
#define SYSCTL_DID1_PRTNO_8733  0x008D0000  // LM3S8733
248
#define SYSCTL_DID1_PRTNO_8738  0x00860000  // LM3S8738
249
#define SYSCTL_DID1_PRTNO_8930  0x00650000  // LM3S8930
250
#define SYSCTL_DID1_PRTNO_8933  0x008C0000  // LM3S8933
251
#define SYSCTL_DID1_PRTNO_8938  0x00880000  // LM3S8938
252
#define SYSCTL_DID1_PRTNO_8962  0x00A60000  // LM3S8962
253
#define SYSCTL_DID1_PRTNO_8970  0x00620000  // LM3S8970
254
#define SYSCTL_DID1_PRTNO_8971  0x00D70000  // LM3S8971
255
#define SYSCTL_DID1_PINCNT_M    0x0000E000  // Package Pin Count.
256
#define SYSCTL_DID1_PINCNT_28   0x00000000  // 28 pin package
257
#define SYSCTL_DID1_PINCNT_48   0x00002000  // 48 pin package
258
#define SYSCTL_DID1_PINCNT_100  0x00004000  // 100 pin package
259
#define SYSCTL_DID1_PINCNT_64   0x00006000  // 64 pin package
260
#define SYSCTL_DID1_TEMP_M      0x000000E0  // Temperature range mask
261
#define SYSCTL_DID1_TEMP_C      0x00000000  // Commercial temp range (0..70C)
262
#define SYSCTL_DID1_TEMP_I      0x00000020  // Industrial temp range (-40..85C)
263
#define SYSCTL_DID1_TEMP_E      0x00000040  // Extended temperature range (-40C
264
                                            // to 105C)
265
#define SYSCTL_DID1_PKG_M       0x00000018  // Package Type.
266
#define SYSCTL_DID1_PKG_BGA     0x00000010  // BGA package
267
#define SYSCTL_DID1_PKG_28SOIC  0x00000000  // 28-pin SOIC
268
#define SYSCTL_DID1_PKG_48QFP   0x00000008  // 48-pin QFP
269
#define SYSCTL_DID1_ROHS        0x00000004  // Part is RoHS compliant
270
#define SYSCTL_DID1_QUAL_M      0x00000003  // Qualification status mask
271
#define SYSCTL_DID1_QUAL_ES     0x00000000  // Engineering sample (unqualified)
272
#define SYSCTL_DID1_QUAL_PP     0x00000001  // Pilot production (unqualified)
273
#define SYSCTL_DID1_QUAL_FQ     0x00000002  // Fully qualified
274
#define SYSCTL_DID1_PRTNO_S     16          // Part number shift
275
 
276
//*****************************************************************************
277
//
278
// The following are defines for the bit fields in the SYSCTL_DC0 register.
279
//
280
//*****************************************************************************
281
#define SYSCTL_DC0_SRAMSZ_M     0xFFFF0000  // SRAM size mask
282
#define SYSCTL_DC0_SRAMSZ_2KB   0x00070000  // 2 KB of SRAM
283
#define SYSCTL_DC0_SRAMSZ_4KB   0x000F0000  // 4 KB of SRAM
284
#define SYSCTL_DC0_SRAMSZ_8KB   0x001F0000  // 8 KB of SRAM
285
#define SYSCTL_DC0_SRAMSZ_16KB  0x003F0000  // 16 KB of SRAM
286
#define SYSCTL_DC0_SRAMSZ_32KB  0x007F0000  // 32 KB of SRAM
287
#define SYSCTL_DC0_SRAMSZ_64KB  0x00FF0000  // 64 KB of SRAM
288
#define SYSCTL_DC0_FLASHSZ_M    0x0000FFFF  // Flash size mask
289
#define SYSCTL_DC0_FLASHSZ_8KB  0x00000003  // 8 KB of flash
290
#define SYSCTL_DC0_FLASHSZ_16KB 0x00000007  // 16 KB of flash
291
#define SYSCTL_DC0_FLASHSZ_32KB 0x0000000F  // 32 KB of flash
292
#define SYSCTL_DC0_FLASHSZ_64KB 0x0000001F  // 64 KB of flash
293
#define SYSCTL_DC0_FLASHSZ_96KB 0x0000002F  // 96 KB of flash
294
#define SYSCTL_DC0_FLASHSZ_128K 0x0000003F  // 128 KB of flash
295
#define SYSCTL_DC0_FLASHSZ_256K 0x0000007F  // 256 KB of flash
296
#define SYSCTL_DC0_SRAMSZ_S     16          // SRAM size shift
297
#define SYSCTL_DC0_FLASHSZ_S    0           // Flash size shift
298
 
299
//*****************************************************************************
300
//
301
// The following are defines for the bit fields in the SYSCTL_DC1 register.
302
//
303
//*****************************************************************************
304
#define SYSCTL_DC1_CAN2         0x04000000  // CAN2 module present
305
#define SYSCTL_DC1_CAN1         0x02000000  // CAN1 module present
306
#define SYSCTL_DC1_CAN0         0x01000000  // CAN0 module present
307
#define SYSCTL_DC1_PWM          0x00100000  // PWM module present
308
#define SYSCTL_DC1_ADC          0x00010000  // ADC module present
309
#define SYSCTL_DC1_MINSYSDIV_M  0x0000F000  // System Clock Divider.
310
#define SYSCTL_DC1_MINSYSDIV_50 0x00003000  // Specifies a 50-MHz CPU clock
311
                                            // with a PLL divider of 4.
312
#define SYSCTL_DC1_MINSYSDIV_25 0x00007000  // Specifies a 25-MHz clock with a
313
                                            // PLL divider of 8.
314
#define SYSCTL_DC1_MINSYSDIV_20 0x00009000  // Specifies a 20-MHz clock with a
315
                                            // PLL divider of 10.
316
#define SYSCTL_DC1_ADCSPD_M     0x00000F00  // ADC speed mask
317
#define SYSCTL_DC1_ADCSPD_125K  0x00000000  // 125Ksps ADC
318
#define SYSCTL_DC1_ADCSPD_250K  0x00000100  // 250Ksps ADC
319
#define SYSCTL_DC1_ADCSPD_500K  0x00000200  // 500Ksps ADC
320
#define SYSCTL_DC1_ADCSPD_1M    0x00000300  // 1Msps ADC
321
#define SYSCTL_DC1_MPU          0x00000080  // Cortex M3 MPU present
322
#define SYSCTL_DC1_HIB          0x00000040  // Hibernation module present
323
#define SYSCTL_DC1_TEMP         0x00000020  // Temperature sensor present
324
#define SYSCTL_DC1_PLL          0x00000010  // PLL present
325
#define SYSCTL_DC1_WDT          0x00000008  // Watchdog Timer Present.
326
#define SYSCTL_DC1_SWO          0x00000004  // Serial wire output present
327
#define SYSCTL_DC1_SWD          0x00000002  // Serial wire debug present
328
#define SYSCTL_DC1_JTAG         0x00000001  // JTAG debug present
329
 
330
//*****************************************************************************
331
//
332
// The following are defines for the bit fields in the SYSCTL_DC2 register.
333
//
334
//*****************************************************************************
335
#define SYSCTL_DC2_COMP2        0x04000000  // Analog comparator 2 present
336
#define SYSCTL_DC2_COMP1        0x02000000  // Analog comparator 1 present
337
#define SYSCTL_DC2_COMP0        0x01000000  // Analog comparator 0 present
338
#define SYSCTL_DC2_TIMER3       0x00080000  // Timer 3 present
339
#define SYSCTL_DC2_TIMER2       0x00040000  // Timer 2 present
340
#define SYSCTL_DC2_TIMER1       0x00020000  // Timer 1 present
341
#define SYSCTL_DC2_TIMER0       0x00010000  // Timer 0 present
342
#define SYSCTL_DC2_I2C1         0x00004000  // I2C 1 present
343
#define SYSCTL_DC2_I2C0         0x00001000  // I2C 0 present
344
#define SYSCTL_DC2_QEI1         0x00000200  // QEI 1 present
345
#define SYSCTL_DC2_QEI0         0x00000100  // QEI 0 present
346
#define SYSCTL_DC2_SSI1         0x00000020  // SSI 1 present
347
#define SYSCTL_DC2_SSI0         0x00000010  // SSI 0 present
348
#define SYSCTL_DC2_UART2        0x00000004  // UART 2 present
349
#define SYSCTL_DC2_UART1        0x00000002  // UART 1 present
350
#define SYSCTL_DC2_UART0        0x00000001  // UART 0 present
351
 
352
//*****************************************************************************
353
//
354
// The following are defines for the bit fields in the SYSCTL_DC3 register.
355
//
356
//*****************************************************************************
357
#define SYSCTL_DC3_32KHZ        0x80000000  // 32KHz Pin Present.
358
#define SYSCTL_DC3_CCP5         0x20000000  // CCP5 pin present
359
#define SYSCTL_DC3_CCP4         0x10000000  // CCP4 pin present
360
#define SYSCTL_DC3_CCP3         0x08000000  // CCP3 pin present
361
#define SYSCTL_DC3_CCP2         0x04000000  // CCP2 pin present
362
#define SYSCTL_DC3_CCP1         0x02000000  // CCP1 pin present
363
#define SYSCTL_DC3_CCP0         0x01000000  // CCP0 pin present
364
#define SYSCTL_DC3_ADC7         0x00800000  // ADC7 pin present
365
#define SYSCTL_DC3_ADC6         0x00400000  // ADC6 pin present
366
#define SYSCTL_DC3_ADC5         0x00200000  // ADC5 pin present
367
#define SYSCTL_DC3_ADC4         0x00100000  // ADC4 pin present
368
#define SYSCTL_DC3_ADC3         0x00080000  // ADC3 pin present
369
#define SYSCTL_DC3_ADC2         0x00040000  // ADC2 pin present
370
#define SYSCTL_DC3_ADC1         0x00020000  // ADC1 pin present
371
#define SYSCTL_DC3_ADC0         0x00010000  // ADC0 pin present
372
#define SYSCTL_DC3_PWMFAULT     0x00008000  // PWM Fault Pin Present.
373
#define SYSCTL_DC3_C2O          0x00004000  // C2o pin present
374
#define SYSCTL_DC3_C2PLUS       0x00002000  // C2+ pin present
375
#define SYSCTL_DC3_C2MINUS      0x00001000  // C2- pin present
376
#define SYSCTL_DC3_C1O          0x00000800  // C1o pin present
377
#define SYSCTL_DC3_C1PLUS       0x00000400  // C1+ pin present
378
#define SYSCTL_DC3_C1MINUS      0x00000200  // C1- pin present
379
#define SYSCTL_DC3_C0O          0x00000100  // C0o pin present
380
#define SYSCTL_DC3_C0PLUS       0x00000080  // C0+ pin present
381
#define SYSCTL_DC3_C0MINUS      0x00000040  // C0- pin present
382
#define SYSCTL_DC3_PWM5         0x00000020  // PWM5 pin present
383
#define SYSCTL_DC3_PWM4         0x00000010  // PWM4 pin present
384
#define SYSCTL_DC3_PWM3         0x00000008  // PWM3 pin present
385
#define SYSCTL_DC3_PWM2         0x00000004  // PWM2 pin present
386
#define SYSCTL_DC3_PWM1         0x00000002  // PWM1 pin present
387
#define SYSCTL_DC3_PWM0         0x00000001  // PWM0 pin present
388
 
389
//*****************************************************************************
390
//
391
// The following are defines for the bit fields in the SYSCTL_DC4 register.
392
//
393
//*****************************************************************************
394
#define SYSCTL_DC4_ETH          0x50000000  // Ethernet present
395
#define SYSCTL_DC4_EPHY0        0x40000000  // Ethernet PHY0 Present.
396
#define SYSCTL_DC4_EMAC0        0x10000000  // Ethernet MAC0 Present.
397
#define SYSCTL_DC4_E1588        0x01000000  // 1588 Capable.
398
#define SYSCTL_DC4_CCP7         0x00008000  // CCP7 Pin Present.
399
#define SYSCTL_DC4_CCP6         0x00004000  // CCP6 Pin Present.
400
#define SYSCTL_DC4_UDMA         0x00002000  // Micro-DMA is present.
401
#define SYSCTL_DC4_ROM          0x00001000  // Internal Code ROM is present.
402
#define SYSCTL_DC4_GPIOH        0x00000080  // GPIO port H present
403
#define SYSCTL_DC4_GPIOG        0x00000040  // GPIO port G present
404
#define SYSCTL_DC4_GPIOF        0x00000020  // GPIO port F present
405
#define SYSCTL_DC4_GPIOE        0x00000010  // GPIO port E present
406
#define SYSCTL_DC4_GPIOD        0x00000008  // GPIO port D present
407
#define SYSCTL_DC4_GPIOC        0x00000004  // GPIO port C present
408
#define SYSCTL_DC4_GPIOB        0x00000002  // GPIO port B present
409
#define SYSCTL_DC4_GPIOA        0x00000001  // GPIO port A present
410
 
411
//*****************************************************************************
412
//
413
// The following are defines for the bit fields in the SYSCTL_PBORCTL register.
414
//
415
//*****************************************************************************
416
#define SYSCTL_PBORCTL_BORTIM_M 0x0000FFFC  // BOR Time Delay.
417
#define SYSCTL_PBORCTL_BORIOR   0x00000002  // BOR interrupt or reset
418
#define SYSCTL_PBORCTL_BORWT    0x00000001  // BOR wait and check for noise
419
#define SYSCTL_PBORCTL_BORTIM_S 2
420
 
421
//*****************************************************************************
422
//
423
// The following are defines for the bit fields in the SYSCTL_LDOPCTL register.
424
//
425
//*****************************************************************************
426
#define SYSCTL_LDOPCTL_M        0x0000003F  // LDO Output Voltage.
427
#define SYSCTL_LDOPCTL_2_55V    0x0000001F  // LDO output of 2.55V
428
#define SYSCTL_LDOPCTL_2_60V    0x0000001E  // LDO output of 2.60V
429
#define SYSCTL_LDOPCTL_2_65V    0x0000001D  // LDO output of 2.65V
430
#define SYSCTL_LDOPCTL_2_70V    0x0000001C  // LDO output of 2.70V
431
#define SYSCTL_LDOPCTL_2_75V    0x0000001B  // LDO output of 2.75V
432
#define SYSCTL_LDOPCTL_2_25V    0x00000005  // LDO output of 2.25V
433
#define SYSCTL_LDOPCTL_2_30V    0x00000004  // LDO output of 2.30V
434
#define SYSCTL_LDOPCTL_2_35V    0x00000003  // LDO output of 2.35V
435
#define SYSCTL_LDOPCTL_2_40V    0x00000002  // LDO output of 2.40V
436
#define SYSCTL_LDOPCTL_2_45V    0x00000001  // LDO output of 2.45V
437
#define SYSCTL_LDOPCTL_2_50V    0x00000000  // LDO output of 2.50V
438
 
439
//*****************************************************************************
440
//
441
// The following are defines for the bit fields in the SYSCTL_RESC register.
442
//
443
//*****************************************************************************
444
#define SYSCTL_RESC_MOSCFAIL    0x00010000  // MOSC Failure Reset.
445
#define SYSCTL_RESC_LDO         0x00000020  // LDO power OK lost reset
446
#define SYSCTL_RESC_SW          0x00000010  // Software reset
447
#define SYSCTL_RESC_WDT         0x00000008  // Watchdog Timer Reset.
448
#define SYSCTL_RESC_BOR         0x00000004  // Brown-out reset
449
#define SYSCTL_RESC_POR         0x00000002  // Power on reset
450
#define SYSCTL_RESC_EXT         0x00000001  // External reset
451
 
452
//*****************************************************************************
453
//
454
// The following are defines for the bit fields in the SYSCTL_RCC register.
455
//
456
//*****************************************************************************
457
#define SYSCTL_RCC_ACG          0x08000000  // Automatic clock gating
458
#define SYSCTL_RCC_SYSDIV_M     0x07800000  // System Clock Divisor.
459
#define SYSCTL_RCC_SYSDIV_2     0x00800000  // System clock /2
460
#define SYSCTL_RCC_SYSDIV_3     0x01000000  // System clock /3
461
#define SYSCTL_RCC_SYSDIV_4     0x01800000  // System clock /4
462
#define SYSCTL_RCC_SYSDIV_5     0x02000000  // System clock /5
463
#define SYSCTL_RCC_SYSDIV_6     0x02800000  // System clock /6
464
#define SYSCTL_RCC_SYSDIV_7     0x03000000  // System clock /7
465
#define SYSCTL_RCC_SYSDIV_8     0x03800000  // System clock /8
466
#define SYSCTL_RCC_SYSDIV_9     0x04000000  // System clock /9
467
#define SYSCTL_RCC_SYSDIV_10    0x04800000  // System clock /10
468
#define SYSCTL_RCC_SYSDIV_11    0x05000000  // System clock /11
469
#define SYSCTL_RCC_SYSDIV_12    0x05800000  // System clock /12
470
#define SYSCTL_RCC_SYSDIV_13    0x06000000  // System clock /13
471
#define SYSCTL_RCC_SYSDIV_14    0x06800000  // System clock /14
472
#define SYSCTL_RCC_SYSDIV_15    0x07000000  // System clock /15
473
#define SYSCTL_RCC_SYSDIV_16    0x07800000  // System clock /16
474
#define SYSCTL_RCC_USESYSDIV    0x00400000  // Enable System Clock Divider.
475
#define SYSCTL_RCC_USEPWMDIV    0x00100000  // Enable PWM Clock Divisor.
476
#define SYSCTL_RCC_PWMDIV_M     0x000E0000  // PWM clock divider
477
#define SYSCTL_RCC_PWMDIV_2     0x00000000  // PWM clock /2
478
#define SYSCTL_RCC_PWMDIV_4     0x00020000  // PWM clock /4
479
#define SYSCTL_RCC_PWMDIV_8     0x00040000  // PWM clock /8
480
#define SYSCTL_RCC_PWMDIV_16    0x00060000  // PWM clock /16
481
#define SYSCTL_RCC_PWMDIV_32    0x00080000  // PWM clock /32
482
#define SYSCTL_RCC_PWMDIV_64    0x000A0000  // PWM clock /64
483
#define SYSCTL_RCC_PWRDN        0x00002000  // PLL power down
484
#define SYSCTL_RCC_OEN          0x00001000  // PLL Output Enable.
485
#define SYSCTL_RCC_BYPASS       0x00000800  // PLL bypass
486
#define SYSCTL_RCC_XTAL_M       0x000007C0  // Crystal attached to main osc
487
#define SYSCTL_RCC_XTAL_1MHZ    0x00000000  // Using a 1MHz crystal
488
#define SYSCTL_RCC_XTAL_1_84MHZ 0x00000040  // Using a 1.8432MHz crystal
489
#define SYSCTL_RCC_XTAL_2MHZ    0x00000080  // Using a 2MHz crystal
490
#define SYSCTL_RCC_XTAL_2_45MHZ 0x000000C0  // Using a 2.4576MHz crystal
491
#define SYSCTL_RCC_XTAL_3_57MHZ 0x00000100  // Using a 3.579545MHz crystal
492
#define SYSCTL_RCC_XTAL_3_68MHZ 0x00000140  // Using a 3.6864MHz crystal
493
#define SYSCTL_RCC_XTAL_4MHZ    0x00000180  // Using a 4MHz crystal
494
#define SYSCTL_RCC_XTAL_4_09MHZ 0x000001C0  // Using a 4.096MHz crystal
495
#define SYSCTL_RCC_XTAL_4_91MHZ 0x00000200  // Using a 4.9152MHz crystal
496
#define SYSCTL_RCC_XTAL_5MHZ    0x00000240  // Using a 5MHz crystal
497
#define SYSCTL_RCC_XTAL_5_12MHZ 0x00000280  // Using a 5.12MHz crystal
498
#define SYSCTL_RCC_XTAL_6MHZ    0x000002C0  // Using a 6MHz crystal
499
#define SYSCTL_RCC_XTAL_6_14MHZ 0x00000300  // Using a 6.144MHz crystal
500
#define SYSCTL_RCC_XTAL_7_37MHZ 0x00000340  // Using a 7.3728MHz crystal
501
#define SYSCTL_RCC_XTAL_8MHZ    0x00000380  // Using a 8MHz crystal
502
#define SYSCTL_RCC_XTAL_8_19MHZ 0x000003C0  // Using a 8.192MHz crystal
503
#define SYSCTL_RCC_XTAL_10MHZ   0x00000400  // 10.0 MHz (USB)
504
#define SYSCTL_RCC_XTAL_12MHZ   0x00000440  // 12.0 MHz (USB)
505
#define SYSCTL_RCC_XTAL_12_2MHZ 0x00000480  // 12.288 MHz
506
#define SYSCTL_RCC_XTAL_13_5MHZ 0x000004C0  // 13.56 MHz
507
#define SYSCTL_RCC_XTAL_14_3MHZ 0x00000500  // 14.31818 MHz
508
#define SYSCTL_RCC_XTAL_16MHZ   0x00000540  // 16.0 MHz (USB)
509
#define SYSCTL_RCC_XTAL_16_3MHZ 0x00000580  // 16.384 MHz
510
#define SYSCTL_RCC_PLLVER       0x00000400  // PLL verification timer enable
511
#define SYSCTL_RCC_OSCSRC_M     0x00000030  // Oscillator input select
512
#define SYSCTL_RCC_OSCSRC_MAIN  0x00000000  // Use the main oscillator
513
#define SYSCTL_RCC_OSCSRC_INT   0x00000010  // Use the internal oscillator
514
#define SYSCTL_RCC_OSCSRC_INT4  0x00000020  // Use the internal oscillator / 4
515
#define SYSCTL_RCC_OSCSRC_30    0x00000030  // 30 KHz internal oscillator
516
#define SYSCTL_RCC_IOSCVER      0x00000008  // Int. osc. verification timer en
517
#define SYSCTL_RCC_MOSCVER      0x00000004  // Main osc. verification timer en
518
#define SYSCTL_RCC_IOSCDIS      0x00000002  // Internal oscillator disable
519
#define SYSCTL_RCC_MOSCDIS      0x00000001  // Main oscillator disable
520
#define SYSCTL_RCC_SYSDIV_S     23          // Shift to the SYSDIV field
521
#define SYSCTL_RCC_PWMDIV_S     17          // Shift to the PWMDIV field
522
#define SYSCTL_RCC_XTAL_S       6           // Shift to the XTAL field
523
#define SYSCTL_RCC_OSCSRC_S     4           // Shift to the OSCSRC field
524
 
525
//*****************************************************************************
526
//
527
// The following are defines for the bit fields in the SYSCTL_PLLCFG register.
528
//
529
//*****************************************************************************
530
#define SYSCTL_PLLCFG_OD_M      0x0000C000  // Output divider
531
#define SYSCTL_PLLCFG_OD_1      0x00000000  // Output divider is 1
532
#define SYSCTL_PLLCFG_OD_2      0x00004000  // Output divider is 2
533
#define SYSCTL_PLLCFG_OD_4      0x00008000  // Output divider is 4
534
#define SYSCTL_PLLCFG_F_M       0x00003FE0  // PLL F Value.
535
#define SYSCTL_PLLCFG_R_M       0x0000001F  // PLL R Value.
536
#define SYSCTL_PLLCFG_F_S       5
537
#define SYSCTL_PLLCFG_R_S       0
538
 
539
//*****************************************************************************
540
//
541
// The following are defines for the bit fields in the SYSCTL_RCC2 register.
542
//
543
//*****************************************************************************
544
#define SYSCTL_RCC2_USERCC2     0x80000000  // Use RCC2
545
#define SYSCTL_RCC2_SYSDIV2_M   0x1F800000  // System clock divider
546
#define SYSCTL_RCC2_SYSDIV2_2   0x00800000  // System clock /2
547
#define SYSCTL_RCC2_SYSDIV2_3   0x01000000  // System clock /3
548
#define SYSCTL_RCC2_SYSDIV2_4   0x01800000  // System clock /4
549
#define SYSCTL_RCC2_SYSDIV2_5   0x02000000  // System clock /5
550
#define SYSCTL_RCC2_SYSDIV2_6   0x02800000  // System clock /6
551
#define SYSCTL_RCC2_SYSDIV2_7   0x03000000  // System clock /7
552
#define SYSCTL_RCC2_SYSDIV2_8   0x03800000  // System clock /8
553
#define SYSCTL_RCC2_SYSDIV2_9   0x04000000  // System clock /9
554
#define SYSCTL_RCC2_SYSDIV2_10  0x04800000  // System clock /10
555
#define SYSCTL_RCC2_SYSDIV2_11  0x05000000  // System clock /11
556
#define SYSCTL_RCC2_SYSDIV2_12  0x05800000  // System clock /12
557
#define SYSCTL_RCC2_SYSDIV2_13  0x06000000  // System clock /13
558
#define SYSCTL_RCC2_SYSDIV2_14  0x06800000  // System clock /14
559
#define SYSCTL_RCC2_SYSDIV2_15  0x07000000  // System clock /15
560
#define SYSCTL_RCC2_SYSDIV2_16  0x07800000  // System clock /16
561
#define SYSCTL_RCC2_SYSDIV2_17  0x08000000  // System clock /17
562
#define SYSCTL_RCC2_SYSDIV2_18  0x08800000  // System clock /18
563
#define SYSCTL_RCC2_SYSDIV2_19  0x09000000  // System clock /19
564
#define SYSCTL_RCC2_SYSDIV2_20  0x09800000  // System clock /20
565
#define SYSCTL_RCC2_SYSDIV2_21  0x0A000000  // System clock /21
566
#define SYSCTL_RCC2_SYSDIV2_22  0x0A800000  // System clock /22
567
#define SYSCTL_RCC2_SYSDIV2_23  0x0B000000  // System clock /23
568
#define SYSCTL_RCC2_SYSDIV2_24  0x0B800000  // System clock /24
569
#define SYSCTL_RCC2_SYSDIV2_25  0x0C000000  // System clock /25
570
#define SYSCTL_RCC2_SYSDIV2_26  0x0C800000  // System clock /26
571
#define SYSCTL_RCC2_SYSDIV2_27  0x0D000000  // System clock /27
572
#define SYSCTL_RCC2_SYSDIV2_28  0x0D800000  // System clock /28
573
#define SYSCTL_RCC2_SYSDIV2_29  0x0E000000  // System clock /29
574
#define SYSCTL_RCC2_SYSDIV2_30  0x0E800000  // System clock /30
575
#define SYSCTL_RCC2_SYSDIV2_31  0x0F000000  // System clock /31
576
#define SYSCTL_RCC2_SYSDIV2_32  0x0F800000  // System clock /32
577
#define SYSCTL_RCC2_SYSDIV2_33  0x10000000  // System clock /33
578
#define SYSCTL_RCC2_SYSDIV2_34  0x10800000  // System clock /34
579
#define SYSCTL_RCC2_SYSDIV2_35  0x11000000  // System clock /35
580
#define SYSCTL_RCC2_SYSDIV2_36  0x11800000  // System clock /36
581
#define SYSCTL_RCC2_SYSDIV2_37  0x12000000  // System clock /37
582
#define SYSCTL_RCC2_SYSDIV2_38  0x12800000  // System clock /38
583
#define SYSCTL_RCC2_SYSDIV2_39  0x13000000  // System clock /39
584
#define SYSCTL_RCC2_SYSDIV2_40  0x13800000  // System clock /40
585
#define SYSCTL_RCC2_SYSDIV2_41  0x14000000  // System clock /41
586
#define SYSCTL_RCC2_SYSDIV2_42  0x14800000  // System clock /42
587
#define SYSCTL_RCC2_SYSDIV2_43  0x15000000  // System clock /43
588
#define SYSCTL_RCC2_SYSDIV2_44  0x15800000  // System clock /44
589
#define SYSCTL_RCC2_SYSDIV2_45  0x16000000  // System clock /45
590
#define SYSCTL_RCC2_SYSDIV2_46  0x16800000  // System clock /46
591
#define SYSCTL_RCC2_SYSDIV2_47  0x17000000  // System clock /47
592
#define SYSCTL_RCC2_SYSDIV2_48  0x17800000  // System clock /48
593
#define SYSCTL_RCC2_SYSDIV2_49  0x18000000  // System clock /49
594
#define SYSCTL_RCC2_SYSDIV2_50  0x18800000  // System clock /50
595
#define SYSCTL_RCC2_SYSDIV2_51  0x19000000  // System clock /51
596
#define SYSCTL_RCC2_SYSDIV2_52  0x19800000  // System clock /52
597
#define SYSCTL_RCC2_SYSDIV2_53  0x1A000000  // System clock /53
598
#define SYSCTL_RCC2_SYSDIV2_54  0x1A800000  // System clock /54
599
#define SYSCTL_RCC2_SYSDIV2_55  0x1B000000  // System clock /55
600
#define SYSCTL_RCC2_SYSDIV2_56  0x1B800000  // System clock /56
601
#define SYSCTL_RCC2_SYSDIV2_57  0x1C000000  // System clock /57
602
#define SYSCTL_RCC2_SYSDIV2_58  0x1C800000  // System clock /58
603
#define SYSCTL_RCC2_SYSDIV2_59  0x1D000000  // System clock /59
604
#define SYSCTL_RCC2_SYSDIV2_60  0x1D800000  // System clock /60
605
#define SYSCTL_RCC2_SYSDIV2_61  0x1E000000  // System clock /61
606
#define SYSCTL_RCC2_SYSDIV2_62  0x1E800000  // System clock /62
607
#define SYSCTL_RCC2_SYSDIV2_63  0x1F000000  // System clock /63
608
#define SYSCTL_RCC2_SYSDIV2_64  0x1F800000  // System clock /64
609
#define SYSCTL_RCC2_USBPWRDN    0x00004000  // Power-Down USB PLL.
610
#define SYSCTL_RCC2_PWRDN2      0x00002000  // PLL power down
611
#define SYSCTL_RCC2_BYPASS2     0x00000800  // PLL bypass
612
#define SYSCTL_RCC2_OSCSRC2_M   0x00000070  // System Clock Source.
613
#define SYSCTL_RCC2_OSCSRC2_MO  0x00000000  // Use the main oscillator
614
#define SYSCTL_RCC2_OSCSRC2_IO  0x00000010  // Use the internal oscillator
615
#define SYSCTL_RCC2_OSCSRC2_IO4 0x00000020  // Use the internal oscillator / 4
616
#define SYSCTL_RCC2_OSCSRC2_30  0x00000030  // Use the 30 KHz internal osc.
617
#define SYSCTL_RCC2_OSCSRC2_32  0x00000070  // Use the 32 KHz external osc.
618
#define SYSCTL_RCC2_SYSDIV2_S   23          // Shift to the SYSDIV2 field
619
 
620
//*****************************************************************************
621
//
622
// The following are defines for the bit fields in the SYSCTL_DSLPCLKCFG
623
// register.
624
//
625
//*****************************************************************************
626
#define SYSCTL_DSLPCLKCFG_D_M   0x1F800000  // Divider Field Override.
627
#define SYSCTL_DSLPCLKCFG_D_2   0x00800000  // System clock /2
628
#define SYSCTL_DSLPCLKCFG_D_3   0x01000000  // System clock /3
629
#define SYSCTL_DSLPCLKCFG_D_4   0x01800000  // System clock /4
630
#define SYSCTL_DSLPCLKCFG_D_5   0x02000000  // System clock /5
631
#define SYSCTL_DSLPCLKCFG_D_6   0x02800000  // System clock /6
632
#define SYSCTL_DSLPCLKCFG_D_7   0x03000000  // System clock /7
633
#define SYSCTL_DSLPCLKCFG_D_8   0x03800000  // System clock /8
634
#define SYSCTL_DSLPCLKCFG_D_9   0x04000000  // System clock /9
635
#define SYSCTL_DSLPCLKCFG_D_10  0x04800000  // System clock /10
636
#define SYSCTL_DSLPCLKCFG_D_11  0x05000000  // System clock /11
637
#define SYSCTL_DSLPCLKCFG_D_12  0x05800000  // System clock /12
638
#define SYSCTL_DSLPCLKCFG_D_13  0x06000000  // System clock /13
639
#define SYSCTL_DSLPCLKCFG_D_14  0x06800000  // System clock /14
640
#define SYSCTL_DSLPCLKCFG_D_15  0x07000000  // System clock /15
641
#define SYSCTL_DSLPCLKCFG_D_16  0x07800000  // System clock /16
642
#define SYSCTL_DSLPCLKCFG_D_17  0x08000000  // System clock /17
643
#define SYSCTL_DSLPCLKCFG_D_18  0x08800000  // System clock /18
644
#define SYSCTL_DSLPCLKCFG_D_19  0x09000000  // System clock /19
645
#define SYSCTL_DSLPCLKCFG_D_20  0x09800000  // System clock /20
646
#define SYSCTL_DSLPCLKCFG_D_21  0x0A000000  // System clock /21
647
#define SYSCTL_DSLPCLKCFG_D_22  0x0A800000  // System clock /22
648
#define SYSCTL_DSLPCLKCFG_D_23  0x0B000000  // System clock /23
649
#define SYSCTL_DSLPCLKCFG_D_24  0x0B800000  // System clock /24
650
#define SYSCTL_DSLPCLKCFG_D_25  0x0C000000  // System clock /25
651
#define SYSCTL_DSLPCLKCFG_D_26  0x0C800000  // System clock /26
652
#define SYSCTL_DSLPCLKCFG_D_27  0x0D000000  // System clock /27
653
#define SYSCTL_DSLPCLKCFG_D_28  0x0D800000  // System clock /28
654
#define SYSCTL_DSLPCLKCFG_D_29  0x0E000000  // System clock /29
655
#define SYSCTL_DSLPCLKCFG_D_30  0x0E800000  // System clock /30
656
#define SYSCTL_DSLPCLKCFG_D_31  0x0F000000  // System clock /31
657
#define SYSCTL_DSLPCLKCFG_D_32  0x0F800000  // System clock /32
658
#define SYSCTL_DSLPCLKCFG_D_33  0x10000000  // System clock /33
659
#define SYSCTL_DSLPCLKCFG_D_34  0x10800000  // System clock /34
660
#define SYSCTL_DSLPCLKCFG_D_35  0x11000000  // System clock /35
661
#define SYSCTL_DSLPCLKCFG_D_36  0x11800000  // System clock /36
662
#define SYSCTL_DSLPCLKCFG_D_37  0x12000000  // System clock /37
663
#define SYSCTL_DSLPCLKCFG_D_38  0x12800000  // System clock /38
664
#define SYSCTL_DSLPCLKCFG_D_39  0x13000000  // System clock /39
665
#define SYSCTL_DSLPCLKCFG_D_40  0x13800000  // System clock /40
666
#define SYSCTL_DSLPCLKCFG_D_41  0x14000000  // System clock /41
667
#define SYSCTL_DSLPCLKCFG_D_42  0x14800000  // System clock /42
668
#define SYSCTL_DSLPCLKCFG_D_43  0x15000000  // System clock /43
669
#define SYSCTL_DSLPCLKCFG_D_44  0x15800000  // System clock /44
670
#define SYSCTL_DSLPCLKCFG_D_45  0x16000000  // System clock /45
671
#define SYSCTL_DSLPCLKCFG_D_46  0x16800000  // System clock /46
672
#define SYSCTL_DSLPCLKCFG_D_47  0x17000000  // System clock /47
673
#define SYSCTL_DSLPCLKCFG_D_48  0x17800000  // System clock /48
674
#define SYSCTL_DSLPCLKCFG_D_49  0x18000000  // System clock /49
675
#define SYSCTL_DSLPCLKCFG_D_50  0x18800000  // System clock /50
676
#define SYSCTL_DSLPCLKCFG_D_51  0x19000000  // System clock /51
677
#define SYSCTL_DSLPCLKCFG_D_52  0x19800000  // System clock /52
678
#define SYSCTL_DSLPCLKCFG_D_53  0x1A000000  // System clock /53
679
#define SYSCTL_DSLPCLKCFG_D_54  0x1A800000  // System clock /54
680
#define SYSCTL_DSLPCLKCFG_D_55  0x1B000000  // System clock /55
681
#define SYSCTL_DSLPCLKCFG_D_56  0x1B800000  // System clock /56
682
#define SYSCTL_DSLPCLKCFG_D_57  0x1C000000  // System clock /57
683
#define SYSCTL_DSLPCLKCFG_D_58  0x1C800000  // System clock /58
684
#define SYSCTL_DSLPCLKCFG_D_59  0x1D000000  // System clock /59
685
#define SYSCTL_DSLPCLKCFG_D_60  0x1D800000  // System clock /60
686
#define SYSCTL_DSLPCLKCFG_D_61  0x1E000000  // System clock /61
687
#define SYSCTL_DSLPCLKCFG_D_62  0x1E800000  // System clock /62
688
#define SYSCTL_DSLPCLKCFG_D_63  0x1F000000  // System clock /63
689
#define SYSCTL_DSLPCLKCFG_D_64  0x1F800000  // System clock /64
690
#define SYSCTL_DSLPCLKCFG_O_M   0x00000070  // Clock Source.
691
#define SYSCTL_DSLPCLKCFG_O_IGN 0x00000000  // Do not override
692
#define SYSCTL_DSLPCLKCFG_O_IO  0x00000010  // Use the internal oscillator
693
#define SYSCTL_DSLPCLKCFG_O_30  0x00000030  // Use the 30 KHz internal osc.
694
#define SYSCTL_DSLPCLKCFG_O_32  0x00000070  // Use the 32 KHz external osc.
695
#define SYSCTL_DSLPCLKCFG_IOSC  0x00000001  // IOSC Clock Source.
696
#define SYSCTL_DSLPCLKCFG_D_S   23
697
 
698
//*****************************************************************************
699
//
700
// The following are defines for the bit fields in the SYSCTL_CLKVCLR register.
701
//
702
//*****************************************************************************
703
#define SYSCTL_CLKVCLR_VERCLR   0x00000001  // Clock Verification Clear.
704
 
705
//*****************************************************************************
706
//
707
// The following are defines for the bit fields in the SYSCTL_LDOARST register.
708
//
709
//*****************************************************************************
710
#define SYSCTL_LDOARST_LDOARST  0x00000001  // LDO Reset.
711
 
712
//*****************************************************************************
713
//
714
// The following are defines for the bit fields in the SYSCTL_SRCR0 register.
715
//
716
//*****************************************************************************
717
#define SYSCTL_SRCR0_CAN2       0x04000000  // CAN2 Reset Control.
718
#define SYSCTL_SRCR0_CAN1       0x02000000  // CAN1 Reset Control.
719
#define SYSCTL_SRCR0_CAN0       0x01000000  // CAN0 Reset Control.
720
#define SYSCTL_SRCR0_PWM        0x00100000  // PWM Reset Control.
721
#define SYSCTL_SRCR0_ADC        0x00010000  // ADC0 Reset Control.
722
#define SYSCTL_SRCR0_HIB        0x00000040  // HIB Reset Control.
723
#define SYSCTL_SRCR0_WDT        0x00000008  // WDT Reset Control.
724
 
725
//*****************************************************************************
726
//
727
// The following are defines for the bit fields in the SYSCTL_SRCR1 register.
728
//
729
//*****************************************************************************
730
#define SYSCTL_SRCR1_COMP2      0x04000000  // Analog Comp 2 Reset Control.
731
#define SYSCTL_SRCR1_COMP1      0x02000000  // Analog Comp 1 Reset Control.
732
#define SYSCTL_SRCR1_COMP0      0x01000000  // Analog Comp 0 Reset Control.
733
#define SYSCTL_SRCR1_TIMER3     0x00080000  // Timer 3 Reset Control.
734
#define SYSCTL_SRCR1_TIMER2     0x00040000  // Timer 2 Reset Control.
735
#define SYSCTL_SRCR1_TIMER1     0x00020000  // Timer 1 Reset Control.
736
#define SYSCTL_SRCR1_TIMER0     0x00010000  // Timer 0 Reset Control.
737
#define SYSCTL_SRCR1_I2C1       0x00004000  // I2C1 Reset Control.
738
#define SYSCTL_SRCR1_I2C0       0x00001000  // I2C0 Reset Control.
739
#define SYSCTL_SRCR1_QEI1       0x00000200  // QEI1 Reset Control.
740
#define SYSCTL_SRCR1_QEI0       0x00000100  // QEI0 Reset Control.
741
#define SYSCTL_SRCR1_SSI1       0x00000020  // SSI1 Reset Control.
742
#define SYSCTL_SRCR1_SSI0       0x00000010  // SSI0 Reset Control.
743
#define SYSCTL_SRCR1_UART2      0x00000004  // UART2 Reset Control.
744
#define SYSCTL_SRCR1_UART1      0x00000002  // UART1 Reset Control.
745
#define SYSCTL_SRCR1_UART0      0x00000001  // UART0 Reset Control.
746
 
747
//*****************************************************************************
748
//
749
// The following are defines for the bit fields in the SYSCTL_SRCR2 register.
750
//
751
//*****************************************************************************
752
#define SYSCTL_SRCR2_EPHY0      0x40000000  // PHY0 Reset Control.
753
#define SYSCTL_SRCR2_EMAC0      0x10000000  // MAC0 Reset Control.
754
#define SYSCTL_SRCR2_USB0       0x00010000  // USB0 Reset Control.
755
#define SYSCTL_SRCR2_UDMA       0x00002000  // UDMA Reset Control.
756
#define SYSCTL_SRCR2_GPIOH      0x00000080  // Port H Reset Control.
757
#define SYSCTL_SRCR2_GPIOG      0x00000040  // Port G Reset Control.
758
#define SYSCTL_SRCR2_GPIOF      0x00000020  // Port F Reset Control.
759
#define SYSCTL_SRCR2_GPIOE      0x00000010  // Port E Reset Control.
760
#define SYSCTL_SRCR2_GPIOD      0x00000008  // Port D Reset Control.
761
#define SYSCTL_SRCR2_GPIOC      0x00000004  // Port C Reset Control.
762
#define SYSCTL_SRCR2_GPIOB      0x00000002  // Port B Reset Control.
763
#define SYSCTL_SRCR2_GPIOA      0x00000001  // Port A Reset Control.
764
 
765
//*****************************************************************************
766
//
767
// The following are defines for the bit fields in the SYSCTL_RIS register.
768
//
769
//*****************************************************************************
770
#define SYSCTL_RIS_MOSCPUPRIS   0x00000100  // MOSC Power Up Raw Interrupt
771
                                            // Status.
772
#define SYSCTL_RIS_USBPLLLRIS   0x00000080  // USB PLL Lock Raw Interrupt
773
                                            // Status.
774
#define SYSCTL_RIS_PLLLRIS      0x00000040  // PLL Lock Raw Interrupt Status.
775
#define SYSCTL_RIS_CLRIS        0x00000020  // Current Limit Raw Interrupt
776
                                            // Status.
777
#define SYSCTL_RIS_IOFRIS       0x00000010  // Internal Oscillator Fault Raw
778
                                            // Interrupt Status.
779
#define SYSCTL_RIS_MOFRIS       0x00000008  // Main Oscillator Fault Raw
780
                                            // Interrupt Status.
781
#define SYSCTL_RIS_LDORIS       0x00000004  // LDO Power Unregulated Raw
782
                                            // Interrupt Status.
783
#define SYSCTL_RIS_BORRIS       0x00000002  // Brown-Out Reset Raw Interrupt
784
                                            // Status.
785
#define SYSCTL_RIS_PLLFRIS      0x00000001  // PLL Fault Raw Interrupt Status.
786
 
787
//*****************************************************************************
788
//
789
// The following are defines for the bit fields in the SYSCTL_IMC register.
790
//
791
//*****************************************************************************
792
#define SYSCTL_IMC_MOSCPUPIM    0x00000100  // MOSC Power Up Interrupt Mask.
793
#define SYSCTL_IMC_USBPLLLIM    0x00000080  // USB PLL Lock Interrupt Mask.
794
#define SYSCTL_IMC_PLLLIM       0x00000040  // PLL Lock Interrupt Mask.
795
#define SYSCTL_IMC_CLIM         0x00000020  // Current Limit Interrupt Mask.
796
#define SYSCTL_IMC_IOFIM        0x00000010  // Internal Oscillator Fault
797
                                            // Interrupt Mask.
798
#define SYSCTL_IMC_MOFIM        0x00000008  // Main Oscillator Fault Interrupt
799
                                            // Mask.
800
#define SYSCTL_IMC_LDOIM        0x00000004  // LDO Power Unregulated Interrupt
801
                                            // Mask.
802
#define SYSCTL_IMC_BORIM        0x00000002  // Brown-Out Reset Interrupt Mask.
803
#define SYSCTL_IMC_PLLFIM       0x00000001  // PLL Fault Interrupt Mask.
804
 
805
//*****************************************************************************
806
//
807
// The following are defines for the bit fields in the SYSCTL_MISC register.
808
//
809
//*****************************************************************************
810
#define SYSCTL_MISC_MOSCPUPMIS  0x00000100  // MOSC Power Up Masked Interrupt
811
                                            // Status.
812
#define SYSCTL_MISC_USBPLLLMIS  0x00000080  // USB PLL Lock Masked Interrupt
813
                                            // Status.
814
#define SYSCTL_MISC_PLLLMIS     0x00000040  // PLL Lock Masked Interrupt
815
                                            // Status.
816
#define SYSCTL_MISC_CLMIS       0x00000020  // Current Limit Masked Interrupt
817
                                            // Status.
818
#define SYSCTL_MISC_IOFMIS      0x00000010  // Internal Oscillator Fault Masked
819
                                            // Interrupt Status.
820
#define SYSCTL_MISC_MOFMIS      0x00000008  // Main Oscillator Fault Masked
821
                                            // Interrupt Status.
822
#define SYSCTL_MISC_LDOMIS      0x00000004  // LDO Power Unregulated Masked
823
                                            // Interrupt Status.
824
#define SYSCTL_MISC_BORMIS      0x00000002  // BOR Masked Interrupt Status.
825
 
826
//*****************************************************************************
827
//
828
// The following are defines for the bit fields in the SYSCTL_RCGC0 register.
829
//
830
//*****************************************************************************
831
#define SYSCTL_RCGC0_CAN2       0x04000000  // CAN2 Clock Gating Control.
832
#define SYSCTL_RCGC0_CAN1       0x02000000  // CAN1 Clock Gating Control.
833
#define SYSCTL_RCGC0_CAN0       0x01000000  // CAN0 Clock Gating Control.
834
#define SYSCTL_RCGC0_PWM        0x00100000  // PWM Clock Gating Control.
835
#define SYSCTL_RCGC0_ADC        0x00010000  // ADC0 Clock Gating Control.
836
#define SYSCTL_RCGC0_ADCSPD_M   0x00000F00  // ADC Sample Speed.
837
#define SYSCTL_RCGC0_ADCSPD125K 0x00000000  // 125K samples/second
838
#define SYSCTL_RCGC0_ADCSPD250K 0x00000100  // 250K samples/second
839
#define SYSCTL_RCGC0_ADCSPD500K 0x00000200  // 500K samples/second
840
#define SYSCTL_RCGC0_ADCSPD1M   0x00000300  // 1M samples/second
841
#define SYSCTL_RCGC0_HIB        0x00000040  // HIB Clock Gating Control.
842
#define SYSCTL_RCGC0_WDT        0x00000008  // WDT Clock Gating Control.
843
 
844
//*****************************************************************************
845
//
846
// The following are defines for the bit fields in the SYSCTL_RCGC1 register.
847
//
848
//*****************************************************************************
849
#define SYSCTL_RCGC1_COMP2      0x04000000  // Analog Comparator 2 Clock
850
                                            // Gating.
851
#define SYSCTL_RCGC1_COMP1      0x02000000  // Analog Comparator 1 Clock
852
                                            // Gating.
853
#define SYSCTL_RCGC1_COMP0      0x01000000  // Analog Comparator 0 Clock
854
                                            // Gating.
855
#define SYSCTL_RCGC1_TIMER3     0x00080000  // Timer 3 Clock Gating Control.
856
#define SYSCTL_RCGC1_TIMER2     0x00040000  // Timer 2 Clock Gating Control.
857
#define SYSCTL_RCGC1_TIMER1     0x00020000  // Timer 1 Clock Gating Control.
858
#define SYSCTL_RCGC1_TIMER0     0x00010000  // Timer 0 Clock Gating Control.
859
#define SYSCTL_RCGC1_I2C1       0x00004000  // I2C1 Clock Gating Control.
860
#define SYSCTL_RCGC1_I2C0       0x00001000  // I2C0 Clock Gating Control.
861
#define SYSCTL_RCGC1_QEI1       0x00000200  // QEI1 Clock Gating Control.
862
#define SYSCTL_RCGC1_QEI0       0x00000100  // QEI0 Clock Gating Control.
863
#define SYSCTL_RCGC1_SSI1       0x00000020  // SSI1 Clock Gating Control.
864
#define SYSCTL_RCGC1_SSI0       0x00000010  // SSI0 Clock Gating Control.
865
#define SYSCTL_RCGC1_UART2      0x00000004  // UART2 Clock Gating Control.
866
#define SYSCTL_RCGC1_UART1      0x00000002  // UART1 Clock Gating Control.
867
#define SYSCTL_RCGC1_UART0      0x00000001  // UART0 Clock Gating Control.
868
 
869
//*****************************************************************************
870
//
871
// The following are defines for the bit fields in the SYSCTL_RCGC2 register.
872
//
873
//*****************************************************************************
874
#define SYSCTL_RCGC2_EPHY0      0x40000000  // PHY0 Clock Gating Control.
875
#define SYSCTL_RCGC2_EMAC0      0x10000000  // MAC0 Clock Gating Control.
876
#define SYSCTL_RCGC2_USB0       0x00010000  // USB0 Clock Gating Control.
877
#define SYSCTL_RCGC2_UDMA       0x00002000  // UDMA Clock Gating Control.
878
#define SYSCTL_RCGC2_GPIOH      0x00000080  // Port H Clock Gating Control.
879
#define SYSCTL_RCGC2_GPIOG      0x00000040  // Port G Clock Gating Control.
880
#define SYSCTL_RCGC2_GPIOF      0x00000020  // Port F Clock Gating Control.
881
#define SYSCTL_RCGC2_GPIOE      0x00000010  // Port E Clock Gating Control.
882
#define SYSCTL_RCGC2_GPIOD      0x00000008  // Port D Clock Gating Control.
883
#define SYSCTL_RCGC2_GPIOC      0x00000004  // Port C Clock Gating Control.
884
#define SYSCTL_RCGC2_GPIOB      0x00000002  // Port B Clock Gating Control.
885
#define SYSCTL_RCGC2_GPIOA      0x00000001  // Port A Clock Gating Control.
886
 
887
//*****************************************************************************
888
//
889
// The following are defines for the bit fields in the SYSCTL_SCGC0 register.
890
//
891
//*****************************************************************************
892
#define SYSCTL_SCGC0_CAN2       0x04000000  // CAN2 Clock Gating Control.
893
#define SYSCTL_SCGC0_CAN1       0x02000000  // CAN1 Clock Gating Control.
894
#define SYSCTL_SCGC0_CAN0       0x01000000  // CAN0 Clock Gating Control.
895
#define SYSCTL_SCGC0_PWM        0x00100000  // PWM Clock Gating Control.
896
#define SYSCTL_SCGC0_ADC        0x00010000  // ADC0 Clock Gating Control.
897
#define SYSCTL_SCGC0_ADCSPD_M   0x00000F00  // ADC Sample Speed.
898
#define SYSCTL_SCGC0_ADCSPD125K 0x00000000  // 125K samples/second
899
#define SYSCTL_SCGC0_ADCSPD250K 0x00000100  // 250K samples/second
900
#define SYSCTL_SCGC0_ADCSPD500K 0x00000200  // 500K samples/second
901
#define SYSCTL_SCGC0_ADCSPD1M   0x00000300  // 1M samples/second
902
#define SYSCTL_SCGC0_HIB        0x00000040  // HIB Clock Gating Control.
903
#define SYSCTL_SCGC0_WDT        0x00000008  // WDT Clock Gating Control.
904
 
905
//*****************************************************************************
906
//
907
// The following are defines for the bit fields in the SYSCTL_SCGC1 register.
908
//
909
//*****************************************************************************
910
#define SYSCTL_SCGC1_COMP2      0x04000000  // Analog Comparator 2 Clock
911
                                            // Gating.
912
#define SYSCTL_SCGC1_COMP1      0x02000000  // Analog Comparator 1 Clock
913
                                            // Gating.
914
#define SYSCTL_SCGC1_COMP0      0x01000000  // Analog Comparator 0 Clock
915
                                            // Gating.
916
#define SYSCTL_SCGC1_TIMER3     0x00080000  // Timer 3 Clock Gating Control.
917
#define SYSCTL_SCGC1_TIMER2     0x00040000  // Timer 2 Clock Gating Control.
918
#define SYSCTL_SCGC1_TIMER1     0x00020000  // Timer 1 Clock Gating Control.
919
#define SYSCTL_SCGC1_TIMER0     0x00010000  // Timer 0 Clock Gating Control.
920
#define SYSCTL_SCGC1_I2C1       0x00004000  // I2C1 Clock Gating Control.
921
#define SYSCTL_SCGC1_I2C0       0x00001000  // I2C0 Clock Gating Control.
922
#define SYSCTL_SCGC1_QEI1       0x00000200  // QEI1 Clock Gating Control.
923
#define SYSCTL_SCGC1_QEI0       0x00000100  // QEI0 Clock Gating Control.
924
#define SYSCTL_SCGC1_SSI1       0x00000020  // SSI1 Clock Gating Control.
925
#define SYSCTL_SCGC1_SSI0       0x00000010  // SSI0 Clock Gating Control.
926
#define SYSCTL_SCGC1_UART2      0x00000004  // UART2 Clock Gating Control.
927
#define SYSCTL_SCGC1_UART1      0x00000002  // UART1 Clock Gating Control.
928
#define SYSCTL_SCGC1_UART0      0x00000001  // UART0 Clock Gating Control.
929
 
930
//*****************************************************************************
931
//
932
// The following are defines for the bit fields in the SYSCTL_SCGC2 register.
933
//
934
//*****************************************************************************
935
#define SYSCTL_SCGC2_EPHY0      0x40000000  // PHY0 Clock Gating Control.
936
#define SYSCTL_SCGC2_EMAC0      0x10000000  // MAC0 Clock Gating Control.
937
#define SYSCTL_SCGC2_USB0       0x00010000  // USB0 Clock Gating Control.
938
#define SYSCTL_SCGC2_UDMA       0x00002000  // UDMA Clock Gating Control.
939
#define SYSCTL_SCGC2_GPIOH      0x00000080  // Port H Clock Gating Control.
940
#define SYSCTL_SCGC2_GPIOG      0x00000040  // Port G Clock Gating Control.
941
#define SYSCTL_SCGC2_GPIOF      0x00000020  // Port F Clock Gating Control.
942
#define SYSCTL_SCGC2_GPIOE      0x00000010  // Port E Clock Gating Control.
943
#define SYSCTL_SCGC2_GPIOD      0x00000008  // Port D Clock Gating Control.
944
#define SYSCTL_SCGC2_GPIOC      0x00000004  // Port C Clock Gating Control.
945
#define SYSCTL_SCGC2_GPIOB      0x00000002  // Port B Clock Gating Control.
946
#define SYSCTL_SCGC2_GPIOA      0x00000001  // Port A Clock Gating Control.
947
 
948
//*****************************************************************************
949
//
950
// The following are defines for the bit fields in the SYSCTL_DCGC0 register.
951
//
952
//*****************************************************************************
953
#define SYSCTL_DCGC0_CAN2       0x04000000  // CAN2 Clock Gating Control.
954
#define SYSCTL_DCGC0_CAN1       0x02000000  // CAN1 Clock Gating Control.
955
#define SYSCTL_DCGC0_CAN0       0x01000000  // CAN0 Clock Gating Control.
956
#define SYSCTL_DCGC0_PWM        0x00100000  // PWM Clock Gating Control.
957
#define SYSCTL_DCGC0_ADC        0x00010000  // ADC0 Clock Gating Control.
958
#define SYSCTL_DCGC0_ADCSPD_M   0x00000F00  // ADC Sample Speed.
959
#define SYSCTL_DCGC0_ADCSPD125K 0x00000000  // 125K samples/second
960
#define SYSCTL_DCGC0_ADCSPD250K 0x00000100  // 250K samples/second
961
#define SYSCTL_DCGC0_ADCSPD500K 0x00000200  // 500K samples/second
962
#define SYSCTL_DCGC0_ADCSPD1M   0x00000300  // 1M samples/second
963
#define SYSCTL_DCGC0_HIB        0x00000040  // HIB Clock Gating Control.
964
#define SYSCTL_DCGC0_WDT        0x00000008  // WDT Clock Gating Control.
965
 
966
//*****************************************************************************
967
//
968
// The following are defines for the bit fields in the SYSCTL_DCGC1 register.
969
//
970
//*****************************************************************************
971
#define SYSCTL_DCGC1_COMP2      0x04000000  // Analog Comparator 2 Clock
972
                                            // Gating.
973
#define SYSCTL_DCGC1_COMP1      0x02000000  // Analog Comparator 1 Clock
974
                                            // Gating.
975
#define SYSCTL_DCGC1_COMP0      0x01000000  // Analog Comparator 0 Clock
976
                                            // Gating.
977
#define SYSCTL_DCGC1_TIMER3     0x00080000  // Timer 3 Clock Gating Control.
978
#define SYSCTL_DCGC1_TIMER2     0x00040000  // Timer 2 Clock Gating Control.
979
#define SYSCTL_DCGC1_TIMER1     0x00020000  // Timer 1 Clock Gating Control.
980
#define SYSCTL_DCGC1_TIMER0     0x00010000  // Timer 0 Clock Gating Control.
981
#define SYSCTL_DCGC1_I2C1       0x00004000  // I2C1 Clock Gating Control.
982
#define SYSCTL_DCGC1_I2C0       0x00001000  // I2C0 Clock Gating Control.
983
#define SYSCTL_DCGC1_QEI1       0x00000200  // QEI1 Clock Gating Control.
984
#define SYSCTL_DCGC1_QEI0       0x00000100  // QEI0 Clock Gating Control.
985
#define SYSCTL_DCGC1_SSI1       0x00000020  // SSI1 Clock Gating Control.
986
#define SYSCTL_DCGC1_SSI0       0x00000010  // SSI0 Clock Gating Control.
987
#define SYSCTL_DCGC1_UART2      0x00000004  // UART2 Clock Gating Control.
988
#define SYSCTL_DCGC1_UART1      0x00000002  // UART1 Clock Gating Control.
989
#define SYSCTL_DCGC1_UART0      0x00000001  // UART0 Clock Gating Control.
990
 
991
//*****************************************************************************
992
//
993
// The following are defines for the bit fields in the SYSCTL_DCGC2 register.
994
//
995
//*****************************************************************************
996
#define SYSCTL_DCGC2_EPHY0      0x40000000  // PHY0 Clock Gating Control.
997
#define SYSCTL_DCGC2_EMAC0      0x10000000  // MAC0 Clock Gating Control.
998
#define SYSCTL_DCGC2_USB0       0x00010000  // USB0 Clock Gating Control.
999
#define SYSCTL_DCGC2_UDMA       0x00002000  // UDMA Clock Gating Control.
1000
#define SYSCTL_DCGC2_GPIOH      0x00000080  // Port H Clock Gating Control.
1001
#define SYSCTL_DCGC2_GPIOG      0x00000040  // Port G Clock Gating Control.
1002
#define SYSCTL_DCGC2_GPIOF      0x00000020  // Port F Clock Gating Control.
1003
#define SYSCTL_DCGC2_GPIOE      0x00000010  // Port E Clock Gating Control.
1004
#define SYSCTL_DCGC2_GPIOD      0x00000008  // Port D Clock Gating Control.
1005
#define SYSCTL_DCGC2_GPIOC      0x00000004  // Port C Clock Gating Control.
1006
#define SYSCTL_DCGC2_GPIOB      0x00000002  // Port B Clock Gating Control.
1007
#define SYSCTL_DCGC2_GPIOA      0x00000001  // Port A Clock Gating Control.
1008
 
1009
//*****************************************************************************
1010
//
1011
// The following are defines for the bit fields in the SYSCTL_DC5 register.
1012
//
1013
//*****************************************************************************
1014
#define SYSCTL_DC5_PWMFAULT3    0x08000000  // PWM Fault 3 Pin Present.
1015
#define SYSCTL_DC5_PWMFAULT2    0x04000000  // PWM Fault 2 Pin Present.
1016
#define SYSCTL_DC5_PWMFAULT1    0x02000000  // PWM Fault 1 Pin Present.
1017
#define SYSCTL_DC5_PWMFAULT0    0x01000000  // PWM Fault 0 Pin Present.
1018
#define SYSCTL_DC5_PWMEFLT      0x00200000  // PWM Extended Fault feature is
1019
                                            // active.
1020
#define SYSCTL_DC5_PWMESYNC     0x00100000  // PWM Extended SYNC feature is
1021
                                            // active.
1022
#define SYSCTL_DC5_PWM7         0x00000080  // PWM7 Pin Present.
1023
#define SYSCTL_DC5_PWM6         0x00000040  // PWM6 Pin Present.
1024
#define SYSCTL_DC5_PWM5         0x00000020  // PWM5 Pin Present.
1025
#define SYSCTL_DC5_PWM4         0x00000010  // PWM4 Pin Present.
1026
#define SYSCTL_DC5_PWM3         0x00000008  // PWM3 Pin Present.
1027
#define SYSCTL_DC5_PWM2         0x00000004  // PWM2 Pin Present.
1028
#define SYSCTL_DC5_PWM1         0x00000002  // PWM1 Pin Present.
1029
#define SYSCTL_DC5_PWM0         0x00000001  // PWM0 Pin Present.
1030
 
1031
//*****************************************************************************
1032
//
1033
// The following are defines for the bit fields in the SYSCTL_DC6 register.
1034
//
1035
//*****************************************************************************
1036
#define SYSCTL_DC6_USB0_M       0x00000003  // This specifies that USB0 is
1037
                                            // present and its capability.
1038
#define SYSCTL_DC6_USB0_HOSTDEV 0x00000002  // USB is DEVICE or HOST
1039
#define SYSCTL_DC6_USB0_OTG     0x00000003  // USB is OTG
1040
 
1041
//*****************************************************************************
1042
//
1043
// The following are defines for the bit fields in the SYSCTL_GPIOHSCTL
1044
// register.
1045
//
1046
//*****************************************************************************
1047
#define SYSCTL_GPIOHSCTL_PORTH  0x00000080  // Port H High-Speed.
1048
#define SYSCTL_GPIOHSCTL_PORTG  0x00000040  // Port G High-Speed.
1049
#define SYSCTL_GPIOHSCTL_PORTF  0x00000020  // Port F High-Speed.
1050
#define SYSCTL_GPIOHSCTL_PORTE  0x00000010  // Port E High-Speed.
1051
#define SYSCTL_GPIOHSCTL_PORTD  0x00000008  // Port D High-Speed.
1052
#define SYSCTL_GPIOHSCTL_PORTC  0x00000004  // Port C High-Speed.
1053
#define SYSCTL_GPIOHSCTL_PORTB  0x00000002  // Port B High-Speed.
1054
#define SYSCTL_GPIOHSCTL_PORTA  0x00000001  // Port A High-Speed.
1055
 
1056
//*****************************************************************************
1057
//
1058
// The following are defines for the bit fields in the SYSCTL_MOSCCTL register.
1059
//
1060
//*****************************************************************************
1061
#define SYSCTL_MOSCCTL_CVAL     0x00000001  // Clock Validation for MOSC.
1062
 
1063
//*****************************************************************************
1064
//
1065
// The following are defines for the bit fields in the SYSCTL_DC7 register.
1066
//
1067
//*****************************************************************************
1068
#define SYSCTL_DC7_SSI1_TX      0x02000000  // SSI1 TX on uDMA Ch25.
1069
#define SYSCTL_DC7_SSI1_RX      0x01000000  // SSI1 RX on uDMA Ch24.
1070
#define SYSCTL_DC7_UART1_TX     0x00800000  // UART1 TX on uDMA Ch23.
1071
#define SYSCTL_DC7_UART1_RX     0x00400000  // UART1 RX on uDMA Ch22.
1072
#define SYSCTL_DC7_SSI0_TX      0x00000800  // SSI0 TX on uDMA Ch11.
1073
#define SYSCTL_DC7_SSI0_RX      0x00000400  // SSI0 RX on uDMA Ch10.
1074
#define SYSCTL_DC7_UART0_TX     0x00000200  // UART0 TX on uDMA Ch9.
1075
#define SYSCTL_DC7_UART0_RX     0x00000100  // UART0 RX on uDMA Ch8.
1076
#define SYSCTL_DC7_USB_EP3_TX   0x00000020  // USB EP3 TX on uDMA Ch5.
1077
#define SYSCTL_DC7_USB_EP3_RX   0x00000010  // USB EP3 RX on uDMA Ch4.
1078
#define SYSCTL_DC7_USB_EP2_TX   0x00000008  // USB EP2 TX on uDMA Ch3.
1079
#define SYSCTL_DC7_USB_EP2_RX   0x00000004  // USB EP2 RX on uDMA Ch2.
1080
#define SYSCTL_DC7_USB_EP1_TX   0x00000002  // USB EP1 TX on uDMA Ch1.
1081
#define SYSCTL_DC7_USB_EP1_RX   0x00000001  // USB EP1 RX on uDMA Ch0.
1082
 
1083
//*****************************************************************************
1084
//
1085
// The following definitions are deprecated.
1086
//
1087
//*****************************************************************************
1088
#ifndef DEPRECATED
1089
 
1090
//*****************************************************************************
1091
//
1092
// The following are deprecated defines for the system control register
1093
// addresses.
1094
//
1095
//*****************************************************************************
1096
#define SYSCTL_USER0            0x400FE1E0  // NV User Register 0
1097
#define SYSCTL_USER1            0x400FE1E4  // NV User Register 1
1098
 
1099
//*****************************************************************************
1100
//
1101
// The following are deprecated defines for the bit fields in the SYSCTL_DID0
1102
// register.
1103
//
1104
//*****************************************************************************
1105
#define SYSCTL_DID0_VER_MASK    0x70000000  // DID0 version mask
1106
#define SYSCTL_DID0_CLASS_MASK  0x00FF0000  // Device Class
1107
#define SYSCTL_DID0_MAJ_MASK    0x0000FF00  // Major revision mask
1108
#define SYSCTL_DID0_MAJ_A       0x00000000  // Major revision A
1109
#define SYSCTL_DID0_MAJ_B       0x00000100  // Major revision B
1110
#define SYSCTL_DID0_MAJ_C       0x00000200  // Major revision C
1111
#define SYSCTL_DID0_MIN_MASK    0x000000FF  // Minor revision mask
1112
 
1113
//*****************************************************************************
1114
//
1115
// The following are deprecated defines for the bit fields in the SYSCTL_DID1
1116
// register.
1117
//
1118
//*****************************************************************************
1119
#define SYSCTL_DID1_VER_MASK    0xF0000000  // Register version mask
1120
#define SYSCTL_DID1_FAM_MASK    0x0F000000  // Family mask
1121
#define SYSCTL_DID1_FAM_S       0x00000000  // Stellaris family
1122
#define SYSCTL_DID1_PRTNO_MASK  0x00FF0000  // Part number mask
1123
#define SYSCTL_DID1_PINCNT_MASK 0x0000E000  // Pin count
1124
#define SYSCTL_DID1_TEMP_MASK   0x000000E0  // Temperature range mask
1125
#define SYSCTL_DID1_PKG_MASK    0x00000018  // Package mask
1126
#define SYSCTL_DID1_QUAL_MASK   0x00000003  // Qualification status mask
1127
#define SYSCTL_DID1_PRTNO_SHIFT 16
1128
 
1129
//*****************************************************************************
1130
//
1131
// The following are deprecated defines for the bit fields in the SYSCTL_DC0
1132
// register.
1133
//
1134
//*****************************************************************************
1135
#define SYSCTL_DC0_SRAMSZ_MASK  0xFFFF0000  // SRAM size mask
1136
#define SYSCTL_DC0_FLASHSZ_MASK 0x0000FFFF  // Flash size mask
1137
 
1138
//*****************************************************************************
1139
//
1140
// The following are deprecated defines for the bit fields in the SYSCTL_DC1
1141
// register.
1142
//
1143
//*****************************************************************************
1144
#define SYSCTL_DC1_SYSDIV_MASK  0x0000F000  // Minimum system divider mask
1145
#define SYSCTL_DC1_ADCSPD_MASK  0x00000F00  // ADC speed mask
1146
#define SYSCTL_DC1_WDOG         0x00000008  // Watchdog present
1147
 
1148
//*****************************************************************************
1149
//
1150
// The following are deprecated defines for the bit fields in the SYSCTL_DC2
1151
// register.
1152
//
1153
//*****************************************************************************
1154
#define SYSCTL_DC2_I2C          0x00001000  // I2C present
1155
#define SYSCTL_DC2_QEI          0x00000100  // QEI present
1156
#define SYSCTL_DC2_SSI          0x00000010  // SSI present
1157
 
1158
//*****************************************************************************
1159
//
1160
// The following are deprecated defines for the bit fields in the SYSCTL_DC3
1161
// register.
1162
//
1163
//*****************************************************************************
1164
#define SYSCTL_DC3_MC_FAULT0    0x00008000  // MC0 fault pin present
1165
 
1166
//*****************************************************************************
1167
//
1168
// The following are deprecated defines for the bit fields in the
1169
// SYSCTL_PBORCTL register.
1170
//
1171
//*****************************************************************************
1172
#define SYSCTL_PBORCTL_BOR_MASK 0x0000FFFC  // BOR wait timer
1173
#define SYSCTL_PBORCTL_BOR_SH   2
1174
 
1175
//*****************************************************************************
1176
//
1177
// The following are deprecated defines for the bit fields in the
1178
// SYSCTL_LDOPCTL register.
1179
//
1180
//*****************************************************************************
1181
#define SYSCTL_LDOPCTL_MASK     0x0000003F  // Voltage adjust mask
1182
 
1183
//*****************************************************************************
1184
//
1185
// The following are deprecated defines for the bit fields in the SYSCTL_SRCR0,
1186
// SYSCTL_RCGC0, SYSCTL_SCGC0, and SYSCTL_DCGC0 registers.
1187
//
1188
//*****************************************************************************
1189
#define SYSCTL_SET0_CAN2        0x04000000  // CAN 2 module
1190
#define SYSCTL_SET0_CAN1        0x02000000  // CAN 1 module
1191
#define SYSCTL_SET0_CAN0        0x01000000  // CAN 0 module
1192
#define SYSCTL_SET0_PWM         0x00100000  // PWM module
1193
#define SYSCTL_SET0_ADC         0x00010000  // ADC module
1194
#define SYSCTL_SET0_ADCSPD_MASK 0x00000F00  // ADC speed mask
1195
#define SYSCTL_SET0_ADCSPD_125K 0x00000000  // 125Ksps ADC
1196
#define SYSCTL_SET0_ADCSPD_250K 0x00000100  // 250Ksps ADC
1197
#define SYSCTL_SET0_ADCSPD_500K 0x00000200  // 500Ksps ADC
1198
#define SYSCTL_SET0_ADCSPD_1M   0x00000300  // 1Msps ADC
1199
#define SYSCTL_SET0_HIB         0x00000040  // Hibernation module
1200
#define SYSCTL_SET0_WDOG        0x00000008  // Watchdog module
1201
 
1202
//*****************************************************************************
1203
//
1204
// The following are deprecated defines for the bit fields in the SYSCTL_SRCR1,
1205
// SYSCTL_RCGC1, SYSCTL_SCGC1, and SYSCTL_DCGC1 registers.
1206
//
1207
//*****************************************************************************
1208
#define SYSCTL_SET1_COMP2       0x04000000  // Analog comparator module 2
1209
#define SYSCTL_SET1_COMP1       0x02000000  // Analog comparator module 1
1210
#define SYSCTL_SET1_COMP0       0x01000000  // Analog comparator module 0
1211
#define SYSCTL_SET1_TIMER3      0x00080000  // Timer module 3
1212
#define SYSCTL_SET1_TIMER2      0x00040000  // Timer module 2
1213
#define SYSCTL_SET1_TIMER1      0x00020000  // Timer module 1
1214
#define SYSCTL_SET1_TIMER0      0x00010000  // Timer module 0
1215
#define SYSCTL_SET1_I2C1        0x00002000  // I2C module 1
1216
#define SYSCTL_SET1_I2C0        0x00001000  // I2C module 0
1217
#define SYSCTL_SET1_I2C         0x00001000  // I2C module
1218
#define SYSCTL_SET1_QEI1        0x00000200  // QEI module 1
1219
#define SYSCTL_SET1_QEI         0x00000100  // QEI module
1220
#define SYSCTL_SET1_QEI0        0x00000100  // QEI module 0
1221
#define SYSCTL_SET1_SSI1        0x00000020  // SSI module 1
1222
#define SYSCTL_SET1_SSI0        0x00000010  // SSI module 0
1223
#define SYSCTL_SET1_SSI         0x00000010  // SSI module
1224
#define SYSCTL_SET1_UART2       0x00000004  // UART module 2
1225
#define SYSCTL_SET1_UART1       0x00000002  // UART module 1
1226
#define SYSCTL_SET1_UART0       0x00000001  // UART module 0
1227
 
1228
//*****************************************************************************
1229
//
1230
// The following are deprecated defines for the bit fields in the SYSCTL_SRCR2,
1231
// SYSCTL_RCGC2, SYSCTL_SCGC2, and SYSCTL_DCGC2 registers.
1232
//
1233
//*****************************************************************************
1234
#define SYSCTL_SET2_ETH         0x50000000  // ETH module
1235
#define SYSCTL_SET2_GPIOH       0x00000080  // GPIO H module
1236
#define SYSCTL_SET2_GPIOG       0x00000040  // GPIO G module
1237
#define SYSCTL_SET2_GPIOF       0x00000020  // GPIO F module
1238
#define SYSCTL_SET2_GPIOE       0x00000010  // GPIO E module
1239
#define SYSCTL_SET2_GPIOD       0x00000008  // GPIO D module
1240
#define SYSCTL_SET2_GPIOC       0x00000004  // GPIO C module
1241
#define SYSCTL_SET2_GPIOB       0x00000002  // GPIO B module
1242
#define SYSCTL_SET2_GPIOA       0x00000001  // GIPO A module
1243
 
1244
//*****************************************************************************
1245
//
1246
// The following are deprecated defines for the bit fields in the SYSCTL_RIS,
1247
// SYSCTL_IMC, and SYSCTL_IMS registers.
1248
//
1249
//*****************************************************************************
1250
#define SYSCTL_INT_PLL_LOCK     0x00000040  // PLL lock interrupt
1251
#define SYSCTL_INT_CUR_LIMIT    0x00000020  // Current limit interrupt
1252
#define SYSCTL_INT_IOSC_FAIL    0x00000010  // Internal oscillator failure int
1253
#define SYSCTL_INT_MOSC_FAIL    0x00000008  // Main oscillator failure int
1254
#define SYSCTL_INT_POR          0x00000004  // Power on reset interrupt
1255
#define SYSCTL_INT_BOR          0x00000002  // Brown out interrupt
1256
#define SYSCTL_INT_PLL_FAIL     0x00000001  // PLL failure interrupt
1257
 
1258
//*****************************************************************************
1259
//
1260
// The following are deprecated defines for the bit fields in the SYSCTL_RESC
1261
// register.
1262
//
1263
//*****************************************************************************
1264
#define SYSCTL_RESC_WDOG        0x00000008  // Watchdog reset
1265
 
1266
//*****************************************************************************
1267
//
1268
// The following are deprecated defines for the bit fields in the SYSCTL_RCC
1269
// register.
1270
//
1271
//*****************************************************************************
1272
#define SYSCTL_RCC_SYSDIV_MASK  0x07800000  // System clock divider
1273
#define SYSCTL_RCC_USE_SYSDIV   0x00400000  // Use sytem clock divider
1274
#define SYSCTL_RCC_USE_PWMDIV   0x00100000  // Use PWM clock divider
1275
#define SYSCTL_RCC_PWMDIV_MASK  0x000E0000  // PWM clock divider
1276
#define SYSCTL_RCC_OE           0x00001000  // PLL output enable
1277
#define SYSCTL_RCC_XTAL_3_68MHz 0x00000140  // Using a 3.6864 MHz crystal
1278
#define SYSCTL_RCC_XTAL_4MHz    0x00000180  // Using a 4 MHz crystal
1279
#define SYSCTL_RCC_XTAL_MASK    0x000003C0  // Crystal attached to main osc
1280
#define SYSCTL_RCC_OSCSRC_MASK  0x00000030  // Oscillator input select
1281
#define SYSCTL_RCC_SYSDIV_SHIFT 23          // Shift to the SYSDIV field
1282
#define SYSCTL_RCC_PWMDIV_SHIFT 17          // Shift to the PWMDIV field
1283
#define SYSCTL_RCC_XTAL_SHIFT   6           // Shift to the XTAL field
1284
#define SYSCTL_RCC_OSCSRC_SHIFT 4           // Shift to the OSCSRC field
1285
 
1286
//*****************************************************************************
1287
//
1288
// The following are deprecated defines for the bit fields in the SYSCTL_PLLCFG
1289
// register.
1290
//
1291
//*****************************************************************************
1292
#define SYSCTL_PLLCFG_OD_MASK   0x0000C000  // Output divider
1293
#define SYSCTL_PLLCFG_F_MASK    0x00003FE0  // PLL multiplier
1294
#define SYSCTL_PLLCFG_R_MASK    0x0000001F  // Input predivider
1295
#define SYSCTL_PLLCFG_F_SHIFT   5
1296
#define SYSCTL_PLLCFG_R_SHIFT   0
1297
 
1298
//*****************************************************************************
1299
//
1300
// The following are deprecated defines for the bit fields in the SYSCTL_RCC2
1301
// register.
1302
//
1303
//*****************************************************************************
1304
#define SYSCTL_RCC2_SYSDIV2_MSK 0x1F800000  // System clock divider
1305
#define SYSCTL_RCC2_OSCSRC2_MSK 0x00000070  // Oscillator input select
1306
 
1307
//*****************************************************************************
1308
//
1309
// The following are deprecated defines for the bit fields in the
1310
// SYSCTL_DSLPCLKCFG register.
1311
//
1312
//*****************************************************************************
1313
#define SYSCTL_DSLPCLKCFG_D_MSK 0x1F800000  // Deep sleep system clock override
1314
#define SYSCTL_DSLPCLKCFG_O_MSK 0x00000070  // Deep sleep oscillator override
1315
 
1316
//*****************************************************************************
1317
//
1318
// The following are deprecated defines for the bit fields in the
1319
// SYSCTL_CLKVCLR register.
1320
//
1321
//*****************************************************************************
1322
#define SYSCTL_CLKVCLR_CLR      0x00000001  // Clear clock verification fault
1323
 
1324
//*****************************************************************************
1325
//
1326
// The following are deprecated defines for the bit fields in the
1327
// SYSCTL_LDOARST register.
1328
//
1329
//*****************************************************************************
1330
#define SYSCTL_LDOARST_ARST     0x00000001  // Allow LDO to reset device
1331
 
1332
#endif
1333
 
1334
#endif // __HW_SYSCTL_H__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.