Searched refs:rh_sample (Results 1 – 13 of 13) sorted by relevance
/Zephyr-Core-3.7.0/drivers/sensor/hs300x/ |
D | hs300x.c | 27 uint16_t rh_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 47 *rh_sample = sys_get_be16(rx_buf); in hs300x_read_sample() 88 rc = hs300x_read_sample(dev, &data->t_sample, &data->rh_sample); in hs300x_sample_fetch() 133 hs300x_rh_convert(val, data->rh_sample); in hs300x_channel_get()
|
/Zephyr-Core-3.7.0/drivers/sensor/sensirion/sht3xd/ |
D | sht3xd.c | 81 uint16_t t_sample, rh_sample; in sht3xd_sample_fetch() local 118 rh_sample = sys_get_be16(&rx_buf[3]); in sht3xd_sample_fetch() 119 if (sht3xd_compute_crc(rh_sample) != rx_buf[5]) { in sht3xd_sample_fetch() 125 data->rh_sample = rh_sample; in sht3xd_sample_fetch() 148 uint32_t tmp2 = (uint32_t)data->rh_sample * 100U; in sht3xd_channel_get()
|
D | sht3xd.h | 57 uint16_t rh_sample; member
|
/Zephyr-Core-3.7.0/drivers/sensor/sensirion/sht4x/ |
D | sht4x.c | 42 uint16_t *rh_sample) in sht4x_read_sample() argument 60 *rh_sample = sys_get_be16(&rx_buf[3]); in sht4x_read_sample() 61 if (sht4x_compute_crc(*rh_sample) != rx_buf[5]) { 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() 142 tmp = data->rh_sample * 125U; in sht4x_channel_get()
|
D | sht4x.h | 34 uint16_t rh_sample; member
|
/Zephyr-Core-3.7.0/drivers/sensor/th02/ |
D | th02.c | 94 drv_data->rh_sample = get_humi(&cfg->i2c); in th02_sample_fetch() 95 LOG_INF("rh: %u", drv_data->rh_sample); in th02_sample_fetch() 115 val->val1 = drv_data->rh_sample / 16U - 24; in th02_channel_get() 116 val->val2 = (drv_data->rh_sample % 16) * (1000000 / 16); in th02_channel_get()
|
D | th02.h | 33 uint16_t rh_sample; member
|
/Zephyr-Core-3.7.0/drivers/sensor/aosong/dht20/ |
D | dht20.c | 60 uint32_t rh_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 187 *rh_sample = sys_get_be24(&rx_buf[1]) >> 4; in dht20_read_sample() 243 rc = dht20_read_sample(dev, &data->t_sample, &data->rh_sample); in dht20_sample_fetch() 290 dht20_rh_convert(val, data->rh_sample); in dht20_channel_get()
|
/Zephyr-Core-3.7.0/drivers/sensor/ti/ti_hdc/ |
D | ti_hdc.h | 31 uint16_t rh_sample; member
|
D | ti_hdc.c | 67 drv_data->rh_sample = (buf[2] << 8) + buf[3]; in ti_hdc_sample_fetch() 92 tmp = (uint64_t)drv_data->rh_sample * 100U; in ti_hdc_channel_get()
|
/Zephyr-Core-3.7.0/drivers/sensor/ti/ti_hdc20xx/ |
D | ti_hdc20xx.c | 56 uint16_t rh_sample; member 101 data->rh_sample = sys_le16_to_cpu(buf[1]); in ti_hdc20xx_sample_fetch() 125 tmp = data->rh_sample * TI_HDC20XX_RH_SCALE; in ti_hdc20xx_channel_get()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/hts221/ |
D | hts221.h | 30 int16_t rh_sample; member
|
D | hts221.c | 53 (data->rh_sample - data->h0_t0_out) / in hts221_channel_get() 85 data->rh_sample = sys_le16_to_cpu(buf[0] | (buf[1] << 8)); in hts221_sample_fetch()
|