Default configuration for OPT3001 devices. More...

Detailed Description

Default configuration for OPT3001 devices.

Author
Jannes Volkens janne.nosp@m.s.vo.nosp@m.lkens.nosp@m.@haw.nosp@m.-hamb.nosp@m.urg..nosp@m.de

Definition in file opt3001_params.h.

#include "board.h"
#include "opt3001.h"
#include "saul_reg.h"
+ Include dependency graph for opt3001_params.h:

Go to the source code of this file.

Variables

static const opt3001_params_t opt3001_params []
 OPT3001 configuration. More...
 
static const saul_reg_info_t opt3001_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 

Set default configuration parameters for the opt3001

#define OPT3001_PARAM_I2C_DEV   I2C_DEV(0)
 
#define OPT3001_PARAM_I2C_ADDR   (CONFIG_OPT3001_I2C_ADDRESS)
 
#define OPT3001_PARAMS
 
#define OPT3001_SAUL_INFO   { .name = "opt3001" }
 

Macro Definition Documentation

◆ OPT3001_PARAMS

#define OPT3001_PARAMS
Value:
{ .i2c_dev = OPT3001_PARAM_I2C_DEV, \
.i2c_addr = OPT3001_PARAM_I2C_ADDR}

Definition at line 43 of file opt3001_params.h.

Variable Documentation

◆ opt3001_params

const opt3001_params_t opt3001_params[]
static
Initial value:
=
{
OPT3001_PARAMS
}

OPT3001 configuration.

Definition at line 55 of file opt3001_params.h.

◆ opt3001_saul_info

const saul_reg_info_t opt3001_saul_info[]
static
Initial value:
=
{
OPT3001_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 63 of file opt3001_params.h.