38#define ABP2_PARAM_SPI (SPI_DEV(0))
41#define ABP2_PARAM_CLK (SPI_CLK_400KHZ)
44#define ABP2_PARAM_CS (GPIO_PIN(0, 0))
46#ifndef ABP2_PARAM_BUSCFG
47#define ABP2_PARAM_BUSCFG .spi = ABP2_PARAM_SPI, \
48 .cs = ABP2_PARAM_CS, \
52#elif defined(MODULE_ABP2_I2C)
55#define ABP2_PARAM_I2C I2C_DEV(0)
57#ifndef ABP2_PARAM_BUSCFG
58#define ABP2_PARAM_BUSCFG .i2c = ABP2_PARAM_I2C
63#ifndef ABP2_PARAM_RNGMIN
65#define ABP2_PARAM_RNGMIN (0)
67#ifndef ABP2_PARAM_RNGMAX
69#define ABP2_PARAM_RNGMAX (160000)
74#define ABP2_PARAMS { \
76 .rangeMin = ABP2_PARAM_RNGMIN, \
77 .rangeMax = ABP2_PARAM_RNGMAX \
82#define ABP2_SAUL_INFO \
83 { { .name = "Pressure sensor (abp2)" }, \
84 { .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.