Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/bosch/bmp180/
Dbmp180.c312 int32_t partial_X1; in bmp180_compensate_press() local
322 partial_X1 = cal->b2 * partial_B6 * (float)(1.0f * partial_B6 / 0x800000); in bmp180_compensate_press()
324 partial_X3 = partial_X1 + partial_X2; in bmp180_compensate_press()
327 partial_X1 = (cal->ac3 * partial_B6) / 0x2000; in bmp180_compensate_press()
329 partial_X3 = (partial_X1 + partial_X2 + 2) / 4; in bmp180_compensate_press()
335 partial_X1 = comp_press * (float)(1.0f * comp_press / 0x10000); in bmp180_compensate_press()
336 partial_X1 = (partial_X1 * 3038) / 0x10000; in bmp180_compensate_press()
338 comp_press += (partial_X1 + partial_X2 + 3791) / 16; in bmp180_compensate_press()