19#ifndef QMC5883L_PARAMS_H
20#define QMC5883L_PARAMS_H
34#ifndef QMC5883L_PARAM_I2C
35#define QMC5883L_PARAM_I2C I2C_DEV(0)
37#ifndef QMC5883L_PARAM_PIN_DRDY
38#define QMC5883L_PARAM_PIN_DRDY (GPIO_UNDEF)
40#ifndef QMC5883L_PARAM_ODR
41#define QMC5883L_PARAM_ODR (QMC5883L_ODR_10HZ)
43#ifndef QMC5883L_PARAM_RNG
44#define QMC5883L_PARAM_RNG (QMC5883L_RNG_2G)
46#ifndef QMC5883L_PARAM_OSR
47#define QMC5883L_PARAM_OSR (QMC5883L_OSR_64)
50#ifndef QMC5883L_PARAMS
51#define QMC5883L_PARAMS { .i2c = QMC5883L_PARAM_I2C, \
52 .pin_drdy = QMC5883L_PARAM_PIN_DRDY, \
53 .odr = QMC5883L_PARAM_ODR, \
54 .rng = QMC5883L_PARAM_RNG, \
55 .osr = QMC5883L_PARAM_OSR }
58#ifndef QMC5883L_SAUL_INFO
59#define QMC5883L_SAUL_INFO { .name = "qmc5883l" }
API definition for the QMC5883L device driver.
static const saul_reg_info_t qmc5883l_saul_info[]
Additional meta information to keep in the SAUL registry.
static const qmc5883l_params_t qmc5883l_params[]
QMC5883L configuration.
SAUL registry interface definition.
QMC5883L initialization parameters.
Additional data to collect for each entry.