|
HF-MAX22200 Driver 0.1.0-dev
HF-MAX22200 C++ Driver
|
CRTP-based template interface for SPI communication. More...
#include <cstddef>#include <cstdint>Go to the source code of this file.
Classes | |
| class | max22200::SpiInterface< Derived > |
| CRTP-based template interface for SPI communication. More... | |
Namespaces | |
| namespace | max22200 |
Enumerations | |
| enum class | max22200::CtrlPin : uint8_t { max22200::ENABLE = 0 , max22200::FAULT , max22200::CMD } |
| Identifies the hardware control pins of the MAX22200. More... | |
| enum class | max22200::GpioSignal : uint8_t { max22200::INACTIVE = 0 , max22200::ACTIVE = 1 } |
| Abstract signal level for control pins. More... | |
CRTP-based template interface for SPI communication.
This file defines the hardware abstraction layer (HAL) interface for SPI communication and GPIO control required by the MAX22200 driver. Platform-specific implementations (e.g., ESP32, STM32) must inherit from SpiInterface and implement all pure virtual methods.
The CMD pin is critical for the two-phase SPI protocol: