Contiki 3.x
Functions
clock.c File Reference

    Implementation of the clock functions for the cc253x.
More...

#include "sfr-bits.h"
#include "sys/clock.h"
#include "sys/etimer.h"
#include "cc253x.h"
#include "sys/energest.h"

Go to the source code of this file.

Functions

__xdata __at (0x0000)
 Each iteration is ~1.0xy usec, so this function delays for roughly len usec.
 
void clock_wait (clock_time_t i)
 Wait for a multiple of ~8 ms (a tick) More...
 
CCIF clock_time_t clock_time (void)
 Get the current clock time. More...
 
CCIF unsigned long clock_seconds (void)
 Get the current value of the platform seconds. More...
 
void clock_init (void)
 Initialize the clock library. More...
 
void clock_isr (void)
 The clock Interrupt Service Routine. More...
 

Detailed Description

    Implementation of the clock functions for the cc253x.
    Ported over from the cc243x original.
Author
Zach Shelby (zach@.nosp@m.sens.nosp@m.inode.nosp@m..com) - original (cc243x) George Oikonomou - oikon.nosp@m.omou.nosp@m.@user.nosp@m.s.so.nosp@m.urcef.nosp@m.orge.nosp@m..net - cc2530 port

Definition in file clock.c.