#include <RtosMutex.h>
|
| static uint64_t | GetCurrentTimeUs () noexcept |
| | Get current time in microseconds.
|
| |
| static uint32_t | MsToTicks (uint32_t ms) noexcept |
| | Convert milliseconds to RTOS ticks.
|
| |
◆ GetCurrentTimeUs()
| static uint64_t RtosTime::GetCurrentTimeUs |
( |
| ) |
|
|
inlinestaticnoexcept |
Get current time in microseconds.
- Returns
- Current time in microseconds from the RTOS tick counter.
◆ MsToTicks()
| static uint32_t RtosTime::MsToTicks |
( |
uint32_t |
ms | ) |
|
|
inlinestaticnoexcept |
Convert milliseconds to RTOS ticks.
- Parameters
-
- Returns
- Equivalent tick count (minimum 1 tick for non-zero ms).
The documentation for this class was generated from the following file: