34#ifndef MPL3115A2_PARAM_I2C
35#define MPL3115A2_PARAM_I2C I2C_DEV(0)
38#ifndef MPL3115A2_PARAM_ADDR
39#define MPL3115A2_PARAM_ADDR MPL3115A2_I2C_ADDRESS
42#ifndef MPL3115A2_PARAM_RATIO
43#define MPL3115A2_PARAM_RATIO MPL3115A2_OS_RATIO_DEFAULT
46#ifndef MPL3115A2_PARAMS
47#define MPL3115A2_PARAMS { .i2c = MPL3115A2_PARAM_I2C, \
48 .addr = MPL3115A2_PARAM_ADDR, \
49 .ratio = MPL3115A2_PARAM_RATIO }
51#ifndef MPL3115A2_SAUL_INFO
52#define MPL3115A2_SAUL_INFO { .name = "mpl3115a2" }
Interface definition for the MPL3115A2 sensor driver.
static const mpl3115a2_params_t mpl3115a2_params[]
MPL3115A2 configuration.
static const saul_reg_info_t mpl3115a2_saul_info[]
Additional meta information to keep in the SAUL registry.
Register definition for the MPL3115A2 sensor driver.
SAUL registry interface definition.
Configuration parameters.
Additional data to collect for each entry.