30#ifdef CONFIG_ADS7952_MODE_AUTO1
32#elif defined(CONFIG_ADS7952_MODE_AUTO2)
39#ifdef CONFIG_ADS7952_RANGE_2VREF
51#ifdef CONFIG_ADS7952_VREF_MV
52inline constexpr float DEFAULT_VREF = CONFIG_ADS7952_VREF_MV / 1000.0f;
57#ifdef CONFIG_ADS7952_VA_MV
58inline constexpr float DEFAULT_VA = CONFIG_ADS7952_VA_MV / 1000.0f;
70#ifdef CONFIG_ADS7952_AUTO1_CHANNEL_MASK
77#ifdef CONFIG_ADS7952_AUTO2_LAST_CH
84#ifdef CONFIG_ADS7952_READ_ALL_MAX_EXTRA
91#ifdef CONFIG_ADS7952_MAX_RETRIES
92inline constexpr uint8_t
MAX_RETRIES = CONFIG_ADS7952_MAX_RETRIES;
Type definitions for the ADS7952 driver.
constexpr uint8_t RESOLUTION_BITS
constexpr float DEFAULT_VA
constexpr uint8_t DEFAULT_AUTO2_LAST_CH
constexpr ads7952::Range DEFAULT_RANGE
constexpr uint8_t READ_ALL_MAX_EXTRA_FRAMES
constexpr ads7952::Mode DEFAULT_MODE
constexpr uint16_t DEFAULT_AUTO1_MASK
constexpr uint8_t MAX_RETRIES
constexpr uint8_t NUM_CHANNELS
constexpr float DEFAULT_VREF
constexpr uint16_t MAX_COUNT
@ Auto2
Device sequences channels 0 to last_channel.
@ Auto1
Device sequences through programmed channel mask.
@ Manual
Host selects channel each frame.
@ Vref
0 to Vref (RANGE bit = 0)
@ TwoVref
0 to 2*Vref, clamped to VA (RANGE bit = 1)