HF-MAX22200 Driver 0.1.0-dev
HF-MAX22200 C++ Driver
Loading...
Searching...
No Matches
MAX22200_TestConfig::C21ValveConfig Struct Reference

Parker C21 valve Hit and Hold (compile-time CDR vs VDR) More...

#include <esp32_max22200_test_config.hpp>

Static Public Attributes

static constexpr bool USE_CDR = false
 true = CDR (current), false = VDR (PWM duty)
 
static constexpr float HIT_TIME_MS = 100.0f
 Min hit time per C21 (ms)
 
static constexpr float HIT_CURRENT_MA = 500.0f
 CDR mode: hit and hold current in mA (board IFS must be >= these)
 
static constexpr float HOLD_CURRENT_MA = 250.0f
 
static constexpr float HIT_PERCENT = 100.0f
 VDR mode only: duty cycle 0–100%.
 
static constexpr float HOLD_PERCENT = 50.0f
 
static constexpr uint8_t CHANNEL = 0
 Channel used for C21 (low-side)
 

Detailed Description

Parker C21 valve Hit and Hold (compile-time CDR vs VDR)

CDR mode: use HIT_CURRENT_MA and HOLD_CURRENT_MA (explicit currents). VDR mode: use HIT_PERCENT and HOLD_PERCENT (duty %, 0–100). Min hit time per C21: 100 ms; PWM freq min 1 kHz.

Member Data Documentation

◆ CHANNEL

constexpr uint8_t MAX22200_TestConfig::C21ValveConfig::CHANNEL = 0
staticconstexpr

Channel used for C21 (low-side)

◆ HIT_CURRENT_MA

constexpr float MAX22200_TestConfig::C21ValveConfig::HIT_CURRENT_MA = 500.0f
staticconstexpr

CDR mode: hit and hold current in mA (board IFS must be >= these)

◆ HIT_PERCENT

constexpr float MAX22200_TestConfig::C21ValveConfig::HIT_PERCENT = 100.0f
staticconstexpr

VDR mode only: duty cycle 0–100%.

◆ HIT_TIME_MS

constexpr float MAX22200_TestConfig::C21ValveConfig::HIT_TIME_MS = 100.0f
staticconstexpr

Min hit time per C21 (ms)

◆ HOLD_CURRENT_MA

constexpr float MAX22200_TestConfig::C21ValveConfig::HOLD_CURRENT_MA = 250.0f
staticconstexpr

◆ HOLD_PERCENT

constexpr float MAX22200_TestConfig::C21ValveConfig::HOLD_PERCENT = 50.0f
staticconstexpr

◆ USE_CDR

constexpr bool MAX22200_TestConfig::C21ValveConfig::USE_CDR = false
staticconstexpr

true = CDR (current), false = VDR (PWM duty)


The documentation for this struct was generated from the following file: