HardFOC Flux V1 HAL
Unified HAL API for the HardFOC Flux valve-control platform (ESP32-S3)
Loading...
Searching...
No Matches
Public Attributes | List of all members
ValveChannelState Struct Reference

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.
 

Detailed Description

Per-channel runtime state tracked by the manager.

Member Data Documentation

◆ activation_count

uint32_t ValveChannelState::activation_count {0}

Total number of enable events.

◆ configured

bool ValveChannelState::configured {false}

Whether channel has been configured.

◆ current_ma

uint16_t ValveChannelState::current_ma {0}

Last-set current setpoint (for proportional)

◆ dither_amplitude_ma

float ValveChannelState::dither_amplitude_ma {0.0f}

Last-set dither amplitude (for proportional)

◆ dither_frequency_hz

float ValveChannelState::dither_frequency_hz {0.0f}

Last-set dither frequency (for proportional)

◆ duty_percent

float ValveChannelState::duty_percent {0.0f}

Last-set duty cycle (for VDR solenoids)

◆ enabled

bool ValveChannelState::enabled {false}

Whether channel output is currently active.

◆ error_count

uint32_t ValveChannelState::error_count {0}

Total errors on this channel.

◆ pwm_frequency_hz

float ValveChannelState::pwm_frequency_hz {0.0f}

Last-set PWM frequency (for proportional)


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