|
HardFOC Vortex V1 HAL
Unified HAL API for the HardFOC Vortex motor-control platform (ESP32-C6, TMC9660)
|
ADC system diagnostics (compatible with example code). More...
#include <AdcManager.h>
Public Attributes | |
| bool | system_healthy {false} |
| True when all registered channels are operational. | |
| uint32_t | total_channels_registered {0} |
| Number of channels currently registered. | |
| uint32_t | channels_by_chip [2] {} |
| [0]=ESP32, [1]=TMC9660 | |
| uint32_t | total_operations {0} |
| Cumulative read attempts across all channels. | |
| uint32_t | successful_operations {0} |
| Cumulative successful reads. | |
| uint32_t | failed_operations {0} |
| Cumulative failed reads. | |
| uint32_t | communication_errors {0} |
| Errors attributed to bus communication failures. | |
| uint32_t | hardware_errors {0} |
| Errors attributed to hardware faults. | |
| uint64_t | system_uptime_ms {0} |
| Milliseconds since ADC subsystem initialisation. | |
| hf_adc_err_t | last_error {hf_adc_err_t::ADC_SUCCESS} |
| Most recent error code from any operation. | |
ADC system diagnostics (compatible with example code).
| uint32_t AdcSystemDiagnostics::channels_by_chip[2] {} |
[0]=ESP32, [1]=TMC9660
| uint32_t AdcSystemDiagnostics::communication_errors {0} |
Errors attributed to bus communication failures.
| uint32_t AdcSystemDiagnostics::failed_operations {0} |
Cumulative failed reads.
| uint32_t AdcSystemDiagnostics::hardware_errors {0} |
Errors attributed to hardware faults.
| hf_adc_err_t AdcSystemDiagnostics::last_error {hf_adc_err_t::ADC_SUCCESS} |
Most recent error code from any operation.
| uint32_t AdcSystemDiagnostics::successful_operations {0} |
Cumulative successful reads.
| bool AdcSystemDiagnostics::system_healthy {false} |
True when all registered channels are operational.
| uint64_t AdcSystemDiagnostics::system_uptime_ms {0} |
Milliseconds since ADC subsystem initialisation.
| uint32_t AdcSystemDiagnostics::total_channels_registered {0} |
Number of channels currently registered.
| uint32_t AdcSystemDiagnostics::total_operations {0} |
Cumulative read attempts across all channels.