Home
last modified time | relevance | path

Searched refs:t_sample (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-2.7.6/drivers/sensor/sht3xd/
Dsht3xd.c80 uint16_t t_sample, rh_sample; in sht3xd_sample_fetch() local
111 t_sample = sys_get_be16(&rx_buf[0]); in sht3xd_sample_fetch()
112 if (sht3xd_compute_crc(t_sample) != rx_buf[2]) { in sht3xd_sample_fetch()
123 data->t_sample = t_sample; in sht3xd_sample_fetch()
142 tmp = (uint64_t)data->t_sample * 175U; in sht3xd_channel_get()
Dsht3xd.h61 uint16_t t_sample; member
/Zephyr-Core-2.7.6/drivers/sensor/sht4x/
Dsht4x.c41 uint16_t *t_sample, in sht4x_read_sample() argument
54 *t_sample = sys_get_be16(rx_buf); in sht4x_read_sample()
55 if (sht4x_compute_crc(*t_sample) != rx_buf[2]) { in sht4x_read_sample()
84 rc = sht4x_read_sample(dev, &data->t_sample, &data->rh_sample); in sht4x_fetch_with_heater()
114 rc = sht4x_read_sample(dev, &data->t_sample, &data->rh_sample); in sht4x_sample_fetch()
136 tmp = data->t_sample * 175; in sht4x_channel_get()
Dsht4x.h33 uint16_t t_sample; member
/Zephyr-Core-2.7.6/drivers/sensor/th02/
Dth02.c94 drv_data->t_sample = get_temp(drv_data->i2c); in th02_sample_fetch()
95 LOG_INF("temp: %u", drv_data->t_sample); in th02_sample_fetch()
113 val->val1 = drv_data->t_sample / 32U - 50; in th02_channel_get()
114 val->val2 = (drv_data->t_sample % 32) * (1000000 / 32); in th02_channel_get()
Dth02.h30 uint16_t t_sample; member
/Zephyr-Core-2.7.6/drivers/sensor/ti_hdc/
Dti_hdc.h26 uint16_t t_sample; member
Dti_hdc.c71 drv_data->t_sample = (buf[0] << 8) + buf[1]; in ti_hdc_sample_fetch()
92 tmp = (uint64_t)drv_data->t_sample * 165U; in ti_hdc_channel_get()
/Zephyr-Core-2.7.6/drivers/sensor/ti_hdc20xx/
Dti_hdc20xx.c55 uint16_t t_sample; member
100 data->t_sample = sys_le16_to_cpu(buf[0]); in ti_hdc20xx_sample_fetch()
118 tmp = data->t_sample * TI_HDC20XX_TEMP_SCALE + TI_HDC20XX_TEMP_OFFSET; in ti_hdc20xx_channel_get()
/Zephyr-Core-2.7.6/drivers/sensor/hts221/
Dhts221.c38 (data->t_sample - data->t0_out) / in hts221_channel_get()
78 data->t_sample = sys_le16_to_cpu(buf[2] | (buf[3] << 8)); in hts221_sample_fetch()
Dhts221.h37 int16_t t_sample; member