Home
last modified time | relevance | path

Searched refs:ctrlreg (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/sensor/bosch/bmp180/
Dbmp180.c134 uint8_t ctrlreg; in bmp180_conv_ready() local
146 ret = bmp180_reg_read(dev, BMP180_REG_MEAS_CTRL, &ctrlreg, 1); in bmp180_conv_ready()
152 if ((ctrlreg & BMP180_STATUS_CMD_RDY) == 0) { in bmp180_conv_ready()
197 uint8_t ctrlreg; in read_raw_pressure() local
205 ctrlreg = BMP180_CMD_GET_OSS0_PRESS; in read_raw_pressure()
209 ctrlreg = BMP180_CMD_GET_OSS1_PRESS; in read_raw_pressure()
213 ctrlreg = BMP180_CMD_GET_OSS2_PRESS; in read_raw_pressure()
217 ctrlreg = BMP180_CMD_GET_OSS3_PRESS; in read_raw_pressure()
224 ret = bmp180_reg_write(dev, BMP180_REG_MEAS_CTRL, ctrlreg); in read_raw_pressure()