VSF Documented
freertos_semphr_port.c File Reference
#include "../vsf_freertos_cfg.h"
#include "FreeRTOS.h"
#include "semphr.h"
#include "service/heap/vsf_heap.h"
#include "kernel/vsf_kernel.h"

Macros

#define __VSF_FREERTOS_SEMPHR_CLASS_IMPLEMENT
 

Enumerations

enum  {
  __FRT_SEM_KIND_SEM = 1 ,
  __FRT_SEM_KIND_MUTEX = 2
}
 

Functions

SemaphoreHandle_t xSemaphoreCreateBinary (void)
 
SemaphoreHandle_t xSemaphoreCreateCounting (UBaseType_t uxMaxCount, UBaseType_t uxInitialCount)
 
SemaphoreHandle_t xSemaphoreCreateMutex (void)
 
SemaphoreHandle_t xSemaphoreCreateBinaryStatic (StaticSemaphore_t *pxSemaphoreBuffer)
 
SemaphoreHandle_t xSemaphoreCreateCountingStatic (UBaseType_t uxMaxCount, UBaseType_t uxInitialCount, StaticSemaphore_t *pxSemaphoreBuffer)
 
SemaphoreHandle_t xSemaphoreCreateMutexStatic (StaticSemaphore_t *pxSemaphoreBuffer)
 
void vSemaphoreDelete (SemaphoreHandle_t xSemaphore)
 
BaseType_t xSemaphoreTake (SemaphoreHandle_t xSemaphore, TickType_t xTicksToWait)
 
BaseType_t xSemaphoreGive (SemaphoreHandle_t xSemaphore)
 
BaseType_t xSemaphoreGiveFromISR (SemaphoreHandle_t xSemaphore, BaseType_t *pxHigherPriorityTaskWoken)
 
BaseType_t xSemaphoreTakeFromISR (SemaphoreHandle_t xSemaphore, BaseType_t *pxHigherPriorityTaskWoken)
 

Macro Definition Documentation

◆ __VSF_FREERTOS_SEMPHR_CLASS_IMPLEMENT

#define __VSF_FREERTOS_SEMPHR_CLASS_IMPLEMENT

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
__FRT_SEM_KIND_SEM 
__FRT_SEM_KIND_MUTEX 

Function Documentation

◆ xSemaphoreCreateBinary()

SemaphoreHandle_t xSemaphoreCreateBinary ( void )

◆ xSemaphoreCreateCounting()

SemaphoreHandle_t xSemaphoreCreateCounting ( UBaseType_t uxMaxCount,
UBaseType_t uxInitialCount )

◆ xSemaphoreCreateMutex()

SemaphoreHandle_t xSemaphoreCreateMutex ( void )

◆ xSemaphoreCreateBinaryStatic()

SemaphoreHandle_t xSemaphoreCreateBinaryStatic ( StaticSemaphore_t * pxSemaphoreBuffer)

◆ xSemaphoreCreateCountingStatic()

SemaphoreHandle_t xSemaphoreCreateCountingStatic ( UBaseType_t uxMaxCount,
UBaseType_t uxInitialCount,
StaticSemaphore_t * pxSemaphoreBuffer )

◆ xSemaphoreCreateMutexStatic()

SemaphoreHandle_t xSemaphoreCreateMutexStatic ( StaticSemaphore_t * pxSemaphoreBuffer)

◆ vSemaphoreDelete()

void vSemaphoreDelete ( SemaphoreHandle_t xSemaphore)

◆ xSemaphoreTake()

BaseType_t xSemaphoreTake ( SemaphoreHandle_t xSemaphore,
TickType_t xTicksToWait )

◆ xSemaphoreGive()

BaseType_t xSemaphoreGive ( SemaphoreHandle_t xSemaphore)

◆ xSemaphoreGiveFromISR()

BaseType_t xSemaphoreGiveFromISR ( SemaphoreHandle_t xSemaphore,
BaseType_t * pxHigherPriorityTaskWoken )

◆ xSemaphoreTakeFromISR()

BaseType_t xSemaphoreTakeFromISR ( SemaphoreHandle_t xSemaphore,
BaseType_t * pxHigherPriorityTaskWoken )
Generated from commit: vsfteam/vsf@c8a7591