Set up the timer properly and introduce CurrentTime.

This commit is contained in:
László Monda
2017-11-12 17:33:23 +01:00
parent a91f945591
commit 332f2a69fa
5 changed files with 35 additions and 13 deletions

View File

@@ -7,11 +7,15 @@
// Macros:
#define TIMER_INTERVAL_USEC 1000
#define TIMER_INTERVAL_MSEC 1
// Variables:
extern uint32_t CurrentTime;
// Functions:
void Timer_Init(void);
uint32_t Timer_GetTime(void);
uint32_t Timer_GetElapsedTime(uint32_t *time);
#endif