Esp32/Components/driver/include/driver/os_timer.h
void smg_timer_arm_us(os_timer_t *ptimer, uint32_t time_us, bool repeat_flag)
This is the structure used by the Espressif timer API.
Definition: Rp2040/Components/driver/include/driver/os_timer.h:28
Definition: Esp32/Components/driver/include/driver/os_timer.h:35
void(*)(void *arg) smg_timer_func_t
Definition: Esp32/Components/driver/include/driver/os_timer.h:31
#define os_timer_func_t
Definition: Esp32/Components/driver/include/driver/os_timer.h:45
struct esp_timer * handle
Definition: Esp32/Components/driver/include/driver/os_timer.h:36
void smg_timer_arm(os_timer_t *ptimer, uint32_t time_ms, bool repeat_flag)
smg_timer_func_t timer_func
Definition: Esp32/Components/driver/include/driver/os_timer.h:37
static uint64_t smg_timer_expire(const os_timer_t *ptimer)
Definition: Esp32/Components/driver/include/driver/os_timer.h:73
void smg_timer_disarm(os_timer_t *ptimer)
void smg_timer_setfn(os_timer_t *ptimer, os_timer_func_t pfunction, void *parg)
void * timer_arg
Definition: Esp32/Components/driver/include/driver/os_timer.h:38
void smg_timer_done(os_timer_t *ptimer)
void smg_timer_arm_ticks(os_timer_t *ptimer, uint32_t ticks, bool repeat_flag)
Set a software timer using the Timer2 tick value.