Contiki 3.x
|
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... | |
Macros | |
#define | RTIMER_NOW() |
Get the current clock time. More... | |
#define | RTIMER_TIME(task) |
Get the time that a task last was executed. More... | |
Functions | |
void | rtimer_init (void) |
Initialize the real-time scheduler. More... | |
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. More... | |
void | rtimer_run_next (void) |
Execute the next real-time task and schedule the next task, if any. More... | |
void | rtimer_arch_init (void) |
We don't need to explicitly initialise anything but this routine is required by the API. More... | |
void | rtimer_arch_schedule (rtimer_clock_t t) |
Schedules an rtimer task to be triggered at time t. More... | |
Header file for the real-time timer module.
Definition in file rtimer.h.