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 #include "register_remap.h"
23 
24 //*****************************************************************************
25 //
26 // Prototypes for the APIs.
27 //
28 //*****************************************************************************
29 
30 //*****************************************************************************
31 //
46 //
47 //*****************************************************************************
48 extern void SysTick_enableModule(void);
49 
50 //*****************************************************************************
51 //
58 //
59 //*****************************************************************************
60 extern void SysTick_disableModule(void);
61 
62 //*****************************************************************************
63 //
76 //
77 //*****************************************************************************
78 extern void SysTick_registerInterrupt(void (*intHandler)(void));
79 
80 //*****************************************************************************
81 //
91 //
92 //*****************************************************************************
93 extern void SysTick_unregisterInterrupt(void);
94 
95 //*****************************************************************************
96 //
107 //
108 //*****************************************************************************
109 extern void SysTick_enableInterrupt(void);
110 
111 //*****************************************************************************
112 //
119 //
120 //*****************************************************************************
121 extern void SysTick_disableInterrupt(void);
122 
123 //*****************************************************************************
124 //
140 //
141 //*****************************************************************************
142 extern void SysTick_setPeriod(uint32_t period);
143 
144 //*****************************************************************************
145 //
152 //
153 //*****************************************************************************
154 extern uint32_t SysTick_getPeriod(void);
155 
156 //*****************************************************************************
157 //
164 //
165 //*****************************************************************************
166 extern uint32_t SysTick_getValue(void);
167 
168 //*****************************************************************************
169 //
170 // Mark the end of the C bindings section for C++ compilers.
171 //
172 //*****************************************************************************
173 #ifdef __cplusplus
174 }
175 #endif
176 
177 //*****************************************************************************
178 //
179 // Close the Doxygen group.
181 //
182 //*****************************************************************************
183 
184 #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 2014, Texas Instruments Incorporated