HardFOC Core
API reference
Loading...
Searching...
No Matches
Classes
Max22200Handler.h File Reference

Unified handler for MAX22200 octal solenoid and motor driver. More...

#include <cstdint>
#include <memory>
#include <type_traits>
#include <utility>
#include "core/hf-core-drivers/external/hf-max22200-driver/inc/max22200.hpp"
#include "core/hf-core-drivers/external/hf-max22200-driver/inc/max22200_spi_interface.hpp"
#include "core/hf-core-drivers/external/hf-max22200-driver/inc/max22200_types.hpp"
#include "base/BaseSpi.h"
#include "base/BaseGpio.h"
#include "RtosMutex.h"

Go to the source code of this file.

Classes

class  HalSpiMax22200Comm
 CRTP SPI communication adapter for MAX22200 using BaseSpi and BaseGpio. More...
 
class  Max22200Handler
 Unified handler for MAX22200 octal solenoid/motor driver. More...
 

Detailed Description

Unified handler for MAX22200 octal solenoid and motor driver.

Provides HAL-level integration for the MAX22200 on shared SPI2 using BaseSpi and BaseGpio. Features:

Note
Which channels are populated and with what part is defined by pw_hal/valve_hardware.hpp. Unpopulated channels keep their open-load detectors disabled so they cannot contribute OLF/OCP faults.
Author
HardFOC Team
Date
2025