SZSPTP ez430-RF2480 1.0

ZigBee Sensor Network with synchronized time and time-stamped measurements.
clock.h File Reference

Clock interface. More...

#include <xdc/std.h>
+ Include dependency graph for clock.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  clock_secondsCount
 Seconds count. More...
 
struct  clock_timeStamp
 Time stamp. More...
 

Typedefs

typedef struct clock_secondsCount clock_secondsCount
 Seconds count. More...
 
typedef struct clock_timeStamp clock_timeStamp
 Time stamp. More...
 

Functions

void clock_init ()
 Clock Initialization. More...
 
void clock_tick ()
 Clock tick. More...
 
void clock_checkDelayedTick ()
 Check delayed tick. More...
 
void clock_getTime (clock_timeStamp *destTime)
 Get time. More...
 
void clock_setTime (clock_timeStamp *sourceTime)
 Set time. More...
 
void clock_adjTime (int64_t *adjValue)
 Adjust time. More...
 
void clock_adjTimeValues (int64_t *adjValue, clock_timeStamp *time)
 Adjust time values. More...
 
void clock_adjTick (Int32 adjValue)
 Adjust tick. More...
 
int64_t clock_timeDiff (clock_timeStamp *t1, clock_timeStamp *t2)
 Time difference. More...
 

Variables

UInt32 clock_tickSize
 Tick size (ns) More...
 

Detailed Description

Clock interface.

Definition in file clock.h.