70 #ifndef INC_FREERTOS_H
71 #error "include FreeRTOS.h must appear in source files before include timers.h"
92 #define tmrCOMMAND_EXECUTE_CALLBACK_FROM_ISR ( ( BaseType_t ) -2 )
93 #define tmrCOMMAND_EXECUTE_CALLBACK ( ( BaseType_t ) -1 )
94 #define tmrCOMMAND_START_DONT_TRACE ( ( BaseType_t ) 0 )
95 #define tmrCOMMAND_START ( ( BaseType_t ) 1 )
96 #define tmrCOMMAND_RESET ( ( BaseType_t ) 2 )
97 #define tmrCOMMAND_STOP ( ( BaseType_t ) 3 )
98 #define tmrCOMMAND_CHANGE_PERIOD ( ( BaseType_t ) 4 )
99 #define tmrCOMMAND_DELETE ( ( BaseType_t ) 5 )
101 #define tmrFIRST_FROM_ISR_COMMAND ( ( BaseType_t ) 6 )
102 #define tmrCOMMAND_START_FROM_ISR ( ( BaseType_t ) 6 )
103 #define tmrCOMMAND_RESET_FROM_ISR ( ( BaseType_t ) 7 )
104 #define tmrCOMMAND_STOP_FROM_ISR ( ( BaseType_t ) 8 )
105 #define tmrCOMMAND_CHANGE_PERIOD_FROM_ISR ( ( BaseType_t ) 9 )
378 #define xTimerStart( xTimer, xTicksToWait ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_START, ( xTaskGetTickCount() ), NULL, ( xTicksToWait ) )
420 #define xTimerStop( xTimer, xTicksToWait ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_STOP, 0U, NULL, ( xTicksToWait ) )
500 #define xTimerChangePeriod( xTimer, xNewPeriod, xTicksToWait ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_CHANGE_PERIOD, ( xNewPeriod ), NULL, ( xTicksToWait ) )
538 #define xTimerDelete( xTimer, xTicksToWait ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_DELETE, 0U, NULL, ( xTicksToWait ) )
662 #define xTimerReset( xTimer, xTicksToWait ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_RESET, ( xTaskGetTickCount() ), NULL, ( xTicksToWait ) )
748 #define xTimerStartFromISR( xTimer, pxHigherPriorityTaskWoken ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_START_FROM_ISR, ( xTaskGetTickCountFromISR() ), ( pxHigherPriorityTaskWoken ), 0U )
811 #define xTimerStopFromISR( xTimer, pxHigherPriorityTaskWoken ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_STOP_FROM_ISR, 0, ( pxHigherPriorityTaskWoken ), 0U )
884 #define xTimerChangePeriodFromISR( xTimer, xNewPeriod, pxHigherPriorityTaskWoken ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_CHANGE_PERIOD_FROM_ISR, ( xNewPeriod ), ( pxHigherPriorityTaskWoken ), 0U )
970 #define xTimerResetFromISR( xTimer, pxHigherPriorityTaskWoken ) xTimerGenericCommand( ( xTimer ), tmrCOMMAND_RESET_FROM_ISR, ( xTaskGetTickCountFromISR() ), ( pxHigherPriorityTaskWoken ), 0U )
const char * pcTimerGetTimerName(TimerHandle_t xTimer)
void(* TimerCallbackFunction_t)(TimerHandle_t xTimer)
TimerHandle_t xTimerCreate(const char *const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void *const pvTimerID, TimerCallbackFunction_t pxCallbackFunction) PRIVILEGED_FUNCTION
BaseType_t xTimerPendFunctionCall(PendedFunction_t xFunctionToPend, void *pvParameter1, uint32_t ulParameter2, TickType_t xTicksToWait)
BaseType_t xTimerGenericCommand(TimerHandle_t xTimer, const BaseType_t xCommandID, const TickType_t xOptionalValue, BaseType_t *const pxHigherPriorityTaskWoken, const TickType_t xTicksToWait) PRIVILEGED_FUNCTION
unsigned long UBaseType_t
void(* PendedFunction_t)(void *, uint32_t)
void * pvTimerGetTimerID(TimerHandle_t xTimer) PRIVILEGED_FUNCTION
BaseType_t xTimerPendFunctionCallFromISR(PendedFunction_t xFunctionToPend, void *pvParameter1, uint32_t ulParameter2, BaseType_t *pxHigherPriorityTaskWoken)
TaskHandle_t xTimerGetTimerDaemonTaskHandle(void)
#define PRIVILEGED_FUNCTION
BaseType_t xTimerCreateTimerTask(void) PRIVILEGED_FUNCTION
BaseType_t xTimerIsTimerActive(TimerHandle_t xTimer) PRIVILEGED_FUNCTION