|
HardFOC Flux V1 HAL
Unified HAL API for the HardFOC Flux valve-control platform (ESP32-S3)
|
Per-channel runtime state tracked by the manager. More...
#include <ValveManager.h>
Public Attributes | |
| bool | enabled {false} |
| Whether channel output is currently active. | |
| bool | configured {false} |
| Whether channel has been configured. | |
| uint16_t | current_ma {0} |
| Last-set current setpoint (for proportional) | |
| float | duty_percent {0.0f} |
| Last-set duty cycle (for VDR solenoids) | |
| float | pwm_frequency_hz {0.0f} |
| Last-set PWM frequency (for proportional) | |
| float | dither_amplitude_ma {0.0f} |
| Last-set dither amplitude (for proportional) | |
| float | dither_frequency_hz {0.0f} |
| Last-set dither frequency (for proportional) | |
| uint32_t | activation_count {0} |
| Total number of enable events. | |
| uint32_t | error_count {0} |
| Total errors on this channel. | |
Per-channel runtime state tracked by the manager.
| uint32_t ValveChannelState::activation_count {0} |
Total number of enable events.
| bool ValveChannelState::configured {false} |
Whether channel has been configured.
| uint16_t ValveChannelState::current_ma {0} |
Last-set current setpoint (for proportional)
| float ValveChannelState::dither_amplitude_ma {0.0f} |
Last-set dither amplitude (for proportional)
| float ValveChannelState::dither_frequency_hz {0.0f} |
Last-set dither frequency (for proportional)
| float ValveChannelState::duty_percent {0.0f} |
Last-set duty cycle (for VDR solenoids)
| bool ValveChannelState::enabled {false} |
Whether channel output is currently active.
| uint32_t ValveChannelState::error_count {0} |
Total errors on this channel.
| float ValveChannelState::pwm_frequency_hz {0.0f} |
Last-set PWM frequency (for proportional)