Microchip® Advanced Software Framework

rtimer.c File Reference

    Implementation of the architecture-agnostic parts of the real-time timer module.
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se
#include "sys/rtimer.h"
#include "contiki.h"

Macros

#define _DEBUG_   0
 
#define PRINTF(...)
 

Functions

void rtimer_init (void)
 Initialize the real-time scheduler. More...
 
void rtimer_run_next (void)
 Execute the next real-time task and schedule the next task, if any. 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...
 

Variables

static struct rtimernext_rtimer