/Zephyr-latest/drivers/sensor/renesas/hs300x/ |
D | hs300x.c | 26 int16_t t_sample; member 30 static int hs300x_read_sample(const struct device *dev, uint16_t *t_sample, uint16_t *rh_sample) in hs300x_read_sample() argument 48 *t_sample = sys_get_be16(&rx_buf[2]); in hs300x_read_sample() 51 *t_sample >>= 2; in hs300x_read_sample() 88 rc = hs300x_read_sample(dev, &data->t_sample, &data->rh_sample); in hs300x_sample_fetch() 131 hs300x_temp_convert(val, data->t_sample); in hs300x_channel_get()
|
/Zephyr-latest/drivers/sensor/renesas/hs400x/ |
D | hs400x.c | 28 int16_t t_sample; member 32 static int hs400x_read_sample(const struct device *dev, uint16_t *t_sample, uint16_t *rh_sample) in hs400x_read_sample() argument 45 *t_sample = sys_get_be16(&rx_buf[2]); in hs400x_read_sample() 87 rc = hs400x_read_sample(dev, &data->t_sample, &data->rh_sample); in hs400x_sample_fetch() 130 hs400x_temp_convert(val, data->t_sample); in hs400x_channel_get()
|
/Zephyr-latest/drivers/sensor/sensirion/sht3xd/ |
D | sht3xd.c | 81 uint16_t t_sample, rh_sample; in sht3xd_sample_fetch() local 112 t_sample = sys_get_be16(&rx_buf[0]); in sht3xd_sample_fetch() 113 if (sht3xd_compute_crc(t_sample) != rx_buf[2]) { in sht3xd_sample_fetch() 124 data->t_sample = t_sample; in sht3xd_sample_fetch() 143 tmp = (uint64_t)data->t_sample * 175U; in sht3xd_channel_get()
|
D | sht3xd.h | 56 uint16_t t_sample; member
|
/Zephyr-latest/drivers/sensor/sensirion/sht4x/ |
D | sht4x.c | 41 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()
|
D | sht4x.h | 33 uint16_t t_sample; member
|
/Zephyr-latest/drivers/sensor/th02/ |
D | th02.c | 92 drv_data->t_sample = get_temp(&cfg->i2c); in th02_sample_fetch() 93 LOG_INF("temp: %u", drv_data->t_sample); in th02_sample_fetch() 111 val->val1 = drv_data->t_sample / 32U - 50; in th02_channel_get() 112 val->val2 = (drv_data->t_sample % 32) * (1000000 / 32); in th02_channel_get()
|
D | th02.h | 32 uint16_t t_sample; member
|
/Zephyr-latest/drivers/sensor/aosong/dht20/ |
D | dht20.c | 59 uint32_t t_sample; member 157 static int dht20_read_sample(const struct device *dev, uint32_t *t_sample, uint32_t *rh_sample) in dht20_read_sample() argument 189 *t_sample = sys_get_be24(&rx_buf[3]) & 0x0FFFFF; in dht20_read_sample() 243 rc = dht20_read_sample(dev, &data->t_sample, &data->rh_sample); in dht20_sample_fetch() 288 dht20_temp_convert(val, data->t_sample); in dht20_channel_get()
|
/Zephyr-latest/drivers/sensor/ti/ti_hdc/ |
D | ti_hdc.h | 30 uint16_t t_sample; member
|
D | ti_hdc.c | 66 drv_data->t_sample = (buf[0] << 8) + buf[1]; in ti_hdc_sample_fetch() 87 tmp = (uint64_t)drv_data->t_sample * 165U; in ti_hdc_channel_get()
|
/Zephyr-latest/drivers/sensor/ti/ti_hdc20xx/ |
D | ti_hdc20xx.c | 55 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-latest/drivers/sensor/st/hts221/ |
D | hts221.h | 31 int16_t t_sample; member
|
D | hts221.c | 43 (data->t_sample - data->t0_out) / in hts221_channel_get() 85 data->t_sample = buf[2] | (buf[3] << 8); in hts221_sample_fetch()
|