4 * This file is part of BeRTOS.
6 * Bertos is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 * As a special exception, you may use this file as part of a free software
21 * library without restriction. Specifically, if other files instantiate
22 * templates or use macros or inline functions from this file, or you compile
23 * this file and link it with other files to produce an executable, this
24 * file does not by itself cause the resulting executable to be covered by
25 * the GNU General Public License. This exception does not however
26 * invalidate any other reasons why the executable file might be covered by
27 * the GNU General Public License.
29 * Copyright 2010 Develer S.r.l. (http://www.develer.com/)
33 * \brief LM3S1968 system control hardware.
40 * The following are defines for the System Control register addresses.
43 #define SYSCTL_DID0 0x400FE000 ///< Device Identification 0
44 #define SYSCTL_DID1 0x400FE004 ///< Device Identification 1
45 #define SYSCTL_DC0 0x400FE008 ///< Device Capabilities 0
46 #define SYSCTL_DC1 0x400FE010 ///< Device Capabilities 1
47 #define SYSCTL_DC2 0x400FE014 ///< Device Capabilities 2
48 #define SYSCTL_DC3 0x400FE018 ///< Device Capabilities 3
49 #define SYSCTL_DC4 0x400FE01C ///< Device Capabilities 4
50 #define SYSCTL_DC5 0x400FE020 ///< Device Capabilities 5
51 #define SYSCTL_DC6 0x400FE024 ///< Device Capabilities 6
52 #define SYSCTL_DC7 0x400FE028 ///< Device Capabilities 7
53 #define SYSCTL_DC8 0x400FE02C ///< Device Capabilities 8 ADC
55 #define SYSCTL_PBORCTL 0x400FE030 ///< Brown-Out Reset Control
56 #define SYSCTL_LDOPCTL 0x400FE034 ///< LDO Power Control
57 #define SYSCTL_SRCR0 0x400FE040 ///< Software Reset Control 0
58 #define SYSCTL_SRCR1 0x400FE044 ///< Software Reset Control 1
59 #define SYSCTL_SRCR2 0x400FE048 ///< Software Reset Control 2
60 #define SYSCTL_RIS 0x400FE050 ///< Raw Interrupt Status
61 #define SYSCTL_IMC 0x400FE054 ///< Interrupt Mask Control
62 #define SYSCTL_MISC 0x400FE058 ///< Masked Interrupt Status and
64 #define SYSCTL_RESC 0x400FE05C ///< Reset Cause
65 #define SYSCTL_RCC 0x400FE060 ///< Run-Mode Clock Configuration
66 #define SYSCTL_PLLCFG 0x400FE064 ///< XTAL to PLL Translation
67 #define SYSCTL_GPIOHSCTL 0x400FE06C ///< GPIO High-Speed Control
68 #define SYSCTL_GPIOHBCTL 0x400FE06C ///< GPIO High-Performance Bus
70 #define SYSCTL_RCC2 0x400FE070 ///< Run-Mode Clock Configuration 2
71 #define SYSCTL_MOSCCTL 0x400FE07C ///< Main Oscillator Control
72 #define SYSCTL_RCGC0 0x400FE100 ///< Run Mode Clock Gating Control
74 #define SYSCTL_RCGC1 0x400FE104 ///< Run Mode Clock Gating Control
76 #define SYSCTL_RCGC2 0x400FE108 ///< Run Mode Clock Gating Control
78 #define SYSCTL_SCGC0 0x400FE110 ///< Sleep Mode Clock Gating Control
80 #define SYSCTL_SCGC1 0x400FE114 ///< Sleep Mode Clock Gating Control
82 #define SYSCTL_SCGC2 0x400FE118 ///< Sleep Mode Clock Gating Control
84 #define SYSCTL_DCGC0 0x400FE120 ///< Deep Sleep Mode Clock Gating
85 ///< Control Register 0
86 #define SYSCTL_DCGC1 0x400FE124 ///< Deep-Sleep Mode Clock Gating
87 ///< Control Register 1
88 #define SYSCTL_DCGC2 0x400FE128 ///< Deep Sleep Mode Clock Gating
89 ///< Control Register 2
90 #define SYSCTL_DSLPCLKCFG 0x400FE144 ///< Deep Sleep Clock Configuration
91 #define SYSCTL_CLKVCLR 0x400FE150 ///< Clock Verification Clear
92 #define SYSCTL_PIOSCCAL 0x400FE150 ///< Precision Internal Oscillator
94 #define SYSCTL_PIOSCSTAT 0x400FE154 ///< Precision Internal Oscillator
96 #define SYSCTL_LDOARST 0x400FE160 ///< Allow Unregulated LDO to Reset
98 #define SYSCTL_I2SMCLKCFG 0x400FE170 ///< I2S MCLK Configuration
99 #define SYSCTL_DC9 0x400FE190 ///< Device Capabilities 9 ADC
100 ///< Digital Comparators
101 #define SYSCTL_NVMSTAT 0x400FE1A0 ///< Non-Volatile Memory Information
105 * The following are defines for the bit fields in the SYSCTL_DID0 register.
108 #define SYSCTL_DID0_VER_M 0x70000000 ///< DID0 Version
109 #define SYSCTL_DID0_VER_0 0x00000000 ///< Initial DID0 register format
110 ///< definition for Stellaris(R)
111 ///< Sandstorm-class devices
112 #define SYSCTL_DID0_VER_1 0x10000000 ///< Second version of the DID0
114 #define SYSCTL_DID0_CLASS_M 0x00FF0000 ///< Device Class
115 #define SYSCTL_DID0_CLASS_SANDSTORM \
116 0x00000000 ///< Sandstorm-class Device
117 #define SYSCTL_DID0_CLASS_FURY 0x00010000 ///< Stellaris(R) Fury-class devices
118 #define SYSCTL_DID0_CLASS_DUSTDEVIL \
119 0x00030000 ///< Stellaris(R) DustDevil-class
121 #define SYSCTL_DID0_CLASS_TEMPEST \
122 0x00040000 ///< Stellaris(R) Tempest-class
123 ///< microcontrollers
124 #define SYSCTL_DID0_MAJ_M 0x0000FF00 ///< Major Revision
125 #define SYSCTL_DID0_MAJ_REVA 0x00000000 ///< Revision A (initial device)
126 #define SYSCTL_DID0_MAJ_REVB 0x00000100 ///< Revision B (first base layer
128 #define SYSCTL_DID0_MAJ_REVC 0x00000200 ///< Revision C (second base layer
130 #define SYSCTL_DID0_MIN_M 0x000000FF ///< Minor Revision
131 #define SYSCTL_DID0_MIN_0 0x00000000 ///< Initial device, or a major
133 #define SYSCTL_DID0_MIN_1 0x00000001 ///< First metal layer change
134 #define SYSCTL_DID0_MIN_2 0x00000002 ///< Second metal layer change
135 #define SYSCTL_DID0_MIN_3 0x00000003 ///< Minor revision 3
136 #define SYSCTL_DID0_MIN_4 0x00000004 ///< Minor revision 4
137 #define SYSCTL_DID0_MIN_5 0x00000005 ///< Minor revision 5
141 * The following are defines for the bit fields in the SYSCTL_DID1 register.
144 #define SYSCTL_DID1_VER_M 0xF0000000 ///< DID1 Version
145 #define SYSCTL_DID1_VER_0 0x00000000 ///< Initial DID1 register format
146 ///< definition, indicating a
147 ///< Stellaris LM3Snnn device
148 #define SYSCTL_DID1_VER_1 0x10000000 ///< Second version of the DID1
150 #define SYSCTL_DID1_FAM_M 0x0F000000 ///< Family
151 #define SYSCTL_DID1_FAM_STELLARIS \
152 0x00000000 ///< Stellaris family of
153 ///< microcontollers, that is, all
154 ///< devices with external part
155 ///< numbers starting with LM3S
156 #define SYSCTL_DID1_PRTNO_M 0x00FF0000 ///< Part Number
157 #define SYSCTL_DID1_PRTNO_101 0x00010000 ///< LM3S101
158 #define SYSCTL_DID1_PRTNO_102 0x00020000 ///< LM3S102
159 #define SYSCTL_DID1_PRTNO_300 0x00190000 ///< LM3S300
160 #define SYSCTL_DID1_PRTNO_301 0x00110000 ///< LM3S301
161 #define SYSCTL_DID1_PRTNO_308 0x001A0000 ///< LM3S308
162 #define SYSCTL_DID1_PRTNO_310 0x00120000 ///< LM3S310
163 #define SYSCTL_DID1_PRTNO_315 0x00130000 ///< LM3S315
164 #define SYSCTL_DID1_PRTNO_316 0x00140000 ///< LM3S316
165 #define SYSCTL_DID1_PRTNO_317 0x00170000 ///< LM3S317
166 #define SYSCTL_DID1_PRTNO_328 0x00150000 ///< LM3S328
167 #define SYSCTL_DID1_PRTNO_600 0x002A0000 ///< LM3S600
168 #define SYSCTL_DID1_PRTNO_601 0x00210000 ///< LM3S601
169 #define SYSCTL_DID1_PRTNO_608 0x002B0000 ///< LM3S608
170 #define SYSCTL_DID1_PRTNO_610 0x00220000 ///< LM3S610
171 #define SYSCTL_DID1_PRTNO_611 0x00230000 ///< LM3S611
172 #define SYSCTL_DID1_PRTNO_612 0x00240000 ///< LM3S612
173 #define SYSCTL_DID1_PRTNO_613 0x00250000 ///< LM3S613
174 #define SYSCTL_DID1_PRTNO_615 0x00260000 ///< LM3S615
175 #define SYSCTL_DID1_PRTNO_617 0x00280000 ///< LM3S617
176 #define SYSCTL_DID1_PRTNO_618 0x00290000 ///< LM3S618
177 #define SYSCTL_DID1_PRTNO_628 0x00270000 ///< LM3S628
178 #define SYSCTL_DID1_PRTNO_800 0x00380000 ///< LM3S800
179 #define SYSCTL_DID1_PRTNO_801 0x00310000 ///< LM3S801
180 #define SYSCTL_DID1_PRTNO_808 0x00390000 ///< LM3S808
181 #define SYSCTL_DID1_PRTNO_811 0x00320000 ///< LM3S811
182 #define SYSCTL_DID1_PRTNO_812 0x00330000 ///< LM3S812
183 #define SYSCTL_DID1_PRTNO_815 0x00340000 ///< LM3S815
184 #define SYSCTL_DID1_PRTNO_817 0x00360000 ///< LM3S817
185 #define SYSCTL_DID1_PRTNO_818 0x00370000 ///< LM3S818
186 #define SYSCTL_DID1_PRTNO_828 0x00350000 ///< LM3S828
187 #define SYSCTL_DID1_PRTNO_1110 0x00BF0000 ///< LM3S1110
188 #define SYSCTL_DID1_PRTNO_1133 0x00C30000 ///< LM3S1133
189 #define SYSCTL_DID1_PRTNO_1138 0x00C50000 ///< LM3S1138
190 #define SYSCTL_DID1_PRTNO_1150 0x00C10000 ///< LM3S1150
191 #define SYSCTL_DID1_PRTNO_1162 0x00C40000 ///< LM3S1162
192 #define SYSCTL_DID1_PRTNO_1165 0x00C20000 ///< LM3S1165
193 #define SYSCTL_DID1_PRTNO_1332 0x00C60000 ///< LM3S1332
194 #define SYSCTL_DID1_PRTNO_1435 0x00BC0000 ///< LM3S1435
195 #define SYSCTL_DID1_PRTNO_1439 0x00BA0000 ///< LM3S1439
196 #define SYSCTL_DID1_PRTNO_1512 0x00BB0000 ///< LM3S1512
197 #define SYSCTL_DID1_PRTNO_1538 0x00C70000 ///< LM3S1538
198 #define SYSCTL_DID1_PRTNO_1601 0x00DB0000 ///< LM3S1601
199 #define SYSCTL_DID1_PRTNO_1607 0x00060000 ///< LM3S1607
200 #define SYSCTL_DID1_PRTNO_1608 0x00DA0000 ///< LM3S1608
201 #define SYSCTL_DID1_PRTNO_1620 0x00C00000 ///< LM3S1620
202 #define SYSCTL_DID1_PRTNO_1625 0x00030000 ///< LM3S1625
203 #define SYSCTL_DID1_PRTNO_1626 0x00040000 ///< LM3S1626
204 #define SYSCTL_DID1_PRTNO_1627 0x00050000 ///< LM3S1627
205 #define SYSCTL_DID1_PRTNO_1635 0x00B30000 ///< LM3S1635
206 #define SYSCTL_DID1_PRTNO_1637 0x00BD0000 ///< LM3S1637
207 #define SYSCTL_DID1_PRTNO_1751 0x00B90000 ///< LM3S1751
208 #define SYSCTL_DID1_PRTNO_1776 0x00100000 ///< LM3S1776
209 #define SYSCTL_DID1_PRTNO_1811 0x00160000 ///< LM3S1811
210 #define SYSCTL_DID1_PRTNO_1816 0x003D0000 ///< LM3S1816
211 #define SYSCTL_DID1_PRTNO_1850 0x00B40000 ///< LM3S1850
212 #define SYSCTL_DID1_PRTNO_1911 0x00DD0000 ///< LM3S1911
213 #define SYSCTL_DID1_PRTNO_1918 0x00DC0000 ///< LM3S1918
214 #define SYSCTL_DID1_PRTNO_1937 0x00B70000 ///< LM3S1937
215 #define SYSCTL_DID1_PRTNO_1958 0x00BE0000 ///< LM3S1958
216 #define SYSCTL_DID1_PRTNO_1960 0x00B50000 ///< LM3S1960
217 #define SYSCTL_DID1_PRTNO_1968 0x00B80000 ///< LM3S1968
218 #define SYSCTL_DID1_PRTNO_1J11 0x000F0000 ///< LM3S1J11
219 #define SYSCTL_DID1_PRTNO_1J16 0x003C0000 ///< LM3S1J16
220 #define SYSCTL_DID1_PRTNO_1N11 0x000E0000 ///< LM3S1N11
221 #define SYSCTL_DID1_PRTNO_1N16 0x003B0000 ///< LM3S1N16
222 #define SYSCTL_DID1_PRTNO_1W16 0x00300000 ///< LM3S1W16
223 #define SYSCTL_DID1_PRTNO_1Z16 0x002F0000 ///< LM3S1Z16
224 #define SYSCTL_DID1_PRTNO_2110 0x00510000 ///< LM3S2110
225 #define SYSCTL_DID1_PRTNO_2139 0x00840000 ///< LM3S2139
226 #define SYSCTL_DID1_PRTNO_2276 0x00390000 ///< LM3S2276
227 #define SYSCTL_DID1_PRTNO_2410 0x00A20000 ///< LM3S2410
228 #define SYSCTL_DID1_PRTNO_2412 0x00590000 ///< LM3S2412
229 #define SYSCTL_DID1_PRTNO_2432 0x00560000 ///< LM3S2432
230 #define SYSCTL_DID1_PRTNO_2533 0x005A0000 ///< LM3S2533
231 #define SYSCTL_DID1_PRTNO_2601 0x00E10000 ///< LM3S2601
232 #define SYSCTL_DID1_PRTNO_2608 0x00E00000 ///< LM3S2608
233 #define SYSCTL_DID1_PRTNO_2616 0x00330000 ///< LM3S2616
234 #define SYSCTL_DID1_PRTNO_2620 0x00570000 ///< LM3S2620
235 #define SYSCTL_DID1_PRTNO_2637 0x00850000 ///< LM3S2637
236 #define SYSCTL_DID1_PRTNO_2651 0x00530000 ///< LM3S2651
237 #define SYSCTL_DID1_PRTNO_2671 0x00800000 ///< LM3S2671
238 #define SYSCTL_DID1_PRTNO_2678 0x00500000 ///< LM3S2678
239 #define SYSCTL_DID1_PRTNO_2730 0x00A40000 ///< LM3S2730
240 #define SYSCTL_DID1_PRTNO_2739 0x00520000 ///< LM3S2739
241 #define SYSCTL_DID1_PRTNO_2776 0x003A0000 ///< LM3S2776
242 #define SYSCTL_DID1_PRTNO_2793 0x006D0000 ///< LM3S2793
243 #define SYSCTL_DID1_PRTNO_2911 0x00E30000 ///< LM3S2911
244 #define SYSCTL_DID1_PRTNO_2918 0x00E20000 ///< LM3S2918
245 #define SYSCTL_DID1_PRTNO_2939 0x00540000 ///< LM3S2939
246 #define SYSCTL_DID1_PRTNO_2948 0x008F0000 ///< LM3S2948
247 #define SYSCTL_DID1_PRTNO_2950 0x00580000 ///< LM3S2950
248 #define SYSCTL_DID1_PRTNO_2965 0x00550000 ///< LM3S2965
249 #define SYSCTL_DID1_PRTNO_2B93 0x006C0000 ///< LM3S2B93
250 #define SYSCTL_DID1_PRTNO_3651 0x00430000 ///< LM3S3651
251 #define SYSCTL_DID1_PRTNO_3739 0x00440000 ///< LM3S3739
252 #define SYSCTL_DID1_PRTNO_3748 0x00490000 ///< LM3S3748
253 #define SYSCTL_DID1_PRTNO_3749 0x00450000 ///< LM3S3749
254 #define SYSCTL_DID1_PRTNO_3826 0x00420000 ///< LM3S3826
255 #define SYSCTL_DID1_PRTNO_3J26 0x00410000 ///< LM3S3J26
256 #define SYSCTL_DID1_PRTNO_3N26 0x00400000 ///< LM3S3N26
257 #define SYSCTL_DID1_PRTNO_3W26 0x003F0000 ///< LM3S3W26
258 #define SYSCTL_DID1_PRTNO_3Z26 0x003E0000 ///< LM3S3Z26
259 #define SYSCTL_DID1_PRTNO_5632 0x00810000 ///< LM3S5632
260 #define SYSCTL_DID1_PRTNO_5651 0x000C0000 ///< LM3S5651
261 #define SYSCTL_DID1_PRTNO_5652 0x008A0000 ///< LM3S5652
262 #define SYSCTL_DID1_PRTNO_5656 0x004D0000 ///< LM3S5656
263 #define SYSCTL_DID1_PRTNO_5662 0x00910000 ///< LM3S5662
264 #define SYSCTL_DID1_PRTNO_5732 0x00960000 ///< LM3S5732
265 #define SYSCTL_DID1_PRTNO_5737 0x00970000 ///< LM3S5737
266 #define SYSCTL_DID1_PRTNO_5739 0x00A00000 ///< LM3S5739
267 #define SYSCTL_DID1_PRTNO_5747 0x00990000 ///< LM3S5747
268 #define SYSCTL_DID1_PRTNO_5749 0x00A70000 ///< LM3S5749
269 #define SYSCTL_DID1_PRTNO_5752 0x009A0000 ///< LM3S5752
270 #define SYSCTL_DID1_PRTNO_5762 0x009C0000 ///< LM3S5762
271 #define SYSCTL_DID1_PRTNO_5791 0x00690000 ///< LM3S5791
272 #define SYSCTL_DID1_PRTNO_5951 0x000B0000 ///< LM3S5951
273 #define SYSCTL_DID1_PRTNO_5956 0x004E0000 ///< LM3S5956
274 #define SYSCTL_DID1_PRTNO_5B91 0x00680000 ///< LM3S5B91
275 #define SYSCTL_DID1_PRTNO_5K31 0x00090000 ///< LM3S5K31
276 #define SYSCTL_DID1_PRTNO_5K36 0x004A0000 ///< LM3S5K36
277 #define SYSCTL_DID1_PRTNO_5P31 0x000A0000 ///< LM3S5P31
278 #define SYSCTL_DID1_PRTNO_5P36 0x00480000 ///< LM3S5P36
279 #define SYSCTL_DID1_PRTNO_5P51 0x000D0000 ///< LM3S5P51
280 #define SYSCTL_DID1_PRTNO_5P56 0x004C0000 ///< LM3S5P56
281 #define SYSCTL_DID1_PRTNO_5R31 0x00070000 ///< LM3S5R31
282 #define SYSCTL_DID1_PRTNO_5R36 0x004B0000 ///< LM3S5R36
283 #define SYSCTL_DID1_PRTNO_5T36 0x00470000 ///< LM3S5T36
284 #define SYSCTL_DID1_PRTNO_5Y36 0x00460000 ///< LM3S5Y36
285 #define SYSCTL_DID1_PRTNO_6100 0x00A10000 ///< LM3S6100
286 #define SYSCTL_DID1_PRTNO_6110 0x00740000 ///< LM3S6110
287 #define SYSCTL_DID1_PRTNO_6420 0x00A50000 ///< LM3S6420
288 #define SYSCTL_DID1_PRTNO_6422 0x00820000 ///< LM3S6422
289 #define SYSCTL_DID1_PRTNO_6432 0x00750000 ///< LM3S6432
290 #define SYSCTL_DID1_PRTNO_6537 0x00760000 ///< LM3S6537
291 #define SYSCTL_DID1_PRTNO_6610 0x00710000 ///< LM3S6610
292 #define SYSCTL_DID1_PRTNO_6611 0x00E70000 ///< LM3S6611
293 #define SYSCTL_DID1_PRTNO_6618 0x00E60000 ///< LM3S6618
294 #define SYSCTL_DID1_PRTNO_6633 0x00830000 ///< LM3S6633
295 #define SYSCTL_DID1_PRTNO_6637 0x008B0000 ///< LM3S6637
296 #define SYSCTL_DID1_PRTNO_6730 0x00A30000 ///< LM3S6730
297 #define SYSCTL_DID1_PRTNO_6753 0x00770000 ///< LM3S6753
298 #define SYSCTL_DID1_PRTNO_6911 0x00E90000 ///< LM3S6911
299 #define SYSCTL_DID1_PRTNO_6918 0x00E80000 ///< LM3S6918
300 #define SYSCTL_DID1_PRTNO_6938 0x00890000 ///< LM3S6938
301 #define SYSCTL_DID1_PRTNO_6950 0x00720000 ///< LM3S6950
302 #define SYSCTL_DID1_PRTNO_6952 0x00780000 ///< LM3S6952
303 #define SYSCTL_DID1_PRTNO_6965 0x00730000 ///< LM3S6965
304 #define SYSCTL_DID1_PRTNO_8530 0x00640000 ///< LM3S8530
305 #define SYSCTL_DID1_PRTNO_8538 0x008E0000 ///< LM3S8538
306 #define SYSCTL_DID1_PRTNO_8630 0x00610000 ///< LM3S8630
307 #define SYSCTL_DID1_PRTNO_8730 0x00630000 ///< LM3S8730
308 #define SYSCTL_DID1_PRTNO_8733 0x008D0000 ///< LM3S8733
309 #define SYSCTL_DID1_PRTNO_8738 0x00860000 ///< LM3S8738
310 #define SYSCTL_DID1_PRTNO_8930 0x00650000 ///< LM3S8930
311 #define SYSCTL_DID1_PRTNO_8933 0x008C0000 ///< LM3S8933
312 #define SYSCTL_DID1_PRTNO_8938 0x00880000 ///< LM3S8938
313 #define SYSCTL_DID1_PRTNO_8962 0x00A60000 ///< LM3S8962
314 #define SYSCTL_DID1_PRTNO_8970 0x00620000 ///< LM3S8970
315 #define SYSCTL_DID1_PRTNO_8971 0x00D70000 ///< LM3S8971
316 #define SYSCTL_DID1_PRTNO_9790 0x00670000 ///< LM3S9790
317 #define SYSCTL_DID1_PRTNO_9792 0x006B0000 ///< LM3S9792
318 #define SYSCTL_DID1_PRTNO_9997 0x00200000 ///< LM3S9997
319 #define SYSCTL_DID1_PRTNO_9B90 0x00660000 ///< LM3S9B90
320 #define SYSCTL_DID1_PRTNO_9B92 0x006A0000 ///< LM3S9B92
321 #define SYSCTL_DID1_PRTNO_9B95 0x006E0000 ///< LM3S9B95
322 #define SYSCTL_DID1_PRTNO_9B96 0x006F0000 ///< LM3S9B96
323 #define SYSCTL_DID1_PRTNO_9L97 0x00180000 ///< LM3S9L97
324 #define SYSCTL_DID1_PINCNT_M 0x0000E000 ///< Package Pin Count
325 #define SYSCTL_DID1_PINCNT_28 0x00000000 ///< 28 pin package
326 #define SYSCTL_DID1_PINCNT_48 0x00002000 ///< 48 pin package
327 #define SYSCTL_DID1_PINCNT_100 0x00004000 ///< 100-pin package
328 #define SYSCTL_DID1_PINCNT_64 0x00006000 ///< 64-pin package
329 #define SYSCTL_DID1_TEMP_M 0x000000E0 ///< Temperature Range
330 #define SYSCTL_DID1_TEMP_C 0x00000000 ///< Commercial temperature range (0C
332 #define SYSCTL_DID1_TEMP_I 0x00000020 ///< Industrial temperature range
334 #define SYSCTL_DID1_TEMP_E 0x00000040 ///< Extended temperature range (-40C
336 #define SYSCTL_DID1_PKG_M 0x00000018 ///< Package Type
337 #define SYSCTL_DID1_PKG_SOIC 0x00000000 ///< SOIC package
338 #define SYSCTL_DID1_PKG_QFP 0x00000008 ///< LQFP package
339 #define SYSCTL_DID1_PKG_BGA 0x00000010 ///< BGA package
340 #define SYSCTL_DID1_PKG_QFN 0x00000018 ///< QFN package
341 #define SYSCTL_DID1_ROHS 0x00000004 ///< RoHS-Compliance
342 #define SYSCTL_DID1_QUAL_M 0x00000003 ///< Qualification Status
343 #define SYSCTL_DID1_QUAL_ES 0x00000000 ///< Engineering Sample (unqualified)
344 #define SYSCTL_DID1_QUAL_PP 0x00000001 ///< Pilot Production (unqualified)
345 #define SYSCTL_DID1_QUAL_FQ 0x00000002 ///< Fully Qualified
346 #define SYSCTL_DID1_PRTNO_S 16 ///< Part number shift
350 * The following are defines for the bit fields in the SYSCTL_DC0 register.
353 #define SYSCTL_DC0_SRAMSZ_M 0xFFFF0000 ///< SRAM Size
354 #define SYSCTL_DC0_SRAMSZ_2KB 0x00070000 ///< 2 KB of SRAM
355 #define SYSCTL_DC0_SRAMSZ_4KB 0x000F0000 ///< 4 KB of SRAM
356 #define SYSCTL_DC0_SRAMSZ_6KB 0x00170000 ///< 6 KB of SRAM
357 #define SYSCTL_DC0_SRAMSZ_8KB 0x001F0000 ///< 8 KB of SRAM
358 #define SYSCTL_DC0_SRAMSZ_12KB 0x002F0000 ///< 12 KB of SRAM
359 #define SYSCTL_DC0_SRAMSZ_16KB 0x003F0000 ///< 16 KB of SRAM
360 #define SYSCTL_DC0_SRAMSZ_20KB 0x004F0000 ///< 20 KB of SRAM
361 #define SYSCTL_DC0_SRAMSZ_24KB 0x005F0000 ///< 24 KB of SRAM
362 #define SYSCTL_DC0_SRAMSZ_32KB 0x007F0000 ///< 32 KB of SRAM
363 #define SYSCTL_DC0_SRAMSZ_48KB 0x00BF0000 ///< 48 KB of SRAM
364 #define SYSCTL_DC0_SRAMSZ_64KB 0x00FF0000 ///< 64 KB of SRAM
365 #define SYSCTL_DC0_SRAMSZ_96KB 0x017F0000 ///< 96 KB of SRAM
366 #define SYSCTL_DC0_FLASHSZ_M 0x0000FFFF ///< Flash Size
367 #define SYSCTL_DC0_FLASHSZ_8KB 0x00000003 ///< 8 KB of Flash
368 #define SYSCTL_DC0_FLASHSZ_16KB 0x00000007 ///< 16 KB of Flash
369 #define SYSCTL_DC0_FLASHSZ_32KB 0x0000000F ///< 32 KB of Flash
370 #define SYSCTL_DC0_FLASHSZ_64KB 0x0000001F ///< 64 KB of Flash
371 #define SYSCTL_DC0_FLASHSZ_96KB 0x0000002F ///< 96 KB of Flash
372 #define SYSCTL_DC0_FLASHSZ_128K 0x0000003F ///< 128 KB of Flash
373 #define SYSCTL_DC0_FLASHSZ_256K 0x0000007F ///< 256 KB of Flash
374 #define SYSCTL_DC0_SRAMSZ_S 16 ///< SRAM size shift
375 #define SYSCTL_DC0_FLASHSZ_S 0 ///< Flash size shift
379 * The following are defines for the bit fields in the SYSCTL_DC1 register.
382 #define SYSCTL_DC1_WDT1 0x10000000 ///< Watchdog Timer1 Present
383 #define SYSCTL_DC1_CAN2 0x04000000 ///< CAN Module 2 Present
384 #define SYSCTL_DC1_CAN1 0x02000000 ///< CAN Module 1 Present
385 #define SYSCTL_DC1_CAN0 0x01000000 ///< CAN Module 0 Present
386 #define SYSCTL_DC1_PWM 0x00100000 ///< PWM Module Present
387 #define SYSCTL_DC1_ADC1 0x00020000 ///< ADC Module 1 Present
388 #define SYSCTL_DC1_ADC0 0x00010000 ///< ADC Module 0 Present
389 #define SYSCTL_DC1_MINSYSDIV_M 0x0000F000 ///< System Clock Divider
390 #define SYSCTL_DC1_MINSYSDIV_100 \
391 0x00001000 ///< Divide VCO (400MHZ) by 5 minimum
392 #define SYSCTL_DC1_MINSYSDIV_66 0x00002000 ///< Divide VCO (400MHZ) by 2*2 + 2 =
394 #define SYSCTL_DC1_MINSYSDIV_50 0x00003000 ///< Specifies a 50-MHz CPU clock
395 ///< with a PLL divider of 4
396 #define SYSCTL_DC1_MINSYSDIV_25 0x00007000 ///< Specifies a 25-MHz clock with a
397 ///< PLL divider of 8
398 #define SYSCTL_DC1_MINSYSDIV_20 0x00009000 ///< Specifies a 20-MHz clock with a
399 ///< PLL divider of 10
400 #define SYSCTL_DC1_ADCSPD_M 0x00000F00 ///< Max ADC Speed
401 #define SYSCTL_DC1_ADCSPD_125K 0x00000000 ///< 125Ksps ADC
402 #define SYSCTL_DC1_ADCSPD_250K 0x00000100 ///< 250K samples/second
403 #define SYSCTL_DC1_ADCSPD_500K 0x00000200 ///< 500K samples/second
404 #define SYSCTL_DC1_ADCSPD_1M 0x00000300 ///< 1M samples/second
405 #define SYSCTL_DC1_ADC1SPD_M 0x00000C00 ///< Max ADC1 Speed
406 #define SYSCTL_DC1_ADC1SPD_1M 0x00000C00 ///< 1M samples/second
407 #define SYSCTL_DC1_ADC0SPD_M 0x00000300 ///< Max ADC0 Speed
408 #define SYSCTL_DC1_ADC0SPD_1M 0x00000300 ///< 1M samples/second
409 #define SYSCTL_DC1_MPU 0x00000080 ///< MPU Present
410 #define SYSCTL_DC1_HIB 0x00000040 ///< Hibernation Module Present
411 #define SYSCTL_DC1_TEMP 0x00000020 ///< Temp Sensor Present
412 #define SYSCTL_DC1_PLL 0x00000010 ///< PLL Present
413 #define SYSCTL_DC1_WDT0 0x00000008 ///< Watchdog Timer 0 Present
414 #define SYSCTL_DC1_SWO 0x00000004 ///< SWO Trace Port Present
415 #define SYSCTL_DC1_SWD 0x00000002 ///< SWD Present
416 #define SYSCTL_DC1_JTAG 0x00000001 ///< JTAG Present
420 * The following are defines for the bit fields in the SYSCTL_DC2 register.
423 #define SYSCTL_DC2_EPI0 0x40000000 ///< EPI Module 0 Present
424 #define SYSCTL_DC2_I2S0 0x10000000 ///< I2S Module 0 Present
425 #define SYSCTL_DC2_COMP2 0x04000000 ///< Analog Comparator 2 Present
426 #define SYSCTL_DC2_COMP1 0x02000000 ///< Analog Comparator 1 Present
427 #define SYSCTL_DC2_COMP0 0x01000000 ///< Analog Comparator 0 Present
428 #define SYSCTL_DC2_TIMER3 0x00080000 ///< Timer Module 3 Present
429 #define SYSCTL_DC2_TIMER2 0x00040000 ///< Timer Module 2 Present
430 #define SYSCTL_DC2_TIMER1 0x00020000 ///< Timer Module 1 Present
431 #define SYSCTL_DC2_TIMER0 0x00010000 ///< Timer Module 0 Present
432 #define SYSCTL_DC2_I2C1 0x00004000 ///< I2C Module 1 Present
433 #define SYSCTL_DC2_I2C0 0x00001000 ///< I2C Module 0 Present
434 #define SYSCTL_DC2_QEI1 0x00000200 ///< QEI Module 1 Present
435 #define SYSCTL_DC2_QEI0 0x00000100 ///< QEI Module 0 Present
436 #define SYSCTL_DC2_SSI1 0x00000020 ///< SSI Module 1 Present
437 #define SYSCTL_DC2_SSI0 0x00000010 ///< SSI Module 0 Present
438 #define SYSCTL_DC2_UART2 0x00000004 ///< UART Module 2 Present
439 #define SYSCTL_DC2_UART1 0x00000002 ///< UART Module 1 Present
440 #define SYSCTL_DC2_UART0 0x00000001 ///< UART Module 0 Present
444 * The following are defines for the bit fields in the SYSCTL_DC3 register.
447 #define SYSCTL_DC3_32KHZ 0x80000000 ///< 32KHz Input Clock Available
448 #define SYSCTL_DC3_CCP5 0x20000000 ///< CCP5 Pin Present
449 #define SYSCTL_DC3_CCP4 0x10000000 ///< CCP4 Pin Present
450 #define SYSCTL_DC3_CCP3 0x08000000 ///< CCP3 Pin Present
451 #define SYSCTL_DC3_CCP2 0x04000000 ///< CCP2 Pin Present
452 #define SYSCTL_DC3_CCP1 0x02000000 ///< CCP1 Pin Present
453 #define SYSCTL_DC3_CCP0 0x01000000 ///< CCP0 Pin Present
454 #define SYSCTL_DC3_ADC0AIN7 0x00800000 ///< ADC Module 0 AIN7 Pin Present
455 #define SYSCTL_DC3_ADC0AIN6 0x00400000 ///< ADC Module 0 AIN6 Pin Present
456 #define SYSCTL_DC3_ADC0AIN5 0x00200000 ///< ADC Module 0 AIN5 Pin Present
457 #define SYSCTL_DC3_ADC0AIN4 0x00100000 ///< ADC Module 0 AIN4 Pin Present
458 #define SYSCTL_DC3_ADC0AIN3 0x00080000 ///< ADC Module 0 AIN3 Pin Present
459 #define SYSCTL_DC3_ADC0AIN2 0x00040000 ///< ADC Module 0 AIN2 Pin Present
460 #define SYSCTL_DC3_ADC0AIN1 0x00020000 ///< ADC Module 0 AIN1 Pin Present
461 #define SYSCTL_DC3_ADC0AIN0 0x00010000 ///< ADC Module 0 AIN0 Pin Present
462 #define SYSCTL_DC3_PWMFAULT 0x00008000 ///< PWM Fault Pin Present
463 #define SYSCTL_DC3_C2O 0x00004000 ///< C2o Pin Present
464 #define SYSCTL_DC3_C2PLUS 0x00002000 ///< C2+ Pin Present
465 #define SYSCTL_DC3_C2MINUS 0x00001000 ///< C2- Pin Present
466 #define SYSCTL_DC3_C1O 0x00000800 ///< C1o Pin Present
467 #define SYSCTL_DC3_C1PLUS 0x00000400 ///< C1+ Pin Present
468 #define SYSCTL_DC3_C1MINUS 0x00000200 ///< C1- Pin Present
469 #define SYSCTL_DC3_C0O 0x00000100 ///< C0o Pin Present
470 #define SYSCTL_DC3_C0PLUS 0x00000080 ///< C0+ Pin Present
471 #define SYSCTL_DC3_C0MINUS 0x00000040 ///< C0- Pin Present
472 #define SYSCTL_DC3_PWM5 0x00000020 ///< PWM5 Pin Present
473 #define SYSCTL_DC3_PWM4 0x00000010 ///< PWM4 Pin Present
474 #define SYSCTL_DC3_PWM3 0x00000008 ///< PWM3 Pin Present
475 #define SYSCTL_DC3_PWM2 0x00000004 ///< PWM2 Pin Present
476 #define SYSCTL_DC3_PWM1 0x00000002 ///< PWM1 Pin Present
477 #define SYSCTL_DC3_PWM0 0x00000001 ///< PWM0 Pin Present
481 * The following are defines for the bit fields in the SYSCTL_DC4 register.
484 #define SYSCTL_DC4_ETH 0x50000000 ///< Ethernet present
485 #define SYSCTL_DC4_EPHY0 0x40000000 ///< Ethernet PHY Layer 0 Present
486 #define SYSCTL_DC4_EMAC0 0x10000000 ///< Ethernet MAC Layer 0 Present
487 #define SYSCTL_DC4_E1588 0x01000000 ///< 1588 Capable
488 #define SYSCTL_DC4_PICAL 0x00040000 ///< PIOSC Calibrate
489 #define SYSCTL_DC4_CCP7 0x00008000 ///< CCP7 Pin Present
490 #define SYSCTL_DC4_CCP6 0x00004000 ///< CCP6 Pin Present
491 #define SYSCTL_DC4_UDMA 0x00002000 ///< Micro-DMA Module Present
492 #define SYSCTL_DC4_ROM 0x00001000 ///< Internal Code ROM Present
493 #define SYSCTL_DC4_GPIOJ 0x00000100 ///< GPIO Port J Present
494 #define SYSCTL_DC4_GPIOH 0x00000080 ///< GPIO Port H Present
495 #define SYSCTL_DC4_GPIOG 0x00000040 ///< GPIO Port G Present
496 #define SYSCTL_DC4_GPIOF 0x00000020 ///< GPIO Port F Present
497 #define SYSCTL_DC4_GPIOE 0x00000010 ///< GPIO Port E Present
498 #define SYSCTL_DC4_GPIOD 0x00000008 ///< GPIO Port D Present
499 #define SYSCTL_DC4_GPIOC 0x00000004 ///< GPIO Port C Present
500 #define SYSCTL_DC4_GPIOB 0x00000002 ///< GPIO Port B Present
501 #define SYSCTL_DC4_GPIOA 0x00000001 ///< GPIO Port A Present
505 * The following are defines for the bit fields in the SYSCTL_DC5 register.
508 #define SYSCTL_DC5_PWMFAULT3 0x08000000 ///< PWM Fault 3 Pin Present
509 #define SYSCTL_DC5_PWMFAULT2 0x04000000 ///< PWM Fault 2 Pin Present
510 #define SYSCTL_DC5_PWMFAULT1 0x02000000 ///< PWM Fault 1 Pin Present
511 #define SYSCTL_DC5_PWMFAULT0 0x01000000 ///< PWM Fault 0 Pin Present
512 #define SYSCTL_DC5_PWMEFLT 0x00200000 ///< PWM Extended Fault Active
513 #define SYSCTL_DC5_PWMESYNC 0x00100000 ///< PWM Extended SYNC Active
514 #define SYSCTL_DC5_PWM7 0x00000080 ///< PWM7 Pin Present
515 #define SYSCTL_DC5_PWM6 0x00000040 ///< PWM6 Pin Present
516 #define SYSCTL_DC5_PWM5 0x00000020 ///< PWM5 Pin Present
517 #define SYSCTL_DC5_PWM4 0x00000010 ///< PWM4 Pin Present
518 #define SYSCTL_DC5_PWM3 0x00000008 ///< PWM3 Pin Present
519 #define SYSCTL_DC5_PWM2 0x00000004 ///< PWM2 Pin Present
520 #define SYSCTL_DC5_PWM1 0x00000002 ///< PWM1 Pin Present
521 #define SYSCTL_DC5_PWM0 0x00000001 ///< PWM0 Pin Present
525 * The following are defines for the bit fields in the SYSCTL_DC6 register.
528 #define SYSCTL_DC6_USB0PHY 0x00000010 ///< USB Module 0 PHY Present
529 #define SYSCTL_DC6_USB0_M 0x00000003 ///< USB Module 0 Present
530 #define SYSCTL_DC6_USB0_DEV 0x00000001 ///< USB0 is Device Only
531 #define SYSCTL_DC6_USB0_HOSTDEV 0x00000002 ///< USB is Device or Host
532 #define SYSCTL_DC6_USB0_OTG 0x00000003 ///< USB0 is OTG
536 * The following are defines for the bit fields in the SYSCTL_DC7 register.
539 #define SYSCTL_DC7_DMACH30 0x40000000 ///< SW
540 #define SYSCTL_DC7_DMACH29 0x20000000 ///< I2S0_TX / CAN1_TX
541 #define SYSCTL_DC7_DMACH28 0x10000000 ///< I2S0_RX / CAN1_RX
542 #define SYSCTL_DC7_DMACH27 0x08000000 ///< CAN1_TX / ADC1_SS3
543 #define SYSCTL_DC7_DMACH26 0x04000000 ///< CAN1_RX / ADC1_SS2
544 #define SYSCTL_DC7_DMACH25 0x02000000 ///< SSI1_TX / ADC1_SS1
545 #define SYSCTL_DC7_SSI1_TX 0x02000000 ///< SSI1 TX on uDMA Ch25
546 #define SYSCTL_DC7_SSI1_RX 0x01000000 ///< SSI1 RX on uDMA Ch24
547 #define SYSCTL_DC7_DMACH24 0x01000000 ///< SSI1_RX / ADC1_SS0
548 #define SYSCTL_DC7_UART1_TX 0x00800000 ///< UART1 TX on uDMA Ch23
549 #define SYSCTL_DC7_DMACH23 0x00800000 ///< UART1_TX / CAN2_TX
550 #define SYSCTL_DC7_DMACH22 0x00400000 ///< UART1_RX / CAN2_RX
551 #define SYSCTL_DC7_UART1_RX 0x00400000 ///< UART1 RX on uDMA Ch22
552 #define SYSCTL_DC7_DMACH21 0x00200000 ///< Timer1B / EPI0_WFIFO
553 #define SYSCTL_DC7_DMACH20 0x00100000 ///< Timer1A / EPI0_NBRFIFO
554 #define SYSCTL_DC7_DMACH19 0x00080000 ///< Timer0B / Timer1B
555 #define SYSCTL_DC7_DMACH18 0x00040000 ///< Timer0A / Timer1A
556 #define SYSCTL_DC7_DMACH17 0x00020000 ///< ADC0_SS3
557 #define SYSCTL_DC7_DMACH16 0x00010000 ///< ADC0_SS2
558 #define SYSCTL_DC7_DMACH15 0x00008000 ///< ADC0_SS1 / Timer2B
559 #define SYSCTL_DC7_DMACH14 0x00004000 ///< ADC0_SS0 / Timer2A
560 #define SYSCTL_DC7_DMACH13 0x00002000 ///< CAN0_TX / UART2_TX
561 #define SYSCTL_DC7_DMACH12 0x00001000 ///< CAN0_RX / UART2_RX
562 #define SYSCTL_DC7_SSI0_TX 0x00000800 ///< SSI0 TX on uDMA Ch11
563 #define SYSCTL_DC7_DMACH11 0x00000800 ///< SSI0_TX / SSI1_TX
564 #define SYSCTL_DC7_SSI0_RX 0x00000400 ///< SSI0 RX on uDMA Ch10
565 #define SYSCTL_DC7_DMACH10 0x00000400 ///< SSI0_RX / SSI1_RX
566 #define SYSCTL_DC7_UART0_TX 0x00000200 ///< UART0 TX on uDMA Ch9
567 #define SYSCTL_DC7_DMACH9 0x00000200 ///< UART0_TX / UART1_TX
568 #define SYSCTL_DC7_DMACH8 0x00000100 ///< UART0_RX / UART1_RX
569 #define SYSCTL_DC7_UART0_RX 0x00000100 ///< UART0 RX on uDMA Ch8
570 #define SYSCTL_DC7_DMACH7 0x00000080 ///< ETH_TX / Timer2B
571 #define SYSCTL_DC7_DMACH6 0x00000040 ///< ETH_RX / Timer2A
572 #define SYSCTL_DC7_DMACH5 0x00000020 ///< USB_EP3_TX / Timer2B
573 #define SYSCTL_DC7_USB_EP3_TX 0x00000020 ///< USB EP3 TX on uDMA Ch5
574 #define SYSCTL_DC7_USB_EP3_RX 0x00000010 ///< USB EP3 RX on uDMA Ch4
575 #define SYSCTL_DC7_DMACH4 0x00000010 ///< USB_EP3_RX / Timer2A
576 #define SYSCTL_DC7_USB_EP2_TX 0x00000008 ///< USB EP2 TX on uDMA Ch3
577 #define SYSCTL_DC7_DMACH3 0x00000008 ///< USB_EP2_TX / Timer3B
578 #define SYSCTL_DC7_USB_EP2_RX 0x00000004 ///< USB EP2 RX on uDMA Ch2
579 #define SYSCTL_DC7_DMACH2 0x00000004 ///< USB_EP2_RX / Timer3A
580 #define SYSCTL_DC7_USB_EP1_TX 0x00000002 ///< USB EP1 TX on uDMA Ch1
581 #define SYSCTL_DC7_DMACH1 0x00000002 ///< USB_EP1_TX / UART2_TX
582 #define SYSCTL_DC7_DMACH0 0x00000001 ///< USB_EP1_RX / UART2_RX
583 #define SYSCTL_DC7_USB_EP1_RX 0x00000001 ///< USB EP1 RX on uDMA Ch0
587 * The following are defines for the bit fields in the SYSCTL_DC8 register.
590 #define SYSCTL_DC8_ADC1AIN15 0x80000000 ///< ADC Module 1 AIN15 Pin Present
591 #define SYSCTL_DC8_ADC1AIN14 0x40000000 ///< ADC Module 1 AIN14 Pin Present
592 #define SYSCTL_DC8_ADC1AIN13 0x20000000 ///< ADC Module 1 AIN13 Pin Present
593 #define SYSCTL_DC8_ADC1AIN12 0x10000000 ///< ADC Module 1 AIN12 Pin Present
594 #define SYSCTL_DC8_ADC1AIN11 0x08000000 ///< ADC Module 1 AIN11 Pin Present
595 #define SYSCTL_DC8_ADC1AIN10 0x04000000 ///< ADC Module 1 AIN10 Pin Present
596 #define SYSCTL_DC8_ADC1AIN9 0x02000000 ///< ADC Module 1 AIN9 Pin Present
597 #define SYSCTL_DC8_ADC1AIN8 0x01000000 ///< ADC Module 1 AIN8 Pin Present
598 #define SYSCTL_DC8_ADC1AIN7 0x00800000 ///< ADC Module 1 AIN7 Pin Present
599 #define SYSCTL_DC8_ADC1AIN6 0x00400000 ///< ADC Module 1 AIN6 Pin Present
600 #define SYSCTL_DC8_ADC1AIN5 0x00200000 ///< ADC Module 1 AIN5 Pin Present
601 #define SYSCTL_DC8_ADC1AIN4 0x00100000 ///< ADC Module 1 AIN4 Pin Present
602 #define SYSCTL_DC8_ADC1AIN3 0x00080000 ///< ADC Module 1 AIN3 Pin Present
603 #define SYSCTL_DC8_ADC1AIN2 0x00040000 ///< ADC Module 1 AIN2 Pin Present
604 #define SYSCTL_DC8_ADC1AIN1 0x00020000 ///< ADC Module 1 AIN1 Pin Present
605 #define SYSCTL_DC8_ADC1AIN0 0x00010000 ///< ADC Module 1 AIN0 Pin Present
606 #define SYSCTL_DC8_ADC0AIN15 0x00008000 ///< ADC Module 0 AIN15 Pin Present
607 #define SYSCTL_DC8_ADC0AIN14 0x00004000 ///< ADC Module 0 AIN14 Pin Present
608 #define SYSCTL_DC8_ADC0AIN13 0x00002000 ///< ADC Module 0 AIN13 Pin Present
609 #define SYSCTL_DC8_ADC0AIN12 0x00001000 ///< ADC Module 0 AIN12 Pin Present
610 #define SYSCTL_DC8_ADC0AIN11 0x00000800 ///< ADC Module 0 AIN11 Pin Present
611 #define SYSCTL_DC8_ADC0AIN10 0x00000400 ///< ADC Module 0 AIN10 Pin Present
612 #define SYSCTL_DC8_ADC0AIN9 0x00000200 ///< ADC Module 0 AIN9 Pin Present
613 #define SYSCTL_DC8_ADC0AIN8 0x00000100 ///< ADC Module 0 AIN8 Pin Present
614 #define SYSCTL_DC8_ADC0AIN7 0x00000080 ///< ADC Module 0 AIN7 Pin Present
615 #define SYSCTL_DC8_ADC0AIN6 0x00000040 ///< ADC Module 0 AIN6 Pin Present
616 #define SYSCTL_DC8_ADC0AIN5 0x00000020 ///< ADC Module 0 AIN5 Pin Present
617 #define SYSCTL_DC8_ADC0AIN4 0x00000010 ///< ADC Module 0 AIN4 Pin Present
618 #define SYSCTL_DC8_ADC0AIN3 0x00000008 ///< ADC Module 0 AIN3 Pin Present
619 #define SYSCTL_DC8_ADC0AIN2 0x00000004 ///< ADC Module 0 AIN2 Pin Present
620 #define SYSCTL_DC8_ADC0AIN1 0x00000002 ///< ADC Module 0 AIN1 Pin Present
621 #define SYSCTL_DC8_ADC0AIN0 0x00000001 ///< ADC Module 0 AIN0 Pin Present
625 * The following are defines for the bit fields in the SYSCTL_PBORCTL register.
628 #define SYSCTL_PBORCTL_BORTIM_M 0x0000FFFC ///< BOR Time Delay
629 #define SYSCTL_PBORCTL_BORIOR 0x00000002 ///< BOR Interrupt or Reset
630 #define SYSCTL_PBORCTL_BORWT 0x00000001 ///< BOR Wait and Check for Noise
631 #define SYSCTL_PBORCTL_BORTIM_S 2
635 * The following are defines for the bit fields in the SYSCTL_LDOPCTL register.
638 #define SYSCTL_LDOPCTL_M 0x0000003F ///< LDO Output Voltage
639 #define SYSCTL_LDOPCTL_2_50V 0x00000000 ///< 2.50
640 #define SYSCTL_LDOPCTL_2_45V 0x00000001 ///< 2.45
641 #define SYSCTL_LDOPCTL_2_40V 0x00000002 ///< 2.40
642 #define SYSCTL_LDOPCTL_2_35V 0x00000003 ///< 2.35
643 #define SYSCTL_LDOPCTL_2_30V 0x00000004 ///< 2.30
644 #define SYSCTL_LDOPCTL_2_25V 0x00000005 ///< 2.25
645 #define SYSCTL_LDOPCTL_2_75V 0x0000001B ///< 2.75
646 #define SYSCTL_LDOPCTL_2_70V 0x0000001C ///< 2.70
647 #define SYSCTL_LDOPCTL_2_65V 0x0000001D ///< 2.65
648 #define SYSCTL_LDOPCTL_2_60V 0x0000001E ///< 2.60
649 #define SYSCTL_LDOPCTL_2_55V 0x0000001F ///< 2.55
653 * The following are defines for the bit fields in the SYSCTL_SRCR0 register.
656 #define SYSCTL_SRCR0_WDT1 0x10000000 ///< WDT1 Reset Control
657 #define SYSCTL_SRCR0_CAN2 0x04000000 ///< CAN2 Reset Control
658 #define SYSCTL_SRCR0_CAN1 0x02000000 ///< CAN1 Reset Control
659 #define SYSCTL_SRCR0_CAN0 0x01000000 ///< CAN0 Reset Control
660 #define SYSCTL_SRCR0_PWM 0x00100000 ///< PWM Reset Control
661 #define SYSCTL_SRCR0_ADC1 0x00020000 ///< ADC1 Reset Control
662 #define SYSCTL_SRCR0_ADC0 0x00010000 ///< ADC0 Reset Control
663 #define SYSCTL_SRCR0_HIB 0x00000040 ///< HIB Reset Control
664 #define SYSCTL_SRCR0_WDT0 0x00000008 ///< WDT0 Reset Control
668 * The following are defines for the bit fields in the SYSCTL_SRCR1 register.
671 #define SYSCTL_SRCR1_EPI0 0x40000000 ///< EPI0 Reset Control
672 #define SYSCTL_SRCR1_I2S0 0x10000000 ///< I2S0 Reset Control
673 #define SYSCTL_SRCR1_COMP2 0x04000000 ///< Analog Comp 2 Reset Control
674 #define SYSCTL_SRCR1_COMP1 0x02000000 ///< Analog Comp 1 Reset Control
675 #define SYSCTL_SRCR1_COMP0 0x01000000 ///< Analog Comp 0 Reset Control
676 #define SYSCTL_SRCR1_TIMER3 0x00080000 ///< Timer 3 Reset Control
677 #define SYSCTL_SRCR1_TIMER2 0x00040000 ///< Timer 2 Reset Control
678 #define SYSCTL_SRCR1_TIMER1 0x00020000 ///< Timer 1 Reset Control
679 #define SYSCTL_SRCR1_TIMER0 0x00010000 ///< Timer 0 Reset Control
680 #define SYSCTL_SRCR1_I2C1 0x00004000 ///< I2C1 Reset Control
681 #define SYSCTL_SRCR1_I2C0 0x00001000 ///< I2C0 Reset Control
682 #define SYSCTL_SRCR1_QEI1 0x00000200 ///< QEI1 Reset Control
683 #define SYSCTL_SRCR1_QEI0 0x00000100 ///< QEI0 Reset Control
684 #define SYSCTL_SRCR1_SSI1 0x00000020 ///< SSI1 Reset Control
685 #define SYSCTL_SRCR1_SSI0 0x00000010 ///< SSI0 Reset Control
686 #define SYSCTL_SRCR1_UART2 0x00000004 ///< UART2 Reset Control
687 #define SYSCTL_SRCR1_UART1 0x00000002 ///< UART1 Reset Control
688 #define SYSCTL_SRCR1_UART0 0x00000001 ///< UART0 Reset Control
692 * The following are defines for the bit fields in the SYSCTL_SRCR2 register.
695 #define SYSCTL_SRCR2_EPHY0 0x40000000 ///< PHY0 Reset Control
696 #define SYSCTL_SRCR2_EMAC0 0x10000000 ///< MAC0 Reset Control
697 #define SYSCTL_SRCR2_USB0 0x00010000 ///< USB0 Reset Control
698 #define SYSCTL_SRCR2_UDMA 0x00002000 ///< Micro-DMA Reset Control
699 #define SYSCTL_SRCR2_GPIOJ 0x00000100 ///< Port J Reset Control
700 #define SYSCTL_SRCR2_GPIOH 0x00000080 ///< Port H Reset Control
701 #define SYSCTL_SRCR2_GPIOG 0x00000040 ///< Port G Reset Control
702 #define SYSCTL_SRCR2_GPIOF 0x00000020 ///< Port F Reset Control
703 #define SYSCTL_SRCR2_GPIOE 0x00000010 ///< Port E Reset Control
704 #define SYSCTL_SRCR2_GPIOD 0x00000008 ///< Port D Reset Control
705 #define SYSCTL_SRCR2_GPIOC 0x00000004 ///< Port C Reset Control
706 #define SYSCTL_SRCR2_GPIOB 0x00000002 ///< Port B Reset Control
707 #define SYSCTL_SRCR2_GPIOA 0x00000001 ///< Port A Reset Control
711 * The following are defines for the bit fields in the SYSCTL_RIS register.
714 #define SYSCTL_RIS_MOSCPUPRIS 0x00000100 ///< MOSC Power Up Raw Interrupt
716 #define SYSCTL_RIS_USBPLLLRIS 0x00000080 ///< USB PLL Lock Raw Interrupt
718 #define SYSCTL_RIS_PLLLRIS 0x00000040 ///< PLL Lock Raw Interrupt Status
719 #define SYSCTL_RIS_CLRIS 0x00000020 ///< Current Limit Raw Interrupt
721 #define SYSCTL_RIS_IOFRIS 0x00000010 ///< Internal Oscillator Fault Raw
722 ///< Interrupt Status
723 #define SYSCTL_RIS_MOFRIS 0x00000008 ///< Main Oscillator Fault Raw
724 ///< Interrupt Status
725 #define SYSCTL_RIS_LDORIS 0x00000004 ///< LDO Power Unregulated Raw
726 ///< Interrupt Status
727 #define SYSCTL_RIS_BORRIS 0x00000002 ///< Brown-Out Reset Raw Interrupt
729 #define SYSCTL_RIS_PLLFRIS 0x00000001 ///< PLL Fault Raw Interrupt Status
733 * The following are defines for the bit fields in the SYSCTL_IMC register.
736 #define SYSCTL_IMC_MOSCPUPIM 0x00000100 ///< MOSC Power Up Interrupt Mask
737 #define SYSCTL_IMC_USBPLLLIM 0x00000080 ///< USB PLL Lock Interrupt Mask
738 #define SYSCTL_IMC_PLLLIM 0x00000040 ///< PLL Lock Interrupt Mask
739 #define SYSCTL_IMC_CLIM 0x00000020 ///< Current Limit Interrupt Mask
740 #define SYSCTL_IMC_IOFIM 0x00000010 ///< Internal Oscillator Fault
742 #define SYSCTL_IMC_MOFIM 0x00000008 ///< Main Oscillator Fault Interrupt
744 #define SYSCTL_IMC_LDOIM 0x00000004 ///< LDO Power Unregulated Interrupt
746 #define SYSCTL_IMC_BORIM 0x00000002 ///< Brown-Out Reset Interrupt Mask
747 #define SYSCTL_IMC_PLLFIM 0x00000001 ///< PLL Fault Interrupt Mask
751 * The following are defines for the bit fields in the SYSCTL_MISC register.
754 #define SYSCTL_MISC_MOSCPUPMIS 0x00000100 ///< MOSC Power Up Masked Interrupt
756 #define SYSCTL_MISC_USBPLLLMIS 0x00000080 ///< USB PLL Lock Masked Interrupt
758 #define SYSCTL_MISC_PLLLMIS 0x00000040 ///< PLL Lock Masked Interrupt Status
759 #define SYSCTL_MISC_CLMIS 0x00000020 ///< Current Limit Masked Interrupt
761 #define SYSCTL_MISC_IOFMIS 0x00000010 ///< Internal Oscillator Fault Masked
762 ///< Interrupt Status
763 #define SYSCTL_MISC_MOFMIS 0x00000008 ///< Main Oscillator Fault Masked
764 ///< Interrupt Status
765 #define SYSCTL_MISC_LDOMIS 0x00000004 ///< LDO Power Unregulated Masked
766 ///< Interrupt Status
767 #define SYSCTL_MISC_BORMIS 0x00000002 ///< BOR Masked Interrupt Status
771 * The following are defines for the bit fields in the SYSCTL_RESC register.
774 #define SYSCTL_RESC_MOSCFAIL 0x00010000 ///< MOSC Failure Reset
775 #define SYSCTL_RESC_LDO 0x00000020 ///< LDO Reset
776 #define SYSCTL_RESC_WDT1 0x00000020 ///< Watchdog Timer 1 Reset
777 #define SYSCTL_RESC_SW 0x00000010 ///< Software Reset
778 #define SYSCTL_RESC_WDT0 0x00000008 ///< Watchdog Timer 0 Reset
779 #define SYSCTL_RESC_BOR 0x00000004 ///< Brown-Out Reset
780 #define SYSCTL_RESC_POR 0x00000002 ///< Power-On Reset
781 #define SYSCTL_RESC_EXT 0x00000001 ///< External Reset
785 * The following are defines for the bit fields in the SYSCTL_RCC register.
788 #define SYSCTL_RCC_ACG 0x08000000 ///< Auto Clock Gating
789 #define SYSCTL_RCC_SYSDIV_M 0x07800000 ///< System Clock Divisor
790 #define SYSCTL_RCC_SYSDIV_2 0x00800000 ///< System clock /2
791 #define SYSCTL_RCC_SYSDIV_3 0x01000000 ///< System clock /3
792 #define SYSCTL_RCC_SYSDIV_4 0x01800000 ///< System clock /4
793 #define SYSCTL_RCC_SYSDIV_5 0x02000000 ///< System clock /5
794 #define SYSCTL_RCC_SYSDIV_6 0x02800000 ///< System clock /6
795 #define SYSCTL_RCC_SYSDIV_7 0x03000000 ///< System clock /7
796 #define SYSCTL_RCC_SYSDIV_8 0x03800000 ///< System clock /8
797 #define SYSCTL_RCC_SYSDIV_9 0x04000000 ///< System clock /9
798 #define SYSCTL_RCC_SYSDIV_10 0x04800000 ///< System clock /10
799 #define SYSCTL_RCC_SYSDIV_11 0x05000000 ///< System clock /11
800 #define SYSCTL_RCC_SYSDIV_12 0x05800000 ///< System clock /12
801 #define SYSCTL_RCC_SYSDIV_13 0x06000000 ///< System clock /13
802 #define SYSCTL_RCC_SYSDIV_14 0x06800000 ///< System clock /14
803 #define SYSCTL_RCC_SYSDIV_15 0x07000000 ///< System clock /15
804 #define SYSCTL_RCC_SYSDIV_16 0x07800000 ///< System clock /16
805 #define SYSCTL_RCC_USESYSDIV 0x00400000 ///< Enable System Clock Divider
806 #define SYSCTL_RCC_USEPWMDIV 0x00100000 ///< Enable PWM Clock Divisor
807 #define SYSCTL_RCC_PWMDIV_M 0x000E0000 ///< PWM Unit Clock Divisor
808 #define SYSCTL_RCC_PWMDIV_2 0x00000000 ///< PWM clock /2
809 #define SYSCTL_RCC_PWMDIV_4 0x00020000 ///< PWM clock /4
810 #define SYSCTL_RCC_PWMDIV_8 0x00040000 ///< PWM clock /8
811 #define SYSCTL_RCC_PWMDIV_16 0x00060000 ///< PWM clock /16
812 #define SYSCTL_RCC_PWMDIV_32 0x00080000 ///< PWM clock /32
813 #define SYSCTL_RCC_PWMDIV_64 0x000A0000 ///< PWM clock /64
814 #define SYSCTL_RCC_PWRDN 0x00002000 ///< PLL Power Down
815 #define SYSCTL_RCC_OEN 0x00001000 ///< PLL Output Enable
816 #define SYSCTL_RCC_BYPASS 0x00000800 ///< PLL Bypass
817 #define SYSCTL_RCC_XTAL_M 0x000007C0 ///< Crystal Value
818 #define SYSCTL_RCC_XTAL_1MHZ 0x00000000 ///< 1 MHz
819 #define SYSCTL_RCC_XTAL_1_84MHZ 0x00000040 ///< 1.8432 MHz
820 #define SYSCTL_RCC_XTAL_2MHZ 0x00000080 ///< 2 MHz
821 #define SYSCTL_RCC_XTAL_2_45MHZ 0x000000C0 ///< 2.4576 MHz
822 #define SYSCTL_RCC_XTAL_3_57MHZ 0x00000100 ///< 3.579545 MHz
823 #define SYSCTL_RCC_XTAL_3_68MHZ 0x00000140 ///< 3.6864 MHz
824 #define SYSCTL_RCC_XTAL_4MHZ 0x00000180 ///< 4 MHz
825 #define SYSCTL_RCC_XTAL_4_09MHZ 0x000001C0 ///< 4.096 MHz
826 #define SYSCTL_RCC_XTAL_4_91MHZ 0x00000200 ///< 4.9152 MHz
827 #define SYSCTL_RCC_XTAL_5MHZ 0x00000240 ///< 5 MHz
828 #define SYSCTL_RCC_XTAL_5_12MHZ 0x00000280 ///< 5.12 MHz
829 #define SYSCTL_RCC_XTAL_6MHZ 0x000002C0 ///< 6 MHz
830 #define SYSCTL_RCC_XTAL_6_14MHZ 0x00000300 ///< 6.144 MHz
831 #define SYSCTL_RCC_XTAL_7_37MHZ 0x00000340 ///< 7.3728 MHz
832 #define SYSCTL_RCC_XTAL_8MHZ 0x00000380 ///< 8 MHz
833 #define SYSCTL_RCC_XTAL_8_19MHZ 0x000003C0 ///< 8.192 MHz
834 #define SYSCTL_RCC_XTAL_10MHZ 0x00000400 ///< 10 MHz
835 #define SYSCTL_RCC_XTAL_12MHZ 0x00000440 ///< 12 MHz
836 #define SYSCTL_RCC_XTAL_12_2MHZ 0x00000480 ///< 12.288 MHz
837 #define SYSCTL_RCC_XTAL_13_5MHZ 0x000004C0 ///< 13.56 MHz
838 #define SYSCTL_RCC_XTAL_14_3MHZ 0x00000500 ///< 14.31818 MHz
839 #define SYSCTL_RCC_XTAL_16MHZ 0x00000540 ///< 16 MHz
840 #define SYSCTL_RCC_XTAL_16_3MHZ 0x00000580 ///< 16.384 MHz
841 #define SYSCTL_RCC_PLLVER 0x00000400 ///< PLL Verification
842 #define SYSCTL_RCC_OSCSRC_M 0x00000030 ///< Oscillator Source
843 #define SYSCTL_RCC_OSCSRC_MAIN 0x00000000 ///< MOSC
844 #define SYSCTL_RCC_OSCSRC_INT 0x00000010 ///< IOSC
845 #define SYSCTL_RCC_OSCSRC_INT4 0x00000020 ///< IOSC/4
846 #define SYSCTL_RCC_OSCSRC_30 0x00000030 ///< 30 kHz
847 #define SYSCTL_RCC_IOSCVER 0x00000008 ///< Internal Oscillator Verification
849 #define SYSCTL_RCC_MOSCVER 0x00000004 ///< Main Oscillator Verification
851 #define SYSCTL_RCC_IOSCDIS 0x00000002 ///< Internal Oscillator Disable
852 #define SYSCTL_RCC_MOSCDIS 0x00000001 ///< Main Oscillator Disable
853 #define SYSCTL_RCC_SYSDIV_S 23
854 #define SYSCTL_RCC_PWMDIV_S 17 ///< Shift to the PWMDIV field
855 #define SYSCTL_RCC_XTAL_S 6 ///< Shift to the XTAL field
856 #define SYSCTL_RCC_OSCSRC_S 4 ///< Shift to the OSCSRC field
860 * The following are defines for the bit fields in the SYSCTL_PLLCFG register.
863 #define SYSCTL_PLLCFG_OD_M 0x0000C000 ///< PLL OD Value
864 #define SYSCTL_PLLCFG_OD_1 0x00000000 ///< Divide by 1
865 #define SYSCTL_PLLCFG_OD_2 0x00004000 ///< Divide by 2
866 #define SYSCTL_PLLCFG_OD_4 0x00008000 ///< Divide by 4
867 #define SYSCTL_PLLCFG_F_M 0x00003FE0 ///< PLL F Value
868 #define SYSCTL_PLLCFG_R_M 0x0000001F ///< PLL R Value
869 #define SYSCTL_PLLCFG_F_S 5
870 #define SYSCTL_PLLCFG_R_S 0
874 * The following are defines for the bit fields in the SYSCTL_GPIOHSCTL
878 #define SYSCTL_GPIOHSCTL_PORTH 0x00000080 ///< Port H High-Speed
879 #define SYSCTL_GPIOHSCTL_PORTG 0x00000040 ///< Port G High-Speed
880 #define SYSCTL_GPIOHSCTL_PORTF 0x00000020 ///< Port F High-Speed
881 #define SYSCTL_GPIOHSCTL_PORTE 0x00000010 ///< Port E High-Speed
882 #define SYSCTL_GPIOHSCTL_PORTD 0x00000008 ///< Port D High-Speed
883 #define SYSCTL_GPIOHSCTL_PORTC 0x00000004 ///< Port C High-Speed
884 #define SYSCTL_GPIOHSCTL_PORTB 0x00000002 ///< Port B High-Speed
885 #define SYSCTL_GPIOHSCTL_PORTA 0x00000001 ///< Port A High-Speed
889 * The following are defines for the bit fields in the SYSCTL_GPIOHBCTL
893 #define SYSCTL_GPIOHBCTL_PORTJ 0x00000100 ///< Port J Advanced High-Performance
895 #define SYSCTL_GPIOHBCTL_PORTH 0x00000080 ///< Port H Advanced High-Performance
897 #define SYSCTL_GPIOHBCTL_PORTG 0x00000040 ///< Port G Advanced High-Performance
899 #define SYSCTL_GPIOHBCTL_PORTF 0x00000020 ///< Port F Advanced High-Performance
901 #define SYSCTL_GPIOHBCTL_PORTE 0x00000010 ///< Port E Advanced High-Performance
903 #define SYSCTL_GPIOHBCTL_PORTD 0x00000008 ///< Port D Advanced High-Performance
905 #define SYSCTL_GPIOHBCTL_PORTC 0x00000004 ///< Port C Advanced High-Performance
907 #define SYSCTL_GPIOHBCTL_PORTB 0x00000002 ///< Port B Advanced High-Performance
909 #define SYSCTL_GPIOHBCTL_PORTA 0x00000001 ///< Port A Advanced High-Performance
914 * The following are defines for the bit fields in the SYSCTL_RCC2 register.
917 #define SYSCTL_RCC2_USERCC2 0x80000000 ///< Use RCC2
918 #define SYSCTL_RCC2_DIV400 0x40000000 ///< Divide PLL as 400 MHz vs. 200
920 #define SYSCTL_RCC2_SYSDIV2_M 0x1F800000 ///< System Clock Divisor 2
921 #define SYSCTL_RCC2_SYSDIV2_2 0x00800000 ///< System clock /2
922 #define SYSCTL_RCC2_SYSDIV2_3 0x01000000 ///< System clock /3
923 #define SYSCTL_RCC2_SYSDIV2_4 0x01800000 ///< System clock /4
924 #define SYSCTL_RCC2_SYSDIV2_5 0x02000000 ///< System clock /5
925 #define SYSCTL_RCC2_SYSDIV2_6 0x02800000 ///< System clock /6
926 #define SYSCTL_RCC2_SYSDIV2_7 0x03000000 ///< System clock /7
927 #define SYSCTL_RCC2_SYSDIV2_8 0x03800000 ///< System clock /8
928 #define SYSCTL_RCC2_SYSDIV2_9 0x04000000 ///< System clock /9
929 #define SYSCTL_RCC2_SYSDIV2_10 0x04800000 ///< System clock /10
930 #define SYSCTL_RCC2_SYSDIV2_11 0x05000000 ///< System clock /11
931 #define SYSCTL_RCC2_SYSDIV2_12 0x05800000 ///< System clock /12
932 #define SYSCTL_RCC2_SYSDIV2_13 0x06000000 ///< System clock /13
933 #define SYSCTL_RCC2_SYSDIV2_14 0x06800000 ///< System clock /14
934 #define SYSCTL_RCC2_SYSDIV2_15 0x07000000 ///< System clock /15
935 #define SYSCTL_RCC2_SYSDIV2_16 0x07800000 ///< System clock /16
936 #define SYSCTL_RCC2_SYSDIV2_17 0x08000000 ///< System clock /17
937 #define SYSCTL_RCC2_SYSDIV2_18 0x08800000 ///< System clock /18
938 #define SYSCTL_RCC2_SYSDIV2_19 0x09000000 ///< System clock /19
939 #define SYSCTL_RCC2_SYSDIV2_20 0x09800000 ///< System clock /20
940 #define SYSCTL_RCC2_SYSDIV2_21 0x0A000000 ///< System clock /21
941 #define SYSCTL_RCC2_SYSDIV2_22 0x0A800000 ///< System clock /22
942 #define SYSCTL_RCC2_SYSDIV2_23 0x0B000000 ///< System clock /23
943 #define SYSCTL_RCC2_SYSDIV2_24 0x0B800000 ///< System clock /24
944 #define SYSCTL_RCC2_SYSDIV2_25 0x0C000000 ///< System clock /25
945 #define SYSCTL_RCC2_SYSDIV2_26 0x0C800000 ///< System clock /26
946 #define SYSCTL_RCC2_SYSDIV2_27 0x0D000000 ///< System clock /27
947 #define SYSCTL_RCC2_SYSDIV2_28 0x0D800000 ///< System clock /28
948 #define SYSCTL_RCC2_SYSDIV2_29 0x0E000000 ///< System clock /29
949 #define SYSCTL_RCC2_SYSDIV2_30 0x0E800000 ///< System clock /30
950 #define SYSCTL_RCC2_SYSDIV2_31 0x0F000000 ///< System clock /31
951 #define SYSCTL_RCC2_SYSDIV2_32 0x0F800000 ///< System clock /32
952 #define SYSCTL_RCC2_SYSDIV2_33 0x10000000 ///< System clock /33
953 #define SYSCTL_RCC2_SYSDIV2_34 0x10800000 ///< System clock /34
954 #define SYSCTL_RCC2_SYSDIV2_35 0x11000000 ///< System clock /35
955 #define SYSCTL_RCC2_SYSDIV2_36 0x11800000 ///< System clock /36
956 #define SYSCTL_RCC2_SYSDIV2_37 0x12000000 ///< System clock /37
957 #define SYSCTL_RCC2_SYSDIV2_38 0x12800000 ///< System clock /38
958 #define SYSCTL_RCC2_SYSDIV2_39 0x13000000 ///< System clock /39
959 #define SYSCTL_RCC2_SYSDIV2_40 0x13800000 ///< System clock /40
960 #define SYSCTL_RCC2_SYSDIV2_41 0x14000000 ///< System clock /41
961 #define SYSCTL_RCC2_SYSDIV2_42 0x14800000 ///< System clock /42
962 #define SYSCTL_RCC2_SYSDIV2_43 0x15000000 ///< System clock /43
963 #define SYSCTL_RCC2_SYSDIV2_44 0x15800000 ///< System clock /44
964 #define SYSCTL_RCC2_SYSDIV2_45 0x16000000 ///< System clock /45
965 #define SYSCTL_RCC2_SYSDIV2_46 0x16800000 ///< System clock /46
966 #define SYSCTL_RCC2_SYSDIV2_47 0x17000000 ///< System clock /47
967 #define SYSCTL_RCC2_SYSDIV2_48 0x17800000 ///< System clock /48
968 #define SYSCTL_RCC2_SYSDIV2_49 0x18000000 ///< System clock /49
969 #define SYSCTL_RCC2_SYSDIV2_50 0x18800000 ///< System clock /50
970 #define SYSCTL_RCC2_SYSDIV2_51 0x19000000 ///< System clock /51
971 #define SYSCTL_RCC2_SYSDIV2_52 0x19800000 ///< System clock /52
972 #define SYSCTL_RCC2_SYSDIV2_53 0x1A000000 ///< System clock /53
973 #define SYSCTL_RCC2_SYSDIV2_54 0x1A800000 ///< System clock /54
974 #define SYSCTL_RCC2_SYSDIV2_55 0x1B000000 ///< System clock /55
975 #define SYSCTL_RCC2_SYSDIV2_56 0x1B800000 ///< System clock /56
976 #define SYSCTL_RCC2_SYSDIV2_57 0x1C000000 ///< System clock /57
977 #define SYSCTL_RCC2_SYSDIV2_58 0x1C800000 ///< System clock /58
978 #define SYSCTL_RCC2_SYSDIV2_59 0x1D000000 ///< System clock /59
979 #define SYSCTL_RCC2_SYSDIV2_60 0x1D800000 ///< System clock /60
980 #define SYSCTL_RCC2_SYSDIV2_61 0x1E000000 ///< System clock /61
981 #define SYSCTL_RCC2_SYSDIV2_62 0x1E800000 ///< System clock /62
982 #define SYSCTL_RCC2_SYSDIV2_63 0x1F000000 ///< System clock /63
983 #define SYSCTL_RCC2_SYSDIV2_64 0x1F800000 ///< System clock /64
984 #define SYSCTL_RCC2_SYSDIV2LSB 0x00400000 ///< Additional LSB for SYSDIV2
985 #define SYSCTL_RCC2_USBPWRDN 0x00004000 ///< Power-Down USB PLL
986 #define SYSCTL_RCC2_PWRDN2 0x00002000 ///< Power-Down PLL 2
987 #define SYSCTL_RCC2_BYPASS2 0x00000800 ///< PLL Bypass 2
988 #define SYSCTL_RCC2_OSCSRC2_M 0x00000070 ///< Oscillator Source 2
989 #define SYSCTL_RCC2_OSCSRC2_MO 0x00000000 ///< MOSC
990 #define SYSCTL_RCC2_OSCSRC2_IO 0x00000010 ///< PIOSC
991 #define SYSCTL_RCC2_OSCSRC2_IO4 0x00000020 ///< PIOSC/4
992 #define SYSCTL_RCC2_OSCSRC2_30 0x00000030 ///< 30 kHz
993 #define SYSCTL_RCC2_OSCSRC2_419 0x00000060 ///< 4.194304 MHz
994 #define SYSCTL_RCC2_OSCSRC2_32 0x00000070 ///< 32.768 kHz
995 #define SYSCTL_RCC2_SYSDIV2_S 23
999 * The following are defines for the bit fields in the SYSCTL_MOSCCTL register.
1002 #define SYSCTL_MOSCCTL_CVAL 0x00000001 ///< Clock Validation for MOSC
1006 * The following are defines for the bit fields in the SYSCTL_RCGC0 register.
1009 #define SYSCTL_RCGC0_WDT1 0x10000000 ///< WDT1 Clock Gating Control
1010 #define SYSCTL_RCGC0_CAN2 0x04000000 ///< CAN2 Clock Gating Control
1011 #define SYSCTL_RCGC0_CAN1 0x02000000 ///< CAN1 Clock Gating Control
1012 #define SYSCTL_RCGC0_CAN0 0x01000000 ///< CAN0 Clock Gating Control
1013 #define SYSCTL_RCGC0_PWM 0x00100000 ///< PWM Clock Gating Control
1014 #define SYSCTL_RCGC0_ADC1 0x00020000 ///< ADC1 Clock Gating Control
1015 #define SYSCTL_RCGC0_ADC0 0x00010000 ///< ADC0 Clock Gating Control
1016 #define SYSCTL_RCGC0_ADCSPD_M 0x00000F00 ///< ADC Sample Speed
1017 #define SYSCTL_RCGC0_ADCSPD125K 0x00000000 ///< 125K samples/second
1018 #define SYSCTL_RCGC0_ADCSPD250K 0x00000100 ///< 250K samples/second
1019 #define SYSCTL_RCGC0_ADCSPD500K 0x00000200 ///< 500K samples/second
1020 #define SYSCTL_RCGC0_ADCSPD1M 0x00000300 ///< 1M samples/second
1021 #define SYSCTL_RCGC0_ADC1SPD_M 0x00000C00 ///< ADC1 Sample Speed
1022 #define SYSCTL_RCGC0_ADC1SPD_125K \
1023 0x00000000 ///< 125K samples/second
1024 #define SYSCTL_RCGC0_ADC1SPD_250K \
1025 0x00000400 ///< 250K samples/second
1026 #define SYSCTL_RCGC0_ADC1SPD_500K \
1027 0x00000800 ///< 500K samples/second
1028 #define SYSCTL_RCGC0_ADC1SPD_1M 0x00000C00 ///< 1M samples/second
1029 #define SYSCTL_RCGC0_ADC0SPD_M 0x00000300 ///< ADC0 Sample Speed
1030 #define SYSCTL_RCGC0_ADC0SPD_125K \
1031 0x00000000 ///< 125K samples/second
1032 #define SYSCTL_RCGC0_ADC0SPD_250K \
1033 0x00000100 ///< 250K samples/second
1034 #define SYSCTL_RCGC0_ADC0SPD_500K \
1035 0x00000200 ///< 500K samples/second
1036 #define SYSCTL_RCGC0_ADC0SPD_1M 0x00000300 ///< 1M samples/second
1037 #define SYSCTL_RCGC0_HIB 0x00000040 ///< HIB Clock Gating Control
1038 #define SYSCTL_RCGC0_WDT0 0x00000008 ///< WDT0 Clock Gating Control
1042 * The following are defines for the bit fields in the SYSCTL_RCGC1 register.
1045 #define SYSCTL_RCGC1_EPI0 0x40000000 ///< EPI0 Clock Gating
1046 #define SYSCTL_RCGC1_I2S0 0x10000000 ///< I2S0 Clock Gating
1047 #define SYSCTL_RCGC1_COMP2 0x04000000 ///< Analog Comparator 2 Clock Gating
1048 #define SYSCTL_RCGC1_COMP1 0x02000000 ///< Analog Comparator 1 Clock Gating
1049 #define SYSCTL_RCGC1_COMP0 0x01000000 ///< Analog Comparator 0 Clock Gating
1050 #define SYSCTL_RCGC1_TIMER3 0x00080000 ///< Timer 3 Clock Gating Control
1051 #define SYSCTL_RCGC1_TIMER2 0x00040000 ///< Timer 2 Clock Gating Control
1052 #define SYSCTL_RCGC1_TIMER1 0x00020000 ///< Timer 1 Clock Gating Control
1053 #define SYSCTL_RCGC1_TIMER0 0x00010000 ///< Timer 0 Clock Gating Control
1054 #define SYSCTL_RCGC1_I2C1 0x00004000 ///< I2C1 Clock Gating Control
1055 #define SYSCTL_RCGC1_I2C0 0x00001000 ///< I2C0 Clock Gating Control
1056 #define SYSCTL_RCGC1_QEI1 0x00000200 ///< QEI1 Clock Gating Control
1057 #define SYSCTL_RCGC1_QEI0 0x00000100 ///< QEI0 Clock Gating Control
1058 #define SYSCTL_RCGC1_SSI1 0x00000020 ///< SSI1 Clock Gating Control
1059 #define SYSCTL_RCGC1_SSI0 0x00000010 ///< SSI0 Clock Gating Control
1060 #define SYSCTL_RCGC1_UART2 0x00000004 ///< UART2 Clock Gating Control
1061 #define SYSCTL_RCGC1_UART1 0x00000002 ///< UART1 Clock Gating Control
1062 #define SYSCTL_RCGC1_UART0 0x00000001 ///< UART0 Clock Gating Control
1066 * The following are defines for the bit fields in the SYSCTL_RCGC2 register.
1069 #define SYSCTL_RCGC2_EPHY0 0x40000000 ///< PHY0 Clock Gating Control
1070 #define SYSCTL_RCGC2_EMAC0 0x10000000 ///< MAC0 Clock Gating Control
1071 #define SYSCTL_RCGC2_USB0 0x00010000 ///< USB0 Clock Gating Control
1072 #define SYSCTL_RCGC2_UDMA 0x00002000 ///< Micro-DMA Clock Gating Control
1073 #define SYSCTL_RCGC2_GPIOJ 0x00000100 ///< Port J Clock Gating Control
1074 #define SYSCTL_RCGC2_GPIOH 0x00000080 ///< Port H Clock Gating Control
1075 #define SYSCTL_RCGC2_GPIOG 0x00000040 ///< Port G Clock Gating Control
1076 #define SYSCTL_RCGC2_GPIOF 0x00000020 ///< Port F Clock Gating Control
1077 #define SYSCTL_RCGC2_GPIOE 0x00000010 ///< Port E Clock Gating Control
1078 #define SYSCTL_RCGC2_GPIOD 0x00000008 ///< Port D Clock Gating Control
1079 #define SYSCTL_RCGC2_GPIOC 0x00000004 ///< Port C Clock Gating Control
1080 #define SYSCTL_RCGC2_GPIOB 0x00000002 ///< Port B Clock Gating Control
1081 #define SYSCTL_RCGC2_GPIOA 0x00000001 ///< Port A Clock Gating Control
1085 * The following are defines for the bit fields in the SYSCTL_SCGC0 register.
1088 #define SYSCTL_SCGC0_WDT1 0x10000000 ///< WDT1 Clock Gating Control
1089 #define SYSCTL_SCGC0_CAN2 0x04000000 ///< CAN2 Clock Gating Control
1090 #define SYSCTL_SCGC0_CAN1 0x02000000 ///< CAN1 Clock Gating Control
1091 #define SYSCTL_SCGC0_CAN0 0x01000000 ///< CAN0 Clock Gating Control
1092 #define SYSCTL_SCGC0_PWM 0x00100000 ///< PWM Clock Gating Control
1093 #define SYSCTL_SCGC0_ADC1 0x00020000 ///< ADC1 Clock Gating Control
1094 #define SYSCTL_SCGC0_ADC0 0x00010000 ///< ADC0 Clock Gating Control
1095 #define SYSCTL_SCGC0_ADCSPD_M 0x00000F00 ///< ADC Sample Speed
1096 #define SYSCTL_SCGC0_ADCSPD125K 0x00000000 ///< 125K samples/second
1097 #define SYSCTL_SCGC0_ADCSPD250K 0x00000100 ///< 250K samples/second
1098 #define SYSCTL_SCGC0_ADCSPD500K 0x00000200 ///< 500K samples/second
1099 #define SYSCTL_SCGC0_ADCSPD1M 0x00000300 ///< 1M samples/second
1100 #define SYSCTL_SCGC0_ADC1SPD_M 0x00000C00 ///< ADC1 Sample Speed
1101 #define SYSCTL_SCGC0_ADC1SPD_125K \
1102 0x00000000 ///< 125K samples/second
1103 #define SYSCTL_SCGC0_ADC1SPD_250K \
1104 0x00000400 ///< 250K samples/second
1105 #define SYSCTL_SCGC0_ADC1SPD_500K \
1106 0x00000800 ///< 500K samples/second
1107 #define SYSCTL_SCGC0_ADC1SPD_1M 0x00000C00 ///< 1M samples/second
1108 #define SYSCTL_SCGC0_ADC0SPD_M 0x00000300 ///< ADC0 Sample Speed
1109 #define SYSCTL_SCGC0_ADC0SPD_125K \
1110 0x00000000 ///< 125K samples/second
1111 #define SYSCTL_SCGC0_ADC0SPD_250K \
1112 0x00000100 ///< 250K samples/second
1113 #define SYSCTL_SCGC0_ADC0SPD_500K \
1114 0x00000200 ///< 500K samples/second
1115 #define SYSCTL_SCGC0_ADC0SPD_1M 0x00000300 ///< 1M samples/second
1116 #define SYSCTL_SCGC0_HIB 0x00000040 ///< HIB Clock Gating Control
1117 #define SYSCTL_SCGC0_WDT0 0x00000008 ///< WDT0 Clock Gating Control
1121 * The following are defines for the bit fields in the SYSCTL_SCGC1 register.
1124 #define SYSCTL_SCGC1_EPI0 0x40000000 ///< EPI0 Clock Gating
1125 #define SYSCTL_SCGC1_I2S0 0x10000000 ///< I2S0 Clock Gating
1126 #define SYSCTL_SCGC1_COMP2 0x04000000 ///< Analog Comparator 2 Clock Gating
1127 #define SYSCTL_SCGC1_COMP1 0x02000000 ///< Analog Comparator 1 Clock Gating
1128 #define SYSCTL_SCGC1_COMP0 0x01000000 ///< Analog Comparator 0 Clock Gating
1129 #define SYSCTL_SCGC1_TIMER3 0x00080000 ///< Timer 3 Clock Gating Control
1130 #define SYSCTL_SCGC1_TIMER2 0x00040000 ///< Timer 2 Clock Gating Control
1131 #define SYSCTL_SCGC1_TIMER1 0x00020000 ///< Timer 1 Clock Gating Control
1132 #define SYSCTL_SCGC1_TIMER0 0x00010000 ///< Timer 0 Clock Gating Control
1133 #define SYSCTL_SCGC1_I2C1 0x00004000 ///< I2C1 Clock Gating Control
1134 #define SYSCTL_SCGC1_I2C0 0x00001000 ///< I2C0 Clock Gating Control
1135 #define SYSCTL_SCGC1_QEI1 0x00000200 ///< QEI1 Clock Gating Control
1136 #define SYSCTL_SCGC1_QEI0 0x00000100 ///< QEI0 Clock Gating Control
1137 #define SYSCTL_SCGC1_SSI1 0x00000020 ///< SSI1 Clock Gating Control
1138 #define SYSCTL_SCGC1_SSI0 0x00000010 ///< SSI0 Clock Gating Control
1139 #define SYSCTL_SCGC1_UART2 0x00000004 ///< UART2 Clock Gating Control
1140 #define SYSCTL_SCGC1_UART1 0x00000002 ///< UART1 Clock Gating Control
1141 #define SYSCTL_SCGC1_UART0 0x00000001 ///< UART0 Clock Gating Control
1145 * The following are defines for the bit fields in the SYSCTL_SCGC2 register.
1148 #define SYSCTL_SCGC2_EPHY0 0x40000000 ///< PHY0 Clock Gating Control
1149 #define SYSCTL_SCGC2_EMAC0 0x10000000 ///< MAC0 Clock Gating Control
1150 #define SYSCTL_SCGC2_USB0 0x00010000 ///< USB0 Clock Gating Control
1151 #define SYSCTL_SCGC2_UDMA 0x00002000 ///< Micro-DMA Clock Gating Control
1152 #define SYSCTL_SCGC2_GPIOJ 0x00000100 ///< Port J Clock Gating Control
1153 #define SYSCTL_SCGC2_GPIOH 0x00000080 ///< Port H Clock Gating Control
1154 #define SYSCTL_SCGC2_GPIOG 0x00000040 ///< Port G Clock Gating Control
1155 #define SYSCTL_SCGC2_GPIOF 0x00000020 ///< Port F Clock Gating Control
1156 #define SYSCTL_SCGC2_GPIOE 0x00000010 ///< Port E Clock Gating Control
1157 #define SYSCTL_SCGC2_GPIOD 0x00000008 ///< Port D Clock Gating Control
1158 #define SYSCTL_SCGC2_GPIOC 0x00000004 ///< Port C Clock Gating Control
1159 #define SYSCTL_SCGC2_GPIOB 0x00000002 ///< Port B Clock Gating Control
1160 #define SYSCTL_SCGC2_GPIOA 0x00000001 ///< Port A Clock Gating Control
1164 * The following are defines for the bit fields in the SYSCTL_DCGC0 register.
1167 #define SYSCTL_DCGC0_WDT1 0x10000000 ///< WDT1 Clock Gating Control
1168 #define SYSCTL_DCGC0_CAN2 0x04000000 ///< CAN2 Clock Gating Control
1169 #define SYSCTL_DCGC0_CAN1 0x02000000 ///< CAN1 Clock Gating Control
1170 #define SYSCTL_DCGC0_CAN0 0x01000000 ///< CAN0 Clock Gating Control
1171 #define SYSCTL_DCGC0_PWM 0x00100000 ///< PWM Clock Gating Control
1172 #define SYSCTL_DCGC0_ADC1 0x00020000 ///< ADC1 Clock Gating Control
1173 #define SYSCTL_DCGC0_ADC0 0x00010000 ///< ADC0 Clock Gating Control
1174 #define SYSCTL_DCGC0_HIB 0x00000040 ///< HIB Clock Gating Control
1175 #define SYSCTL_DCGC0_WDT0 0x00000008 ///< WDT0 Clock Gating Control
1179 * The following are defines for the bit fields in the SYSCTL_DCGC1 register.
1182 #define SYSCTL_DCGC1_EPI0 0x40000000 ///< EPI0 Clock Gating
1183 #define SYSCTL_DCGC1_I2S0 0x10000000 ///< I2S0 Clock Gating
1184 #define SYSCTL_DCGC1_COMP2 0x04000000 ///< Analog Comparator 2 Clock Gating
1185 #define SYSCTL_DCGC1_COMP1 0x02000000 ///< Analog Comparator 1 Clock Gating
1186 #define SYSCTL_DCGC1_COMP0 0x01000000 ///< Analog Comparator 0 Clock Gating
1187 #define SYSCTL_DCGC1_TIMER3 0x00080000 ///< Timer 3 Clock Gating Control
1188 #define SYSCTL_DCGC1_TIMER2 0x00040000 ///< Timer 2 Clock Gating Control
1189 #define SYSCTL_DCGC1_TIMER1 0x00020000 ///< Timer 1 Clock Gating Control
1190 #define SYSCTL_DCGC1_TIMER0 0x00010000 ///< Timer 0 Clock Gating Control
1191 #define SYSCTL_DCGC1_I2C1 0x00004000 ///< I2C1 Clock Gating Control
1192 #define SYSCTL_DCGC1_I2C0 0x00001000 ///< I2C0 Clock Gating Control
1193 #define SYSCTL_DCGC1_QEI1 0x00000200 ///< QEI1 Clock Gating Control
1194 #define SYSCTL_DCGC1_QEI0 0x00000100 ///< QEI0 Clock Gating Control
1195 #define SYSCTL_DCGC1_SSI1 0x00000020 ///< SSI1 Clock Gating Control
1196 #define SYSCTL_DCGC1_SSI0 0x00000010 ///< SSI0 Clock Gating Control
1197 #define SYSCTL_DCGC1_UART2 0x00000004 ///< UART2 Clock Gating Control
1198 #define SYSCTL_DCGC1_UART1 0x00000002 ///< UART1 Clock Gating Control
1199 #define SYSCTL_DCGC1_UART0 0x00000001 ///< UART0 Clock Gating Control
1203 * The following are defines for the bit fields in the SYSCTL_DCGC2 register.
1206 #define SYSCTL_DCGC2_EPHY0 0x40000000 ///< PHY0 Clock Gating Control
1207 #define SYSCTL_DCGC2_EMAC0 0x10000000 ///< MAC0 Clock Gating Control
1208 #define SYSCTL_DCGC2_USB0 0x00010000 ///< USB0 Clock Gating Control
1209 #define SYSCTL_DCGC2_UDMA 0x00002000 ///< Micro-DMA Clock Gating Control
1210 #define SYSCTL_DCGC2_GPIOJ 0x00000100 ///< Port J Clock Gating Control
1211 #define SYSCTL_DCGC2_GPIOH 0x00000080 ///< Port H Clock Gating Control
1212 #define SYSCTL_DCGC2_GPIOG 0x00000040 ///< Port G Clock Gating Control
1213 #define SYSCTL_DCGC2_GPIOF 0x00000020 ///< Port F Clock Gating Control
1214 #define SYSCTL_DCGC2_GPIOE 0x00000010 ///< Port E Clock Gating Control
1215 #define SYSCTL_DCGC2_GPIOD 0x00000008 ///< Port D Clock Gating Control
1216 #define SYSCTL_DCGC2_GPIOC 0x00000004 ///< Port C Clock Gating Control
1217 #define SYSCTL_DCGC2_GPIOB 0x00000002 ///< Port B Clock Gating Control
1218 #define SYSCTL_DCGC2_GPIOA 0x00000001 ///< Port A Clock Gating Control
1222 * The following are defines for the bit fields in the SYSCTL_DSLPCLKCFG
1226 #define SYSCTL_DSLPCLKCFG_D_M 0x1F800000 ///< Divider Field Override
1227 #define SYSCTL_DSLPCLKCFG_D_1 0x00000000 ///< System clock /1
1228 #define SYSCTL_DSLPCLKCFG_D_2 0x00800000 ///< System clock /2
1229 #define SYSCTL_DSLPCLKCFG_D_3 0x01000000 ///< System clock /3
1230 #define SYSCTL_DSLPCLKCFG_D_4 0x01800000 ///< System clock /4
1231 #define SYSCTL_DSLPCLKCFG_D_5 0x02000000 ///< System clock /5
1232 #define SYSCTL_DSLPCLKCFG_D_6 0x02800000 ///< System clock /6
1233 #define SYSCTL_DSLPCLKCFG_D_7 0x03000000 ///< System clock /7
1234 #define SYSCTL_DSLPCLKCFG_D_8 0x03800000 ///< System clock /8
1235 #define SYSCTL_DSLPCLKCFG_D_9 0x04000000 ///< System clock /9
1236 #define SYSCTL_DSLPCLKCFG_D_10 0x04800000 ///< System clock /10
1237 #define SYSCTL_DSLPCLKCFG_D_11 0x05000000 ///< System clock /11
1238 #define SYSCTL_DSLPCLKCFG_D_12 0x05800000 ///< System clock /12
1239 #define SYSCTL_DSLPCLKCFG_D_13 0x06000000 ///< System clock /13
1240 #define SYSCTL_DSLPCLKCFG_D_14 0x06800000 ///< System clock /14
1241 #define SYSCTL_DSLPCLKCFG_D_15 0x07000000 ///< System clock /15
1242 #define SYSCTL_DSLPCLKCFG_D_16 0x07800000 ///< System clock /16
1243 #define SYSCTL_DSLPCLKCFG_D_17 0x08000000 ///< System clock /17
1244 #define SYSCTL_DSLPCLKCFG_D_18 0x08800000 ///< System clock /18
1245 #define SYSCTL_DSLPCLKCFG_D_19 0x09000000 ///< System clock /19
1246 #define SYSCTL_DSLPCLKCFG_D_20 0x09800000 ///< System clock /20
1247 #define SYSCTL_DSLPCLKCFG_D_21 0x0A000000 ///< System clock /21
1248 #define SYSCTL_DSLPCLKCFG_D_22 0x0A800000 ///< System clock /22
1249 #define SYSCTL_DSLPCLKCFG_D_23 0x0B000000 ///< System clock /23
1250 #define SYSCTL_DSLPCLKCFG_D_24 0x0B800000 ///< System clock /24
1251 #define SYSCTL_DSLPCLKCFG_D_25 0x0C000000 ///< System clock /25
1252 #define SYSCTL_DSLPCLKCFG_D_26 0x0C800000 ///< System clock /26
1253 #define SYSCTL_DSLPCLKCFG_D_27 0x0D000000 ///< System clock /27
1254 #define SYSCTL_DSLPCLKCFG_D_28 0x0D800000 ///< System clock /28
1255 #define SYSCTL_DSLPCLKCFG_D_29 0x0E000000 ///< System clock /29
1256 #define SYSCTL_DSLPCLKCFG_D_30 0x0E800000 ///< System clock /30
1257 #define SYSCTL_DSLPCLKCFG_D_31 0x0F000000 ///< System clock /31
1258 #define SYSCTL_DSLPCLKCFG_D_32 0x0F800000 ///< System clock /32
1259 #define SYSCTL_DSLPCLKCFG_D_33 0x10000000 ///< System clock /33
1260 #define SYSCTL_DSLPCLKCFG_D_34 0x10800000 ///< System clock /34
1261 #define SYSCTL_DSLPCLKCFG_D_35 0x11000000 ///< System clock /35
1262 #define SYSCTL_DSLPCLKCFG_D_36 0x11800000 ///< System clock /36
1263 #define SYSCTL_DSLPCLKCFG_D_37 0x12000000 ///< System clock /37
1264 #define SYSCTL_DSLPCLKCFG_D_38 0x12800000 ///< System clock /38
1265 #define SYSCTL_DSLPCLKCFG_D_39 0x13000000 ///< System clock /39
1266 #define SYSCTL_DSLPCLKCFG_D_40 0x13800000 ///< System clock /40
1267 #define SYSCTL_DSLPCLKCFG_D_41 0x14000000 ///< System clock /41
1268 #define SYSCTL_DSLPCLKCFG_D_42 0x14800000 ///< System clock /42
1269 #define SYSCTL_DSLPCLKCFG_D_43 0x15000000 ///< System clock /43
1270 #define SYSCTL_DSLPCLKCFG_D_44 0x15800000 ///< System clock /44
1271 #define SYSCTL_DSLPCLKCFG_D_45 0x16000000 ///< System clock /45
1272 #define SYSCTL_DSLPCLKCFG_D_46 0x16800000 ///< System clock /46
1273 #define SYSCTL_DSLPCLKCFG_D_47 0x17000000 ///< System clock /47
1274 #define SYSCTL_DSLPCLKCFG_D_48 0x17800000 ///< System clock /48
1275 #define SYSCTL_DSLPCLKCFG_D_49 0x18000000 ///< System clock /49
1276 #define SYSCTL_DSLPCLKCFG_D_50 0x18800000 ///< System clock /50
1277 #define SYSCTL_DSLPCLKCFG_D_51 0x19000000 ///< System clock /51
1278 #define SYSCTL_DSLPCLKCFG_D_52 0x19800000 ///< System clock /52
1279 #define SYSCTL_DSLPCLKCFG_D_53 0x1A000000 ///< System clock /53
1280 #define SYSCTL_DSLPCLKCFG_D_54 0x1A800000 ///< System clock /54
1281 #define SYSCTL_DSLPCLKCFG_D_55 0x1B000000 ///< System clock /55
1282 #define SYSCTL_DSLPCLKCFG_D_56 0x1B800000 ///< System clock /56
1283 #define SYSCTL_DSLPCLKCFG_D_57 0x1C000000 ///< System clock /57
1284 #define SYSCTL_DSLPCLKCFG_D_58 0x1C800000 ///< System clock /58
1285 #define SYSCTL_DSLPCLKCFG_D_59 0x1D000000 ///< System clock /59
1286 #define SYSCTL_DSLPCLKCFG_D_60 0x1D800000 ///< System clock /60
1287 #define SYSCTL_DSLPCLKCFG_D_61 0x1E000000 ///< System clock /61
1288 #define SYSCTL_DSLPCLKCFG_D_62 0x1E800000 ///< System clock /62
1289 #define SYSCTL_DSLPCLKCFG_D_63 0x1F000000 ///< System clock /63
1290 #define SYSCTL_DSLPCLKCFG_D_64 0x1F800000 ///< System clock /64
1291 #define SYSCTL_DSLPCLKCFG_O_M 0x00000070 ///< Clock Source
1292 #define SYSCTL_DSLPCLKCFG_O_IGN 0x00000000 ///< MOSC
1293 #define SYSCTL_DSLPCLKCFG_O_IO 0x00000010 ///< PIOSC
1294 #define SYSCTL_DSLPCLKCFG_O_30 0x00000030 ///< 30 kHz
1295 #define SYSCTL_DSLPCLKCFG_O_32 0x00000070 ///< 32.768 kHz
1296 #define SYSCTL_DSLPCLKCFG_IOSC 0x00000001 ///< IOSC Clock Source
1297 #define SYSCTL_DSLPCLKCFG_D_S 23
1301 * The following are defines for the bit fields in the SYSCTL_CLKVCLR register.
1304 #define SYSCTL_CLKVCLR_VERCLR 0x00000001 ///< Clock Verification Clear
1308 * The following are defines for the bit fields in the SYSCTL_PIOSCCAL
1312 #define SYSCTL_PIOSCCAL_UTEN 0x80000000 ///< Use User Trim Value
1313 #define SYSCTL_PIOSCCAL_CAL 0x00000200 ///< Start Calibration
1314 #define SYSCTL_PIOSCCAL_UPDATE 0x00000100 ///< Update Trim
1315 #define SYSCTL_PIOSCCAL_UT_M 0x0000007F ///< User Trim Value
1316 #define SYSCTL_PIOSCCAL_UT_S 0
1320 * The following are defines for the bit fields in the SYSCTL_PIOSCSTAT
1324 #define SYSCTL_PIOSCSTAT_DT_M 0x007F0000 ///< Default Trim Value
1325 #define SYSCTL_PIOSCSTAT_CR_M 0x00000300 ///< Calibration Result
1326 #define SYSCTL_PIOSCSTAT_CRNONE 0x00000000 ///< Calibration has not been
1328 #define SYSCTL_PIOSCSTAT_CRPASS 0x00000100 ///< The last calibration operation
1329 ///< completed to meet 1% accuracy
1330 #define SYSCTL_PIOSCSTAT_CRFAIL 0x00000200 ///< The last calibration operation
1331 ///< failed to meet 1% accuracy
1332 #define SYSCTL_PIOSCSTAT_CT_M 0x0000007F ///< Calibration Trim Value
1333 #define SYSCTL_PIOSCSTAT_DT_S 16
1334 #define SYSCTL_PIOSCSTAT_CT_S 0
1338 * The following are defines for the bit fields in the SYSCTL_LDOARST register.
1341 #define SYSCTL_LDOARST_LDOARST 0x00000001 ///< LDO Reset
1345 * The following are defines for the bit fields in the SYSCTL_I2SMCLKCFG
1349 #define SYSCTL_I2SMCLKCFG_RXEN 0x80000000 ///< RX Clock Enable
1350 #define SYSCTL_I2SMCLKCFG_RXI_M 0x3FF00000 ///< RX Clock Integer Input
1351 #define SYSCTL_I2SMCLKCFG_RXF_M 0x000F0000 ///< RX Clock Fractional Input
1352 #define SYSCTL_I2SMCLKCFG_TXEN 0x00008000 ///< TX Clock Enable
1353 #define SYSCTL_I2SMCLKCFG_TXI_M 0x00003FF0 ///< TX Clock Integer Input
1354 #define SYSCTL_I2SMCLKCFG_TXF_M 0x0000000F ///< TX Clock Fractional Input
1355 #define SYSCTL_I2SMCLKCFG_RXI_S 20
1356 #define SYSCTL_I2SMCLKCFG_RXF_S 16
1357 #define SYSCTL_I2SMCLKCFG_TXI_S 4
1358 #define SYSCTL_I2SMCLKCFG_TXF_S 0
1362 * The following are defines for the bit fields in the SYSCTL_DC9 register.
1365 #define SYSCTL_DC9_ADC1DC7 0x00800000 ///< ADC1 DC7 Present
1366 #define SYSCTL_DC9_ADC1DC6 0x00400000 ///< ADC1 DC6 Present
1367 #define SYSCTL_DC9_ADC1DC5 0x00200000 ///< ADC1 DC5 Present
1368 #define SYSCTL_DC9_ADC1DC4 0x00100000 ///< ADC1 DC4 Present
1369 #define SYSCTL_DC9_ADC1DC3 0x00080000 ///< ADC1 DC3 Present
1370 #define SYSCTL_DC9_ADC1DC2 0x00040000 ///< ADC1 DC2 Present
1371 #define SYSCTL_DC9_ADC1DC1 0x00020000 ///< ADC1 DC1 Present
1372 #define SYSCTL_DC9_ADC1DC0 0x00010000 ///< ADC1 DC0 Present
1373 #define SYSCTL_DC9_ADC0DC7 0x00000080 ///< ADC0 DC7 Present
1374 #define SYSCTL_DC9_ADC0DC6 0x00000040 ///< ADC0 DC6 Present
1375 #define SYSCTL_DC9_ADC0DC5 0x00000020 ///< ADC0 DC5 Present
1376 #define SYSCTL_DC9_ADC0DC4 0x00000010 ///< ADC0 DC4 Present
1377 #define SYSCTL_DC9_ADC0DC3 0x00000008 ///< ADC0 DC3 Present
1378 #define SYSCTL_DC9_ADC0DC2 0x00000004 ///< ADC0 DC2 Present
1379 #define SYSCTL_DC9_ADC0DC1 0x00000002 ///< ADC0 DC1 Present
1380 #define SYSCTL_DC9_ADC0DC0 0x00000001 ///< ADC0 DC0 Present
1384 * The following are defines for the bit fields in the SYSCTL_NVMSTAT register.
1387 #define SYSCTL_NVMSTAT_TPSW 0x00000010 ///< Third Party Software Present
1388 #define SYSCTL_NVMSTAT_FWB 0x00000001 ///< 32 Word Flash Write Buffer
1393 * The following are deprecated defines for the System Control register
1397 #define SYSCTL_USER0 0x400FE1E0 ///< NV User Register 0
1398 #define SYSCTL_USER1 0x400FE1E4 ///< NV User Register 1
1402 * The following are deprecated defines for the bit fields in the SYSCTL_DID0
1406 #define SYSCTL_DID0_VER_MASK 0x70000000 ///< DID0 version mask
1407 #define SYSCTL_DID0_CLASS_MASK 0x00FF0000 ///< Device Class
1408 #define SYSCTL_DID0_MAJ_MASK 0x0000FF00 ///< Major revision mask
1409 #define SYSCTL_DID0_MAJ_A 0x00000000 ///< Major revision A
1410 #define SYSCTL_DID0_MAJ_B 0x00000100 ///< Major revision B
1411 #define SYSCTL_DID0_MAJ_C 0x00000200 ///< Major revision C
1412 #define SYSCTL_DID0_MIN_MASK 0x000000FF ///< Minor revision mask
1416 * The following are deprecated defines for the bit fields in the SYSCTL_DID1
1420 #define SYSCTL_DID1_VER_MASK 0xF0000000 ///< Register version mask
1421 #define SYSCTL_DID1_FAM_MASK 0x0F000000 ///< Family mask
1422 #define SYSCTL_DID1_FAM_S 0x00000000 ///< Stellaris family
1423 #define SYSCTL_DID1_PRTNO_MASK 0x00FF0000 ///< Part number mask
1424 #define SYSCTL_DID1_PINCNT_MASK 0x0000E000 ///< Pin count
1425 #define SYSCTL_DID1_TEMP_MASK 0x000000E0 ///< Temperature range mask
1426 #define SYSCTL_DID1_PKG_MASK 0x00000018 ///< Package mask
1427 #define SYSCTL_DID1_PKG_48QFP 0x00000008 ///< QFP package
1428 #define SYSCTL_DID1_QUAL_MASK 0x00000003 ///< Qualification status mask
1429 #define SYSCTL_DID1_PKG_28SOIC 0x00000000 ///< SOIC package
1430 #define SYSCTL_DID1_PRTNO_SHIFT 16
1434 * The following are deprecated defines for the bit fields in the SYSCTL_DC0
1438 #define SYSCTL_DC0_SRAMSZ_MASK 0xFFFF0000 ///< SRAM size mask
1439 #define SYSCTL_DC0_FLASHSZ_MASK 0x0000FFFF ///< Flash size mask
1443 * The following are deprecated defines for the bit fields in the SYSCTL_DC1
1447 #define SYSCTL_DC1_ADC 0x00010000 ///< ADC Module Present
1448 #define SYSCTL_DC1_SYSDIV_MASK 0x0000F000 ///< Minimum system divider mask
1449 #define SYSCTL_DC1_ADCSPD_MASK 0x00000F00 ///< ADC speed mask
1450 #define SYSCTL_DC1_WDOG 0x00000008 ///< Watchdog present
1451 #define SYSCTL_DC1_WDT 0x00000008 ///< Watchdog Timer Present
1455 * The following are deprecated defines for the bit fields in the SYSCTL_DC2
1459 #define SYSCTL_DC2_I2C 0x00001000 ///< I2C present
1460 #define SYSCTL_DC2_QEI 0x00000100 ///< QEI present
1461 #define SYSCTL_DC2_SSI 0x00000010 ///< SSI present
1465 * The following are deprecated defines for the bit fields in the SYSCTL_DC3
1469 #define SYSCTL_DC3_ADC7 0x00800000 ///< ADC7 Pin Present
1470 #define SYSCTL_DC3_ADC6 0x00400000 ///< ADC6 Pin Present
1471 #define SYSCTL_DC3_ADC5 0x00200000 ///< ADC5 Pin Present
1472 #define SYSCTL_DC3_ADC4 0x00100000 ///< ADC4 Pin Present
1473 #define SYSCTL_DC3_ADC3 0x00080000 ///< ADC3 Pin Present
1474 #define SYSCTL_DC3_ADC2 0x00040000 ///< ADC2 Pin Present
1475 #define SYSCTL_DC3_ADC1 0x00020000 ///< ADC1 Pin Present
1476 #define SYSCTL_DC3_ADC0 0x00010000 ///< ADC0 Pin Present
1477 #define SYSCTL_DC3_MC_FAULT0 0x00008000 ///< MC0 fault pin present
1481 * The following are deprecated defines for the bit fields in the
1482 * SYSCTL_PBORCTL register.
1485 #define SYSCTL_PBORCTL_BOR_MASK 0x0000FFFC ///< BOR wait timer
1486 #define SYSCTL_PBORCTL_BOR_SH 2
1490 * The following are deprecated defines for the bit fields in the
1491 * SYSCTL_LDOPCTL register.
1494 #define SYSCTL_LDOPCTL_MASK 0x0000003F ///< Voltage adjust mask
1498 * The following are deprecated defines for the bit fields in the SYSCTL_SRCR0
1502 #define SYSCTL_SRCR0_ADC 0x00010000 ///< ADC0 Reset Control
1503 #define SYSCTL_SRCR0_WDT 0x00000008 ///< WDT Reset Control
1507 * The following are deprecated defines for the bit fields in the SYSCTL_RESC
1511 #define SYSCTL_RESC_WDOG 0x00000008 ///< Watchdog reset
1512 #define SYSCTL_RESC_WDT 0x00000008 ///< Watchdog Timer Reset
1516 * The following are deprecated defines for the bit fields in the SYSCTL_RCC
1520 #define SYSCTL_RCC_SYSDIV_MASK 0x07800000 ///< System clock divider
1521 #define SYSCTL_RCC_USE_SYSDIV 0x00400000 ///< Use sytem clock divider
1522 #define SYSCTL_RCC_USE_PWMDIV 0x00100000 ///< Use PWM clock divider
1523 #define SYSCTL_RCC_PWMDIV_MASK 0x000E0000 ///< PWM clock divider
1524 #define SYSCTL_RCC_OE 0x00001000 ///< PLL output enable
1525 #define SYSCTL_RCC_XTAL_3_68MHz 0x00000140 ///< Using a 3.6864 MHz crystal
1526 #define SYSCTL_RCC_XTAL_4MHz 0x00000180 ///< Using a 4 MHz crystal
1527 #define SYSCTL_RCC_XTAL_MASK 0x000003C0 ///< Crystal attached to main osc
1528 #define SYSCTL_RCC_OSCSRC_MASK 0x00000030 ///< Oscillator input select
1529 #define SYSCTL_RCC_SYSDIV_SHIFT 23 ///< Shift to the SYSDIV field
1530 #define SYSCTL_RCC_PWMDIV_SHIFT 17 ///< Shift to the PWMDIV field
1531 #define SYSCTL_RCC_XTAL_SHIFT 6 ///< Shift to the XTAL field
1532 #define SYSCTL_RCC_OSCSRC_SHIFT 4 ///< Shift to the OSCSRC field
1536 * The following are deprecated defines for the bit fields in the SYSCTL_PLLCFG
1540 #define SYSCTL_PLLCFG_OD_MASK 0x0000C000 ///< Output divider
1541 #define SYSCTL_PLLCFG_F_MASK 0x00003FE0 ///< PLL multiplier
1542 #define SYSCTL_PLLCFG_R_MASK 0x0000001F ///< Input predivider
1543 #define SYSCTL_PLLCFG_F_SHIFT 5
1544 #define SYSCTL_PLLCFG_R_SHIFT 0
1548 * The following are deprecated defines for the bit fields in the SYSCTL_RCC2
1552 #define SYSCTL_RCC2_USEFRACT 0x40000000 ///< Use fractional divider
1553 #define SYSCTL_RCC2_SYSDIV2_MSK 0x1F800000 ///< System clock divider
1554 #define SYSCTL_RCC2_FRACT 0x00400000 ///< Fractional divide
1555 #define SYSCTL_RCC2_OSCSRC2_MSK 0x00000070 ///< Oscillator input select
1559 * The following are deprecated defines for the bit fields in the SYSCTL_RCGC0
1563 #define SYSCTL_RCGC0_ADC 0x00010000 ///< ADC0 Clock Gating Control
1564 #define SYSCTL_RCGC0_WDT 0x00000008 ///< WDT Clock Gating Control
1568 * The following are deprecated defines for the bit fields in the SYSCTL_SCGC0
1572 #define SYSCTL_SCGC0_ADC 0x00010000 ///< ADC0 Clock Gating Control
1573 #define SYSCTL_SCGC0_WDT 0x00000008 ///< WDT Clock Gating Control
1577 * The following are deprecated defines for the bit fields in the SYSCTL_DCGC0
1581 #define SYSCTL_DCGC0_ADC 0x00010000 ///< ADC0 Clock Gating Control
1582 #define SYSCTL_DCGC0_WDT 0x00000008 ///< WDT Clock Gating Control
1586 * The following are deprecated defines for the bit fields in the
1587 * SYSCTL_DSLPCLKCFG register.
1590 #define SYSCTL_DSLPCLKCFG_D_MSK 0x1F800000 ///< Deep sleep system clock override
1591 #define SYSCTL_DSLPCLKCFG_O_MSK 0x00000070 ///< Deep sleep oscillator override
1595 * The following are deprecated defines for the bit fields in the
1596 * SYSCTL_CLKVCLR register.
1599 #define SYSCTL_CLKVCLR_CLR 0x00000001 ///< Clear clock verification fault
1603 * The following are deprecated defines for the bit fields in the
1604 * SYSCTL_LDOARST register.
1607 #define SYSCTL_LDOARST_ARST 0x00000001 ///< Allow LDO to reset device
1611 * The following are deprecated defines for the bit fields in the SYSCTL_SRCR0,
1612 * SYSCTL_RCGC0, SYSCTL_SCGC0, and SYSCTL_DCGC0 registers.
1615 #define SYSCTL_SET0_CAN2 0x04000000 ///< CAN 2 module
1616 #define SYSCTL_SET0_CAN1 0x02000000 ///< CAN 1 module
1617 #define SYSCTL_SET0_CAN0 0x01000000 ///< CAN 0 module
1618 #define SYSCTL_SET0_PWM 0x00100000 ///< PWM module
1619 #define SYSCTL_SET0_ADC 0x00010000 ///< ADC module
1620 #define SYSCTL_SET0_ADCSPD_MASK 0x00000F00 ///< ADC speed mask
1621 #define SYSCTL_SET0_ADCSPD_125K 0x00000000 ///< 125Ksps ADC
1622 #define SYSCTL_SET0_ADCSPD_250K 0x00000100 ///< 250Ksps ADC
1623 #define SYSCTL_SET0_ADCSPD_500K 0x00000200 ///< 500Ksps ADC
1624 #define SYSCTL_SET0_ADCSPD_1M 0x00000300 ///< 1Msps ADC
1625 #define SYSCTL_SET0_HIB 0x00000040 ///< Hibernation module
1626 #define SYSCTL_SET0_WDOG 0x00000008 ///< Watchdog module
1630 * The following are deprecated defines for the bit fields in the SYSCTL_SRCR1,
1631 * SYSCTL_RCGC1, SYSCTL_SCGC1, and SYSCTL_DCGC1 registers.
1634 #define SYSCTL_SET1_COMP2 0x04000000 ///< Analog comparator module 2
1635 #define SYSCTL_SET1_COMP1 0x02000000 ///< Analog comparator module 1
1636 #define SYSCTL_SET1_COMP0 0x01000000 ///< Analog comparator module 0
1637 #define SYSCTL_SET1_TIMER3 0x00080000 ///< Timer module 3
1638 #define SYSCTL_SET1_TIMER2 0x00040000 ///< Timer module 2
1639 #define SYSCTL_SET1_TIMER1 0x00020000 ///< Timer module 1
1640 #define SYSCTL_SET1_TIMER0 0x00010000 ///< Timer module 0
1641 #define SYSCTL_SET1_I2C1 0x00002000 ///< I2C module 1
1642 #define SYSCTL_SET1_I2C0 0x00001000 ///< I2C module 0
1643 #define SYSCTL_SET1_I2C 0x00001000 ///< I2C module
1644 #define SYSCTL_SET1_QEI1 0x00000200 ///< QEI module 1
1645 #define SYSCTL_SET1_QEI 0x00000100 ///< QEI module
1646 #define SYSCTL_SET1_QEI0 0x00000100 ///< QEI module 0
1647 #define SYSCTL_SET1_SSI1 0x00000020 ///< SSI module 1
1648 #define SYSCTL_SET1_SSI0 0x00000010 ///< SSI module 0
1649 #define SYSCTL_SET1_SSI 0x00000010 ///< SSI module
1650 #define SYSCTL_SET1_UART2 0x00000004 ///< UART module 2
1651 #define SYSCTL_SET1_UART1 0x00000002 ///< UART module 1
1652 #define SYSCTL_SET1_UART0 0x00000001 ///< UART module 0
1656 * The following are deprecated defines for the bit fields in the SYSCTL_SRCR2,
1657 * SYSCTL_RCGC2, SYSCTL_SCGC2, and SYSCTL_DCGC2 registers.
1660 #define SYSCTL_SET2_ETH 0x50000000 ///< ETH module
1661 #define SYSCTL_SET2_GPIOH 0x00000080 ///< GPIO H module
1662 #define SYSCTL_SET2_GPIOG 0x00000040 ///< GPIO G module
1663 #define SYSCTL_SET2_GPIOF 0x00000020 ///< GPIO F module
1664 #define SYSCTL_SET2_GPIOE 0x00000010 ///< GPIO E module
1665 #define SYSCTL_SET2_GPIOD 0x00000008 ///< GPIO D module
1666 #define SYSCTL_SET2_GPIOC 0x00000004 ///< GPIO C module
1667 #define SYSCTL_SET2_GPIOB 0x00000002 ///< GPIO B module
1668 #define SYSCTL_SET2_GPIOA 0x00000001 ///< GIPO A module
1672 * The following are deprecated defines for the bit fields in the SYSCTL_RIS,
1673 * SYSCTL_IMC, and SYSCTL_IMS registers.
1676 #define SYSCTL_INT_PLL_LOCK 0x00000040 ///< PLL lock interrupt
1677 #define SYSCTL_INT_CUR_LIMIT 0x00000020 ///< Current limit interrupt
1678 #define SYSCTL_INT_IOSC_FAIL 0x00000010 ///< Internal oscillator failure int
1679 #define SYSCTL_INT_MOSC_FAIL 0x00000008 ///< Main oscillator failure int
1680 #define SYSCTL_INT_POR 0x00000004 ///< Power on reset interrupt
1681 #define SYSCTL_INT_BOR 0x00000002 ///< Brown out interrupt
1682 #define SYSCTL_INT_PLL_FAIL 0x00000001 ///< PLL failure interrupt
1685 #endif /* LM3S_SYSCTL_H */