oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
Namespaces | Functions
time.hpp File Reference

Monotonic clock queries and delay utilities. More...

#include <ove/time.h>
#include <ove/types.hpp>
Include dependency graph for time.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ove
 Top-level namespace for all oveRTOS C++ abstractions.
 
namespace  ove::time
 Thin C++ wrappers around the oveRTOS time and delay API.
 

Functions

int ove::time::get_us (uint64_t *out)
 Returns the current system time in microseconds.
 
void ove::time::delay_ms (uint32_t ms)
 Blocks the calling task for at least the specified number of milliseconds.
 
void ove::time::delay_us (uint32_t us)
 Blocks the calling task for at least the specified number of microseconds.
 

Detailed Description

Monotonic clock queries and delay utilities.