Default configuration for MPL3115A2 devices. More...

Detailed Description

Default configuration for MPL3115A2 devices.

Author
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t

Definition in file mpl3115a2_params.h.

#include "board.h"
#include "saul_reg.h"
#include "mpl3115a2.h"
#include "mpl3115a2_reg.h"
+ Include dependency graph for mpl3115a2_params.h:

Go to the source code of this file.

Variables

static const mpl3115a2_params_t mpl3115a2_params []
 MPL3115A2 configuration. More...
 
static const saul_reg_info_t mpl3115a2_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 

Default configuration parameters for the MPL3115A2 driver

#define MPL3115A2_PARAM_I2C   I2C_DEV(0)
 
#define MPL3115A2_PARAM_ADDR   MPL3115A2_I2C_ADDRESS
 
#define MPL3115A2_PARAM_RATIO   MPL3115A2_OS_RATIO_DEFAULT
 
#define MPL3115A2_PARAMS
 
#define MPL3115A2_SAUL_INFO   { .name = "mpl3115a2" }
 

Macro Definition Documentation

◆ MPL3115A2_PARAMS

#define MPL3115A2_PARAMS
Value:
{ .i2c = MPL3115A2_PARAM_I2C, \
.addr = MPL3115A2_PARAM_ADDR, \
.ratio = MPL3115A2_PARAM_RATIO }

Definition at line 48 of file mpl3115a2_params.h.

Variable Documentation

◆ mpl3115a2_params

const mpl3115a2_params_t mpl3115a2_params[]
static
Initial value:
=
{
MPL3115A2_PARAMS
}

MPL3115A2 configuration.

Definition at line 60 of file mpl3115a2_params.h.

◆ mpl3115a2_saul_info

const saul_reg_info_t mpl3115a2_saul_info[]
static
Initial value:
=
{
MPL3115A2_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 68 of file mpl3115a2_params.h.