34#ifndef ISL29125_PARAM_I2C 
   35#define ISL29125_PARAM_I2C              I2C_DEV(0) 
   37#ifndef ISL29125_PARAM_GPIO 
   38#define ISL29125_PARAM_GPIO             (GPIO_PIN(0, 0)) 
   40#ifndef ISL29125_PARAM_RANGE 
   41#define ISL29125_PARAM_RANGE            (ISL29125_RANGE_10K) 
   43#ifndef ISL29125_PARAM_MODE 
   44#define ISL29125_PARAM_MODE             (ISL29125_MODE_RGB) 
   46#ifndef ISL29125_PARAM_RES 
   47#define ISL29125_PARAM_RES              (ISL29125_RESOLUTION_16) 
   50#ifndef ISL29125_PARAMS 
   51#define ISL29125_PARAMS                 { .i2c   = ISL29125_PARAM_I2C,   \ 
   52                                          .gpio  = ISL29125_PARAM_GPIO,  \ 
   53                                          .range = ISL29125_PARAM_RANGE, \ 
   54                                          .mode  = ISL29125_PARAM_MODE,  \ 
   55                                          .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.