ctimer.h File Reference

Header file for the callback timer. More...

#include "sys/etimer.h"

Go to the source code of this file.

Functions

void ctimer_reset (struct ctimer *c)
 Reset a callback timer with the same interval as was previously set.
void ctimer_restart (struct ctimer *c)
 Restart a callback timer from the current point in time.
void ctimer_set (struct ctimer *c, clock_time_t t, void(*f)(void *), void *ptr)
 Set a callback timer.
void ctimer_stop (struct ctimer *c)
 Stop a pending callback timer.
int ctimer_expired (struct ctimer *c)
 Check if a callback timer has expired.
void ctimer_init (void)
 Initialize the callback timer library.

Detailed Description

Header file for the callback timer.

Author:
Adam Dunkels <adam@sics.se>

Definition in file ctimer.h.


Generated on Mon Apr 11 14:23:47 2011 for Contiki 2.5 by  doxygen 1.6.1