30#ifndef ISL29020_PARAM_I2C
31#define ISL29020_PARAM_I2C I2C_DEV(0)
33#ifndef ISL29020_PARAM_ADDR
34#define ISL29020_PARAM_ADDR (CONFIG_ISL29020_DEFAULT_ADDRESS)
36#ifndef ISL29020_PARAM_RANGE
37#define ISL29020_PARAM_RANGE (ISL29020_RANGE_16K)
39#ifndef ISL29020_PARAM_MODE
40#define ISL29020_PARAM_MODE (ISL29020_MODE_AMBIENT)
43#ifndef ISL29020_PARAMS
44#define ISL29020_PARAMS { .i2c = ISL29020_PARAM_I2C, \
45 .addr = ISL29020_PARAM_ADDR, \
46 .range = ISL29020_PARAM_RANGE, \
47 .mode = ISL29020_PARAM_MODE }
49#ifndef ISL29020_SAUL_INFO
50#define ISL29020_SAUL_INFO { .name = "isl29020" }
Device driver interface for the ISL29020 light sensor.
static const isl29020_params_t isl29020_params[]
Allocate some memory to store the actual configuration.
static const saul_reg_info_t isl29020_saul_info[]
Additional meta information to keep in the SAUL registry.
SAUL registry interface definition.
Data structure holding the full set of configuration parameters.
Additional data to collect for each entry.