clock_timer.h 308 B

12345678910111213141516171819
  1. #pragma once
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. typedef void (*ClockTimerCallback)(void* context);
  6. void clock_timer_init(ClockTimerCallback callback, void* context, float period);
  7. void clock_timer_start(void);
  8. void clock_timer_stop(void);
  9. void clock_timer_deinit(void);
  10. #ifdef __cplusplus
  11. }
  12. #endif