VSF Documented
Macros | Functions
freertos_timers_port.c File Reference
#include "../vsf_freertos_cfg.h"
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "timers.h"
#include "service/heap/vsf_heap.h"
#include "kernel/vsf_kernel.h"
#include <string.h>
#include <stddef.h>

Macros

#define __VSF_FREERTOS_TIMERS_CLASS_IMPLEMENT
 
#define VSF_FREERTOS_CFG_TIMER_Q_DEPTH   16
 
#define VSF_FREERTOS_CFG_TIMER_TASK_STACK   4096
 

Functions

TimerHandle_t xTimerCreate (const char *const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void *const pvTimerID, TimerCallbackFunction_t pxCallbackFunction)
 
TimerHandle_t xTimerCreateStatic (const char *const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void *const pvTimerID, TimerCallbackFunction_t pxCallbackFunction, StaticTimer_t *pxTimerBuffer)
 
BaseType_t xTimerStart (TimerHandle_t xTimer, TickType_t xTicksToWait)
 
BaseType_t xTimerStartFromISR (TimerHandle_t xTimer, BaseType_t *pxHigherPriorityTaskWoken)
 
BaseType_t xTimerStop (TimerHandle_t xTimer, TickType_t xTicksToWait)
 
BaseType_t xTimerStopFromISR (TimerHandle_t xTimer, BaseType_t *pxHigherPriorityTaskWoken)
 
BaseType_t xTimerReset (TimerHandle_t xTimer, TickType_t xTicksToWait)
 
BaseType_t xTimerResetFromISR (TimerHandle_t xTimer, BaseType_t *pxHigherPriorityTaskWoken)
 
BaseType_t xTimerChangePeriod (TimerHandle_t xTimer, TickType_t xNewPeriod, TickType_t xTicksToWait)
 
BaseType_t xTimerChangePeriodFromISR (TimerHandle_t xTimer, TickType_t xNewPeriod, BaseType_t *pxHigherPriorityTaskWoken)
 
BaseType_t xTimerDelete (TimerHandle_t xTimer, TickType_t xTicksToWait)
 
BaseType_t xTimerIsTimerActive (TimerHandle_t xTimer)
 
TickType_t xTimerGetPeriod (TimerHandle_t xTimer)
 
void * pvTimerGetTimerID (const TimerHandle_t xTimer)
 
void vTimerSetTimerID (TimerHandle_t xTimer, void *pvNewID)
 
const char * pcTimerGetName (TimerHandle_t xTimer)
 

Macro Definition Documentation

◆ __VSF_FREERTOS_TIMERS_CLASS_IMPLEMENT

#define __VSF_FREERTOS_TIMERS_CLASS_IMPLEMENT

◆ VSF_FREERTOS_CFG_TIMER_Q_DEPTH

#define VSF_FREERTOS_CFG_TIMER_Q_DEPTH   16

◆ VSF_FREERTOS_CFG_TIMER_TASK_STACK

#define VSF_FREERTOS_CFG_TIMER_TASK_STACK   4096

Function Documentation

◆ xTimerCreate()

TimerHandle_t xTimerCreate ( const char *const  pcTimerName,
const TickType_t  xTimerPeriodInTicks,
const UBaseType_t  uxAutoReload,
void *const  pvTimerID,
TimerCallbackFunction_t  pxCallbackFunction 
)

◆ xTimerCreateStatic()

TimerHandle_t xTimerCreateStatic ( const char *const  pcTimerName,
const TickType_t  xTimerPeriodInTicks,
const UBaseType_t  uxAutoReload,
void *const  pvTimerID,
TimerCallbackFunction_t  pxCallbackFunction,
StaticTimer_t pxTimerBuffer 
)

◆ xTimerStart()

BaseType_t xTimerStart ( TimerHandle_t  xTimer,
TickType_t  xTicksToWait 
)

◆ xTimerStartFromISR()

BaseType_t xTimerStartFromISR ( TimerHandle_t  xTimer,
BaseType_t pxHigherPriorityTaskWoken 
)

◆ xTimerStop()

BaseType_t xTimerStop ( TimerHandle_t  xTimer,
TickType_t  xTicksToWait 
)

◆ xTimerStopFromISR()

BaseType_t xTimerStopFromISR ( TimerHandle_t  xTimer,
BaseType_t pxHigherPriorityTaskWoken 
)

◆ xTimerReset()

BaseType_t xTimerReset ( TimerHandle_t  xTimer,
TickType_t  xTicksToWait 
)

◆ xTimerResetFromISR()

BaseType_t xTimerResetFromISR ( TimerHandle_t  xTimer,
BaseType_t pxHigherPriorityTaskWoken 
)

◆ xTimerChangePeriod()

BaseType_t xTimerChangePeriod ( TimerHandle_t  xTimer,
TickType_t  xNewPeriod,
TickType_t  xTicksToWait 
)

◆ xTimerChangePeriodFromISR()

BaseType_t xTimerChangePeriodFromISR ( TimerHandle_t  xTimer,
TickType_t  xNewPeriod,
BaseType_t pxHigherPriorityTaskWoken 
)

◆ xTimerDelete()

BaseType_t xTimerDelete ( TimerHandle_t  xTimer,
TickType_t  xTicksToWait 
)

◆ xTimerIsTimerActive()

BaseType_t xTimerIsTimerActive ( TimerHandle_t  xTimer)

◆ xTimerGetPeriod()

TickType_t xTimerGetPeriod ( TimerHandle_t  xTimer)

◆ pvTimerGetTimerID()

void * pvTimerGetTimerID ( const TimerHandle_t  xTimer)

◆ vTimerSetTimerID()

void vTimerSetTimerID ( TimerHandle_t  xTimer,
void *  pvNewID 
)

◆ pcTimerGetName()

const char * pcTimerGetName ( TimerHandle_t  xTimer)
Generated from commit: vsfteam/vsf@015f4d1