33 #ifndef SEESAW_SOIL_PARAM_I2C
34 #define SEESAW_SOIL_PARAM_I2C I2C_DEV(0)
36 #ifndef SEESAW_SOIL_PARAM_ADDR
37 #define SEESAW_SOIL_PARAM_ADDR (CONFIG_SEESAW_SOIL_I2C_ADDRESS)
40 #ifndef SEESAW_SOIL_PARAMS
41 #define SEESAW_SOIL_PARAMS { .i2c = SEESAW_SOIL_PARAM_I2C, \
42 .addr = SEESAW_SOIL_PARAM_ADDR }
44 #ifndef SEESAW_SOIL_SAUL_INFO
45 #define SEESAW_SOIL_SAUL_INFO { .name = "seesaw_soil" }
SAUL registry interface definition.
Interface definition for the Adafruit Seesaw Soil sensor.
static const saul_reg_info_t seesaw_soil_saul_info[]
Additional meta information to keep in the SAUL registry.
static const seesaw_soil_params_t seesaw_soil_params[]
Seesaw Soil configuration.
Additional data to collect for each entry.
Parameters needed for device initialization.