21#ifndef BMP180_PARAMS_H
22#define BMP180_PARAMS_H
37#ifndef BMP180_PARAM_I2C_DEV
38#define BMP180_PARAM_I2C_DEV I2C_DEV(0)
40#ifndef BMP180_PARAM_I2C_ADDR
41#define BMP180_PARAM_I2C_ADDR BMP180_ADDR
43#ifndef BMP180_PARAM_OVERSAMPLING
44#define BMP180_PARAM_OVERSAMPLING BMP180_ULTRALOWPOWER
48#define BMP180_PARAMS { .i2c_dev = BMP180_PARAM_I2C_DEV, \
49 .i2c_addr = BMP180_PARAM_I2C_ADDR, \
50 .oversampling = BMP180_PARAM_OVERSAMPLING }
52#ifndef BMP180_SAUL_INFO
53#define BMP180_SAUL_INFO { .name = "bmp180" }
Device driver interface for the BMP180 sensor.
Internal addresses, registers, constants for the BMP180 sensor.
static const bmp180_params_t bmp180_params[]
Configure BMP180.
static const saul_reg_info_t bmp180_saul_info[]
Configure SAUL registry entries.
SAUL registry interface definition.
Device initialization parameters.
Additional data to collect for each entry.