35 #ifndef LPSXXX_PARAM_I2C
36 #define LPSXXX_PARAM_I2C I2C_DEV(0)
38 #ifndef LPSXXX_PARAM_ADDR
39 #define LPSXXX_PARAM_ADDR (CONFIG_LPSXXX_DEFAULT_ADDRESS)
41 #ifndef LPSXXX_PARAM_RATE
42 #define LPSXXX_PARAM_RATE (LPSXXX_DEFAULT_RATE)
46 #define LPSXXX_PARAMS { .i2c = LPSXXX_PARAM_I2C, \
47 .addr = LPSXXX_PARAM_ADDR, \
48 .rate = LPSXXX_PARAM_RATE }
52 #define LPSXXX_SAUL_NAME "lps331ap"
54 #define LPSXXX_SAUL_NAME "lps25hb"
56 #define LPSXXX_SAUL_NAME "lps22hb"
58 #define LPSXXX_SAUL_NAME "lps22hh"
60 #define LPSXXX_SAUL_NAME "lps22ch"
62 #ifndef LPSXXX_SAUL_INFO
63 #define LPSXXX_SAUL_INFO { .name = LPSXXX_SAUL_NAME }
static const saul_reg_info_t lpsxxx_saul_info[]
Additional meta information to keep in the SAUL registry.
static const lpsxxx_params_t lpsxxx_params[]
Allocate some memory to store the actual configuration.
SAUL registry interface definition.
Struct holding all parameters needed for device initialization.
Additional data to collect for each entry.