|
HardFOC Core
API reference
|
ADS9324 handler — CRTP SPI/host bridge + BaseAdc. More...
#include "Ads9324Handler.h"#include <cstdio>#include <cstring>#include "handlers/logger/Logger.h"#include "OsUtility.h"Functions | |
| std::unique_ptr< Ads9324Handler > | CreateAds9324Handler (BaseSpi &spi, BaseGpio *convst, BaseGpio *drdy, const Ads9324HandlerConfig &config) noexcept |
Factory: construct an Ads9324Handler on the heap. | |
Variables | |
| static constexpr const char * | TAG = "Ads9324Handler" |
ADS9324 handler — CRTP SPI/host bridge + BaseAdc.
Public contracts and thread-safety notes live in Ads9324Handler.h. Implementation caveats:
|
noexcept |
Factory: construct an Ads9324Handler on the heap.
| spi | SPI device. |
| convst | CONVST GPIO (required at Initialize). |
| drdy | Optional DRDY. |
| config | Defaults for PGA / format / index. |
bad_alloc, which is not used here).
|
staticconstexpr |