Contiki 2.5
Functions
clock.c File Reference

           Clock for STM32W.
More...

#include "hal/error.h"
#include "hal/hal.h"
#include "dev/stm32w_systick.h"
#include "sys/clock.h"
#include "sys/etimer.h"
#include "dev/button-sensor.h"
#include "uart1.h"
#include "dev/leds.h"
#include "dev/stm32w-radio.h"
#include "net/uip-debug.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...
 
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. More...
 

Detailed Description

           Clock for STM32W.
Author
Salvatore Pitrulli salvo.nosp@m.pitr.nosp@m.u@use.nosp@m.rs.s.nosp@m.ource.nosp@m.forg.nosp@m.e.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 ~8 ms (a tick)

Definition at line 133 of file clock.c.

References clock_time().