参考代码
This commit is contained in:
18
components/system/include/drivers/chip/tick.h
Executable file
18
components/system/include/drivers/chip/tick.h
Executable file
@@ -0,0 +1,18 @@
|
||||
#ifndef __TICK_H__
|
||||
#define __TICK_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void drv_tick_enable(unsigned freq);
|
||||
void drv_tick_disable(void);
|
||||
|
||||
unsigned drv_tick_get_counter(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user