31 #ifndef OPT3001_PARAM_I2C_DEV
32 #define OPT3001_PARAM_I2C_DEV I2C_DEV(0)
34 #ifndef OPT3001_PARAM_I2C_ADDR
35 #define OPT3001_PARAM_I2C_ADDR (CONFIG_OPT3001_I2C_ADDRESS)
38 #ifndef OPT3001_PARAMS
39 #define OPT3001_PARAMS { .i2c_dev = OPT3001_PARAM_I2C_DEV, \
40 .i2c_addr = OPT3001_PARAM_I2C_ADDR}
43 #ifndef OPT3001_SAUL_INFO
44 #define OPT3001_SAUL_INFO { .name = "opt3001" }
Interface definition for the OPT3001 sensor driver.
static const opt3001_params_t opt3001_params[]
OPT3001 configuration.
static const saul_reg_info_t opt3001_saul_info[]
Additional meta information to keep in the SAUL registry.
SAUL registry interface definition.
Parameters needed for device initialization.
Additional data to collect for each entry.