Default configuration for ISL29020 devices. More...

Detailed Description

Default configuration for ISL29020 devices.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file isl29020_params.h.

#include "board.h"
#include "isl29020.h"
#include "saul_reg.h"
+ Include dependency graph for isl29020_params.h:

Go to the source code of this file.

Variables

static const isl29020_params_t isl29020_params []
 Allocate some memory to store the actual configuration. More...
 
static const saul_reg_info_t isl29020_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 
#define ISL29020_PARAM_I2C   I2C_DEV(0)
 Set default configuration parameters.
 
#define ISL29020_PARAM_ADDR   (0x44)
 
#define ISL29020_PARAM_RANGE   (ISL29020_RANGE_16K)
 
#define ISL29020_PARAM_MODE   (ISL29020_MODE_AMBIENT)
 
#define ISL29020_PARAMS
 
#define ISL29020_SAUL_INFO   { .name = "isl29020" }
 

Macro Definition Documentation

◆ ISL29020_PARAMS

#define ISL29020_PARAMS
Value:
{ .i2c = ISL29020_PARAM_I2C, \
.addr = ISL29020_PARAM_ADDR, \
.range = ISL29020_PARAM_RANGE, \
.mode = ISL29020_PARAM_MODE }
#define ISL29020_PARAM_I2C
Set default configuration parameters.

Definition at line 48 of file isl29020_params.h.

Variable Documentation

◆ isl29020_params

const isl29020_params_t isl29020_params[]
static
Initial value:
=
{
ISL29020_PARAMS
}

Allocate some memory to store the actual configuration.

Definition at line 61 of file isl29020_params.h.

◆ isl29020_saul_info

const saul_reg_info_t isl29020_saul_info[]
static
Initial value:
=
{
ISL29020_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 69 of file isl29020_params.h.