/Zephyr-Core-3.7.0/drivers/sensor/nordic/temp/ |
D | temp_nrfs.c | 21 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/ |
D | lm95234.c | 183 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/ |
D | stts751.c | 36 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/ |
D | stts22h.c | 38 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/ |
D | lps22hh.c | 40 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/ |
D | wsen_hids.c | 35 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/ |
D | iis2mdc.c | 198 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/ |
D | lis2mdl.c | 277 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/ |
D | bmg160.c | 221 bmg160->raw_temp = buf.temp; in bmg160_sample_fetch() 267 bmg160_to_fixed_point(bmg160, chan, bmg160->raw_temp, val); in bmg160_channel_get()
|
D | bmg160.h | 209 int8_t raw_temp; member
|
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmp388/ |
D | bmp388.h | 160 uint32_t raw_temp; member
|
D | bmp388.c | 263 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/ |
D | adxl367.c | 690 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()
|