19#ifndef OPT3001_PARAMS_H
20#define OPT3001_PARAMS_H
35 #ifndef OPT3001_PARAM_I2C_DEV
36 #define OPT3001_PARAM_I2C_DEV I2C_DEV(0)
38 #ifndef OPT3001_PARAM_I2C_ADDR
39 #define OPT3001_PARAM_I2C_ADDR (CONFIG_OPT3001_I2C_ADDRESS)
42 #ifndef OPT3001_PARAMS
43 #define OPT3001_PARAMS { .i2c_dev = OPT3001_PARAM_I2C_DEV, \
44 .i2c_addr = OPT3001_PARAM_I2C_ADDR}
47 #ifndef OPT3001_SAUL_INFO
48 #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.