47 #include "contiki-conf.h" 48 #include "sys/clock.h" 51 #define SCLOCK_GEQ(a, b) ((unsigned long)((a) - (b)) < \ 52 ((unsigned long)(~((unsigned long)0)) >> 1)) 69 t->interval = interval;
89 t->start += t->interval;
unsigned long stimer_remaining(struct stimer *t)
int stimer_expired(struct stimer *t)
void stimer_restart(struct stimer *t)
unsigned long stimer_elapsed(struct stimer *t)
void stimer_set(struct stimer *t, unsigned long interval)
void stimer_reset(struct stimer *t)
CCIF unsigned long clock_seconds(void)