HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
Loading...
Searching...
No Matches
esp32_tmc_mutex.hpp File Reference

ESP32 FreeRTOS mutex wrapper for TMC51x0 driver thread safety. More...

#include "freertos/FreeRTOS.h"
#include "freertos/semphr.h"
#include "esp_log.h"
Include dependency graph for esp32_tmc_mutex.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Esp32TmcMutex
 ESP32 FreeRTOS mutex wrapper for TMC51x0 driver. More...
 
class  TmcMutexGuard
 RAII mutex guard for automatic lock/unlock. More...
 

Detailed Description

ESP32 FreeRTOS mutex wrapper for TMC51x0 driver thread safety.

Provides RAII mutex classes for protecting TMC51x0 driver access in multi-threaded environments. Uses FreeRTOS semaphores internally.

This is a shared utility located in test_config/ for use across all ESP32 examples. Include this file when you need thread-safe access to TMC51x0 driver instances.