Contiki-NG
clock-arch.c File Reference

Software clock implementation for the gecko. More...

#include "contiki.h"
#include "sl_sleeptimer.h"

Go to the source code of this file.

Functions

void clock_init (void)
 Initialize the clock library. More...
 
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_wait (clock_time_t i)
 Wait for a given number of ticks. More...
 
void clock_delay_usec (uint16_t dt)
 Delay a given number of microseconds. More...
 
void clock_delay (unsigned int i)
 Obsolete delay function but we implement it here since some code still uses it.
 

Detailed Description

Software clock implementation for the gecko.

Author
Yago Fontoura do Rosario yago..nosp@m.rosa.nosp@m.rio@h.nosp@m.otma.nosp@m.il.co.nosp@m.m.br

Definition in file clock-arch.c.