40#ifndef __DRIVERLIB_SYSCTL_H__
41#define __DRIVERLIB_SYSCTL_H__
63#define SYSCTL_PERIPH_ADC0 0xf0003800
64#define SYSCTL_PERIPH_ADC1 0xf0003801
65#define SYSCTL_PERIPH_CAN0 0xf0003400
66#define SYSCTL_PERIPH_CAN1 0xf0003401
67#define SYSCTL_PERIPH_COMP0 0xf0003c00
68#define SYSCTL_PERIPH_EMAC0 0xf0009c00
69#define SYSCTL_PERIPH_EPHY0 0xf0003000
70#define SYSCTL_PERIPH_EPI0 0xf0001000
71#define SYSCTL_PERIPH_GPIOA 0xf0000800
72#define SYSCTL_PERIPH_GPIOB 0xf0000801
73#define SYSCTL_PERIPH_GPIOC 0xf0000802
74#define SYSCTL_PERIPH_GPIOD 0xf0000803
75#define SYSCTL_PERIPH_GPIOE 0xf0000804
76#define SYSCTL_PERIPH_GPIOF 0xf0000805
77#define SYSCTL_PERIPH_GPIOG 0xf0000806
78#define SYSCTL_PERIPH_GPIOH 0xf0000807
79#define SYSCTL_PERIPH_GPIOJ 0xf0000808
80#define SYSCTL_PERIPH_HIBERNATE 0xf0001400
81#define SYSCTL_PERIPH_CCM0 0xf0007400
82#define SYSCTL_PERIPH_EEPROM0 0xf0005800
83#define SYSCTL_PERIPH_FAN0 0xf0005400
84#define SYSCTL_PERIPH_FAN1 0xf0005401
85#define SYSCTL_PERIPH_GPIOK 0xf0000809
86#define SYSCTL_PERIPH_GPIOL 0xf000080a
87#define SYSCTL_PERIPH_GPIOM 0xf000080b
88#define SYSCTL_PERIPH_GPION 0xf000080c
89#define SYSCTL_PERIPH_GPIOP 0xf000080d
90#define SYSCTL_PERIPH_GPIOQ 0xf000080e
91#define SYSCTL_PERIPH_GPIOR 0xf000080f
92#define SYSCTL_PERIPH_GPIOS 0xf0000810
93#define SYSCTL_PERIPH_GPIOT 0xf0000811
94#define SYSCTL_PERIPH_I2C0 0xf0002000
95#define SYSCTL_PERIPH_I2C1 0xf0002001
96#define SYSCTL_PERIPH_I2C2 0xf0002002
97#define SYSCTL_PERIPH_I2C3 0xf0002003
98#define SYSCTL_PERIPH_I2C4 0xf0002004
99#define SYSCTL_PERIPH_I2C5 0xf0002005
100#define SYSCTL_PERIPH_I2C6 0xf0002006
101#define SYSCTL_PERIPH_I2C7 0xf0002007
102#define SYSCTL_PERIPH_I2C8 0xf0002008
103#define SYSCTL_PERIPH_I2C9 0xf0002009
104#define SYSCTL_PERIPH_LCD0 0xf0009000
105#define SYSCTL_PERIPH_ONEWIRE0 0xf0009800
106#define SYSCTL_PERIPH_PWM0 0xf0004000
107#define SYSCTL_PERIPH_PWM1 0xf0004001
108#define SYSCTL_PERIPH_QEI0 0xf0004400
109#define SYSCTL_PERIPH_QEI1 0xf0004401
110#define SYSCTL_PERIPH_SSI0 0xf0001c00
111#define SYSCTL_PERIPH_SSI1 0xf0001c01
112#define SYSCTL_PERIPH_SSI2 0xf0001c02
113#define SYSCTL_PERIPH_SSI3 0xf0001c03
114#define SYSCTL_PERIPH_TIMER0 0xf0000400
115#define SYSCTL_PERIPH_TIMER1 0xf0000401
116#define SYSCTL_PERIPH_TIMER2 0xf0000402
117#define SYSCTL_PERIPH_TIMER3 0xf0000403
118#define SYSCTL_PERIPH_TIMER4 0xf0000404
119#define SYSCTL_PERIPH_TIMER5 0xf0000405
120#define SYSCTL_PERIPH_TIMER6 0xf0000406
121#define SYSCTL_PERIPH_TIMER7 0xf0000407
122#define SYSCTL_PERIPH_UART0 0xf0001800
123#define SYSCTL_PERIPH_UART1 0xf0001801
124#define SYSCTL_PERIPH_UART2 0xf0001802
125#define SYSCTL_PERIPH_UART3 0xf0001803
126#define SYSCTL_PERIPH_UART4 0xf0001804
127#define SYSCTL_PERIPH_UART5 0xf0001805
128#define SYSCTL_PERIPH_UART6 0xf0001806
129#define SYSCTL_PERIPH_UART7 0xf0001807
130#define SYSCTL_PERIPH_UDMA 0xf0000c00
131#define SYSCTL_PERIPH_USB0 0xf0002800
132#define SYSCTL_PERIPH_WDOG0 0xf0000000
133#define SYSCTL_PERIPH_WDOG1 0xf0000001
134#define SYSCTL_PERIPH_WTIMER0 0xf0005c00
135#define SYSCTL_PERIPH_WTIMER1 0xf0005c01
136#define SYSCTL_PERIPH_WTIMER2 0xf0005c02
137#define SYSCTL_PERIPH_WTIMER3 0xf0005c03
138#define SYSCTL_PERIPH_WTIMER4 0xf0005c04
139#define SYSCTL_PERIPH_WTIMER5 0xf0005c05
148#define SYSCTL_LDO_0_90V 0x80000012
149#define SYSCTL_LDO_0_95V 0x80000013
150#define SYSCTL_LDO_1_00V 0x80000014
151#define SYSCTL_LDO_1_05V 0x80000015
152#define SYSCTL_LDO_1_10V 0x80000016
153#define SYSCTL_LDO_1_15V 0x80000017
154#define SYSCTL_LDO_1_20V 0x80000018
163#define SYSCTL_INT_BOR0 0x00000800
164#define SYSCTL_INT_VDDA_OK 0x00000400
165#define SYSCTL_INT_MOSC_PUP 0x00000100
166#define SYSCTL_INT_USBPLL_LOCK 0x00000080
167#define SYSCTL_INT_PLL_LOCK 0x00000040
168#define SYSCTL_INT_MOSC_FAIL 0x00000008
169#define SYSCTL_INT_BOR1 0x00000002
170#define SYSCTL_INT_BOR 0x00000002
178#define SYSCTL_CAUSE_HSRVREQ 0x00001000
179#define SYSCTL_CAUSE_HIB 0x00000040
180#define SYSCTL_CAUSE_WDOG1 0x00000020
181#define SYSCTL_CAUSE_SW 0x00000010
182#define SYSCTL_CAUSE_WDOG0 0x00000008
184#define SYSCTL_CAUSE_WDOG SYSCTL_CAUSE_WDOG0
187#define SYSCTL_CAUSE_BOR 0x00000004
188#define SYSCTL_CAUSE_POR 0x00000002
189#define SYSCTL_CAUSE_EXT 0x00000001
197#define SYSCTL_BOR_RESET 0x00000002
198#define SYSCTL_BOR_RESAMPLE 0x00000001
207#define SYSCTL_PWMDIV_1 0x00000000
208#define SYSCTL_PWMDIV_2 0x00100000
209#define SYSCTL_PWMDIV_4 0x00120000
210#define SYSCTL_PWMDIV_8 0x00140000
211#define SYSCTL_PWMDIV_16 0x00160000
212#define SYSCTL_PWMDIV_32 0x00180000
213#define SYSCTL_PWMDIV_64 0x001A0000
221#define SYSCTL_SYSDIV_1 0x07800000
222#define SYSCTL_SYSDIV_2 0x00C00000
223#define SYSCTL_SYSDIV_3 0x01400000
224#define SYSCTL_SYSDIV_4 0x01C00000
225#define SYSCTL_SYSDIV_5 0x02400000
226#define SYSCTL_SYSDIV_6 0x02C00000
227#define SYSCTL_SYSDIV_7 0x03400000
228#define SYSCTL_SYSDIV_8 0x03C00000
229#define SYSCTL_SYSDIV_9 0x04400000
230#define SYSCTL_SYSDIV_10 0x04C00000
231#define SYSCTL_SYSDIV_11 0x05400000
232#define SYSCTL_SYSDIV_12 0x05C00000
233#define SYSCTL_SYSDIV_13 0x06400000
234#define SYSCTL_SYSDIV_14 0x06C00000
235#define SYSCTL_SYSDIV_15 0x07400000
236#define SYSCTL_SYSDIV_16 0x07C00000
237#define SYSCTL_SYSDIV_17 0x88400000
238#define SYSCTL_SYSDIV_18 0x88C00000
239#define SYSCTL_SYSDIV_19 0x89400000
240#define SYSCTL_SYSDIV_20 0x89C00000
241#define SYSCTL_SYSDIV_21 0x8A400000
242#define SYSCTL_SYSDIV_22 0x8AC00000
243#define SYSCTL_SYSDIV_23 0x8B400000
244#define SYSCTL_SYSDIV_24 0x8BC00000
245#define SYSCTL_SYSDIV_25 0x8C400000
246#define SYSCTL_SYSDIV_26 0x8CC00000
247#define SYSCTL_SYSDIV_27 0x8D400000
248#define SYSCTL_SYSDIV_28 0x8DC00000
249#define SYSCTL_SYSDIV_29 0x8E400000
250#define SYSCTL_SYSDIV_30 0x8EC00000
251#define SYSCTL_SYSDIV_31 0x8F400000
252#define SYSCTL_SYSDIV_32 0x8FC00000
253#define SYSCTL_SYSDIV_33 0x90400000
254#define SYSCTL_SYSDIV_34 0x90C00000
255#define SYSCTL_SYSDIV_35 0x91400000
256#define SYSCTL_SYSDIV_36 0x91C00000
257#define SYSCTL_SYSDIV_37 0x92400000
258#define SYSCTL_SYSDIV_38 0x92C00000
259#define SYSCTL_SYSDIV_39 0x93400000
260#define SYSCTL_SYSDIV_40 0x93C00000
261#define SYSCTL_SYSDIV_41 0x94400000
262#define SYSCTL_SYSDIV_42 0x94C00000
263#define SYSCTL_SYSDIV_43 0x95400000
264#define SYSCTL_SYSDIV_44 0x95C00000
265#define SYSCTL_SYSDIV_45 0x96400000
266#define SYSCTL_SYSDIV_46 0x96C00000
267#define SYSCTL_SYSDIV_47 0x97400000
268#define SYSCTL_SYSDIV_48 0x97C00000
269#define SYSCTL_SYSDIV_49 0x98400000
270#define SYSCTL_SYSDIV_50 0x98C00000
271#define SYSCTL_SYSDIV_51 0x99400000
272#define SYSCTL_SYSDIV_52 0x99C00000
273#define SYSCTL_SYSDIV_53 0x9A400000
274#define SYSCTL_SYSDIV_54 0x9AC00000
275#define SYSCTL_SYSDIV_55 0x9B400000
276#define SYSCTL_SYSDIV_56 0x9BC00000
277#define SYSCTL_SYSDIV_57 0x9C400000
278#define SYSCTL_SYSDIV_58 0x9CC00000
279#define SYSCTL_SYSDIV_59 0x9D400000
280#define SYSCTL_SYSDIV_60 0x9DC00000
281#define SYSCTL_SYSDIV_61 0x9E400000
282#define SYSCTL_SYSDIV_62 0x9EC00000
283#define SYSCTL_SYSDIV_63 0x9F400000
284#define SYSCTL_SYSDIV_64 0x9FC00000
285#define SYSCTL_SYSDIV_2_5 0xC1000000
286#define SYSCTL_SYSDIV_3_5 0xC1800000
287#define SYSCTL_SYSDIV_4_5 0xC2000000
288#define SYSCTL_SYSDIV_5_5 0xC2800000
289#define SYSCTL_SYSDIV_6_5 0xC3000000
290#define SYSCTL_SYSDIV_7_5 0xC3800000
291#define SYSCTL_SYSDIV_8_5 0xC4000000
292#define SYSCTL_SYSDIV_9_5 0xC4800000
293#define SYSCTL_SYSDIV_10_5 0xC5000000
294#define SYSCTL_SYSDIV_11_5 0xC5800000
295#define SYSCTL_SYSDIV_12_5 0xC6000000
296#define SYSCTL_SYSDIV_13_5 0xC6800000
297#define SYSCTL_SYSDIV_14_5 0xC7000000
298#define SYSCTL_SYSDIV_15_5 0xC7800000
299#define SYSCTL_SYSDIV_16_5 0xC8000000
300#define SYSCTL_SYSDIV_17_5 0xC8800000
301#define SYSCTL_SYSDIV_18_5 0xC9000000
302#define SYSCTL_SYSDIV_19_5 0xC9800000
303#define SYSCTL_SYSDIV_20_5 0xCA000000
304#define SYSCTL_SYSDIV_21_5 0xCA800000
305#define SYSCTL_SYSDIV_22_5 0xCB000000
306#define SYSCTL_SYSDIV_23_5 0xCB800000
307#define SYSCTL_SYSDIV_24_5 0xCC000000
308#define SYSCTL_SYSDIV_25_5 0xCC800000
309#define SYSCTL_SYSDIV_26_5 0xCD000000
310#define SYSCTL_SYSDIV_27_5 0xCD800000
311#define SYSCTL_SYSDIV_28_5 0xCE000000
312#define SYSCTL_SYSDIV_29_5 0xCE800000
313#define SYSCTL_SYSDIV_30_5 0xCF000000
314#define SYSCTL_SYSDIV_31_5 0xCF800000
315#define SYSCTL_SYSDIV_32_5 0xD0000000
316#define SYSCTL_SYSDIV_33_5 0xD0800000
317#define SYSCTL_SYSDIV_34_5 0xD1000000
318#define SYSCTL_SYSDIV_35_5 0xD1800000
319#define SYSCTL_SYSDIV_36_5 0xD2000000
320#define SYSCTL_SYSDIV_37_5 0xD2800000
321#define SYSCTL_SYSDIV_38_5 0xD3000000
322#define SYSCTL_SYSDIV_39_5 0xD3800000
323#define SYSCTL_SYSDIV_40_5 0xD4000000
324#define SYSCTL_SYSDIV_41_5 0xD4800000
325#define SYSCTL_SYSDIV_42_5 0xD5000000
326#define SYSCTL_SYSDIV_43_5 0xD5800000
327#define SYSCTL_SYSDIV_44_5 0xD6000000
328#define SYSCTL_SYSDIV_45_5 0xD6800000
329#define SYSCTL_SYSDIV_46_5 0xD7000000
330#define SYSCTL_SYSDIV_47_5 0xD7800000
331#define SYSCTL_SYSDIV_48_5 0xD8000000
332#define SYSCTL_SYSDIV_49_5 0xD8800000
333#define SYSCTL_SYSDIV_50_5 0xD9000000
334#define SYSCTL_SYSDIV_51_5 0xD9800000
335#define SYSCTL_SYSDIV_52_5 0xDA000000
336#define SYSCTL_SYSDIV_53_5 0xDA800000
337#define SYSCTL_SYSDIV_54_5 0xDB000000
338#define SYSCTL_SYSDIV_55_5 0xDB800000
339#define SYSCTL_SYSDIV_56_5 0xDC000000
340#define SYSCTL_SYSDIV_57_5 0xDC800000
341#define SYSCTL_SYSDIV_58_5 0xDD000000
342#define SYSCTL_SYSDIV_59_5 0xDD800000
343#define SYSCTL_SYSDIV_60_5 0xDE000000
344#define SYSCTL_SYSDIV_61_5 0xDE800000
345#define SYSCTL_SYSDIV_62_5 0xDF000000
346#define SYSCTL_SYSDIV_63_5 0xDF800000
356#define SYSCTL_CFG_VCO_480 0xF1000000
359#define SYSCTL_CFG_VCO_320 0xF0000000
362#define SYSCTL_CFG_VCO_240 0xF1000000
363#define SYSCTL_CFG_VCO_160 0xF0000000
364#define SYSCTL_USE_PLL 0x00000000
365#define SYSCTL_USE_OSC 0x00003800
366#define SYSCTL_XTAL_1MHZ 0x00000000
367#define SYSCTL_XTAL_1_84MHZ 0x00000040
368#define SYSCTL_XTAL_2MHZ 0x00000080
369#define SYSCTL_XTAL_2_45MHZ 0x000000C0
370#define SYSCTL_XTAL_3_57MHZ 0x00000100
371#define SYSCTL_XTAL_3_68MHZ 0x00000140
372#define SYSCTL_XTAL_4MHZ 0x00000180
373#define SYSCTL_XTAL_4_09MHZ 0x000001C0
374#define SYSCTL_XTAL_4_91MHZ 0x00000200
375#define SYSCTL_XTAL_5MHZ 0x00000240
376#define SYSCTL_XTAL_5_12MHZ 0x00000280
377#define SYSCTL_XTAL_6MHZ 0x000002C0
378#define SYSCTL_XTAL_6_14MHZ 0x00000300
379#define SYSCTL_XTAL_7_37MHZ 0x00000340
380#define SYSCTL_XTAL_8MHZ 0x00000380
381#define SYSCTL_XTAL_8_19MHZ 0x000003C0
382#define SYSCTL_XTAL_10MHZ 0x00000400
383#define SYSCTL_XTAL_12MHZ 0x00000440
384#define SYSCTL_XTAL_12_2MHZ 0x00000480
385#define SYSCTL_XTAL_13_5MHZ 0x000004C0
386#define SYSCTL_XTAL_14_3MHZ 0x00000500
387#define SYSCTL_XTAL_16MHZ 0x00000540
388#define SYSCTL_XTAL_16_3MHZ 0x00000580
389#define SYSCTL_XTAL_18MHZ 0x000005C0
390#define SYSCTL_XTAL_20MHZ 0x00000600
391#define SYSCTL_XTAL_24MHZ 0x00000640
392#define SYSCTL_XTAL_25MHZ 0x00000680
393#define SYSCTL_OSC_MAIN 0x00000000
394#define SYSCTL_OSC_INT 0x00000010
395#define SYSCTL_OSC_INT4 0x00000020
396#define SYSCTL_OSC_INT30 0x00000030
397#define SYSCTL_OSC_EXT32 0x80000038
398#define SYSCTL_INT_OSC_DIS 0x00000002
399#define SYSCTL_MAIN_OSC_DIS 0x00000001
407#define SYSCTL_DSLP_DIV_1 0x00000000
408#define SYSCTL_DSLP_DIV_2 0x00800000
409#define SYSCTL_DSLP_DIV_3 0x01000000
410#define SYSCTL_DSLP_DIV_4 0x01800000
411#define SYSCTL_DSLP_DIV_5 0x02000000
412#define SYSCTL_DSLP_DIV_6 0x02800000
413#define SYSCTL_DSLP_DIV_7 0x03000000
414#define SYSCTL_DSLP_DIV_8 0x03800000
415#define SYSCTL_DSLP_DIV_9 0x04000000
416#define SYSCTL_DSLP_DIV_10 0x04800000
417#define SYSCTL_DSLP_DIV_11 0x05000000
418#define SYSCTL_DSLP_DIV_12 0x05800000
419#define SYSCTL_DSLP_DIV_13 0x06000000
420#define SYSCTL_DSLP_DIV_14 0x06800000
421#define SYSCTL_DSLP_DIV_15 0x07000000
422#define SYSCTL_DSLP_DIV_16 0x07800000
423#define SYSCTL_DSLP_DIV_17 0x08000000
424#define SYSCTL_DSLP_DIV_18 0x08800000
425#define SYSCTL_DSLP_DIV_19 0x09000000
426#define SYSCTL_DSLP_DIV_20 0x09800000
427#define SYSCTL_DSLP_DIV_21 0x0A000000
428#define SYSCTL_DSLP_DIV_22 0x0A800000
429#define SYSCTL_DSLP_DIV_23 0x0B000000
430#define SYSCTL_DSLP_DIV_24 0x0B800000
431#define SYSCTL_DSLP_DIV_25 0x0C000000
432#define SYSCTL_DSLP_DIV_26 0x0C800000
433#define SYSCTL_DSLP_DIV_27 0x0D000000
434#define SYSCTL_DSLP_DIV_28 0x0D800000
435#define SYSCTL_DSLP_DIV_29 0x0E000000
436#define SYSCTL_DSLP_DIV_30 0x0E800000
437#define SYSCTL_DSLP_DIV_31 0x0F000000
438#define SYSCTL_DSLP_DIV_32 0x0F800000
439#define SYSCTL_DSLP_DIV_33 0x10000000
440#define SYSCTL_DSLP_DIV_34 0x10800000
441#define SYSCTL_DSLP_DIV_35 0x11000000
442#define SYSCTL_DSLP_DIV_36 0x11800000
443#define SYSCTL_DSLP_DIV_37 0x12000000
444#define SYSCTL_DSLP_DIV_38 0x12800000
445#define SYSCTL_DSLP_DIV_39 0x13000000
446#define SYSCTL_DSLP_DIV_40 0x13800000
447#define SYSCTL_DSLP_DIV_41 0x14000000
448#define SYSCTL_DSLP_DIV_42 0x14800000
449#define SYSCTL_DSLP_DIV_43 0x15000000
450#define SYSCTL_DSLP_DIV_44 0x15800000
451#define SYSCTL_DSLP_DIV_45 0x16000000
452#define SYSCTL_DSLP_DIV_46 0x16800000
453#define SYSCTL_DSLP_DIV_47 0x17000000
454#define SYSCTL_DSLP_DIV_48 0x17800000
455#define SYSCTL_DSLP_DIV_49 0x18000000
456#define SYSCTL_DSLP_DIV_50 0x18800000
457#define SYSCTL_DSLP_DIV_51 0x19000000
458#define SYSCTL_DSLP_DIV_52 0x19800000
459#define SYSCTL_DSLP_DIV_53 0x1A000000
460#define SYSCTL_DSLP_DIV_54 0x1A800000
461#define SYSCTL_DSLP_DIV_55 0x1B000000
462#define SYSCTL_DSLP_DIV_56 0x1B800000
463#define SYSCTL_DSLP_DIV_57 0x1C000000
464#define SYSCTL_DSLP_DIV_58 0x1C800000
465#define SYSCTL_DSLP_DIV_59 0x1D000000
466#define SYSCTL_DSLP_DIV_60 0x1D800000
467#define SYSCTL_DSLP_DIV_61 0x1E000000
468#define SYSCTL_DSLP_DIV_62 0x1E800000
469#define SYSCTL_DSLP_DIV_63 0x1F000000
470#define SYSCTL_DSLP_DIV_64 0x1F800000
471#define SYSCTL_DSLP_OSC_MAIN 0x00000000
472#define SYSCTL_DSLP_OSC_INT 0x00000010
473#define SYSCTL_DSLP_OSC_INT30 0x00000030
474#define SYSCTL_DSLP_OSC_EXT32 0x00000070
475#define SYSCTL_DSLP_PIOSC_PD 0x00000002
476#define SYSCTL_DSLP_MOSC_PD 0x40000000
484#define SYSCTL_PIOSC_CAL_AUTO 0x00000200
485#define SYSCTL_PIOSC_CAL_FACT 0x00000100
486#define SYSCTL_PIOSC_CAL_USER 0x80000100
494#define SYSCTL_MOSC_VALIDATE 0x00000001
495#define SYSCTL_MOSC_INTERRUPT 0x00000002
496#define SYSCTL_MOSC_NO_XTAL 0x00000004
497#define SYSCTL_MOSC_PWR_DIS 0x00000008
498#define SYSCTL_MOSC_LOWFREQ 0x00000000
499#define SYSCTL_MOSC_HIGHFREQ 0x00000010
500#define SYSCTL_MOSC_SESRC 0x00000020
508#define SYSCTL_LDO_SLEEP 0x00000200
510#define SYSCTL_TEMP_LOW_POWER 0x00000100
512#define SYSCTL_FLASH_NORMAL 0x00000000
513#define SYSCTL_FLASH_LOW_POWER 0x00000020
514#define SYSCTL_SRAM_NORMAL 0x00000000
515#define SYSCTL_SRAM_STANDBY 0x00000001
516#define SYSCTL_SRAM_LOW_POWER 0x00000003
523#define SYSCTL_ONRST_WDOG0_POR 0x00000030
524#define SYSCTL_ONRST_WDOG0_SYS 0x00000020
525#define SYSCTL_ONRST_WDOG1_POR 0x000000C0
526#define SYSCTL_ONRST_WDOG1_SYS 0x00000080
527#define SYSCTL_ONRST_BOR_POR 0x0000000C
528#define SYSCTL_ONRST_BOR_SYS 0x00000008
529#define SYSCTL_ONRST_EXT_POR 0x00000003
530#define SYSCTL_ONRST_EXT_SYS 0x00000002
537#define SYSCTL_VEVENT_VDDABO_NONE \
539#define SYSCTL_VEVENT_VDDABO_INT \
541#define SYSCTL_VEVENT_VDDABO_NMI \
543#define SYSCTL_VEVENT_VDDABO_RST \
545#define SYSCTL_VEVENT_VDDBO_NONE \
547#define SYSCTL_VEVENT_VDDBO_INT 0x00000001
548#define SYSCTL_VEVENT_VDDBO_NMI 0x00000002
549#define SYSCTL_VEVENT_VDDBO_RST 0x00000003
557#define SYSCTL_VESTAT_VDDBOR 0x00000040
558#define SYSCTL_VESTAT_VDDABOR 0x00000010
565#define SYSCTL_NMI_MOSCFAIL 0x00010000
566#define SYSCTL_NMI_TAMPER 0x00000200
567#define SYSCTL_NMI_WDT1 0x00000020
568#define SYSCTL_NMI_WDT0 0x00000008
569#define SYSCTL_NMI_POWER 0x00000004
570#define SYSCTL_NMI_EXTERNAL 0x00000001
577#define SYSCTL_CLKOUT_EN 0x80000000
578#define SYSCTL_CLKOUT_DIS 0x00000000
579#define SYSCTL_CLKOUT_SYSCLK 0x00000000
580#define SYSCTL_CLKOUT_PIOSC 0x00010000
581#define SYSCTL_CLKOUT_MOSC 0x00020000
588#define SYSCTL_ALTCLK_PIOSC 0x00000000
589#define SYSCTL_ALTCLK_RTCOSC 0x00000003
590#define SYSCTL_ALTCLK_LFIOSC 0x00000004
597extern uint32_t SysCtlSRAMSizeGet(
void);
598extern uint32_t SysCtlFlashSizeGet(
void);
599extern uint32_t SysCtlFlashSectorSizeGet(
void);
600extern bool SysCtlPeripheralPresent(uint32_t ui32Peripheral);
601extern bool SysCtlPeripheralReady(uint32_t ui32Peripheral);
602extern void SysCtlPeripheralPowerOn(uint32_t ui32Peripheral);
603extern void SysCtlPeripheralPowerOff(uint32_t ui32Peripheral);
604extern void SysCtlPeripheralReset(uint32_t ui32Peripheral);
605extern void SysCtlPeripheralEnable(uint32_t ui32Peripheral);
606extern void SysCtlPeripheralDisable(uint32_t ui32Peripheral);
607extern void SysCtlPeripheralSleepEnable(uint32_t ui32Peripheral);
608extern void SysCtlPeripheralSleepDisable(uint32_t ui32Peripheral);
609extern void SysCtlPeripheralDeepSleepEnable(uint32_t ui32Peripheral);
610extern void SysCtlPeripheralDeepSleepDisable(uint32_t ui32Peripheral);
611extern void SysCtlPeripheralClockGating(
bool bEnable);
612extern void SysCtlIntRegister(
void (*pfnHandler)(
void));
613extern void SysCtlIntUnregister(
void);
614extern void SysCtlIntEnable(uint32_t ui32Ints);
615extern void SysCtlIntDisable(uint32_t ui32Ints);
616extern void SysCtlIntClear(uint32_t ui32Ints);
617extern uint32_t SysCtlIntStatus(
bool bMasked);
618extern void SysCtlLDOSleepSet(uint32_t ui32Voltage);
619extern uint32_t SysCtlLDOSleepGet(
void);
620extern void SysCtlLDODeepSleepSet(uint32_t ui32Voltage);
621extern uint32_t SysCtlLDODeepSleepGet(
void);
622extern void SysCtlSleepPowerSet(uint32_t ui32Config);
623extern void SysCtlDeepSleepPowerSet(uint32_t ui32Config);
624extern void SysCtlReset(
void);
625extern void SysCtlSleep(
void);
626extern void SysCtlDeepSleep(
void);
627extern uint32_t SysCtlResetCauseGet(
void);
628extern void SysCtlResetCauseClear(uint32_t ui32Causes);
629extern void SysCtlBrownOutConfigSet(uint32_t ui32Config,
631extern void SysCtlDelay(uint32_t ui32Count);
632extern void SysCtlMOSCConfigSet(uint32_t ui32Config);
633extern uint32_t SysCtlPIOSCCalibrate(uint32_t ui32Type);
634extern void SysCtlClockSet(uint32_t ui32Config);
635extern uint32_t SysCtlClockGet(
void);
636extern void SysCtlDeepSleepClockSet(uint32_t ui32Config);
637extern void SysCtlDeepSleepClockConfigSet(uint32_t ui32Div,
638 uint32_t ui32Config);
639extern void SysCtlPWMClockSet(uint32_t ui32Config);
640extern uint32_t SysCtlPWMClockGet(
void);
641extern void SysCtlIOSCVerificationSet(
bool bEnable);
642extern void SysCtlMOSCVerificationSet(
bool bEnable);
643extern void SysCtlPLLVerificationSet(
bool bEnable);
644extern void SysCtlClkVerificationClear(
void);
645extern void SysCtlGPIOAHBEnable(uint32_t ui32GPIOPeripheral);
646extern void SysCtlGPIOAHBDisable(uint32_t ui32GPIOPeripheral);
647extern void SysCtlUSBPLLEnable(
void);
648extern void SysCtlUSBPLLDisable(
void);
649extern uint32_t SysCtlClockFreqSet(uint32_t ui32Config,
650 uint32_t ui32SysClock);
651extern void SysCtlResetBehaviorSet(uint32_t ui32Behavior);
652extern uint32_t SysCtlResetBehaviorGet(
void);
653extern void SysCtlClockOutConfig(uint32_t ui32Config, uint32_t ui32Div);
654extern void SysCtlAltClkConfig(uint32_t ui32Config);
655extern uint32_t SysCtlNMIStatus(
void);
656extern void SysCtlNMIClear(uint32_t ui32Status);
657extern void SysCtlVoltageEventConfig(uint32_t ui32Config);
658extern uint32_t SysCtlVoltageEventStatus(
void);
659extern void SysCtlVoltageEventClear(uint32_t ui32Status);
660extern bool SysCtlVCOGet(uint32_t ui32Crystal, uint32_t *pui32VCOFrequency);