Contiki 2.6

rtimer-arch.c File Reference

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.


Detailed Description

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

Author:
George Oikonomou - <oikonomou@users.sourceforge.net>

Definition in file rtimer-arch.c.