33#ifndef QMC5883L_PARAM_I2C
34#define QMC5883L_PARAM_I2C I2C_DEV(0)
36#ifndef QMC5883L_PARAM_PIN_DRDY
37#define QMC5883L_PARAM_PIN_DRDY (GPIO_UNDEF)
39#ifndef QMC5883L_PARAM_ODR
40#define QMC5883L_PARAM_ODR (QMC5883L_ODR_10HZ)
42#ifndef QMC5883L_PARAM_RNG
43#define QMC5883L_PARAM_RNG (QMC5883L_RNG_2G)
45#ifndef QMC5883L_PARAM_OSR
46#define QMC5883L_PARAM_OSR (QMC5883L_OSR_64)
49#ifndef QMC5883L_PARAMS
50#define QMC5883L_PARAMS { .i2c = QMC5883L_PARAM_I2C, \
51 .pin_drdy = QMC5883L_PARAM_PIN_DRDY, \
52 .odr = QMC5883L_PARAM_ODR, \
53 .rng = QMC5883L_PARAM_RNG, \
54 .osr = QMC5883L_PARAM_OSR }
57#ifndef QMC5883L_SAUL_INFO
58#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.