33 #include "contiki-conf.h"
34 #include "drivers/legacy_pc/pit.h"
36 static volatile rtimer_clock_t tick_count = 0;
37 static rtimer_clock_t trigger = UINT64_MAX;
42 if(++tick_count >= trigger) {
Header file for the real-time timer module.
static void update_ticks(void)
Update the software clock ticks and seconds.
rtimer_clock_t rtimer_arch_now()
Returns the current real-time clock time.
void rtimer_arch_init(void)
We don't need to explicitly initialise anything but this routine is required by the API...
void rtimer_run_next(void)
Execute the next real-time task and schedule the next task, if any.
void rtimer_arch_schedule(rtimer_clock_t t)
Schedules an rtimer task to be triggered at time t.