|
HF-MAX22200 Driver 0.1.0-dev
HF-MAX22200 C++ Driver
|
Hardware configuration for MAX22200 driver on ESP32-C6. More...
#include <cstdint>Go to the source code of this file.
Classes | |
| struct | MAX22200_TestConfig::SPIPins |
| SPI pin assignment for MAX22200 (SDI/SDO/SCK/CSB) More... | |
| struct | MAX22200_TestConfig::ControlPins |
| Control GPIO Pins for MAX22200. More... | |
| struct | MAX22200_TestConfig::SPIParams |
| SPI Communication Parameters. More... | |
| struct | MAX22200_TestConfig::BoardTestConfig |
| Board configuration for tests (single board: RREF via short = 15 kΩ) More... | |
| struct | MAX22200_TestConfig::C21ValveConfig |
| Parker C21 valve Hit and Hold (compile-time CDR vs VDR) More... | |
| struct | MAX22200_TestConfig::SolenoidValvePatternConfig |
| Solenoid valve test pattern timing (used by max22200_solenoid_valve_test) More... | |
Namespaces | |
| namespace | MAX22200_TestConfig |
Macros | |
| #define | ESP32_MAX22200_ENABLE_DETAILED_SPI_LOGGING 0 |
| Enable detailed SPI transaction logging. | |
| #define | ESP32_MAX22200_ENABLE_VERBOSE_BUS_LOGGING 1 |
| Enable verbose bus init/pin logging. | |
| #define | MAX22200_VALIDATE_GPIO(pin) static_assert((pin) >= 0 && (pin) <= 48, "Invalid GPIO pin number for ESP32-C6") |
| Helper macro for compile-time GPIO pin validation (ESP32-C6 allows 0-48) | |
Hardware configuration for MAX22200 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 ESP32_MAX22200_ENABLE_DETAILED_SPI_LOGGING 0 |
Enable detailed SPI transaction logging.
When enabled (set to 1), the Esp32Max22200SpiBus will log detailed information about each SPI transaction including:
When disabled (set to 0), only basic error logging is performed.
Default: 0 (disabled) - Set to 1 to enable for debugging
| #define ESP32_MAX22200_ENABLE_VERBOSE_BUS_LOGGING 1 |
Enable verbose bus init/pin logging.
When enabled (set to 1), the Esp32Max22200SpiBus will log:
When disabled (set to 0), only ESP_LOGE (real failures) and the MISO pullup warning (if it fails) are logged from the bus.
Default: 0 (disabled) - Set to 1 for bring-up or pin debugging
| #define MAX22200_VALIDATE_GPIO | ( | pin | ) | static_assert((pin) >= 0 && (pin) <= 48, "Invalid GPIO pin number for ESP32-C6") |
Helper macro for compile-time GPIO pin validation (ESP32-C6 allows 0-48)