Home
last modified time | relevance | path

Searched refs:temp_val (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/samples/sensor/adt7420/src/
Dmain.c103 struct sensor_value temp_val; in process() local
138 &temp_val); in process()
145 reset_window |= !temp_in_window(&temp_val); in process()
149 sensor_value_to_double(&temp_val), in process()
155 ret = sensor_set_window(dev, &temp_val); in process()
/Zephyr-Core-3.7.0/tests/drivers/sensor/temp_sensor/src/
Dmain.c24 int32_t temp_val; in ZTEST() local
33 temp_val = (val.val1 * 100) + (val.val2 / 10000); in ZTEST()
35 temp_val/100, abs(temp_val) % 100); in ZTEST()
/Zephyr-Core-3.7.0/drivers/sensor/nordic/temp/
Dtemp_nrfs.c93 static int32_t to_raw_temp(const struct sensor_value *temp_val) in to_raw_temp() argument
95 int32_t temp_mul_100 = (int32_t)(sensor_value_to_milli(temp_val) / 10); in to_raw_temp()
/Zephyr-Core-3.7.0/drivers/sensor/adi/adxl367/
Dadxl367.h297 int16_t temp_val; member
Dadxl367.c819 return adxl367_get_temp_data(dev, &data->temp_val); in adxl367_sample_fetch()
864 adxl367_temp_convert(val, data->temp_val); in adxl367_channel_get()