|
HF-MAX22200 Driver 0.1.0-dev
HF-MAX22200 C++ Driver
|
ESP32 SPI transport implementation for MAX22200 driver (header-only) More...
#include "../../../inc/max22200_spi_interface.hpp"#include "esp32_max22200_test_config.hpp"#include "driver/gpio.h"#include "driver/spi_master.h"#include "esp_log.h"#include "esp_rom_sys.h"#include <cstddef>#include <cstdint>#include <cstdio>#include <cstring>#include <memory>Go to the source code of this file.
Classes | |
| class | Esp32Max22200SpiBus |
| ESP32 SPI transport implementation for MAX22200 driver. More... | |
| struct | Esp32Max22200SpiBus::SPIConfig |
| SPI configuration structure. More... | |
Functions | |
| auto | CreateEsp32Max22200SpiBus () noexcept -> std::unique_ptr< Esp32Max22200SpiBus > |
| Factory function to create a configured Esp32Max22200SpiBus instance. | |
ESP32 SPI transport implementation for MAX22200 driver (header-only)
This file provides the ESP32-specific implementation of the max22200::SpiInterface for communicating with MAX22200 octal solenoid and motor driver over SPI.
Header-only implementation — no separate .cpp file needed.
|
inlinenoexcept |
Factory function to create a configured Esp32Max22200SpiBus instance.
Creates an Esp32Max22200SpiBus using pin and parameter values from MAX22200_TestConfig namespace (esp32_max22200_test_config.hpp).