Contiki 2.6

clock.c File Reference

Clock. More...

#include "hal/error.h"
#include "hal/hal.h"
#include "dev/stm32w_systick.h"
#include "contiki.h"
#include "sys/clock.h"
#include "uart1.h"
#include "dev/leds.h"
#include "dev/stm32w-radio.h"
#include "net/uip-debug.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void clock_init (void)
 Initialize the clock library.
clock_time_t clock_time (void)
 Get the current clock time.
void clock_delay (unsigned int i)
 Delay the CPU for a multiple of TODO.
void clock_wait (clock_time_t i)
 Wait for a multiple of 1 ms.
unsigned long clock_seconds (void)
 Get the current value of the platform seconds.

Detailed Description

Clock.

Author:
Salvatore Pitrulli <salvopitru@users.sourceforge.net>

Definition in file clock.c.