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

System-level temperature diagnostics (compatible with old API). More...

#include <TemperatureManager.h>

Public Attributes

bool system_healthy
 True when all registered sensors are responsive.
 
uint32_t total_sensors_registered
 Number of sensors currently registered.
 
uint32_t sensors_by_type [8]
 Count of sensors per VortexTempSensorType index.
 
uint32_t total_operations
 Cumulative read attempts across all sensors.
 
uint32_t successful_operations
 Cumulative successful reads.
 
uint32_t failed_operations
 Cumulative failed reads.
 
uint32_t communication_errors
 Errors attributed to bus communication failures.
 
uint32_t hardware_errors
 Errors attributed to hardware faults.
 
uint64_t system_uptime_ms
 Milliseconds since temperature subsystem init.
 
hf_temp_err_t last_error
 Most recent error code from any operation.
 
float system_min_temp_celsius
 Minimum temperature across all sensors (°C)
 
float system_max_temp_celsius
 Maximum temperature across all sensors (°C)
 
float system_avg_temp_celsius
 Average temperature across all sensors (°C)
 

Detailed Description

System-level temperature diagnostics (compatible with old API).

Temperature subsystem diagnostics snapshot.

Member Data Documentation

◆ communication_errors

uint32_t TempSystemDiagnostics::communication_errors

Errors attributed to bus communication failures.

◆ failed_operations

uint32_t TempSystemDiagnostics::failed_operations

Cumulative failed reads.

◆ hardware_errors

uint32_t TempSystemDiagnostics::hardware_errors

Errors attributed to hardware faults.

◆ last_error

hf_temp_err_t TempSystemDiagnostics::last_error

Most recent error code from any operation.

◆ sensors_by_type

uint32_t TempSystemDiagnostics::sensors_by_type[8]

Count of sensors per VortexTempSensorType index.

◆ successful_operations

uint32_t TempSystemDiagnostics::successful_operations

Cumulative successful reads.

◆ system_avg_temp_celsius

float TempSystemDiagnostics::system_avg_temp_celsius

Average temperature across all sensors (°C)

◆ system_healthy

bool TempSystemDiagnostics::system_healthy

True when all registered sensors are responsive.

◆ system_max_temp_celsius

float TempSystemDiagnostics::system_max_temp_celsius

Maximum temperature across all sensors (°C)

◆ system_min_temp_celsius

float TempSystemDiagnostics::system_min_temp_celsius

Minimum temperature across all sensors (°C)

◆ system_uptime_ms

uint64_t TempSystemDiagnostics::system_uptime_ms

Milliseconds since temperature subsystem init.

◆ total_operations

uint32_t TempSystemDiagnostics::total_operations

Cumulative read attempts across all sensors.

◆ total_sensors_registered

uint32_t TempSystemDiagnostics::total_sensors_registered

Number of sensors currently registered.


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