|
HF-TMC9660 Driver 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC9660
|
ESP32-specific communication interfaces for TMC9660 using SPI and UART. More...
#include "../../../inc/tmc9660_comm_interface.hpp"#include "esp_log.h"#include "driver/spi_master.h"#include "driver/uart.h"#include "driver/gpio.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"#include "esp_rom_sys.h"#include <array>#include <cstdarg>#include <cstring>#include <cstdint>#include <memory>Go to the source code of this file.
Classes | |
| class | Esp32Tmc9660SpiBus |
| ESP32 SPI implementation of TMC9660CommInterface. More... | |
| class | Esp32Tmc9660UartBus |
| ESP32 UART implementation of TMC9660CommInterface. More... | |
| struct | Esp32Tmc9660BusConfig |
| Common bus configuration for ESP32 TMC9660 tests. More... | |
Functions | |
| std::unique_ptr< Esp32Tmc9660SpiBus > | CreateEsp32Tmc9660SpiBus (const Esp32Tmc9660BusConfig &config=Esp32Tmc9660BusConfig{}) noexcept |
| Create and initialize SPI communication interface. | |
| std::unique_ptr< Esp32Tmc9660UartBus > | CreateEsp32Tmc9660UartBus (const Esp32Tmc9660BusConfig &config=Esp32Tmc9660BusConfig{}) noexcept |
| Create and initialize UART communication interface. | |
Variables | |
| static const char * | BUS_TAG = "TMC9660_Bus" |
ESP32-specific communication interfaces for TMC9660 using SPI and UART.
This file provides ESP32-specific implementations of the TMC9660CommInterface using ESP-IDF SPI and UART drivers. It serves as a common bus interface for all comprehensive test applications.
|
inlinenoexcept |
Create and initialize SPI communication interface.
| config | Bus configuration |
|
inlinenoexcept |
Create and initialize UART communication interface.
| config | Bus configuration |