Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/bosch/bmp180/
Dbmp180.c58 int32_t comp_temp; member
189 data->comp_temp = 0; in read_raw_temperature()
287 data->comp_temp = (partial_data1 + partial_data2); in bmp180_compensate_temp()
295 if (data->comp_temp == 0) { in bmp180_temp_channel_get()
299 float ftmp = ((data->comp_temp + 8) >> 4) / 10.0; in bmp180_temp_channel_get()
321 partial_B6 = data->comp_temp - 4000; in bmp180_compensate_press()
349 if (data->comp_temp == 0) { in bmp180_press_channel_get()
/Zephyr-latest/drivers/sensor/bosch/bmp388/
Dbmp388.c267 bmp3xx->sample.comp_temp = 0; in bmp388_sample_fetch()
295 data->sample.comp_temp = partial_data5 / 4294967296; in bmp388_compensate_temp()
303 if (data->sample.comp_temp == 0) { in bmp388_temp_channel_get()
307 int64_t tmp = (data->sample.comp_temp * 250000) / 16384; in bmp388_temp_channel_get()
333 int64_t t_lin = data->sample.comp_temp; in bmp388_compensate_press()
375 if (data->sample.comp_temp == 0) { in bmp388_press_channel_get()
Dbmp388.h174 int64_t comp_temp; member
/Zephyr-latest/drivers/sensor/bosch/bme280/
Dbme280_decoder.c73 int32_t readq = edata->reading.comp_temp * pow(2, 31 - BME280_TEMP_SHIFT); in bme280_decoder_decode()
Dbme280.c194 reading->comp_temp = bme280_compensate_temp(dev_data, adc_temp); in bme280_sample_fetch_helper()
224 val->val1 = data->reading.comp_temp / 100; in bme280_channel_get()
225 val->val2 = data->reading.comp_temp % 100 * 10000; in bme280_channel_get()
Dbme280.h167 int32_t comp_temp; member