Home
last modified time | relevance | path

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

/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()
74 int32_t convq = BME280_TEMP_CONV * pow(2, 31 - BME280_TEMP_SHIFT); in bme280_decoder_decode()
77 (int32_t)((((int64_t)readq) << (31 - BME280_TEMP_SHIFT)) / in bme280_decoder_decode()
79 out->shift = BME280_TEMP_SHIFT; in bme280_decoder_decode()
Dbme280.h156 #define BME280_TEMP_SHIFT 16 macro