21#ifndef __KOS_ONESHOT_TIMER_H
22#define __KOS_ONESHOT_TIMER_H
52 unsigned int timeout_ms);
81 void *data,
unsigned int timeout_ms);
void oneshot_timer_stop(oneshot_timer_t *timer)
Stop a one-shot timer.
void oneshot_timer_start(oneshot_timer_t *timer)
Start a one-shot timer.
Opaque structure describing one one-shot timer.
void oneshot_timer_stop(oneshot_timer_t *timer)
Stop a one-shot timer.
void oneshot_timer_destroy(oneshot_timer_t *timer)
Stop and destroy a one-shot timer.
void oneshot_timer_start(oneshot_timer_t *timer)
Start a one-shot timer.
void oneshot_timer_setup(oneshot_timer_t *timer, void(*cb)(void *), void *data, unsigned int timeout_ms)
Re-configure a one-shot timer.
oneshot_timer_t * oneshot_timer_create(void(*cb)(void *), void *data, unsigned int timeout_ms)
Create a new one-shot timer.
static void oneshot_timer_reset(oneshot_timer_t *timer)
Reset a one-shot timer.
Definition oneshot_timer.h:119