Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/bosch/bme680/
Dbme680.c341 data->par_t1 = (uint16_t)(BME680_CONCAT_BYTES(buff[32], buff[31])); in bme680_read_compensation()
342 data->par_t2 = (int16_t)(BME680_CONCAT_BYTES(buff[1], buff[0])); in bme680_read_compensation()
346 data->par_p1 = (uint16_t)(BME680_CONCAT_BYTES(buff[5], buff[4])); in bme680_read_compensation()
347 data->par_p2 = (int16_t)(BME680_CONCAT_BYTES(buff[7], buff[6])); in bme680_read_compensation()
349 data->par_p4 = (int16_t)(BME680_CONCAT_BYTES(buff[11], buff[10])); in bme680_read_compensation()
350 data->par_p5 = (int16_t)(BME680_CONCAT_BYTES(buff[13], buff[12])); in bme680_read_compensation()
353 data->par_p8 = (int16_t)(BME680_CONCAT_BYTES(buff[19], buff[18])); in bme680_read_compensation()
354 data->par_p9 = (int16_t)(BME680_CONCAT_BYTES(buff[21], buff[20])); in bme680_read_compensation()
368 data->par_gh2 = (int16_t)(BME680_CONCAT_BYTES(buff[34], buff[33])); in bme680_read_compensation()
Dbme680.h169 #define BME680_CONCAT_BYTES(msb, lsb) (((uint16_t)msb << 8) | (uint16_t)lsb) macro