Add timer.[ch]

This commit is contained in:
László Monda
2017-11-12 04:48:06 +01:00
parent d0c689146e
commit a91f945591
6 changed files with 47 additions and 4 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifndef __TIMER_H__
#define __TIMER_H__
// Includes:
#include "peripherals/pit.h"
// Macros:
#define TIMER_INTERVAL_USEC 1000
// Functions:
void Timer_Init(void);
uint32_t Timer_GetTime(void);
#endif