Go to the documentation of this file.
19 #ifndef MPL3115A2_PARAMS_H
20 #define MPL3115A2_PARAMS_H
35 #ifndef MPL3115A2_PARAM_I2C
36 #define MPL3115A2_PARAM_I2C I2C_DEV(0)
39 #ifndef MPL3115A2_PARAM_ADDR
40 #define MPL3115A2_PARAM_ADDR MPL3115A2_I2C_ADDRESS
43 #ifndef MPL3115A2_PARAM_RATIO
44 #define MPL3115A2_PARAM_RATIO MPL3115A2_OS_RATIO_DEFAULT
47 #ifndef MPL3115A2_PARAMS
48 #define MPL3115A2_PARAMS { .i2c = MPL3115A2_PARAM_I2C, \
49 .addr = MPL3115A2_PARAM_ADDR, \
50 .ratio = MPL3115A2_PARAM_RATIO }
52 #ifndef MPL3115A2_SAUL_INFO
53 #define MPL3115A2_SAUL_INFO { .name = "mpl3115a2" }
Interface definition for the MPL3115A2 sensor driver.
Register definition for the MPL3115A2 sensor driver.
Additional data to collect for each entry.
static const mpl3115a2_params_t mpl3115a2_params[]
MPL3115A2 configuration.
Configuration parameters.
SAUL registry interface definition.
static const saul_reg_info_t mpl3115a2_saul_info[]
Additional meta information to keep in the SAUL registry.