rtimer.h File Reference

Header file for the real-time timer module. More...

#include "contiki-conf.h"
#include "rtimer-arch.h"

Go to the source code of this file.

Data Structures

struct  rtimer
 Representation of a real-time task. More...

Defines

#define RTIMER_NOW()
 Get the current clock time.
#define RTIMER_TIME(task)
 Get the time that a task last was executed.

Functions

void rtimer_init (void)
 Initialize the real-time scheduler.
int rtimer_set (struct rtimer *task, rtimer_clock_t time, rtimer_clock_t duration, rtimer_callback_t func, void *ptr)
 Post a real-time task.
void rtimer_run_next (void)
 Execute the next real-time task and schedule the next task, if any.

Detailed Description

Header file for the real-time timer module.

Author:
Adam Dunkels <adam@sics.se>

Definition in file rtimer.h.


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