38 BMP180_ULTRALOWPOWER = 0,
int16_t bmp180_altitude(const bmp180_t *dev, uint32_t pressure_0)
Compute altitude, returned in m.
uint32_t bmp180_sealevel_pressure(const bmp180_t *dev, int16_t altitude)
Compute pressure at sea level, returned in Pa.
uint32_t bmp180_read_pressure(const bmp180_t *dev)
Read pressure value from the given BMP180 device, returned in Pa.
int bmp180_init(bmp180_t *dev, const bmp180_params_t *params)
Initialize the given BMP180 device.
int16_t bmp180_read_temperature(const bmp180_t *dev)
Read temperature value from the given BMP180 device, returned in d°C.
bmp180_oversampling_mode_t
Oversampling modes.
@ BMP180_OK
everything was fine
@ BMP180_ERR_NOCAL
error when reading calibration values
@ BMP180_ERR_NODEV
did not detect BMP180
uint_fast8_t i2c_t
Default i2c_t type definition.
Low-level I2C peripheral driver interface definition.
Calibration struct for the BMP180 sensor.
uint16_t ac6
ac6 coefficient
int16_t ac2
ac2 coefficient
uint16_t ac4
ac4 coefficient
uint16_t ac5
ac5 coefficient
int16_t ac3
ac3 coefficient
int16_t ac1
ac1 coefficient
Device initialization parameters.
bmp180_oversampling_mode_t oversampling
Oversampling mode.
i2c_t i2c_dev
I2C device which is used.
uint8_t i2c_addr
I2C address.
Device descriptor for the BMP180 sensor.
bmp180_params_t params
Device initialization parameters.
bmp180_calibration_t calibration
Device calibration.
Functionality for reading [S]ensor [A]ctuator [U]ber [L]ayer sensors as SenML.