/Zephyr-latest/drivers/sensor/sensirion/sts4x/ |
D | sts4x.c | 37 uint16_t temp_sample; member 66 static int sts4x_read_sample(const struct device *dev, uint16_t *temp_sample) in sts4x_read_sample() argument 78 *temp_sample = sys_get_be16(rx_buf); in sts4x_read_sample() 79 ret = sts4x_crc_check(*temp_sample, rx_buf[2]); in sts4x_read_sample() 103 ret = sts4x_read_sample(dev, &data->temp_sample); in sts4x_sample_fetch() 123 temp = data->temp_sample * STS4X_MAX_TEMP; in sts4x_channel_get()
|
/Zephyr-latest/drivers/sensor/microchip/tcn75a/ |
D | tcn75a.c | 43 data->temp_sample = sys_get_be16(rx_buf); in tcn75a_sample_fetch() 44 LOG_DBG("Raw sample: 0x%04x", data->temp_sample); in tcn75a_sample_fetch() 60 val->val1 = data->temp_sample >> TCN75A_TEMP_MSB_POS; in tcn75a_channel_get() 61 temp_lsb = (data->temp_sample & TCN75A_TEMP_LSB_MASK); in tcn75a_channel_get()
|
D | tcn75a.h | 42 uint16_t temp_sample; member
|
/Zephyr-latest/drivers/sensor/bosch/bma280/ |
D | bma280.c | 50 (uint8_t *)&drv_data->temp_sample) < 0) { in bma280_sample_fetch() 99 val->val1 = (drv_data->temp_sample >> 1) + 23; in bma280_channel_get() 100 val->val2 = 500000 * (drv_data->temp_sample & 1); in bma280_channel_get()
|
D | bma280.h | 120 int8_t temp_sample; member
|
/Zephyr-latest/drivers/sensor/st/lsm9ds1/ |
D | lsm9ds1.h | 52 int16_t temp_sample; member
|
D | lsm9ds1.c | 404 ret = lsm9ds1_temperature_raw_get(ctx, &data->temp_sample); in lsm9ds1_sample_fetch_temp() 525 val->val1 = data->temp_sample / TEMP_SENSITIVITY + TEMP_OFFSET; in lsm9ds1_temp_channel_get() 526 val->val2 = (data->temp_sample % TEMP_SENSITIVITY) * (1000000 / TEMP_SENSITIVITY); in lsm9ds1_temp_channel_get()
|
/Zephyr-latest/drivers/sensor/sensirion/scd4x/ |
D | scd4x.h | 70 uint16_t temp_sample; member
|
/Zephyr-latest/drivers/sensor/st/lis2mdl/ |
D | lis2mdl.h | 52 int16_t temp_sample; member
|
D | lis2mdl.c | 123 val->val1 = 25 + drv_data->temp_sample / 8; in lis2mdl_channel_get_temp() 124 val->val2 = (drv_data->temp_sample % 8) * 1000000 / 8; in lis2mdl_channel_get_temp() 284 lis2mdl->temp_sample = raw_temp; in lis2mdl_sample_fetch_temp()
|
/Zephyr-latest/drivers/sensor/st/iis2mdc/ |
D | iis2mdc.h | 48 int32_t temp_sample; member
|
D | iis2mdc.c | 111 val->val1 = drv_data->temp_sample / 100; in iis2mdc_channel_get_temp() 112 val->val2 = (drv_data->temp_sample % 100) * 10000; in iis2mdc_channel_get_temp() 208 iis2mdc->temp_sample = 2500 + (temp * 100) / 8; in iis2mdc_sample_fetch_temp()
|
/Zephyr-latest/drivers/sensor/st/lis3mdl/ |
D | lis3mdl.c | 54 lis3mdl_convert(val, drv_data->temp_sample, 8); in lis3mdl_channel_get() 92 drv_data->temp_sample = sys_le16_to_cpu(buf[3]); in lis3mdl_sample_fetch()
|
D | lis3mdl.h | 116 int16_t temp_sample; member
|
/Zephyr-latest/drivers/sensor/st/lis2de12/ |
D | lis2de12.h | 65 int16_t temp_sample; member
|
D | lis2de12.c | 183 if (lis2de12_temperature_raw_get(ctx, &data->temp_sample) < 0) { in lis2de12_sample_fetch_temp() 274 micro_c = ((int64_t)data->temp_sample * 1000000) / 256; in lis2de12_temp_channel_get()
|
/Zephyr-latest/drivers/sensor/st/iis2iclx/ |
D | iis2iclx.h | 61 int temp_sample; member
|
D | iis2iclx.c | 224 data->temp_sample = buf; in iis2iclx_sample_fetch_temp() 325 val->val1 = data->temp_sample / 256 + 25; in iis2iclx_temp_channel_get() 326 val->val2 = (data->temp_sample % 256) * (1000000 / 256); in iis2iclx_temp_channel_get()
|
/Zephyr-latest/drivers/sensor/silabs/si7210/ |
D | si7210.c | 107 uint16_t temp_sample; member 349 data->temp_sample = dspsig >> 3; in si7210_sample_fetch() 378 tmp = data->temp_sample; in si7210_channel_get()
|
/Zephyr-latest/drivers/sensor/st/lsm6ds0/ |
D | lsm6ds0.c | 189 data->temp_sample = (int16_t)((uint16_t)(buf[0]) | in lsm6ds0_sample_fetch_temp() 351 val->val1 = data->temp_sample / 16 + 25; in lsm6ds0_gyro_channel_get_temp() 352 val->val2 = (data->temp_sample % 16) * (1000000 / 16); in lsm6ds0_gyro_channel_get_temp()
|
/Zephyr-latest/drivers/sensor/st/ism330dhcx/ |
D | ism330dhcx.h | 66 int temp_sample; member
|
D | ism330dhcx.c | 346 data->temp_sample = buf; in ism330dhcx_sample_fetch_temp() 501 val->val1 = data->temp_sample / 256 + 25; in ism330dhcx_gyro_channel_get_temp() 502 val->val2 = (data->temp_sample % 256) * (1000000 / 256); in ism330dhcx_gyro_channel_get_temp()
|
/Zephyr-latest/drivers/sensor/st/lsm6dso/ |
D | lsm6dso.h | 78 int16_t temp_sample; member
|
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/ |
D | lsm6dso16is.h | 78 int16_t temp_sample; member
|
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/ |
D | lsm6dsv16x.h | 129 int16_t temp_sample; member
|