Searched refs:t_fine (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/tests/drivers/i2c/i2c_bme688/src/ |
D | sensor.c | 10 int32_t calculate_temperature(uint32_t adc_temp, int32_t *t_fine, in calculate_temperature() argument 20 *t_fine = var2 + var3; in calculate_temperature() 21 temperature_compensated = (int16_t)(((*t_fine * 5) + 128) >> 8); in calculate_temperature() 29 uint32_t calculate_pressure(uint32_t pres_adc, int32_t t_fine, in calculate_pressure() argument 38 var1 = (((int32_t)t_fine) >> 1) - 64000; in calculate_pressure() 71 uint32_t calculate_humidity(uint16_t hum_adc, int32_t t_fine, struct calibration_coeffs *cal_coeffs) in calculate_humidity() argument 82 temp_scaled = (((int32_t)t_fine * 5) + 128) >> 8; in calculate_humidity()
|
D | sensor.h | 146 int32_t calculate_temperature(uint32_t adc_temp, int32_t *t_fine, 153 uint32_t calculate_pressure(uint32_t pres_adc, int32_t t_fine, 160 uint32_t calculate_humidity(uint16_t hum_adc, int32_t t_fine,
|
D | main.c | 18 static int32_t t_fine; variable 284 calculate_temperature(read_adc_temperature(), &t_fine, &cal_coeffs); in ZTEST() 285 pressure = calculate_pressure(read_adc_pressure(), t_fine, &cal_coeffs); in ZTEST() 286 humidity = calculate_humidity(read_adc_humidity(), t_fine, &cal_coeffs); in ZTEST()
|
/Zephyr-latest/drivers/sensor/bosch/bme280/ |
D | bme280.c | 78 data->t_fine = var1 + var2; in bme280_compensate_temp() 79 return (data->t_fine * 5 + 128) >> 8; in bme280_compensate_temp() 86 var1 = ((int64_t)data->t_fine) - 128000; in bme280_compensate_press() 113 h = (data->t_fine - ((int32_t)76800)); in bme280_compensate_humidity()
|
D | bme280.h | 194 int32_t t_fine; member
|
/Zephyr-latest/drivers/sensor/bosch/bme680/ |
D | bme680.c | 75 data->t_fine = var2 + var3; in bme680_calc_temp() 76 data->calc_temp = ((data->t_fine * 5) + 128) >> 8; in bme680_calc_temp() 83 var1 = (((int32_t)data->t_fine) >> 1) - 64000; in bme680_calc_press() 123 temp_scaled = (((int32_t)data->t_fine * 5) + 128) >> 8; in bme680_calc_humidity()
|
D | bme680.h | 211 int32_t t_fine; member
|