sysctl.h
Go to the documentation of this file.
1 //*****************************************************************************
2 //
3 // sysctl.h - Prototypes for the system control driver.
4 //
5 // Copyright (c) 2005-2017 Texas Instruments Incorporated. All rights reserved.
6 // Software License Agreement
7 //
8 // Redistribution and use in source and binary forms, with or without
9 // modification, are permitted provided that the following conditions
10 // are met:
11 //
12 // Redistributions of source code must retain the above copyright
13 // notice, this list of conditions and the following disclaimer.
14 //
15 // Redistributions in binary form must reproduce the above copyright
16 // notice, this list of conditions and the following disclaimer in the
17 // documentation and/or other materials provided with the
18 // distribution.
19 //
20 // Neither the name of Texas Instruments Incorporated nor the names of
21 // its contributors may be used to endorse or promote products derived
22 // from this software without specific prior written permission.
23 //
24 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
27 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
28 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
30 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
31 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
32 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 //
36 //*****************************************************************************
37 
38 #ifndef __DRIVERLIB_SYSCTL_H__
39 #define __DRIVERLIB_SYSCTL_H__
40 
41 #include <stdint.h>
42 #include <stdbool.h>
43 
44 //*****************************************************************************
45 //
46 // If building with a C++ compiler, make all of the definitions in this header
47 // have a C binding.
48 //
49 //*****************************************************************************
50 #ifdef __cplusplus
51 extern "C"
52 {
53 #endif
54 
55 //*****************************************************************************
56 //
57 // The following are values that can be passed to the
58 // SysCtlPeripheralPresent(), SysCtlPeripheralEnable(),
59 // SysCtlPeripheralDisable(), and SysCtlPeripheralReset() APIs as the
60 // ui32Peripheral parameter. The peripherals in the fourth group (upper nibble
61 // is 3) can only be used with the SysCtlPeripheralPresent() API.
62 //
63 //*****************************************************************************
64 #define SYSCTL_PERIPH_ADC0 0xf0003800 // ADC 0
65 #define SYSCTL_PERIPH_ADC1 0xf0003801 // ADC 1
66 #define SYSCTL_PERIPH_CAN0 0xf0003400 // CAN 0
67 #define SYSCTL_PERIPH_CAN1 0xf0003401 // CAN 1
68 #define SYSCTL_PERIPH_COMP0 0xf0003c00 // Analog Comparator Module 0
69 #define SYSCTL_PERIPH_EMAC0 0xf0009c00 // Ethernet MAC0
70 #define SYSCTL_PERIPH_EPHY0 0xf0003000 // Ethernet PHY0
71 #define SYSCTL_PERIPH_EPI0 0xf0001000 // EPI0
72 #define SYSCTL_PERIPH_GPIOA 0xf0000800 // GPIO A
73 #define SYSCTL_PERIPH_GPIOB 0xf0000801 // GPIO B
74 #define SYSCTL_PERIPH_GPIOC 0xf0000802 // GPIO C
75 #define SYSCTL_PERIPH_GPIOD 0xf0000803 // GPIO D
76 #define SYSCTL_PERIPH_GPIOE 0xf0000804 // GPIO E
77 #define SYSCTL_PERIPH_GPIOF 0xf0000805 // GPIO F
78 #define SYSCTL_PERIPH_GPIOG 0xf0000806 // GPIO G
79 #define SYSCTL_PERIPH_GPIOH 0xf0000807 // GPIO H
80 #define SYSCTL_PERIPH_GPIOJ 0xf0000808 // GPIO J
81 #define SYSCTL_PERIPH_HIBERNATE 0xf0001400 // Hibernation module
82 #define SYSCTL_PERIPH_CCM0 0xf0007400 // CCM 0
83 #define SYSCTL_PERIPH_EEPROM0 0xf0005800 // EEPROM 0
84 #define SYSCTL_PERIPH_GPIOK 0xf0000809 // GPIO K
85 #define SYSCTL_PERIPH_GPIOL 0xf000080a // GPIO L
86 #define SYSCTL_PERIPH_GPIOM 0xf000080b // GPIO M
87 #define SYSCTL_PERIPH_GPION 0xf000080c // GPIO N
88 #define SYSCTL_PERIPH_GPIOP 0xf000080d // GPIO P
89 #define SYSCTL_PERIPH_GPIOQ 0xf000080e // GPIO Q
90 #define SYSCTL_PERIPH_GPIOR 0xf000080f // GPIO R
91 #define SYSCTL_PERIPH_GPIOS 0xf0000810 // GPIO S
92 #define SYSCTL_PERIPH_GPIOT 0xf0000811 // GPIO T
93 #define SYSCTL_PERIPH_I2C0 0xf0002000 // I2C 0
94 #define SYSCTL_PERIPH_I2C1 0xf0002001 // I2C 1
95 #define SYSCTL_PERIPH_I2C2 0xf0002002 // I2C 2
96 #define SYSCTL_PERIPH_I2C3 0xf0002003 // I2C 3
97 #define SYSCTL_PERIPH_I2C4 0xf0002004 // I2C 4
98 #define SYSCTL_PERIPH_I2C5 0xf0002005 // I2C 5
99 #define SYSCTL_PERIPH_I2C6 0xf0002006 // I2C 6
100 #define SYSCTL_PERIPH_I2C7 0xf0002007 // I2C 7
101 #define SYSCTL_PERIPH_I2C8 0xf0002008 // I2C 8
102 #define SYSCTL_PERIPH_I2C9 0xf0002009 // I2C 9
103 #define SYSCTL_PERIPH_LCD0 0xf0009000 // LCD 0
104 #define SYSCTL_PERIPH_ONEWIRE0 0xf0009800 // One Wire 0
105 #define SYSCTL_PERIPH_PWM0 0xf0004000 // PWM 0
106 #define SYSCTL_PERIPH_PWM1 0xf0004001 // PWM 1
107 #define SYSCTL_PERIPH_QEI0 0xf0004400 // QEI 0
108 #define SYSCTL_PERIPH_QEI1 0xf0004401 // QEI 1
109 #define SYSCTL_PERIPH_SSI0 0xf0001c00 // SSI 0
110 #define SYSCTL_PERIPH_SSI1 0xf0001c01 // SSI 1
111 #define SYSCTL_PERIPH_SSI2 0xf0001c02 // SSI 2
112 #define SYSCTL_PERIPH_SSI3 0xf0001c03 // SSI 3
113 #define SYSCTL_PERIPH_TIMER0 0xf0000400 // Timer 0
114 #define SYSCTL_PERIPH_TIMER1 0xf0000401 // Timer 1
115 #define SYSCTL_PERIPH_TIMER2 0xf0000402 // Timer 2
116 #define SYSCTL_PERIPH_TIMER3 0xf0000403 // Timer 3
117 #define SYSCTL_PERIPH_TIMER4 0xf0000404 // Timer 4
118 #define SYSCTL_PERIPH_TIMER5 0xf0000405 // Timer 5
119 #define SYSCTL_PERIPH_TIMER6 0xf0000406 // Timer 6
120 #define SYSCTL_PERIPH_TIMER7 0xf0000407 // Timer 7
121 #define SYSCTL_PERIPH_UART0 0xf0001800 // UART 0
122 #define SYSCTL_PERIPH_UART1 0xf0001801 // UART 1
123 #define SYSCTL_PERIPH_UART2 0xf0001802 // UART 2
124 #define SYSCTL_PERIPH_UART3 0xf0001803 // UART 3
125 #define SYSCTL_PERIPH_UART4 0xf0001804 // UART 4
126 #define SYSCTL_PERIPH_UART5 0xf0001805 // UART 5
127 #define SYSCTL_PERIPH_UART6 0xf0001806 // UART 6
128 #define SYSCTL_PERIPH_UART7 0xf0001807 // UART 7
129 #define SYSCTL_PERIPH_UDMA 0xf0000c00 // uDMA
130 #define SYSCTL_PERIPH_USB0 0xf0002800 // USB 0
131 #define SYSCTL_PERIPH_WDOG0 0xf0000000 // Watchdog 0
132 #define SYSCTL_PERIPH_WDOG1 0xf0000001 // Watchdog 1
133 
134 //*****************************************************************************
135 //
136 // The following are values that can be passed to the SysCtlLDODeepSleepSet()
137 // API as the ui32Voltage value, or returned by the SysCtlLDODeepSleepGet() API.
138 //
139 //*****************************************************************************
140 #define SYSCTL_LDO_0_90V 0x80000012 // LDO output of 0.90V
141 #define SYSCTL_LDO_0_95V 0x80000013 // LDO output of 0.95V
142 #define SYSCTL_LDO_1_00V 0x80000014 // LDO output of 1.00V
143 #define SYSCTL_LDO_1_05V 0x80000015 // LDO output of 1.05V
144 #define SYSCTL_LDO_1_10V 0x80000016 // LDO output of 1.10V
145 #define SYSCTL_LDO_1_15V 0x80000017 // LDO output of 1.15V
146 #define SYSCTL_LDO_1_20V 0x80000018 // LDO output of 1.20V
147 
148 //*****************************************************************************
149 //
150 // The following are values that can be passed to the SysCtlIntEnable(),
151 // SysCtlIntDisable(), and SysCtlIntClear() APIs, or returned in the bit mask
152 // by the SysCtlIntStatus() API.
153 //
154 //*****************************************************************************
155 #define SYSCTL_INT_BOR0 0x00000800 // VDD under BOR0
156 #define SYSCTL_INT_VDDA_OK 0x00000400 // VDDA Power OK
157 #define SYSCTL_INT_MOSC_PUP 0x00000100 // MOSC power-up interrupt
158 #define SYSCTL_INT_USBPLL_LOCK 0x00000080 // USB PLL lock interrupt
159 #define SYSCTL_INT_PLL_LOCK 0x00000040 // PLL lock interrupt
160 #define SYSCTL_INT_MOSC_FAIL 0x00000008 // Main oscillator failure int
161 #define SYSCTL_INT_BOR1 0x00000002 // VDD under BOR1
162 #define SYSCTL_INT_BOR 0x00000002 // Brown out interrupt
163 
164 //*****************************************************************************
165 //
166 // The following are values that can be passed to the SysCtlResetCauseClear()
167 // API or returned by the SysCtlResetCauseGet() API.
168 //
169 //*****************************************************************************
170 #define SYSCTL_CAUSE_HSRVREQ 0x00001000 // Hardware System Service Request
171 #define SYSCTL_CAUSE_HIB 0x00000040 // Hibernate reset
172 #define SYSCTL_CAUSE_WDOG1 0x00000020 // Watchdog 1 reset
173 #define SYSCTL_CAUSE_SW 0x00000010 // Software reset
174 #define SYSCTL_CAUSE_WDOG0 0x00000008 // Watchdog 0 reset
175 #define SYSCTL_CAUSE_BOR 0x00000004 // Brown-out reset
176 #define SYSCTL_CAUSE_POR 0x00000002 // Power on reset
177 #define SYSCTL_CAUSE_EXT 0x00000001 // External reset
178 
179 //*****************************************************************************
180 //
181 // The following are values that can be passed to the SysCtlBrownOutConfigSet()
182 // API as the ui32Config parameter.
183 //
184 //*****************************************************************************
185 #define SYSCTL_BOR_RESET 0x00000002 // Reset instead of interrupting
186 #define SYSCTL_BOR_RESAMPLE 0x00000001 // Resample BOR before asserting
187 
188 //*****************************************************************************
189 //
190 // The following are values that can be passed to the SysCtlClockFreqSet() API as
191 // the ui32Config parameter.
192 //
193 //*****************************************************************************
194 #define SYSCTL_CFG_VCO_480 0xF1000000 // VCO is 480 MHz
195 #define SYSCTL_CFG_VCO_320 0xF0000000 // VCO is 320 MHz
196 #define SYSCTL_USE_PLL 0x00000000 // System clock is the PLL clock
197 #define SYSCTL_USE_OSC 0x00003800 // System clock is the osc clock
198 #define SYSCTL_XTAL_5MHZ 0x00000000 // External crystal is 5MHz
199 #define SYSCTL_XTAL_6MHZ 0x00000040 // External crystal is 6MHz
200 #define SYSCTL_XTAL_8MHZ 0x00000080 // External crystal is 8MHz
201 #define SYSCTL_XTAL_10MHZ 0x000000C0 // External crystal is 10 MHz
202 #define SYSCTL_XTAL_12MHZ 0x00000100 // External crystal is 12 MHz
203 #define SYSCTL_XTAL_16MHZ 0x00000140 // External crystal is 16 MHz
204 #define SYSCTL_XTAL_18MHZ 0x00000180 // External crystal is 18.0 MHz
205 #define SYSCTL_XTAL_20MHZ 0x000001C0 // External crystal is 20.0 MHz
206 #define SYSCTL_XTAL_24MHZ 0x00000200 // External crystal is 24.0 MHz
207 #define SYSCTL_XTAL_25MHZ 0x00000240 // External crystal is 25.0 MHz
208 #define SYSCTL_OSC_MAIN 0x00000000 // Osc source is main osc
209 #define SYSCTL_OSC_INT 0x00000010 // Osc source is int. osc
210 #define SYSCTL_OSC_INT30 0x00000030 // Osc source is int. 30 KHz
211 #define SYSCTL_OSC_EXT32 0x80000038 // Osc source is ext. 32 KHz
212 
213 //*****************************************************************************
214 //
215 // The following are values that can be passed to the
216 // SysCtlDeepSleepClockConfigSet() API as the ui32Config parameter.
217 //
218 //*****************************************************************************
219 #define SYSCTL_DSLP_OSC_MAIN 0x00000000 // Osc source is main osc
220 #define SYSCTL_DSLP_OSC_INT 0x00000010 // Osc source is int. osc
221 #define SYSCTL_DSLP_OSC_INT30 0x00000030 // Osc source is int. 30 KHz
222 #define SYSCTL_DSLP_OSC_EXT32 0x00000070 // Osc source is ext. 32 KHz
223 #define SYSCTL_DSLP_PIOSC_PD 0x00000002 // Power down PIOSC in deep-sleep
224 #define SYSCTL_DSLP_MOSC_DPD 0x40000000 // Power down MOSC in deep-sleep
225 
226 //*****************************************************************************
227 //
228 // The following are values that can be passed to the SysCtlPIOSCCalibrate()
229 // API as the ui32Type parameter.
230 //
231 //*****************************************************************************
232 #define SYSCTL_PIOSC_CAL_AUTO 0x00000200 // Automatic calibration
233 #define SYSCTL_PIOSC_CAL_FACT 0x00000100 // Factory calibration
234 #define SYSCTL_PIOSC_CAL_USER 0x80000100 // User-supplied calibration
235 
236 //*****************************************************************************
237 //
238 // The following are values that can be passed to the SysCtlMOSCConfigSet() API
239 // as the ui32Config parameter.
240 //
241 //*****************************************************************************
242 #define SYSCTL_MOSC_VALIDATE 0x00000001 // Enable MOSC validation
243 #define SYSCTL_MOSC_INTERRUPT 0x00000002 // Generate interrupt on MOSC fail
244 #define SYSCTL_MOSC_NO_XTAL 0x00000004 // No crystal is attached to MOSC
245 #define SYSCTL_MOSC_PWR_DIS 0x00000008 // Power down the MOSC.
246 #define SYSCTL_MOSC_LOWFREQ 0x00000000 // MOSC is less than 10MHz
247 #define SYSCTL_MOSC_HIGHFREQ 0x00000010 // MOSC is greater than 10MHz
248 #define SYSCTL_MOSC_SESRC 0x00000020 // Singled ended oscillator source.
249 
250 //*****************************************************************************
251 //
252 // The following are values that can be passed to the SysCtlSleepPowerSet() and
253 // SysCtlDeepSleepPowerSet() APIs as the ui32Config parameter.
254 //
255 //*****************************************************************************
256 #define SYSCTL_LDO_SLEEP 0x00000200 // LDO in sleep mode
257  // (Deep Sleep Only)
258 #define SYSCTL_TEMP_LOW_POWER 0x00000100 // Temp sensor in low power mode
259  // (Deep Sleep Only)
260 #define SYSCTL_FLASH_NORMAL 0x00000000 // Flash in normal mode
261 #define SYSCTL_FLASH_LOW_POWER 0x00000020 // Flash in low power mode
262 #define SYSCTL_SRAM_NORMAL 0x00000000 // SRAM in normal mode
263 #define SYSCTL_SRAM_STANDBY 0x00000001 // SRAM in standby mode
264 #define SYSCTL_SRAM_LOW_POWER 0x00000003 // SRAM in low power mode
265 
266 //*****************************************************************************
267 //
268 // Defines for the SysCtlResetBehaviorSet() and SysCtlResetBehaviorGet() APIs.
269 //
270 //*****************************************************************************
271 #define SYSCTL_ONRST_WDOG0_POR 0x00000030
272 #define SYSCTL_ONRST_WDOG0_SYS 0x00000020
273 #define SYSCTL_ONRST_WDOG1_POR 0x000000C0
274 #define SYSCTL_ONRST_WDOG1_SYS 0x00000080
275 #define SYSCTL_ONRST_BOR_POR 0x0000000C
276 #define SYSCTL_ONRST_BOR_SYS 0x00000008
277 #define SYSCTL_ONRST_EXT_POR 0x00000003
278 #define SYSCTL_ONRST_EXT_SYS 0x00000002
279 
280 //*****************************************************************************
281 //
282 // Values used with the SysCtlVoltageEventConfig() API.
283 //
284 //*****************************************************************************
285 #define SYSCTL_VEVENT_VDDABO_NONE \
286  0x00000000
287 #define SYSCTL_VEVENT_VDDABO_INT \
288  0x00000100
289 #define SYSCTL_VEVENT_VDDABO_NMI \
290  0x00000200
291 #define SYSCTL_VEVENT_VDDABO_RST \
292  0x00000300
293 #define SYSCTL_VEVENT_VDDBO_NONE \
294  0x00000000
295 #define SYSCTL_VEVENT_VDDBO_INT 0x00000001
296 #define SYSCTL_VEVENT_VDDBO_NMI 0x00000002
297 #define SYSCTL_VEVENT_VDDBO_RST 0x00000003
298 
299 //*****************************************************************************
300 //
301 // Values used with the SysCtlVoltageEventStatus() and
302 // SysCtlVoltageEventClear() APIs.
303 //
304 //*****************************************************************************
305 #define SYSCTL_VESTAT_VDDBOR 0x00000040
306 #define SYSCTL_VESTAT_VDDABOR 0x00000010
307 
308 //*****************************************************************************
309 //
310 // Values used with the SysCtlNMIStatus() API.
311 //
312 //*****************************************************************************
313 #define SYSCTL_NMI_MOSCFAIL 0x00010000
314 #define SYSCTL_NMI_TAMPER 0x00000200
315 #define SYSCTL_NMI_WDT1 0x00000020
316 #define SYSCTL_NMI_WDT0 0x00000008
317 #define SYSCTL_NMI_POWER 0x00000004
318 #define SYSCTL_NMI_EXTERNAL 0x00000001
319 
320 //*****************************************************************************
321 //
322 // The defines for the SysCtlClockOutConfig() API.
323 //
324 //*****************************************************************************
325 #define SYSCTL_CLKOUT_EN 0x80000000
326 #define SYSCTL_CLKOUT_DIS 0x00000000
327 #define SYSCTL_CLKOUT_SYSCLK 0x00000000
328 #define SYSCTL_CLKOUT_PIOSC 0x00010000
329 #define SYSCTL_CLKOUT_MOSC 0x00020000
330 
331 //*****************************************************************************
332 //
333 // The following defines are used with the SysCtlAltClkConfig() function.
334 //
335 //*****************************************************************************
336 #define SYSCTL_ALTCLK_PIOSC 0x00000000
337 #define SYSCTL_ALTCLK_RTCOSC 0x00000003
338 #define SYSCTL_ALTCLK_LFIOSC 0x00000004
339 
340 //*****************************************************************************
341 //
342 // Prototypes for the APIs.
343 //
344 //*****************************************************************************
345 extern uint32_t SysCtlSRAMSizeGet(void);
346 extern uint32_t SysCtlFlashSizeGet(void);
347 extern uint32_t SysCtlFlashSectorSizeGet(void);
348 extern bool SysCtlPeripheralPresent(uint32_t ui32Peripheral);
349 extern bool SysCtlPeripheralReady(uint32_t ui32Peripheral);
350 extern void SysCtlPeripheralPowerOn(uint32_t ui32Peripheral);
351 extern void SysCtlPeripheralPowerOff(uint32_t ui32Peripheral);
352 extern void SysCtlPeripheralReset(uint32_t ui32Peripheral);
353 extern void SysCtlPeripheralEnable(uint32_t ui32Peripheral);
354 extern void SysCtlPeripheralDisable(uint32_t ui32Peripheral);
355 extern void SysCtlPeripheralSleepEnable(uint32_t ui32Peripheral);
356 extern void SysCtlPeripheralSleepDisable(uint32_t ui32Peripheral);
357 extern void SysCtlPeripheralDeepSleepEnable(uint32_t ui32Peripheral);
358 extern void SysCtlPeripheralDeepSleepDisable(uint32_t ui32Peripheral);
359 extern void SysCtlPeripheralClockGating(bool bEnable);
360 extern void SysCtlIntRegister(void (*pfnHandler)(void));
361 extern void SysCtlIntUnregister(void);
362 extern void SysCtlIntEnable(uint32_t ui32Ints);
363 extern void SysCtlIntDisable(uint32_t ui32Ints);
364 extern void SysCtlIntClear(uint32_t ui32Ints);
365 extern uint32_t SysCtlIntStatus(bool bMasked);
366 extern void SysCtlLDODeepSleepSet(uint32_t ui32Voltage);
367 extern uint32_t SysCtlLDODeepSleepGet(void);
368 extern void SysCtlSleepPowerSet(uint32_t ui32Config);
369 extern void SysCtlDeepSleepPowerSet(uint32_t ui32Config);
370 extern void SysCtlReset(void);
371 extern void SysCtlSleep(void);
372 extern void SysCtlDeepSleep(void);
373 extern uint32_t SysCtlResetCauseGet(void);
374 extern void SysCtlResetCauseClear(uint32_t ui32Causes);
375 extern void SysCtlBrownOutConfigSet(uint32_t ui32Config,
376  uint32_t ui32Delay);
377 extern void SysCtlDelay(uint32_t ui32Count);
378 extern void SysCtlMOSCConfigSet(uint32_t ui32Config);
379 extern uint32_t SysCtlPIOSCCalibrate(uint32_t ui32Type);
380 extern void SysCtlDeepSleepClockConfigSet(uint32_t ui32Div,
381  uint32_t ui32Config);
382 extern uint32_t SysCtlClockFreqSet(uint32_t ui32Config,
383  uint32_t ui32SysClock);
384 extern void SysCtlResetBehaviorSet(uint32_t ui32Behavior);
385 extern uint32_t SysCtlResetBehaviorGet(void);
386 extern void SysCtlClockOutConfig(uint32_t ui32Config, uint32_t ui32Div);
387 extern void SysCtlAltClkConfig(uint32_t ui32Config);
388 extern uint32_t SysCtlNMIStatus(void);
389 extern void SysCtlNMIClear(uint32_t ui32Status);
390 extern void SysCtlVoltageEventConfig(uint32_t ui32Config);
391 extern uint32_t SysCtlVoltageEventStatus(void);
392 extern void SysCtlVoltageEventClear(uint32_t ui32Status);
393 extern bool SysCtlVCOGet(uint32_t ui32Crystal, uint32_t *pui32VCOFrequency);
394 
395 //*****************************************************************************
396 //
397 // Mark the end of the C bindings section for C++ compilers.
398 //
399 //*****************************************************************************
400 #ifdef __cplusplus
401 }
402 #endif
403 
404 #endif // __DRIVERLIB_SYSCTL_H__
void SysCtlDeepSleep(void)
Definition: sysctl.c:1506
void SysCtlSleepPowerSet(uint32_t ui32Config)
Definition: sysctl.c:1389
void SysCtlVoltageEventConfig(uint32_t ui32Config)
Definition: sysctl.c:2406
void SysCtlPeripheralDeepSleepEnable(uint32_t ui32Peripheral)
Definition: sysctl.c:998
void SysCtlClockOutConfig(uint32_t ui32Config, uint32_t ui32Div)
Definition: sysctl.c:2677
void SysCtlIntUnregister(void)
Definition: sysctl.c:1164
void SysCtlIntEnable(uint32_t ui32Ints)
Definition: sysctl.c:1195
void SysCtlResetCauseClear(uint32_t ui32Causes)
Definition: sysctl.c:1567
void SysCtlReset(void)
Definition: sysctl.c:1451
uint32_t SysCtlResetBehaviorGet(void)
Definition: sysctl.c:1822
bool SysCtlPeripheralReady(uint32_t ui32Peripheral)
Definition: sysctl.c:557
uint32_t SysCtlIntStatus(bool bMasked)
Definition: sysctl.c:1283
uint32_t SysCtlResetCauseGet(void)
Definition: sysctl.c:1540
uint32_t SysCtlFlashSectorSizeGet(void)
Definition: sysctl.c:447
void SysCtlDelay(uint32_t ui32Count)
uint32_t SysCtlVoltageEventStatus(void)
Definition: sysctl.c:2449
void SysCtlNMIClear(uint32_t ui32Status)
Definition: sysctl.c:2630
void SysCtlMOSCConfigSet(uint32_t ui32Config)
Definition: sysctl.c:1675
void SysCtlPeripheralSleepDisable(uint32_t ui32Peripheral)
Definition: sysctl.c:934
bool SysCtlPeripheralPresent(uint32_t ui32Peripheral)
Definition: sysctl.c:499
void SysCtlDeepSleepPowerSet(uint32_t ui32Config)
Definition: sysctl.c:1429
void SysCtlPeripheralPowerOn(uint32_t ui32Peripheral)
Definition: sysctl.c:588
void SysCtlPeripheralPowerOff(uint32_t ui32Peripheral)
Definition: sysctl.c:620
void SysCtlSleep(void)
Definition: sysctl.c:1483
void SysCtlPeripheralClockGating(bool bEnable)
Definition: sysctl.c:1096
void SysCtlIntRegister(void(*pfnHandler)(void))
Definition: sysctl.c:1136
void SysCtlIntDisable(uint32_t ui32Ints)
Definition: sysctl.c:1221
void SysCtlVoltageEventClear(uint32_t ui32Status)
Definition: sysctl.c:2482
void SysCtlPeripheralEnable(uint32_t ui32Peripheral)
Definition: sysctl.c:754
void SysCtlPeripheralDeepSleepDisable(uint32_t ui32Peripheral)
Definition: sysctl.c:1064
uint32_t SysCtlSRAMSizeGet(void)
Definition: sysctl.c:413
bool SysCtlVCOGet(uint32_t ui32Crystal, uint32_t *pui32VCOFrequency)
Definition: sysctl.c:2506
uint32_t SysCtlFlashSizeGet(void)
Definition: sysctl.c:428
void SysCtlPeripheralReset(uint32_t ui32Peripheral)
Definition: sysctl.c:677
void SysCtlPeripheralDisable(uint32_t ui32Peripheral)
Definition: sysctl.c:809
void SysCtlIntClear(uint32_t ui32Ints)
Definition: sysctl.c:1256
void SysCtlBrownOutConfigSet(uint32_t ui32Config, uint32_t ui32Delay)
void SysCtlPeripheralSleepEnable(uint32_t ui32Peripheral)
Definition: sysctl.c:871
uint32_t SysCtlLDODeepSleepGet(void)
Definition: sysctl.c:1351
void SysCtlLDODeepSleepSet(uint32_t ui32Voltage)
Definition: sysctl.c:1317
void SysCtlDeepSleepClockConfigSet(uint32_t ui32Div, uint32_t ui32Config)
Definition: sysctl.c:2270
uint32_t SysCtlClockFreqSet(uint32_t ui32Config, uint32_t ui32SysClock)
Definition: sysctl.c:1888
uint32_t SysCtlNMIStatus(void)
Definition: sysctl.c:2594
void SysCtlResetBehaviorSet(uint32_t ui32Behavior)
Definition: sysctl.c:1804
void SysCtlAltClkConfig(uint32_t ui32Config)
Definition: sysctl.c:2725
uint32_t SysCtlPIOSCCalibrate(uint32_t ui32Type)
Definition: sysctl.c:1712
Copyright 2017, Texas Instruments Incorporated