SimpleFOClibrary 2.4.0
Loading...
Searching...
No Matches
time_utils.h
Go to the documentation of this file.
1#ifndef TIME_UTILS_H
2#define TIME_UTILS_H
3
4#include "foc_utils.h"
5
6/**
7 * Function implementing delay() function in milliseconds
8 * - blocking function
9 * - hardware specific
10
11 * @param ms number of milliseconds to wait
12 */
13void _delay(unsigned long ms);
14
15/**
16 * Function implementing timestamp getting function in microseconds
17 * hardware specific
18 */
19unsigned long _micros();
20
21
22#endif
void _delay(unsigned long ms)
Definition time_utils.cpp:5
unsigned long _micros()