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

System-level GPIO diagnostics snapshot. More...

#include <GpioManager.h>

Public Attributes

bool system_healthy
 true when manager is initialised and operational.
 
uint32_t total_pins_registered
 Number of GPIO pins currently registered.
 
uint32_t pins_by_chip [static_cast< uint8_t >(HfGpioChipType::TMC9660_CONTROLLER)+1]
 Pin count per chip type.
 
uint32_t pins_by_category [4]
 Pin count per functional category.
 
uint32_t total_operations
 Lifetime count of read/write/toggle calls.
 
uint32_t successful_operations
 Calls that returned GPIO_SUCCESS.
 
uint32_t failed_operations
 Calls that returned an error.
 
uint64_t system_uptime_ms
 Milliseconds since manager initialisation.
 
hf_gpio_err_t last_error
 Most recent error code.
 

Detailed Description

System-level GPIO diagnostics snapshot.

Member Data Documentation

◆ failed_operations

uint32_t GpioSystemDiagnostics::failed_operations

Calls that returned an error.

◆ last_error

hf_gpio_err_t GpioSystemDiagnostics::last_error

Most recent error code.

◆ pins_by_category

uint32_t GpioSystemDiagnostics::pins_by_category[4]

Pin count per functional category.

◆ pins_by_chip

uint32_t GpioSystemDiagnostics::pins_by_chip[static_cast< uint8_t >(HfGpioChipType::TMC9660_CONTROLLER)+1]

Pin count per chip type.

◆ successful_operations

uint32_t GpioSystemDiagnostics::successful_operations

Calls that returned GPIO_SUCCESS.

◆ system_healthy

bool GpioSystemDiagnostics::system_healthy

true when manager is initialised and operational.

◆ system_uptime_ms

uint64_t GpioSystemDiagnostics::system_uptime_ms

Milliseconds since manager initialisation.

◆ total_operations

uint32_t GpioSystemDiagnostics::total_operations

Lifetime count of read/write/toggle calls.

◆ total_pins_registered

uint32_t GpioSystemDiagnostics::total_pins_registered

Number of GPIO pins currently registered.


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