Contiki 3.x
Functions
clock.c File Reference

Clock routines. More...

#include <pic32_clock.h>
#include <pic32_timer.h>
#include <pic32_irq.h>
#include <sys/clock.h>
#include <sys/etimer.h>
#include "contiki.h"

Go to the source code of this file.

Functions

clock_time_t clock_time (void)
 Get the current clock time. More...
 
unsigned long clock_seconds (void)
 Get the current value of the platform seconds. More...
 
void clock_set_seconds (unsigned long sec)
 Set the value of the platform seconds. More...
 
void clock_delay_usec (uint16_t dt)
 Delay a given number of microseconds. More...
 
void clock_delay (unsigned int delay)
 Obsolete delay function but we implement it here since some code still uses it. More...
 

Detailed Description

Clock routines.

Author
Giovanni Pellerano giova.nosp@m.nni..nosp@m.pelle.nosp@m.rano.nosp@m.@evil.nosp@m.aliv.nosp@m.3.org
Daniele Alessandrelli d.ale.nosp@m.ssan.nosp@m.drell.nosp@m.i@ss.nosp@m.sup.i.nosp@m.t
Date
2012-03-21

Definition in file clock.c.