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

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

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

Go to the source code of this file.

Classes

struct  AdcEntry
 A single ADC channel entry in the fixed-size registry. More...
 
struct  AdcSystemDiagnostics
 ADC system diagnostics (cross-HAL compatible format). More...
 
class  AdcManager
 Singleton manager for all analogue-to-digital channels on Flux V1. More...
 

Functions

AdcManager & GetAdcManager () noexcept
 Convenience accessor — equivalent to AdcManager::GetInstance().
 

Detailed Description

ADC management for the HardFOC Flux V1 platform.

The Flux board has only ESP32 internal ADC channels:

Design improvement over Vortex: fixed-size array of AdcEntry structs (no heap unordered_map), no TMC9660 ADC dependency.

Author
HardFOC Team
Date
2026
Version
1.0

Function Documentation

◆ GetAdcManager()

AdcManager & GetAdcManager ( )
inlinenoexcept

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

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