Searched refs:var4 (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/drivers/i2c/i2c_bme688/src/ |
D | sensor.c | 76 int32_t var4; in calculate_humidity() local 93 var4 = (int32_t)cal_coeffs->par_h6 << 7; in calculate_humidity() 94 var4 = ((var4) + ((temp_scaled * (int32_t)cal_coeffs->par_h7) / ((int32_t)100))) >> 4; in calculate_humidity() 96 var6 = (var4 * var5) >> 1; in calculate_humidity()
|
/Zephyr-latest/drivers/sensor/bosch/bme680/ |
D | bme680.c | 120 int32_t var1, var2_1, var2_2, var2, var3, var4, var5, var6; in bme680_calc_humidity() local 134 var4 = (int32_t)data->par_h6 << 7; in bme680_calc_humidity() 135 var4 = ((var4) + ((temp_scaled * (int32_t)data->par_h7) / in bme680_calc_humidity() 138 var6 = (var4 * var5) >> 1; in bme680_calc_humidity() 178 int32_t var1, var2, var3, var4, var5; in bme680_calc_res_heat() local 191 var4 = (var3 / (data->res_heat_range + 4)); in bme680_calc_res_heat() 193 heatr_res_x100 = ((var4 / var5) - 250) * 34; in bme680_calc_res_heat()
|