|
HardFOC Core
API reference
|
Implementation of the ADS7952 12-channel SAR ADC handler. More...
#include "Ads7952Handler.h"#include <cstring>#include <algorithm>#include "handlers/logger/Logger.h"Macros | |
| #define | LOG_BANNER(tag, art, format) Logger::GetInstance().LogBanner(tag, art, format) |
Functions | |
| std::unique_ptr< Ads7952Handler > | CreateAds7952Handler (BaseSpi &spi_interface, const Ads7952HandlerConfig &config) noexcept |
| Create ADS7952 handler instance. | |
Variables | |
| static constexpr const char * | TAG = "Ads7952Handler" |
Implementation of the ADS7952 12-channel SAR ADC handler.
Implements the CRTP SPI bridge, BaseAdc interface, lazy initialization, and thread-safe operations for the ADS7952 ADC. Follows the same architecture as As5047uHandler.cpp.
| #define LOG_BANNER | ( | tag, | |
| art, | |||
| format | |||
| ) | Logger::GetInstance().LogBanner(tag, art, format) |
|
noexcept |
Create ADS7952 handler instance.
| spi_interface | Reference to SPI interface |
| config | Handler configuration |
|
staticconstexpr |