|
oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
|
Thin C++ wrappers around the oveRTOS time and delay API. More...
Functions | |
| int | get_us (uint64_t *out) |
| Returns the current system time in microseconds. | |
| void | delay_ms (uint32_t ms) |
| Blocks the calling task for at least the specified number of milliseconds. | |
| void | delay_us (uint32_t us) |
| Blocks the calling task for at least the specified number of microseconds. | |
Thin C++ wrappers around the oveRTOS time and delay API.
Available when CONFIG_OVE_TIME is enabled.
|
inline |
Returns the current system time in microseconds.
| [out] | out | Pointer to a uint64_t that receives the timestamp. |
OVE_OK on success, or a negative error code.
|
inline |
Blocks the calling task for at least the specified number of milliseconds.
| [in] | ms | Delay duration in milliseconds. |
|
inline |
Blocks the calling task for at least the specified number of microseconds.
| [in] | us | Delay duration in microseconds. |