|
AM64x MCU+ SDK
10.00.00
|
|
int cb_xtimer_remain_timeout(cb_xtimer_t *xtimer)
Get remaining timeout of a running timer.
int cb_xtimer_start(cb_xtimer_t *xtimer, uint32_t timeout_us)
Start a timer.
struct cb_xtimer_man cb_xtimer_man_t
Data handle of a timer manager, inside of it is private.
Definition: cb_xtimer.h:68
void cb_xtimer_set_periodic(cb_xtimer_t *xtimer)
Set a periodic timer flag.
struct cb_xtimer cb_xtimer_t
Data handle of a timer, inside of it is private.
Definition: cb_xtimer.h:73
void(* xtimer_expirecb_t)(cb_xtimer_t *timer, void *exparg)
A callback is called when a timer expired.
Definition: cb_xtimer.h:83
void cb_xtimer_man_delete(cb_xtimer_man_t *xtimer_man)
Delete a timer manager.
bool cb_xtimer_is_periodic(cb_xtimer_t *xtimer)
Check if a timer is periodic.
void cb_xtimer_clear_periodic(cb_xtimer_t *xtimer)
Clear periodic timer flag.
cb_xtimer_t * cb_xtimer_create(cb_xtimer_man_t *xtimer_man, xtimer_expirecb_t expirecb, void *exparg)
Create a timer.
void cb_xtimer_stop(cb_xtimer_t *xtimer)
Stop a running timer, the periodic flag is cleared as well.
int cb_xtimer_man_nearest_timeout(cb_xtimer_man_t *xtimer_man)
Get a timeout of nearest timer.
cb_xtimer_man_t * cb_xtimer_man_create(void)
Create a timer manager.
void cb_xtimer_delete(cb_xtimer_t *xtimer)
Delete a timer.
bool cb_xtimer_is_running(cb_xtimer_t *xtimer)
Check if a timer is running.
struct cb_xtimer_ndata cb_xtimer_ndata_t
Data handle of a timer data, inside of it is private.
Definition: cb_xtimer.h:78
int cb_xtimer_man_schedule(cb_xtimer_man_t *xtimer_man)
The timer manager consumes expired timers and schedule for next timer to be expired.