40#include "freertos-config.h"
53#ifndef CPP_FREERTOS_NO_EXCEPTIONS
57#ifdef CPP_FREERTOS_NO_CPP_STRINGS
58#error "FreeRTOS-Addons require C++ Strings if you are using exceptions"
68#ifndef CPP_FREERTOS_NO_EXCEPTIONS
80 sprintf(errorString,
"Timer Constructor Failed");
87 virtual const char *
what()
const throw()
129 Timer(
const char *
const TimerName,
130 TickType_t PeriodInTicks,
145 Timer( TickType_t PeriodInTicks,
169 bool Start(TickType_t CmdTimeout = portMAX_DELAY);
179 bool StartFromISR(BaseType_t *pxHigherPriorityTaskWoken);
189 bool Stop(TickType_t CmdTimeout = portMAX_DELAY);
199 bool StopFromISR(BaseType_t *pxHigherPriorityTaskWoken);
209 bool Reset(TickType_t CmdTimeout = portMAX_DELAY);
219 bool ResetFromISR(BaseType_t *pxHigherPriorityTaskWoken);
231 TickType_t CmdTimeout = portMAX_DELAY);
243 BaseType_t *pxHigherPriorityTaskWoken);
245#if (INCLUDE_xTimerGetTimerDaemonTaskHandle == 1)
281 TimerHandle_t handle;
289 static void TimerCallbackFunctionAdapter(TimerHandle_t xTimer);
TimerCreateException()
Definition: timer.hpp:78
virtual const char * what() const
Definition: timer.hpp:87
Definition: timer.hpp:109
bool SetPeriodFromISR(TickType_t NewPeriod, BaseType_t *pxHigherPriorityTaskWoken)
Definition: ctimer.cpp:146
virtual ~Timer()
Definition: ctimer.cpp:87
bool Stop(TickType_t CmdTimeout=portMAX_DELAY)
Definition: ctimer.cpp:112
bool Start(TickType_t CmdTimeout=portMAX_DELAY)
Definition: ctimer.cpp:99
bool StopFromISR(BaseType_t *pxHigherPriorityTaskWoken)
Definition: ctimer.cpp:118
bool Reset(TickType_t CmdTimeout=portMAX_DELAY)
Definition: ctimer.cpp:125
bool IsActive()
Definition: ctimer.cpp:93
bool SetPeriod(TickType_t NewPeriod, TickType_t CmdTimeout=portMAX_DELAY)
Definition: ctimer.cpp:138
bool ResetFromISR(BaseType_t *pxHigherPriorityTaskWoken)
Definition: ctimer.cpp:131
bool StartFromISR(BaseType_t *pxHigherPriorityTaskWoken)
Definition: ctimer.cpp:105
static TaskHandle_t GetTimerDaemonHandle()
Definition: ctimer.cpp:157
Definition: condition_variable.hpp:57