Home
last modified time | relevance | path

Searched refs:raw_temp (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.7.0/drivers/sensor/nordic/temp/
Dtemp_nrfs.c21 int32_t raw_temp; member
186 data->raw_temp = p_evt->raw_temp; in sensor_handler()
192 data->raw_temp = p_evt->raw_temp; in sensor_handler()
224 LOG_DBG("Temperature sample: %d", data->raw_temp); in api_sample_fetch()
250 int32_t uval = nrfs_temp_from_raw(data->raw_temp); in api_channel_get()
/Zephyr-Core-3.7.0/drivers/sensor/ti/lm95234/
Dlm95234.c183 int32_t raw_temp; in lm95234_channel_get() local
187 raw_temp = data->local; in lm95234_channel_get()
193 raw_temp = data->remote[chan - SENSOR_CHAN_LM95234_REMOTE_TEMP_1]; in lm95234_channel_get()
200 val->val1 = raw_temp / 256; in lm95234_channel_get()
201 val->val2 = (raw_temp % 256) * 1000000 / 256; in lm95234_channel_get()
/Zephyr-Core-3.7.0/drivers/sensor/st/stts751/
Dstts751.c36 int16_t raw_temp; in stts751_sample_fetch() local
40 if (stts751_temperature_raw_get(data->ctx, &raw_temp) < 0) { in stts751_sample_fetch()
45 data->sample_temp = raw_temp; in stts751_sample_fetch()
/Zephyr-Core-3.7.0/drivers/sensor/st/stts22h/
Dstts22h.c38 int16_t raw_temp; in stts22h_sample_fetch() local
45 if (stts22h_temperature_raw_get(ctx, &raw_temp) < 0) { in stts22h_sample_fetch()
50 data->sample_temp = raw_temp; in stts22h_sample_fetch()
/Zephyr-Core-3.7.0/drivers/sensor/st/lps22hh/
Dlps22hh.c40 int16_t raw_temp; in lps22hh_sample_fetch() local
54 if (lps22hh_temperature_raw_get(ctx, &raw_temp) < 0) { in lps22hh_sample_fetch()
64 if (lps22hh_temperature_raw_get(ctx, &raw_temp) < 0) { in lps22hh_sample_fetch()
79 data->sample_temp = raw_temp; in lps22hh_sample_fetch()
/Zephyr-Core-3.7.0/drivers/sensor/wsen/wsen_hids/
Dwsen_hids.c35 int16_t raw_temp; in hids_sample_fetch() local
39 if (HIDS_getRawValues(&data->sensor_interface, &raw_humidity, &raw_temp) != WE_SUCCESS) { in hids_sample_fetch()
50 if (HIDS_convertTemperature_int16(&data->sensor_interface, raw_temp, &data->temperature) != in hids_sample_fetch()
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2mdc/
Diis2mdc.c198 int16_t raw_temp; in iis2mdc_sample_fetch_temp() local
202 if (iis2mdc_temperature_raw_get(iis2mdc->ctx, &raw_temp) < 0) { in iis2mdc_sample_fetch_temp()
208 temp = sys_le16_to_cpu(raw_temp); in iis2mdc_sample_fetch_temp()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2mdl/
Dlis2mdl.c277 int16_t raw_temp; in lis2mdl_sample_fetch_temp() local
280 if (lis2mdl_temperature_raw_get(ctx, &raw_temp) < 0) { in lis2mdl_sample_fetch_temp()
285 lis2mdl->temp_sample = (sys_le16_to_cpu(raw_temp)); in lis2mdl_sample_fetch_temp()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmg160/
Dbmg160.c221 bmg160->raw_temp = buf.temp; in bmg160_sample_fetch()
267 bmg160_to_fixed_point(bmg160, chan, bmg160->raw_temp, val); in bmg160_channel_get()
Dbmg160.h209 int8_t raw_temp; member
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmp388/
Dbmp388.h160 uint32_t raw_temp; member
Dbmp388.c263 bmp388->sample.raw_temp = (uint32_t)raw[3] | in bmp388_sample_fetch()
287 partial_data1 = ((int64_t)data->sample.raw_temp - (256 * cal->t1)); in bmp388_compensate_temp()
/Zephyr-Core-3.7.0/drivers/sensor/adi/adxl367/
Dadxl367.c690 int adxl367_get_temp_data(const struct device *dev, int16_t *raw_temp) in adxl367_get_temp_data() argument
713 *raw_temp = ((int16_t)temp[0] << 6) + (temp[1] >> 2); in adxl367_get_temp_data()
715 if ((*raw_temp & BIT(13)) != 0) { in adxl367_get_temp_data()
716 *raw_temp |= GENMASK(15, 14); in adxl367_get_temp_data()