Loading...
Searching...
No Matches
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.

Variables

static const isl29125_params_t isl29125_params []
 Allocate some memory to store the actual configuration.
 
#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

◆ ISL29125_PARAM_GPIO

#define ISL29125_PARAM_GPIO   (GPIO_PIN(0, 0))

Definition at line 39 of file isl29125_params.h.

◆ ISL29125_PARAM_I2C

#define ISL29125_PARAM_I2C   I2C_DEV(0)

Set default configuration parameters.

Definition at line 36 of file isl29125_params.h.

◆ ISL29125_PARAM_MODE

#define ISL29125_PARAM_MODE   (ISL29125_MODE_RGB)

Definition at line 45 of file isl29125_params.h.

◆ ISL29125_PARAM_RANGE

#define ISL29125_PARAM_RANGE   (ISL29125_RANGE_10K)

Definition at line 42 of file isl29125_params.h.

◆ ISL29125_PARAM_RES

#define ISL29125_PARAM_RES   (ISL29125_RESOLUTION_16)

Definition at line 48 of file isl29125_params.h.

◆ ISL29125_PARAMS

#define ISL29125_PARAMS
Value:
{ .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[]
static
Initial value:
=
{
ISL29125_PARAMS
}

Allocate some memory to store the actual configuration.

Definition at line 63 of file isl29125_params.h.