Internal Interface Wrap
API reference
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
PlatformTime Class Reference

#include <PlatformMutex.h>

Static Public Member Functions

static uint64_t GetCurrentTimeUs () noexcept
 Get current time in microseconds (from RTOS tick count).
 
static uint32_t MsToTicks (uint32_t ms) noexcept
 Convert milliseconds to RTOS ticks (minimum 1 tick for non-zero input).
 

Member Function Documentation

◆ GetCurrentTimeUs()

static uint64_t PlatformTime::GetCurrentTimeUs ( )
inlinestaticnoexcept

Get current time in microseconds (from RTOS tick count).

Returns
Microseconds since RTOS start, or 0 if no RTOS.

◆ MsToTicks()

static uint32_t PlatformTime::MsToTicks ( uint32_t  ms)
inlinestaticnoexcept

Convert milliseconds to RTOS ticks (minimum 1 tick for non-zero input).


The documentation for this class was generated from the following file: