Default configuration for QMC5883L devices. More...

Detailed Description

Default configuration for QMC5883L devices.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file qmc5883l_params.h.

#include "saul_reg.h"
#include "board.h"
#include "qmc5883l.h"
+ Include dependency graph for qmc5883l_params.h:

Go to the source code of this file.

Variables

static const qmc5883l_params_t qmc5883l_params []
 QMC5883L configuration. More...
 
static const saul_reg_info_t qmc5883l_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 

Set default configuration parameters for QMC5883L devices

#define QMC5883L_PARAM_I2C   I2C_DEV(0)
 
#define QMC5883L_PARAM_PIN_DRDY   (GPIO_UNDEF)
 
#define QMC5883L_PARAM_ODR   (QMC5883L_ODR_10HZ)
 
#define QMC5883L_PARAM_RNG   (QMC5883L_RNG_2G)
 
#define QMC5883L_PARAM_OSR   (QMC5883L_OSR_64)
 
#define QMC5883L_PARAMS
 
#define QMC5883L_SAUL_INFO   { .name = "qmc5883l" }
 

Macro Definition Documentation

◆ QMC5883L_PARAMS

#define QMC5883L_PARAMS
Value:
{ .i2c = QMC5883L_PARAM_I2C, \
.pin_drdy = QMC5883L_PARAM_PIN_DRDY, \
.odr = QMC5883L_PARAM_ODR, \
.rng = QMC5883L_PARAM_RNG, \
.osr = QMC5883L_PARAM_OSR }

Definition at line 51 of file qmc5883l_params.h.

Variable Documentation

◆ qmc5883l_params

const qmc5883l_params_t qmc5883l_params[]
static
Initial value:
=
{
QMC5883L_PARAMS
}

QMC5883L configuration.

Definition at line 66 of file qmc5883l_params.h.

◆ qmc5883l_saul_info

const saul_reg_info_t qmc5883l_saul_info[]
static
Initial value:
=
{
QMC5883L_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 74 of file qmc5883l_params.h.