HardFOC Core
API reference
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
Max22200Handler.cpp File Reference

Implementation of MAX22200 handler with SPI2 communication adapter. More...

#include "Max22200Handler.h"
#include "Logger.h"
#include "HandlerCommon.h"
#include <cstdint>
#include <cstring>
#include "OsUtility.h"

Namespaces

namespace  anonymous_namespace{Max22200Handler.cpp}
 

Functions

template<typename Driver >
max22200::DriverStatus anonymous_namespace{Max22200Handler.cpp}::SelectDriveMode (Driver &drv, uint8_t channel, max22200::DriveMode mode) noexcept
 

Variables

uint8_t anonymous_namespace{Max22200Handler.cpp}::g_max_spi_tx [8] {}
 
uint8_t anonymous_namespace{Max22200Handler.cpp}::g_max_spi_rx [8] {}
 
static constexpr const char * TAG = "MAX22200"
 

Detailed Description

Implementation of MAX22200 handler with SPI2 communication adapter.

Shared SPI2, two-phase CMD-pin protocol. Bench carrier wires channel 0 only (Parker C21 solenoid); channels 1..7 unpopulated.

Variable Documentation

◆ TAG

constexpr const char* TAG = "MAX22200"
staticconstexpr