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

Comprehensive system diagnostics for the Vortex platform. More...

#include <Vortex.h>

Public Member Functions

 VortexSystemDiagnostics () noexcept
 Constructor for VortexSystemDiagnostics.
 

Public Attributes

bool system_healthy
 Overall system health.
 
bool nvs_initialized
 NvsManager ready.
 
bool comms_initialized
 Communication channels status.
 
bool gpio_initialized
 GPIO management status.
 
bool adc_initialized
 ADC management status.
 
bool motors_initialized
 Motor controller status.
 
bool imu_initialized
 IMU management status.
 
bool encoders_initialized
 Encoder management status.
 
bool leds_initialized
 LED management status.
 
bool temp_initialized
 Temperature management status.
 
uint32_t total_components
 Total number of components.
 
uint32_t initialized_components
 Number of initialized components.
 
uint32_t failed_components
 Number of failed components.
 
uint64_t initialization_time_ms
 Total initialization time.
 
uint64_t system_uptime_ms
 System uptime.
 
const char * failed_components_list [kMaxDiagEntries] {}
 Failed component names.
 
size_t failed_components_list_count {0}
 Number of failed entries.
 
const char * warnings [kMaxDiagEntries] {}
 System warnings.
 
size_t warnings_count {0}
 Number of warnings.
 

Static Public Attributes

static constexpr size_t kMaxDiagEntries = kVortexManagerCount
 Max diagnostic entries.
 

Detailed Description

Comprehensive system diagnostics for the Vortex platform.

Constructor & Destructor Documentation

◆ VortexSystemDiagnostics()

VortexSystemDiagnostics::VortexSystemDiagnostics ( )
inlinenoexcept

Constructor for VortexSystemDiagnostics.

Member Data Documentation

◆ adc_initialized

bool VortexSystemDiagnostics::adc_initialized

ADC management status.

◆ comms_initialized

bool VortexSystemDiagnostics::comms_initialized

Communication channels status.

◆ encoders_initialized

bool VortexSystemDiagnostics::encoders_initialized

Encoder management status.

◆ failed_components

uint32_t VortexSystemDiagnostics::failed_components

Number of failed components.

◆ failed_components_list

const char* VortexSystemDiagnostics::failed_components_list[kMaxDiagEntries] {}

Failed component names.

◆ failed_components_list_count

size_t VortexSystemDiagnostics::failed_components_list_count {0}

Number of failed entries.

◆ gpio_initialized

bool VortexSystemDiagnostics::gpio_initialized

GPIO management status.

◆ imu_initialized

bool VortexSystemDiagnostics::imu_initialized

IMU management status.

◆ initialization_time_ms

uint64_t VortexSystemDiagnostics::initialization_time_ms

Total initialization time.

◆ initialized_components

uint32_t VortexSystemDiagnostics::initialized_components

Number of initialized components.

◆ kMaxDiagEntries

constexpr size_t VortexSystemDiagnostics::kMaxDiagEntries = kVortexManagerCount
staticconstexpr

Max diagnostic entries.

◆ leds_initialized

bool VortexSystemDiagnostics::leds_initialized

LED management status.

◆ motors_initialized

bool VortexSystemDiagnostics::motors_initialized

Motor controller status.

◆ nvs_initialized

bool VortexSystemDiagnostics::nvs_initialized

NvsManager ready.

◆ system_healthy

bool VortexSystemDiagnostics::system_healthy

Overall system health.

◆ system_uptime_ms

uint64_t VortexSystemDiagnostics::system_uptime_ms

System uptime.

◆ temp_initialized

bool VortexSystemDiagnostics::temp_initialized

Temperature management status.

◆ total_components

uint32_t VortexSystemDiagnostics::total_components

Total number of components.

◆ warnings

const char* VortexSystemDiagnostics::warnings[kMaxDiagEntries] {}

System warnings.

◆ warnings_count

size_t VortexSystemDiagnostics::warnings_count {0}

Number of warnings.


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