Unify Framework Lib 1.6.0
|
Macros | |
#define | data _data |
Functions | |
PROCESS (etimer_process, "Event timer") | |
static void | update_time (void) |
PROCESS_THREAD (etimer_process, ev, data) | |
static void | add_timer (struct etimer *timer) |
Functions called from timer interrupts, by the system | |
void | etimer_request_poll (void) |
Make the event timer aware that the clock has changed. More... | |
int | etimer_pending (void) |
Check if there are any non-expired event timers. More... | |
clock_time_t | etimer_next_expiration_time (void) |
Get next event timer expiration time. More... | |
Functions called from application programs | |
void | etimer_set (struct etimer *et, clock_time_t interval) |
Set an event timer. More... | |
void | etimer_reset (struct etimer *et) |
Reset an event timer with the same interval as was previously set. More... | |
void | etimer_restart (struct etimer *et) |
Restart an event timer from the current point in time. More... | |
void | etimer_adjust (struct etimer *et, int td) |
Adjust the expiration time for an event timer. More... | |
int | etimer_expired (struct etimer *et) |
Check if an event timer has expired. More... | |
clock_time_t | etimer_expiration_time (struct etimer *et) |
Get the expiration time for the event timer. More... | |
clock_time_t | etimer_start_time (struct etimer *et) |
Get the start time for the event timer. More... | |
void | etimer_stop (struct etimer *et) |
Stop a pending event timer. More... | |
Variables | |
static struct etimer * | timerlist |
static clock_time_t | next_expiration |
Event timer library implementation.