This is a part of the Kinetiszer project.
systick.h@0:5a419ba2726d, 2014-10-28 (annotated)
- Committer:
- Clemo
- Date:
- Tue Oct 28 12:19:22 2014 +0000
- Revision:
- 0:5a419ba2726d
Error & warning free (I believe as I don't know how to clean).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Clemo | 0:5a419ba2726d | 1 | #ifndef __SYSTICK_H__ |
Clemo | 0:5a419ba2726d | 2 | #define __SYSTICK_H__ |
Clemo | 0:5a419ba2726d | 3 | |
Clemo | 0:5a419ba2726d | 4 | |
Clemo | 0:5a419ba2726d | 5 | #define SYSTICK_RATE_HZ (1000) // Ticks per second. |
Clemo | 0:5a419ba2726d | 6 | |
Clemo | 0:5a419ba2726d | 7 | void SysTick_Handler(void); |
Clemo | 0:5a419ba2726d | 8 | void SysTick_Seconds(void); |
Clemo | 0:5a419ba2726d | 9 | void SysTick_Delay(uint32_t ticks); |
Clemo | 0:5a419ba2726d | 10 | void SysTick_LED_Flash(uint8_t led, uint32_t ticks); |
Clemo | 0:5a419ba2726d | 11 | |
Clemo | 0:5a419ba2726d | 12 | extern volatile uint32_t seconds_counter; |
Clemo | 0:5a419ba2726d | 13 | extern volatile uint32_t systick_counter; |
Clemo | 0:5a419ba2726d | 14 | |
Clemo | 0:5a419ba2726d | 15 | |
Clemo | 0:5a419ba2726d | 16 | #endif // __SYSTICK_H__ |