35#define ABP2_PARAM_SPI (SPI_DEV(0))
38#define ABP2_PARAM_CLK (SPI_CLK_400KHZ)
41#define ABP2_PARAM_CS (GPIO_PIN(0, 0))
43#ifndef ABP2_PARAM_BUSCFG
44#define ABP2_PARAM_BUSCFG .spi = ABP2_PARAM_SPI, \
45 .cs = ABP2_PARAM_CS, \
49#elif defined(MODULE_ABP2_I2C)
52#define ABP2_PARAM_I2C I2C_DEV(0)
54#ifndef ABP2_PARAM_BUSCFG
55#define ABP2_PARAM_BUSCFG .i2c = ABP2_PARAM_I2C
60#ifndef ABP2_PARAM_RNGMIN
62#define ABP2_PARAM_RNGMIN (0)
64#ifndef ABP2_PARAM_RNGMAX
66#define ABP2_PARAM_RNGMAX (160000)
71#define ABP2_PARAMS { \
73 .rangeMin = ABP2_PARAM_RNGMIN, \
74 .rangeMax = ABP2_PARAM_RNGMAX \
79#define ABP2_SAUL_INFO \
80 { { .name = "Pressure sensor (abp2)" }, \
81 { .name = "Temperature sensor (abp2)" } \
Honeywell ABP2 series pressure and temperature sensor driver.
#define ABP2_PARAMS
Default sensor parameters.
static const saul_reg_info_t abp2_saul_info[][2]
Additional meta information to keep in the SAUL registry.
#define ABP2_SAUL_INFO
Sensor driver name in the SAUL framework.
struct abp2_params abp2_params_t
Parameters for ABP2 sensors.
SAUL registry interface definition.
Parameters for ABP2 sensors.
Additional data to collect for each entry.