|
HardFOC Core
API reference
|
Unified handler for ADS7952 12-channel 12-bit SAR ADC with SPI integration. More...
#include <cstdint>#include <memory>#include <type_traits>#include <utility>#include "core/hf-core-drivers/external/hf-ads7952-driver/inc/ads7952.hpp"#include "base/BaseSpi.h"#include "base/BaseAdc.h"#include "RtosMutex.h"Go to the source code of this file.
Classes | |
| class | Ads7952SpiAdapter |
| CRTP adapter connecting BaseSpi interface to ADS7952 SpiInterface. More... | |
| struct | Ads7952HandlerConfig |
| Configuration for ADS7952 handler initialization. More... | |
| struct | Ads7952Diagnostics |
| Diagnostic information for an ADS7952 handler instance. More... | |
| class | Ads7952Handler |
| Unified handler for ADS7952 12-channel SAR ADC with BaseAdc integration. More... | |
Functions | |
| Ads7952HandlerConfig | GetDefaultAds7952Config () noexcept |
| Default ADS7952 handler config (2.5 V Vref, 5.0 V VA, 2×Vref range). | |
| std::unique_ptr< Ads7952Handler > | CreateAds7952Handler (BaseSpi &spi_interface, const Ads7952HandlerConfig &config=GetDefaultAds7952Config()) noexcept |
| Create ADS7952 handler instance. | |
Unified handler for ADS7952 12-channel 12-bit SAR ADC with SPI integration.
This class provides a modern, unified interface for one or more ADS7952 ADC devices following the same architectural patterns as As5047uHandler and other core handlers:
Electrical defaults (not a board pin map):
|
noexcept |
Create ADS7952 handler instance.
| spi_interface | Reference to SPI interface |
| config | Handler configuration |
|
inlinenoexcept |
Default ADS7952 handler config (2.5 V Vref, 5.0 V VA, 2×Vref range).