|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
ESP32 FreeRTOS mutex wrapper for TMC51x0 driver. More...
#include <esp32_tmc_mutex.hpp>
Public Member Functions | |
| Esp32TmcMutex () noexcept | |
| ~Esp32TmcMutex () noexcept | |
| Esp32TmcMutex (const Esp32TmcMutex &)=delete | |
| Esp32TmcMutex & | operator= (const Esp32TmcMutex &)=delete |
| SemaphoreHandle_t | native_handle () const noexcept |
| Get native FreeRTOS semaphore handle. | |
| bool | is_valid () const noexcept |
| Check if mutex is valid. | |
Private Attributes | |
| SemaphoreHandle_t | handle_ |
ESP32 FreeRTOS mutex wrapper for TMC51x0 driver.
RAII wrapper around FreeRTOS mutex (semaphore) for thread-safe TMC driver access. Automatically creates mutex on construction and deletes on destruction.
|
inlinenoexcept |
|
inlinenoexcept |
|
delete |
|
inlinenoexcept |
Check if mutex is valid.
|
inlinenoexcept |
Get native FreeRTOS semaphore handle.
|
delete |
|
private |