HardFOC Flux V1 HAL
Unified HAL API for the HardFOC Flux valve-control platform (ESP32-S3)
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
 GPIO object owned by the platform binding.
 
HfFunctionalGpioPin functional_pin
 Functional pin enum value.
 
bool registered {false}
 Whether this entry has been registered.
 
uint32_t access_count {0}
 Number of times accessed.
 
uint32_t error_count {0}
 Number of errors.
 

Detailed Description

A single GPIO entry in the fixed-size registry.

The entry points at a GPIO object held in the platform binding's static storage (slot = functional pin index). The entries live in a fixed-size std::array inside the manager; nothing is heap-allocated.

Constructor & Destructor Documentation

◆ GpioEntry()

GpioEntry::GpioEntry ( )
inlinenoexcept

Member Data Documentation

◆ access_count

uint32_t GpioEntry::access_count {0}

Number of times accessed.

◆ driver

BaseGpio* GpioEntry::driver

GPIO object owned by the platform binding.

◆ error_count

uint32_t GpioEntry::error_count {0}

Number of errors.

◆ functional_pin

HfFunctionalGpioPin GpioEntry::functional_pin

Functional pin enum value.

◆ registered

bool GpioEntry::registered {false}

Whether this entry has been registered.


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