31#ifndef ISL29125_PARAM_I2C
32#define ISL29125_PARAM_I2C I2C_DEV(0)
34#ifndef ISL29125_PARAM_GPIO
35#define ISL29125_PARAM_GPIO (GPIO_PIN(0, 0))
37#ifndef ISL29125_PARAM_RANGE
38#define ISL29125_PARAM_RANGE (ISL29125_RANGE_10K)
40#ifndef ISL29125_PARAM_MODE
41#define ISL29125_PARAM_MODE (ISL29125_MODE_RGB)
43#ifndef ISL29125_PARAM_RES
44#define ISL29125_PARAM_RES (ISL29125_RESOLUTION_16)
47#ifndef ISL29125_PARAMS
48#define ISL29125_PARAMS { .i2c = ISL29125_PARAM_I2C, \
49 .gpio = ISL29125_PARAM_GPIO, \
50 .range = ISL29125_PARAM_RANGE, \
51 .mode = ISL29125_PARAM_MODE, \
52 .res = ISL29125_PARAM_RES }
Device driver interface for the ISL29125 RGB light sensor.
static const isl29125_params_t isl29125_params[]
Allocate some memory to store the actual configuration.
Device parameters for ISL29125 sensors.