|
HF-AS5047U Driver
0.1.0-dev
HF-AS5047U C++ Driver
|
Hardware configuration for AS5047U driver on ESP32-C6. More...
#include <cstdint>Go to the source code of this file.
Classes | |
| struct | AS5047U_TestConfig::SPIPins |
| SPI Configuration for ESP32-C6. More... | |
| struct | AS5047U_TestConfig::ControlPins |
| Control GPIO Pins for AS5047U. More... | |
| struct | AS5047U_TestConfig::SPIParams |
| SPI Communication Parameters. More... | |
| struct | AS5047U_TestConfig::EncoderSpecs |
| Encoder Resolution and Specifications. More... | |
| struct | AS5047U_TestConfig::SupplyVoltage |
| Supply Voltage Specifications (volts) More... | |
| struct | AS5047U_TestConfig::Temperature |
| Temperature Specifications (celsius) More... | |
| struct | AS5047U_TestConfig::Timing |
| Timing Parameters. More... | |
| struct | AS5047U_TestConfig::Diagnostics |
| Diagnostic Thresholds. More... | |
| struct | AS5047U_TestConfig::TestConfig |
| Test Configuration. More... | |
| struct | AS5047U_TestConfig::AppConfig |
| Application-specific Configuration. More... | |
Namespaces | |
| namespace | AS5047U_TestConfig |
Macros | |
| #define | ESP32_AS5047U_ENABLE_DETAILED_SPI_LOGGING 1 |
| Enable detailed SPI transaction logging. | |
| #define | AS5047U_VALIDATE_GPIO(pin) static_assert((pin) >= 0 && (pin) < 30, "Invalid GPIO pin number for ESP32-C6") |
| Hardware configuration validation. | |
Hardware configuration for AS5047U driver on ESP32-C6.
This file contains the actual hardware configuration that is used by the HAL and example applications. Modify these values to match your hardware setup.
| #define AS5047U_VALIDATE_GPIO | ( | pin | ) | static_assert((pin) >= 0 && (pin) < 30, "Invalid GPIO pin number for ESP32-C6") |
Hardware configuration validation.
Compile-time checks to ensure configuration is valid.
Helper macro for compile-time GPIO pin validation
| #define ESP32_AS5047U_ENABLE_DETAILED_SPI_LOGGING 1 |
Enable detailed SPI transaction logging.
When enabled (set to 1), the Esp32As5047uSpiBus will log detailed information about each SPI transaction including:
When disabled (set to 0), only basic error logging is performed.
Default: 1 (enabled) for integration test - Set to 0 to reduce log noise