Main Page | Modules | Data Structures | File List | Data Fields | Globals | Examples

etimer.h File Reference


Detailed Description

Event timer library header file.

Author:
Adam Dunkels <adam@sics.se>

#include "timer.h"
#include "process.h"

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  etimer
 A timer. More...


Functions

void etimer_set (struct etimer *t, clock_time_t interval)
 Set an event timer.

void etimer_reset (struct etimer *t)
 Reset an event timer with the same interval as was previously set.

void etimer_restart (struct etimer *t)
 Restart an event timer from the current point in time.

int etimer_expired (struct etimer *t)
 Check if an event timer has expired.

int etimer_pending (void)
 Check if there are any non-expired event timers.


Generated on Wed Jul 6 01:19:01 2005 for Contiki/ESB by doxygen 1.3.6