systick.h
Go to the documentation of this file.
1 #ifndef __SYSTICK_H__
2 #define __SYSTICK_H__
3 
4 //*****************************************************************************
5 //
8 //
9 //*****************************************************************************
10 
11 //*****************************************************************************
12 //
13 // If building with a C++ compiler, make all of the definitions in this header
14 // have a C binding.
15 //
16 //*****************************************************************************
17 #ifdef __cplusplus
18 extern "C"
19 {
20 #endif
21 #include <stdint.h>
22 
23 //*****************************************************************************
24 //
25 // Prototypes for the APIs.
26 //
27 //*****************************************************************************
28 
29 //*****************************************************************************
30 //
45 //
46 //*****************************************************************************
47 extern void SysTick_enableModule(void);
48 
49 //*****************************************************************************
50 //
57 //
58 //*****************************************************************************
59 extern void SysTick_disableModule(void);
60 
61 //*****************************************************************************
62 //
75 //
76 //*****************************************************************************
77 extern void SysTick_registerInterrupt(void (*intHandler)(void));
78 
79 //*****************************************************************************
80 //
90 //
91 //*****************************************************************************
92 extern void SysTick_unregisterInterrupt(void);
93 
94 //*****************************************************************************
95 //
106 //
107 //*****************************************************************************
108 extern void SysTick_enableInterrupt(void);
109 
110 //*****************************************************************************
111 //
118 //
119 //*****************************************************************************
120 extern void SysTick_disableInterrupt(void);
121 
122 //*****************************************************************************
123 //
139 //
140 //*****************************************************************************
141 extern void SysTick_setPeriod(uint32_t period);
142 
143 //*****************************************************************************
144 //
151 //
152 //*****************************************************************************
153 extern uint32_t SysTick_getPeriod(void);
154 
155 //*****************************************************************************
156 //
163 //
164 //*****************************************************************************
165 extern uint32_t SysTick_getValue(void);
166 
167 //*****************************************************************************
168 //
169 // Mark the end of the C bindings section for C++ compilers.
170 //
171 //*****************************************************************************
172 #ifdef __cplusplus
173 }
174 #endif
175 
176 //*****************************************************************************
177 //
178 // Close the Doxygen group.
180 //
181 //*****************************************************************************
182 
183 #endif // __SYSTICK_H__
void SysTick_registerInterrupt(void(*intHandler)(void))
Definition: systick.c:21
void SysTick_unregisterInterrupt(void)
Definition: systick.c:30
void SysTick_setPeriod(uint32_t period)
Definition: systick.c:55
void SysTick_disableModule(void)
Definition: systick.c:13
void SysTick_enableInterrupt(void)
Definition: systick.c:39
uint32_t SysTick_getValue(void)
Definition: systick.c:76
uint32_t SysTick_getPeriod(void)
Definition: systick.c:68
void SysTick_enableModule(void)
Definition: systick.c:5
void SysTick_disableInterrupt(void)
Definition: systick.c:47

Copyright 2016, Texas Instruments Incorporated