HardFOC Flux V1 HAL
Unified HAL API for the HardFOC Flux valve-control platform (ESP32-S3)
Loading...
Searching...
No Matches
Classes | Functions
GpioManager.h File Reference

GPIO management for the HardFOC Flux V1 platform. More...

#include <array>
#include <atomic>
#include <cstdint>
#include <string_view>
#include "core/hf-core-drivers/internal/hf-internal-interface-wrap/inc/base/BaseGpio.h"
#include "RtosMutex.h"
#include "flux_hal/flux_hal_types.hpp"
#include "core/hf-core-drivers/internal/hf-pincfg/src/hf_functional_pin_config_flux_v1.hpp"
Include dependency graph for GpioManager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GpioEntry
 A single GPIO entry in the fixed-size registry. More...
 
struct  GpioSystemDiagnostics
 System-level GPIO diagnostics snapshot. More...
 
class  GpioManager
 Singleton that manages all MCU GPIO pins defined in the X-MACRO pin config. More...
 

Functions

GpioManager & GetGpioManager () noexcept
 Convenience accessor — equivalent to GpioManager::GetInstance().
 

Detailed Description

GPIO management for the HardFOC Flux V1 platform.

The Flux board uses only MCU GPIOs (no GPIO expander). Control pins for the MAX22200 and TLE92466ED are managed as standard GPIOs.

The registry is a fixed-size array indexed by functional pin (all pins are known at compile time). The GPIO objects themselves are created by the platform binding (bsp_bind/FluxPlatformBind.h) in its static storage, so this header is MCU-free and the manager holds only BaseGpio*.

Author
HardFOC Team
Date
2026
Version
1.0

Function Documentation

◆ GetGpioManager()

GpioManager & GetGpioManager ( )
inlinenoexcept

Convenience accessor — equivalent to GpioManager::GetInstance().

Returns
Reference to the singleton GpioManager.
Here is the call graph for this function: