|
HF-AS5047U Driver
0.1.0-dev
HF-AS5047U C++ Driver
|
ESP32 SPI transport implementation for AS5047U driver (header-only) More...
#include "../../../inc/as5047u_spi_interface.hpp"#include "esp32_as5047u_test_config.hpp"#include "driver/gpio.h"#include "driver/spi_master.h"#include "esp_log.h"#include <cstdint>#include <cstdio>#include <cstring>#include <memory>Go to the source code of this file.
Classes | |
| class | Esp32As5047uSpiBus |
| ESP32 SPI transport implementation for AS5047U driver. More... | |
| struct | Esp32As5047uSpiBus::SPIConfig |
| SPI configuration structure. More... | |
Functions | |
| auto | CreateEsp32As5047uSpiBus () noexcept -> std::unique_ptr< Esp32As5047uSpiBus > |
| Factory function to create a configured Esp32As5047uSpiBus instance. | |
ESP32 SPI transport implementation for AS5047U driver (header-only)
This file provides the ESP32-specific implementation of the as5047u::SpiInterface interface for communicating with AS5047U magnetic encoder over SPI.
Header-only implementation — no separate .cpp file needed.
|
inlinenoexcept |
Factory function to create a configured Esp32As5047uSpiBus instance.
Creates an Esp32As5047uSpiBus using pin and parameter values from AS5047U_TestConfig namespace (esp32_as5047u_test_config.hpp).