All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

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.
 
static const saul_reg_info_t isl29020_saul_info []
 Additional meta information to keep in the SAUL registry.
 
#define ISL29020_PARAM_I2C   I2C_DEV(0)
 Set default configuration parameters.
 
#define ISL29020_PARAM_ADDR   (CONFIG_ISL29020_DEFAULT_ADDRESS)
 
#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_PARAM_ADDR

#define ISL29020_PARAM_ADDR   (CONFIG_ISL29020_DEFAULT_ADDRESS)

Definition at line 38 of file isl29020_params.h.

◆ ISL29020_PARAM_I2C

#define ISL29020_PARAM_I2C   I2C_DEV(0)

Set default configuration parameters.

Definition at line 35 of file isl29020_params.h.

◆ ISL29020_PARAM_MODE

#define ISL29020_PARAM_MODE   (ISL29020_MODE_AMBIENT)

Definition at line 44 of file isl29020_params.h.

◆ ISL29020_PARAM_RANGE

#define ISL29020_PARAM_RANGE   (ISL29020_RANGE_16K)

Definition at line 41 of file isl29020_params.h.

◆ 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.

◆ ISL29020_SAUL_INFO

#define ISL29020_SAUL_INFO   { .name = "isl29020" }

Definition at line 54 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.