|
FreeRTOS Addons
|
#include <semaphore.hpp>
Public Member Functions | |
| BinarySemaphore (bool set=false) | |
Public Member Functions inherited from cpp_freertos::Semaphore | |
| virtual | ~Semaphore () |
| bool | Give () |
| bool | GiveFromISR (BaseType_t *pxHigherPriorityTaskWoken) |
| bool | Take (TickType_t Timeout=portMAX_DELAY) |
| bool | TakeFromISR (BaseType_t *pxHigherPriorityTaskWoken) |
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.
|
explicit |
Constructor to create a binary semaphore.
| set | Is this semaphore "full" or not? |
| SemaphoreCreateException | on failure. |