isl29125_params.h File Reference

Default configuration for ISL29125 devices. More...

Detailed Description

#include "board.h"
#include "isl29125.h"
+ Include dependency graph for isl29125_params.h:

Go to the source code of this file.


static const isl29125_params_t isl29125_params []
 Allocate some memory to store the actual configuration. More...
#define ISL29125_PARAM_I2C   I2C_DEV(0)
 Set default configuration parameters.
#define ISL29125_PARAM_GPIO   (GPIO_PIN(0, 0))
#define ISL29125_PARAM_RANGE   (ISL29125_RANGE_10K)
#define ISL29125_PARAM_MODE   (ISL29125_MODE_RGB)
#define ISL29125_PARAM_RES   (ISL29125_RESOLUTION_16)
#define ISL29125_PARAMS

Macro Definition Documentation


#define ISL29125_PARAMS
{ .i2c = ISL29125_PARAM_I2C, \
.gpio = ISL29125_PARAM_GPIO, \
.range = ISL29125_PARAM_RANGE, \
.mode = ISL29125_PARAM_MODE, \
.res = ISL29125_PARAM_RES }
#define ISL29125_PARAM_I2C
Set default configuration parameters.

Definition at line 52 of file isl29125_params.h.

Variable Documentation

◆ isl29125_params

const isl29125_params_t isl29125_params[]
Initial value:

Allocate some memory to store the actual configuration.

Definition at line 63 of file isl29125_params.h.