24#ifndef ADS9324_KCONFIG_HPP
25#define ADS9324_KCONFIG_HPP
28#if __has_include("sdkconfig.h")
35#ifndef CONFIG_ADS9324_CONVST_HZ
38#define CONFIG_ADS9324_CONVST_HZ 100000
40#ifndef CONFIG_ADS9324_READY_TIMEOUT_US
43#define CONFIG_ADS9324_READY_TIMEOUT_US 10000
58#if defined(CONFIG_ADS9324_WORD_24_BIT) && CONFIG_ADS9324_WORD_24_BIT
61#if defined(CONFIG_ADS9324_APPEND_DIAG) && CONFIG_ADS9324_APPEND_DIAG
62 c.interface.append_diag =
true;
64#if defined(CONFIG_ADS9324_READY_ON_PIN) && CONFIG_ADS9324_READY_ON_PIN
#define CONFIG_ADS9324_READY_TIMEOUT_US
Definition ads9324_kconfig.hpp:43
#define CONFIG_ADS9324_CONVST_HZ
Definition ads9324_kconfig.hpp:38
Public types of the ADS9324 driver: errors, Result<T>, enumerations, configuration,...
uint32_t convst_hz
CONVST frequency, 100 kHz to 1 MHz.
Definition ads9324_types.hpp:546
Sampling sampling
CONVST and ready wait.
Definition ads9324_types.hpp:620
@ Pin
Poll the DRDY/ALARM pin through GpioGet().
@ Bits24
24 bits: the result and an extra byte.
The ADS9324 driver: everything it declares lives here; internals in detail.
Definition ads9324.hpp:32
constexpr Config KconfigDefaults() noexcept
The configuration menuconfig selected, on top of the Config{} defaults.
Definition ads9324_kconfig.hpp:54
Everything EnsureInitialized() and ApplyConfig() write to the chip.
Definition ads9324_types.hpp:612