20#ifndef AD7746_PARAMS_H
21#define AD7746_PARAMS_H
35#ifndef AD7746_PARAM_I2C
36#define AD7746_PARAM_I2C (I2C_DEV(0))
38#ifndef AD7746_PARAM_ADDR
39#define AD7746_PARAM_ADDR (0x48)
41#ifndef AD7746_PARAM_CAP_SR
42#define AD7746_PARAM_CAP_SR (AD7746_CAP_SR_091)
44#ifndef AD7746_PARAM_VT_SR
45#define AD7746_PARAM_VT_SR (AD7746_VT_SR_082)
47#ifndef AD7746_PARAM_VT_MD
48#define AD7746_PARAM_VT_MD (AD7746_VT_MD_TEMP)
50#ifndef AD7746_PARAM_DAC_A
51#define AD7746_PARAM_DAC_A (39)
53#ifndef AD7746_PARAM_DAC_B
54#define AD7746_PARAM_DAC_B (0)
56#ifndef AD7746_PARAM_EXC_CONFIG
57#define AD7746_PARAM_EXC_CONFIG (AD7746_EXC_A)
59#ifndef AD7746_PARAM_CAP_IN
60#define AD7746_PARAM_CAP_IN (AD7746_CAP_IN_1)
64#define AD7746_PARAMS { .i2c = AD7746_PARAM_I2C, \
65 .addr = AD7746_PARAM_ADDR, \
66 .dac_a_cap = AD7746_PARAM_DAC_A, \
67 .dac_b_cap = AD7746_PARAM_DAC_B, \
68 .exc_config = AD7746_PARAM_EXC_CONFIG, \
69 .cap_sample_rate = AD7746_PARAM_CAP_SR, \
70 .vt_sample_rate = AD7746_PARAM_VT_SR, \
71 .vt_mode = AD7746_PARAM_VT_MD, \
72 .cap_input = AD7746_PARAM_CAP_IN }
74#ifndef AD7746_SAUL_INFO
75#define AD7746_SAUL_INFO { .name = "ad7746" }
AD7746 Capacitance-to-digital converter with temperature sensor driver.
static const saul_reg_info_t ad7746_saul_info[]
Additional meta information to keep in the SAUL registry.
SAUL registry interface definition.
Additional data to collect for each entry.