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