Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/bosch/bmp180/
Dbmp180.c55 uint8_t osr_pressure; member
96 data->osr_pressure = val; in bmp180_attr_set_oversampling()
203 switch (data->osr_pressure) { in read_raw_pressure()
241 pressure >>= (8 - data->osr_pressure); in read_raw_pressure()
325 partial_B3 = (((cal->ac1 * 4 + partial_X3) << data->osr_pressure) + 2) / 4; in bmp180_compensate_press()
331 partial_B7 = (uint64_t)(raw_pressure - partial_B3) * (50000 >> data->osr_pressure); in bmp180_compensate_press()
464 .osr_pressure = DT_INST_ENUM_IDX(inst, osr_press),\
/Zephyr-latest/drivers/sensor/bosch/bmp388/
Dbmp388.c182 data->osr_pressure = reg_val; in bmp388_attr_set_oversampling()
512 val = (bmp3xx->osr_pressure << BMP388_OSR_PRESSURE_POS); in bmp388_init()
581 .osr_pressure = DT_INST_ENUM_IDX(inst, osr_press),\
Dbmp388.h190 uint8_t osr_pressure; member