34 #ifndef OPT3001_PARAM_I2C_DEV
35 #define OPT3001_PARAM_I2C_DEV I2C_DEV(0)
37 #ifndef OPT3001_PARAM_I2C_ADDR
38 #define OPT3001_PARAM_I2C_ADDR (CONFIG_OPT3001_I2C_ADDRESS)
41 #ifndef OPT3001_PARAMS
42 #define OPT3001_PARAMS { .i2c_dev = OPT3001_PARAM_I2C_DEV, \
43 .i2c_addr = OPT3001_PARAM_I2C_ADDR}
46 #ifndef OPT3001_SAUL_INFO
47 #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.