Lines Matching refs:edata
12 const struct bme280_encoded_data *edata = (const struct bme280_encoded_data *)buffer; in bme280_decoder_get_frame_count() local
22 *frame_count = edata->has_temp ? 1 : 0; in bme280_decoder_get_frame_count()
25 *frame_count = edata->has_press ? 1 : 0; in bme280_decoder_get_frame_count()
28 *frame_count = edata->has_humidity ? 1 : 0; in bme280_decoder_get_frame_count()
59 const struct bme280_encoded_data *edata = (const struct bme280_encoded_data *)buffer; in bme280_decoder_decode() local
67 out->header.base_timestamp_ns = edata->header.timestamp; in bme280_decoder_decode()
72 if (edata->has_temp) { in bme280_decoder_decode()
73 int32_t readq = edata->reading.comp_temp * pow(2, 31 - BME280_TEMP_SHIFT); in bme280_decoder_decode()
85 if (edata->has_press) { in bme280_decoder_decode()
86 int32_t readq = edata->reading.comp_press; in bme280_decoder_decode()
98 if (edata->has_humidity) { in bme280_decoder_decode()
99 out->readings[0].humidity = edata->reading.comp_humidity; in bme280_decoder_decode()