HardFOC Vortex V1 HAL
Unified HAL API for the HardFOC Vortex motor-control platform (ESP32-C6, TMC9660)
Loading...
Searching...
No Matches
Classes | Public Attributes | Static Public Attributes | List of all members
EncoderSystemDiagnostics Struct Reference

System-level diagnostics snapshot for encoder health monitoring. More...

#include <EncoderManager.h>

Collaboration diagram for EncoderSystemDiagnostics:
[legend]

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
 

Detailed Description

System-level diagnostics snapshot for encoder health monitoring.

Member Data Documentation

◆ active_device_count

uint8_t EncoderSystemDiagnostics::active_device_count

Number of active device slots.

◆ devices

DeviceSnapshot EncoderSystemDiagnostics::devices[kMaxDevices] {}

Per-slot snapshots (0–kMaxDevices-1)

◆ initialized_device_count

uint8_t EncoderSystemDiagnostics::initialized_device_count

Number of successfully initialised devices.

◆ kMaxDevices

constexpr uint8_t EncoderSystemDiagnostics::kMaxDevices = 4
staticconstexpr

◆ last_error

EncoderError EncoderSystemDiagnostics::last_error

Most recent error code.

◆ system_healthy

bool EncoderSystemDiagnostics::system_healthy

True when all active devices are healthy.

◆ system_initialized

bool EncoderSystemDiagnostics::system_initialized

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