Home
last modified time | relevance | path

Searched refs:sensor_value_from_double (Results 1 – 14 of 14) sorted by relevance

/Zephyr-Core-3.5.0/samples/sensor/thermometer/src/
Dmain.c85 ret = sensor_value_from_double(&value, low_temp); in main()
98 ret = sensor_value_from_double(&value, high_temp); in main()
/Zephyr-Core-3.5.0/samples/sensor/i3g4250d/src/
Dmain.c19 (void)sensor_value_from_double(&setting, sampling_frequency); in set_sampling_frequency()
/Zephyr-Core-3.5.0/drivers/sensor/xmc4xxx_temp/
Dxmc4xxx_temp.c57 return sensor_value_from_double(val, data->temp_out); in xmc4xxx_temp_channel_get()
/Zephyr-Core-3.5.0/drivers/sensor/tsl2540/
Dtsl2540.c87 sensor_value_from_double(val, data->count_vis / cpl * in tsl2540_channel_get()
91 sensor_value_from_double(val, data->count_ir / cpl * in tsl2540_channel_get()
280 sensor_value_from_double(&integration_time, 500.0); in tsl2540_setup()
/Zephyr-Core-3.5.0/drivers/sensor/esp32_temp/
Desp32_temp.c62 return sensor_value_from_double(val, data->temp_out); in esp32_temp_channel_get()
/Zephyr-Core-3.5.0/drivers/sensor/nxp_tempmon/
Dnxp_tempmon.c72 return sensor_value_from_double(val, temp); in nxp_tempmon_channel_get()
/Zephyr-Core-3.5.0/drivers/sensor/stm32_vbat/
Dstm32_vbat.c85 return sensor_value_from_double(val, voltage); in stm32_vbat_channel_get()
/Zephyr-Core-3.5.0/drivers/sensor/stm32_vref/
Dstm32_vref.c114 return sensor_value_from_double(val, vref); in stm32_vref_channel_get()
/Zephyr-Core-3.5.0/drivers/sensor/stm32_temp/
Dstm32_temp.c145 return sensor_value_from_double(val, temp); in stm32_temp_channel_get()
/Zephyr-Core-3.5.0/tests/drivers/sensor/generic/src/
Dmain.c317 sensor_value_from_double(&data, (double)(SENSOR_PI) / 1000000.0); in ZTEST()
/Zephyr-Core-3.5.0/drivers/sensor/ina219/
Dina219.c214 return sensor_value_from_double(val, tmp); in ina219_channel_get()
/Zephyr-Core-3.5.0/drivers/sensor/max31865/
Dmax31865.c271 return sensor_value_from_double(val, data->temperature); in max31865_channel_get()
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dsensor.h1112 static inline int sensor_value_from_double(struct sensor_value *val, double inp) in sensor_value_from_double() function
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-3.1.rst588 * Fixed overflow issue in sensor_value_from_double().
1928 * :github:`39176` - overflow in sensor_value_from_double