Sound Byte Libs
0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
tusb_time.cpp
Go to the documentation of this file.
1
/**
2
* @file tusb_time.cpp
3
* @brief TinyUSB's millisecond hook, over the system timer
4
*
5
* TinyUSB subtracts these values unsigned, so a count that wraps at 2^32 ms
6
* is what it expects; millis() provides exactly that.
7
*/
8
9
#include <cstdint>
10
#include <
sbl/system/timer.hpp
>
11
12
extern
"C"
uint32_t tusb_time_millis_api(
void
) {
return
sbl::system::timer::millis
(); }
sbl::system::timer::millis
uint32_t millis()
Definition
timer.hpp:65
timer.hpp
The system timer: the count, 64-bit time, busy waits and millis()
src
sbl
usb
tusb_time.cpp
Generated by
1.9.8