|
HardFOC Vortex V1 HAL
Unified HAL API for the HardFOC Vortex motor-control platform (ESP32-C6, TMC9660)
|
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. | |
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.
|
inlinenoexcept |
| uint32_t GpioEntry::access_count {0} |
Operation counter.
| BaseGpio* GpioEntry::driver |
Pin object (not owned; static storage elsewhere)
| uint32_t GpioEntry::error_count {0} |
Error counter.
| HfFunctionalGpioPin GpioEntry::functional_pin |
Functional pin enum.
| bool GpioEntry::registered {false} |
Whether this slot is active.