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 | List of all members
GpioEntry Struct Reference

A single GPIO entry in the fixed-size registry. More...

#include <GpioManager.h>

Public Member Functions

 GpioEntry () noexcept
 

Public Attributes

BaseGpio * driver
 Pin object (not owned; static storage elsewhere)
 
HfFunctionalGpioPin functional_pin
 Functional pin enum.
 
bool registered {false}
 Whether this slot is active.
 
uint32_t access_count {0}
 Operation counter.
 
uint32_t error_count {0}
 Error counter.
 

Detailed Description

A single GPIO entry in the fixed-size registry.

Stores a non-owning BaseGpio* (see the ownership rules in the file header). The GpioEntry structs live in a fixed-size std::array inside the singleton.

Constructor & Destructor Documentation

◆ GpioEntry()

GpioEntry::GpioEntry ( )
inlinenoexcept

Member Data Documentation

◆ access_count

uint32_t GpioEntry::access_count {0}

Operation counter.

◆ driver

BaseGpio* GpioEntry::driver

Pin object (not owned; static storage elsewhere)

◆ error_count

uint32_t GpioEntry::error_count {0}

Error counter.

◆ functional_pin

HfFunctionalGpioPin GpioEntry::functional_pin

Functional pin enum.

◆ registered

bool GpioEntry::registered {false}

Whether this slot is active.


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