40#include "freertos-config.h"
65 return xTaskGetTickCount();
75 return xTaskGetTickCountFromISR();
84 static inline TickType_t
TicksToMs(TickType_t ticks)
86 return ticks * portTICK_PERIOD_MS;
95 static inline TickType_t
MsToTicks(TickType_t milliseconds)
97 return milliseconds / portTICK_PERIOD_MS;
108 return (seconds * 1000) / portTICK_PERIOD_MS;
static TickType_t MsToTicks(TickType_t milliseconds)
Definition: ticks.hpp:95
static TickType_t SecondsToTicks(TickType_t seconds)
Definition: ticks.hpp:106
static TickType_t GetTicksFromISR()
Definition: ticks.hpp:73
static TickType_t GetTicks()
Definition: ticks.hpp:63
static TickType_t TicksToMs(TickType_t ticks)
Definition: ticks.hpp:84
Definition: condition_variable.hpp:57