|
HardFOC Flux V1 HAL
Unified HAL API for the HardFOC Flux valve-control platform (ESP32-S3)
|
Complete system diagnostics snapshot for the Flux API. More...
#include <Flux.h>
Public Member Functions | |
| FluxSystemDiagnostics () noexcept | |
| Default constructor — all fields zeroed / false. | |
Public Attributes | |
| bool | system_healthy |
| true when all components are initialised. | |
| bool | nvs_initialized |
| NvsManager ready. | |
| bool | comms_initialized |
| CommChannelsManager ready. | |
| bool | gpio_initialized |
| GpioManager ready. | |
| bool | valves_initialized |
| ValveManager ready. | |
| bool | adc_initialized |
| AdcManager ready. | |
| bool | leds_initialized |
| LedManager ready. | |
| bool | temp_initialized |
| TemperatureManager ready. | |
| uint32_t | total_components |
Total number of managed components (kFluxManagerCount). | |
| uint32_t | initialized_components |
| Components that initialised successfully. | |
| uint32_t | failed_components |
| Components that failed to initialise. | |
| uint64_t | initialization_time_ms |
| Time taken to initialise all components. | |
| uint64_t | system_uptime_ms |
| Milliseconds since first initialisation. | |
| const char * | failed_components_list [kMaxDiagEntries] {} |
| Names of failed components. | |
| size_t | failed_components_list_count {0} |
| Count of entries in list. | |
Static Public Attributes | |
| static constexpr size_t | kMaxDiagEntries = kFluxManagerCount |
| Max failed-component names. | |
Complete system diagnostics snapshot for the Flux API.
|
inlinenoexcept |
Default constructor — all fields zeroed / false.
| bool FluxSystemDiagnostics::adc_initialized |
AdcManager ready.
| bool FluxSystemDiagnostics::comms_initialized |
CommChannelsManager ready.
| uint32_t FluxSystemDiagnostics::failed_components |
Components that failed to initialise.
| const char* FluxSystemDiagnostics::failed_components_list[kMaxDiagEntries] {} |
Names of failed components.
| size_t FluxSystemDiagnostics::failed_components_list_count {0} |
Count of entries in list.
| bool FluxSystemDiagnostics::gpio_initialized |
GpioManager ready.
| uint64_t FluxSystemDiagnostics::initialization_time_ms |
Time taken to initialise all components.
| uint32_t FluxSystemDiagnostics::initialized_components |
Components that initialised successfully.
|
staticconstexpr |
Max failed-component names.
| bool FluxSystemDiagnostics::leds_initialized |
LedManager ready.
| bool FluxSystemDiagnostics::nvs_initialized |
NvsManager ready.
| bool FluxSystemDiagnostics::system_healthy |
true when all components are initialised.
| uint64_t FluxSystemDiagnostics::system_uptime_ms |
Milliseconds since first initialisation.
| bool FluxSystemDiagnostics::temp_initialized |
TemperatureManager ready.
| uint32_t FluxSystemDiagnostics::total_components |
Total number of managed components (kFluxManagerCount).
| bool FluxSystemDiagnostics::valves_initialized |
ValveManager ready.