2024-03-28 12:19:52 +08:00
|
|
|
#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);
|
2025-06-23 12:02:30 +08:00
|
|
|
unsigned drv_tick_get_period(void);
|
2024-03-28 12:19:52 +08:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|