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

Solenoid valve test pattern timing (used by max22200_solenoid_valve_test) More...

#include <esp32_max22200_test_config.hpp>

Static Public Attributes

static constexpr uint32_t SEQUENTIAL_HIT_MS = 200
 Time (ms) each channel is on in sequential pattern.
 
static constexpr uint32_t SEQUENTIAL_GAP_MS = 80
 Delay (ms) between channels in sequential pattern.
 
static constexpr uint32_t PARALLEL_HOLD_MS = 500
 Time (ms) all channels on in parallel pattern.
 
static constexpr uint32_t PATTERN_PAUSE_MS = 400
 Pause (ms) between pattern runs.
 
static constexpr uint32_t LOOP_COUNT = 10
 

Detailed Description

Solenoid valve test pattern timing (used by max22200_solenoid_valve_test)

Sequential pattern: ch0 → ch1 → … → ch7; each channel on for SEQUENTIAL_HIT_MS, SEQUENTIAL_GAP_MS between channels. Parallel pattern: all channels on for PARALLEL_HOLD_MS. PATTERN_PAUSE_MS is the pause between pattern runs. LOOP_COUNT: 1 = one-shot (default), N = repeat N times, 0 = loop indefinitely.

Member Data Documentation

◆ LOOP_COUNT

constexpr uint32_t MAX22200_TestConfig::SolenoidValvePatternConfig::LOOP_COUNT = 10
staticconstexpr

1 = one-shot, N = repeat N times, 0 = loop indefinitely

◆ PARALLEL_HOLD_MS

constexpr uint32_t MAX22200_TestConfig::SolenoidValvePatternConfig::PARALLEL_HOLD_MS = 500
staticconstexpr

Time (ms) all channels on in parallel pattern.

◆ PATTERN_PAUSE_MS

constexpr uint32_t MAX22200_TestConfig::SolenoidValvePatternConfig::PATTERN_PAUSE_MS = 400
staticconstexpr

Pause (ms) between pattern runs.

◆ SEQUENTIAL_GAP_MS

constexpr uint32_t MAX22200_TestConfig::SolenoidValvePatternConfig::SEQUENTIAL_GAP_MS = 80
staticconstexpr

Delay (ms) between channels in sequential pattern.

◆ SEQUENTIAL_HIT_MS

constexpr uint32_t MAX22200_TestConfig::SolenoidValvePatternConfig::SEQUENTIAL_HIT_MS = 200
staticconstexpr

Time (ms) each channel is on in sequential pattern.


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