Contiki 3.x
Functions
clock.c File Reference

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

#include "sys/clock.h"
#include "sys/etimer.h"
#include "cc2430_sfr.h"
#include "sys/energest.h"

Go to the source code of this file.

Functions

void clock_delay_usec (uint16_t len)
 Each iteration is ~1.0xy usec, so this function delays for roughly len usec. More...
 
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...
 

Detailed Description

    Implementation of the clock functions for the cc243x
Author
Zach Shelby (zach@.nosp@m.sens.nosp@m.inode.nosp@m..com) - original 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 clock.c.