FreeRTOS C++ Wrappers
1.6.0
C++ interface to FreeRTOS
|
#include <semaphore.hpp>
Public Member Functions | |
BinarySemaphore (bool set=false) | |
Public Member Functions inherited from cpp_freertos::Semaphore | |
bool | Take (TickType_t Timeout=portMAX_DELAY) |
bool | Give () |
bool | TakeFromISR (BaseType_t *pxHigherPriorityTaskWoken) |
bool | GiveFromISR (BaseType_t *pxHigherPriorityTaskWoken) |
virtual | ~Semaphore () |
Additional Inherited Members | |
Protected Member Functions inherited from cpp_freertos::Semaphore | |
Semaphore () | |
Protected Attributes inherited from cpp_freertos::Semaphore | |
SemaphoreHandle_t | handle |
Wrapper class for Binary Semaphores.
Definition at line 194 of file semaphore.hpp.
|
explicit |
Constructor to create a binary semaphore.
set | Is this semaphore "full" or not? |
SemaphoreCreateException | on failure. |
Definition at line 97 of file csemaphore.cpp.