Go to the documentation of this file.
19 #ifndef SEESAW_SOIL_PARAMS_H
20 #define SEESAW_SOIL_PARAMS_H
34 #ifndef SEESAW_SOIL_PARAM_I2C
35 #define SEESAW_SOIL_PARAM_I2C I2C_DEV(0)
37 #ifndef SEESAW_SOIL_PARAM_ADDR
38 #define SEESAW_SOIL_PARAM_ADDR (CONFIG_SEESAW_SOIL_I2C_ADDRESS)
41 #ifndef SEESAW_SOIL_PARAMS
42 #define SEESAW_SOIL_PARAMS { .i2c = SEESAW_SOIL_PARAM_I2C, \
43 .addr = SEESAW_SOIL_PARAM_ADDR }
45 #ifndef SEESAW_SOIL_SAUL_INFO
46 #define SEESAW_SOIL_SAUL_INFO { .name = "seesaw_soil" }
Additional data to collect for each entry.
SAUL registry interface definition.
Parameters needed for device initialization.
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.