Contiki 3.x
|
Hardware-dependent functions used to support the contiki rtimer module.More...
#include "sys/rtimer.h"
#include "sfr-bits.h"
#include "cc253x.h"
#include "sys/energest.h"
#include "debug.h"
#include <stdio.h>
Go to the source code of this file.
Functions | |
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... | |
void | rtimer_isr (void) |
The rtimer ISR. More... | |
Hardware-dependent functions used to support the contiki rtimer module.
clock_init() has set our tick speed prescaler already, so we are ticking with 500 kHz freq. Contiki typedefs rtimer_clock_t as unsigned short (16bit) It thus makes sense to use the 16bit timer (Timer 1) This file contains an ISR and must reside in the HOME bank
Definition in file rtimer-arch.c.