Add global timer

This commit is contained in:
Jeremy Soller
2020-02-03 15:16:17 -07:00
parent 3692bed6b2
commit ce22dd5208
11 changed files with 100 additions and 116 deletions

View File

@@ -0,0 +1,7 @@
#ifndef _ARCH_TIME_H
#define _ARCH_TIME_H
void time_init(void);
uint32_t time_get(void);
#endif // _ARCH_TIME_H

View File

@@ -1,8 +0,0 @@
#ifndef _ARCH_TIMER_H
#define _ARCH_TIMER_H
void timer_mode_1(int value);
void timer_wait(void);
void timer_stop(void);
#endif // _ARCH_TIMER_H