19 #ifndef TCS37727_PARAMS_H
20 #define TCS37727_PARAMS_H
34 #ifndef TCS37727_PARAM_I2C
35 #define TCS37727_PARAM_I2C I2C_DEV(0)
37 #ifndef TCS37727_PARAM_ADDR
38 #define TCS37727_PARAM_ADDR (TCS37727_I2C_ADDRESS)
40 #ifndef TCS37727_PARAM_ATIME
41 #define TCS37727_PARAM_ATIME (CONFIG_TCS37727_ATIME_DEFAULT)
44 #ifndef TCS37727_PARAMS
45 #define TCS37727_PARAMS { .i2c = TCS37727_PARAM_I2C, \
46 .addr = TCS37727_PARAM_ADDR, \
47 .atime = TCS37727_PARAM_ATIME }
49 #ifndef TCS37727_SAUL_INFO
50 #define TCS37727_SAUL_INFO { .name = "tcs37727" }
SAUL registry interface definition.
Additional data to collect for each entry.
TCS37727 configuration parameters.
Interface definition for the TCS37727 sensor driver.
static const saul_reg_info_t tcs37727_saul_info[]
Additional meta information to keep in the SAUL registry.
static const tcs37727_params_t tcs37727_params[]
TCS37727 configuration.