The Sequence Toolkit
www.sequence-toolkit.com |
Go to the source code of this file.
Macros | |
#define | STK_TIMER_EXPIRED 1 |
#define | STK_TIMER_CANCELLED 2 |
Typedefs | |
typedef struct stk_timer_set_stct | stk_timer_set_t |
typedef void * | stk_timer_t |
typedef int | stk_timer_cb_type |
typedef void(* | stk_timer_cb )(stk_timer_set_t *timer_set, stk_timer_t *timer, int id, void *userdata, void *user_setdata, stk_timer_cb_type cb_type) |
This header provides the typedefs and definitions for the timer subsystem.
#define STK_TIMER_CANCELLED 2 |
Timer was Cancelled
#define STK_TIMER_EXPIRED 1 |
Timer has Expired
typedef void(* stk_timer_cb)(stk_timer_set_t *timer_set, stk_timer_t *timer, int id, void *userdata, void *user_setdata, stk_timer_cb_type cb_type) |
The callback signature to be used for timer callbacks
A callback type indicates what event the callback is for (cancelled/expired etc).
The timer set consitutes a grouping of related timers. Applications may choose to group timers as seen fit and may use as few as one set.
A generic handle to a scheduled timer>