72 #include "contiki-conf.h"
79 #ifdef CLOCK_CONF_SECOND
80 #define CLOCK_SECOND CLOCK_CONF_SECOND
82 #define CLOCK_SECOND (clock_time_t)32
140 unsigned short clock_fine(
void);
void clock_delay_usec(uint16_t dt)
Delay a given number of microseconds.
void clock_init(void)
Initialize the clock library.
CCIF clock_time_t clock_time(void)
Get the current clock time.
void clock_set_seconds(unsigned long sec)
Set the value of the platform seconds.
CCIF unsigned long clock_seconds(void)
Get the current value of the platform seconds.
void clock_delay(unsigned int delay)
Obsolete delay function but we implement it here since some code still uses it.
void clock_wait(clock_time_t t)
Wait for a given number of ticks.
int clock_fine_max(void)
Deprecated platform-specific routines.