Contiki 3.x
rtimer-arch.c File Reference

    Hardware-dependent functions used to support the
    contiki rtimer module.
More...

#include "sys/rtimer.h"
#include "cc2430_sfr.h"
#include "sys/energest.h"

Go to the source code of this file.

Detailed Description

    Hardware-dependent functions used to support the
    contiki rtimer module.
    clock and etimer are using the sleep timer on the cc2430

    clock_init() has set our tick speed prescaler already, so we
    are ticking with 500 kHz freq.

    rtimer_clock_t is unsigned short (16bit on the cc2430)
    It thus makes sense to use the 16bit clock (Timer 1)

    This file contains an ISR and must reside in the HOME bank
Author
George Oikonomou - oikon.nosp@m.omou.nosp@m.@user.nosp@m.s.so.nosp@m.urcef.nosp@m.orge.nosp@m..net

Definition in file rtimer-arch.c.