13typedef void (*FuriTimerCallback)(
void* context);
98typedef void (*FuriTimerPendigCallback)(
void* context, uint32_t arg);
100void furi_timer_pending_callback(FuriTimerPendigCallback callback,
void* context, uint32_t arg);
uint32_t furi_timer_is_running(FuriTimer *instance)
Is timer running.
Definition timer.c:125
FuriStatus furi_timer_stop(FuriTimer *instance)
Stop timer.
Definition timer.c:114
FuriStatus furi_timer_restart(FuriTimer *instance, uint32_t ticks)
Restart timer with previous timeout value.
Definition timer.c:96
FuriTimerThreadPriority
Definition timer.h:102
@ FuriTimerThreadPriorityNormal
Lower then other threads.
Definition timer.h:103
@ FuriTimerThreadPriorityElevated
Same as other threads.
Definition timer.h:104
void furi_timer_set_thread_priority(FuriTimerThreadPriority priority)
Set Timer thread priority.
Definition timer.c:157
uint32_t furi_timer_get_expire_time(FuriTimer *instance)
Get timer expire time.
Definition timer.c:135
FuriTimerType
Definition timer.h:15
@ FuriTimerTypeOnce
One-shot timer.
Definition timer.h:16
@ FuriTimerTypePeriodic
Repeating timer.
Definition timer.h:17
void furi_timer_free(FuriTimer *instance)
Free timer.
Definition timer.c:55
FuriTimer * furi_timer_alloc(FuriTimerCallback func, FuriTimerType type, void *context)
Allocate timer.
Definition timer.c:38
void furi_timer_flush(void)
Flush timer task control message queue.
Definition timer.c:67
FuriStatus furi_timer_start(FuriTimer *instance, uint32_t ticks)
Start timer.
Definition timer.c:79