Add global timer
This commit is contained in:
7
src/arch/8051/include/arch/time.h
Normal file
7
src/arch/8051/include/arch/time.h
Normal 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
|
@@ -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
|
Reference in New Issue
Block a user