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
ImuSystemDiagnostics Struct Reference

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

#include <ImuManager.h>

Collaboration diagram for ImuSystemDiagnostics:
[legend]

Classes

struct  DeviceSnapshot
 Per-device health snapshot. More...
 

Public Attributes

bool system_healthy
 True when all active devices are healthy.
 
bool system_initialized
 ImuManager::IsInitialized()
 
uint8_t active_device_count
 Number of active device slots.
 
uint8_t initialized_device_count
 Number of successfully initialised devices.
 
ImuError last_error
 Most recent error code.
 
DeviceSnapshot devices [kMaxDevices] {}
 Per-slot snapshots (0–kMaxDevices-1)
 
uint32_t total_interrupt_count
 Cumulative interrupt events across all devices.
 
bool interrupt_configured
 True if onboard interrupt GPIO is configured.
 
bool interrupt_enabled
 True if onboard interrupt is actively enabled.
 

Static Public Attributes

static constexpr uint8_t kMaxDevices = 4
 

Detailed Description

System-level diagnostics snapshot for IMU health monitoring.

Member Data Documentation

◆ active_device_count

uint8_t ImuSystemDiagnostics::active_device_count

Number of active device slots.

◆ devices

DeviceSnapshot ImuSystemDiagnostics::devices[kMaxDevices] {}

Per-slot snapshots (0–kMaxDevices-1)

◆ initialized_device_count

uint8_t ImuSystemDiagnostics::initialized_device_count

Number of successfully initialised devices.

◆ interrupt_configured

bool ImuSystemDiagnostics::interrupt_configured

True if onboard interrupt GPIO is configured.

◆ interrupt_enabled

bool ImuSystemDiagnostics::interrupt_enabled

True if onboard interrupt is actively enabled.

◆ kMaxDevices

constexpr uint8_t ImuSystemDiagnostics::kMaxDevices = 4
staticconstexpr

◆ last_error

ImuError ImuSystemDiagnostics::last_error

Most recent error code.

◆ system_healthy

bool ImuSystemDiagnostics::system_healthy

True when all active devices are healthy.

◆ system_initialized

bool ImuSystemDiagnostics::system_initialized

◆ total_interrupt_count

uint32_t ImuSystemDiagnostics::total_interrupt_count

Cumulative interrupt events across all devices.


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