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

Default configuration for DS75LX. More...

Detailed Description

Default configuration for DS75LX.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file ds75lx_params.h.

#include "board.h"
#include "ds75lx.h"
#include "ds75lx_internals.h"
#include "saul_reg.h"
+ Include dependency graph for ds75lx_params.h:

Go to the source code of this file.

Variables

static const ds75lx_params_t ds75lx_params []
 Configure DS75LX.
 
static const saul_reg_info_t ds75lx_saul_info []
 Configure SAUL registry entries.
 

Set default configuration parameters for the DS75LX

#define DS75LX_PARAM_I2C_DEV   I2C_DEV(0)
 
#define DS75LX_PARAM_I2C_ADDR   DS75LX_ADDR
 
#define DS75LX_PARAM_RESOLUTION   DS75LX_RESOLUTION_10
 
#define DS75LX_PARAMS
 
#define DS75LX_SAUL_INFO   { .name = "ds75lx" }
 

Macro Definition Documentation

◆ DS75LX_PARAM_I2C_ADDR

#define DS75LX_PARAM_I2C_ADDR   DS75LX_ADDR

Definition at line 39 of file ds75lx_params.h.

◆ DS75LX_PARAM_I2C_DEV

#define DS75LX_PARAM_I2C_DEV   I2C_DEV(0)

Definition at line 36 of file ds75lx_params.h.

◆ DS75LX_PARAM_RESOLUTION

#define DS75LX_PARAM_RESOLUTION   DS75LX_RESOLUTION_10

Definition at line 42 of file ds75lx_params.h.

◆ DS75LX_PARAMS

#define DS75LX_PARAMS
Value:
{ .i2c = DS75LX_PARAM_I2C_DEV, \
.addr = DS75LX_PARAM_I2C_ADDR, \
.resolution = DS75LX_PARAM_RESOLUTION }

Definition at line 46 of file ds75lx_params.h.

◆ DS75LX_SAUL_INFO

#define DS75LX_SAUL_INFO   { .name = "ds75lx" }

Definition at line 51 of file ds75lx_params.h.

Variable Documentation

◆ ds75lx_params

const ds75lx_params_t ds75lx_params[]
static
Initial value:
=
{
DS75LX_PARAMS
}

Configure DS75LX.

Definition at line 58 of file ds75lx_params.h.

◆ ds75lx_saul_info

const saul_reg_info_t ds75lx_saul_info[]
static
Initial value:
=
{
DS75LX_SAUL_INFO
}

Configure SAUL registry entries.

Definition at line 66 of file ds75lx_params.h.