|
HardFOC Vortex V1 HAL
Unified HAL API for the HardFOC Vortex motor-control platform (ESP32-C6, TMC9660)
|
ADC management for the HardFOC Vortex V1 platform. More...
#include <array>#include <atomic>#include <cstdint>#include <optional>#include <string_view>#include "base/BaseAdc.h"#include "RtosMutex.h"#include "handlers/tmc9660/Tmc9660AdcWrapper.h"#include "core/hf-core-drivers/internal/hf-pincfg/src/hf_functional_pin_config_vortex_v1.hpp"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 (compatible with example code). More... | |
| class | AdcManager |
| Singleton manager for all analogue-to-digital channels on Vortex V1. More... | |
Functions | |
| AdcManager & | GetAdcManager () noexcept |
| Convenience accessor — equivalent to AdcManager::GetInstance(). | |
ADC management for the HardFOC Vortex V1 platform.
The Vortex board uses TMC9660-hosted ADC channels exclusively (no ESP32 internal ADC channels are active). All 15 functional ADC channels are routed through a single Tmc9660AdcWrapper that delegates to the MotorController-owned Tmc9660Handler.
Follows the Flux ownership pattern: fixed-size array of AdcEntry structs (no heap unordered_map), single RtosMutex, and the TMC9660 wrapper in place (std::optional): no heap.
|
inlinenoexcept |
Convenience accessor — equivalent to AdcManager::GetInstance().