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. |
Clock.
Definition in file clock.c.
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().