![]() |
SuperTinyKernel™ RTOS 1.06.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
Public Member Functions | |
| FrtosSemaphore (SemKind kind, uint16_t initial, uint16_t max_count) | |
| ~FrtosSemaphore () | |
Public Attributes | |
| SemKind | m_kind |
| bool | m_cb_owned |
| stk::sync::Semaphore * | m_sem |
| stk::sync::Mutex * | m_mtx |
| FrtosQueueSet * | m_set |
| non-owning ptr to the queue set this member belongs to (nullptr if none) | |
Definition at line 613 of file freertos_stk.cpp.
|
inlineexplicit |
Definition at line 615 of file freertos_stk.cpp.
References configUSE_MUTEXES, configUSE_QUEUE_SETS, Counting, m_cb_owned, m_kind, m_mtx, m_sem, m_set, and ObjAlloc().
|
inline |
Definition at line 633 of file freertos_stk.cpp.
References m_mtx, m_sem, and ObjFreeRaw().
Referenced by xSemaphoreCreateBinaryStatic(), xSemaphoreCreateCountingStatic(), and xSemaphoreCreateMutexStatic().
| bool FrtosSemaphore::m_cb_owned |
Definition at line 643 of file freertos_stk.cpp.
Referenced by FrtosSemaphore(), xSemaphoreCreateBinaryStatic(), xSemaphoreCreateCountingStatic(), and xSemaphoreCreateMutexStatic().
| SemKind FrtosSemaphore::m_kind |
Definition at line 642 of file freertos_stk.cpp.
Referenced by FrtosSemaphore(), uxSemaphoreGetCount(), xQueueAddToSet(), xSemaphoreGetMutexHolder(), xSemaphoreGetMutexHolderFromISR(), xSemaphoreGive(), xSemaphoreGiveFromISR(), xSemaphoreTake(), and xSemaphoreTakeFromISR().
| stk::sync::Mutex* FrtosSemaphore::m_mtx |
Definition at line 646 of file freertos_stk.cpp.
Referenced by FrtosSemaphore(), uxSemaphoreGetCount(), xSemaphoreCreateMutex(), xSemaphoreCreateMutexStatic(), xSemaphoreGetMutexHolder(), xSemaphoreGetMutexHolderFromISR(), xSemaphoreGive(), xSemaphoreTake(), and ~FrtosSemaphore().
| stk::sync::Semaphore* FrtosSemaphore::m_sem |
Definition at line 644 of file freertos_stk.cpp.
Referenced by FrtosSemaphore(), uxSemaphoreGetCount(), xQueueAddToSet(), xQueueRemoveFromSet(), xSemaphoreCreateBinary(), xSemaphoreCreateBinaryStatic(), xSemaphoreCreateCounting(), xSemaphoreCreateCountingStatic(), xSemaphoreGive(), xSemaphoreGiveFromISR(), xSemaphoreTake(), xSemaphoreTakeFromISR(), and ~FrtosSemaphore().
| FrtosQueueSet* FrtosSemaphore::m_set |
non-owning ptr to the queue set this member belongs to (nullptr if none)
Definition at line 649 of file freertos_stk.cpp.
Referenced by FrtosSemaphore(), xQueueAddToSet(), and xQueueRemoveFromSet().