33#ifndef ISL29020_PARAM_I2C
34#define ISL29020_PARAM_I2C I2C_DEV(0)
36#ifndef ISL29020_PARAM_ADDR
37#define ISL29020_PARAM_ADDR (CONFIG_ISL29020_DEFAULT_ADDRESS)
39#ifndef ISL29020_PARAM_RANGE
40#define ISL29020_PARAM_RANGE (ISL29020_RANGE_16K)
42#ifndef ISL29020_PARAM_MODE
43#define ISL29020_PARAM_MODE (ISL29020_MODE_AMBIENT)
46#ifndef ISL29020_PARAMS
47#define ISL29020_PARAMS { .i2c = ISL29020_PARAM_I2C, \
48 .addr = ISL29020_PARAM_ADDR, \
49 .range = ISL29020_PARAM_RANGE, \
50 .mode = ISL29020_PARAM_MODE }
52#ifndef ISL29020_SAUL_INFO
53#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.