|
HardFOC Vortex V1 HAL
Unified HAL API for the HardFOC Vortex motor-control platform (ESP32-C6, TMC9660)
|
System-level diagnostics snapshot for encoder health monitoring. More...
#include <EncoderManager.h>
Classes | |
| struct | DeviceSnapshot |
| Per-device health snapshot. More... | |
Public Attributes | |
| bool | system_healthy |
| True when all active devices are healthy. | |
| bool | system_initialized |
| EncoderManager::IsInitialized() | |
| uint8_t | active_device_count |
| Number of active device slots. | |
| uint8_t | initialized_device_count |
| Number of successfully initialised devices. | |
| EncoderError | last_error |
| Most recent error code. | |
| DeviceSnapshot | devices [kMaxDevices] {} |
| Per-slot snapshots (0–kMaxDevices-1) | |
Static Public Attributes | |
| static constexpr uint8_t | kMaxDevices = 4 |
System-level diagnostics snapshot for encoder health monitoring.
| uint8_t EncoderSystemDiagnostics::active_device_count |
Number of active device slots.
| DeviceSnapshot EncoderSystemDiagnostics::devices[kMaxDevices] {} |
Per-slot snapshots (0–kMaxDevices-1)
| uint8_t EncoderSystemDiagnostics::initialized_device_count |
Number of successfully initialised devices.
|
staticconstexpr |
| EncoderError EncoderSystemDiagnostics::last_error |
Most recent error code.
| bool EncoderSystemDiagnostics::system_healthy |
True when all active devices are healthy.
| bool EncoderSystemDiagnostics::system_initialized |