21 #ifndef LPSXXX_PARAMS_H
22 #define LPSXXX_PARAMS_H
36 #ifndef LPSXXX_PARAM_I2C
37 #define LPSXXX_PARAM_I2C I2C_DEV(0)
39 #ifndef LPSXXX_PARAM_ADDR
40 #define LPSXXX_PARAM_ADDR (CONFIG_LPSXXX_DEFAULT_ADDRESS)
42 #ifndef LPSXXX_PARAM_RATE
43 #define LPSXXX_PARAM_RATE (LPSXXX_DEFAULT_RATE)
47 #define LPSXXX_PARAMS { .i2c = LPSXXX_PARAM_I2C, \
48 .addr = LPSXXX_PARAM_ADDR, \
49 .rate = LPSXXX_PARAM_RATE }
53 #define LPSXXX_SAUL_NAME "lps331ap"
55 #define LPSXXX_SAUL_NAME "lps25hb"
57 #define LPSXXX_SAUL_NAME "lps22hb"
59 #define LPSXXX_SAUL_NAME "lps22hh"
61 #define LPSXXX_SAUL_NAME "lps22ch"
63 #ifndef LPSXXX_SAUL_INFO
64 #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.