clock.c File Reference

Clock. More...

#include "hal/error.h"
#include "hal/hal.h"
#include "dev/stm32w_systick.h"
#include "sys/clock.h"
#include "sys/etimer.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 (int i)
 Wait for a multiple of 1 ms.

Detailed Description

Clock.

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

Definition in file clock.c.


Function Documentation

void clock_wait ( int  i  ) 

Wait for a multiple of 1 ms.

Wait for a multiple of 1 / 125 sec = 0.008 ms.

Definition at line 118 of file clock.c.

References clock_time().


Generated on Mon Apr 11 14:23:47 2011 for Contiki 2.5 by  doxygen 1.6.1