Default configuration for LPSXXX family of devices. More...

Detailed Description

Default configuration for LPSXXX family of devices.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file lpsxxx_params.h.

#include "board.h"
#include "lpsxxx.h"
#include "saul_reg.h"
+ Include dependency graph for lpsxxx_params.h:

Go to the source code of this file.

Variables

static const lpsxxx_params_t lpsxxx_params []
 Allocate some memory to store the actual configuration. More...
 
static const saul_reg_info_t lpsxxx_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 

Set default configuration parameters

#define LPSXXX_PARAM_I2C   I2C_DEV(0)
 
#define LPSXXX_PARAM_ADDR   (CONFIG_LPSXXX_DEFAULT_ADDRESS)
 
#define LPSXXX_PARAM_RATE   (LPSXXX_DEFAULT_RATE)
 
#define LPSXXX_PARAMS
 
#define LPSXXX_SAUL_INFO   { .name = LPSXXX_SAUL_NAME }
 

Macro Definition Documentation

◆ LPSXXX_PARAMS

#define LPSXXX_PARAMS
Value:
{ .i2c = LPSXXX_PARAM_I2C, \
.addr = LPSXXX_PARAM_ADDR, \
.rate = LPSXXX_PARAM_RATE }

Definition at line 47 of file lpsxxx_params.h.

Variable Documentation

◆ lpsxxx_params

const lpsxxx_params_t lpsxxx_params[]
static
Initial value:
=
{
LPSXXX_PARAMS
}

Allocate some memory to store the actual configuration.

Definition at line 67 of file lpsxxx_params.h.

◆ lpsxxx_saul_info

const saul_reg_info_t lpsxxx_saul_info[]
static
Initial value:
=
{
LPSXXX_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 75 of file lpsxxx_params.h.