34 #ifndef AD7746_PARAM_I2C
35 #define AD7746_PARAM_I2C (I2C_DEV(0))
37 #ifndef AD7746_PARAM_ADDR
38 #define AD7746_PARAM_ADDR (0x48)
40 #ifndef AD7746_PARAM_CAP_SR
41 #define AD7746_PARAM_CAP_SR (AD7746_CAP_SR_091)
43 #ifndef AD7746_PARAM_VT_SR
44 #define AD7746_PARAM_VT_SR (AD7746_VT_SR_082)
46 #ifndef AD7746_PARAM_VT_MD
47 #define AD7746_PARAM_VT_MD (AD7746_VT_MD_TEMP)
49 #ifndef AD7746_PARAM_DAC_A
50 #define AD7746_PARAM_DAC_A (39)
52 #ifndef AD7746_PARAM_DAC_B
53 #define AD7746_PARAM_DAC_B (0)
55 #ifndef AD7746_PARAM_EXC_CONFIG
56 #define AD7746_PARAM_EXC_CONFIG (AD7746_EXC_A)
58 #ifndef AD7746_PARAM_CAP_IN
59 #define AD7746_PARAM_CAP_IN (AD7746_CAP_IN_1)
63 #define AD7746_PARAMS { .i2c = AD7746_PARAM_I2C, \
64 .addr = AD7746_PARAM_ADDR, \
65 .dac_a_cap = AD7746_PARAM_DAC_A, \
66 .dac_b_cap = AD7746_PARAM_DAC_B, \
67 .exc_config = AD7746_PARAM_EXC_CONFIG, \
68 .cap_sample_rate = AD7746_PARAM_CAP_SR, \
69 .vt_sample_rate = AD7746_PARAM_VT_SR, \
70 .vt_mode = AD7746_PARAM_VT_MD, \
71 .cap_input = AD7746_PARAM_CAP_IN }
73 #ifndef AD7746_SAUL_INFO
74 #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.