FreeRTOS Addons
|
#include <ticks.hpp>
Static Public Member Functions | |
static TickType_t | GetTicks () |
static TickType_t | GetTicksFromISR () |
static TickType_t | MsToTicks (TickType_t milliseconds) |
static TickType_t | SecondsToTicks (TickType_t seconds) |
static TickType_t | TicksToMs (TickType_t ticks) |
Class encapsulating FreeRTOS idea of a tick.
|
inlinestatic |
Get the current tick count.
|
inlinestatic |
Get the current tick count from ISR context.
|
inlinestatic |
Convert from ms to ticks.
milliseconds | milliseconds to convert. |
|
inlinestatic |
Convert from seconds to ticks.
seconds | seconds to convert. |
|
inlinestatic |
Convert from ticks to ms.
ticks | ticks to convert. |