Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/samples/sensor/i3g4250d/src/
Dmain.c19 (void)sensor_value_from_double(&setting, sampling_frequency); in set_sampling_frequency()
/Zephyr-latest/drivers/sensor/infineon/xmc4xxx_temp/
Dxmc4xxx_temp.c57 return sensor_value_from_double(val, data->temp_out); in xmc4xxx_temp_channel_get()
/Zephyr-latest/drivers/sensor/espressif/esp32_temp/
Desp32_temp.c61 return sensor_value_from_double(val, data->temp_out); in esp32_temp_channel_get()
/Zephyr-latest/drivers/sensor/ams/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()
286 sensor_value_from_double(&integration_time, 500.0); in tsl2540_setup()
/Zephyr-latest/drivers/sensor/nxp/nxp_tempmon/
Dnxp_tempmon.c72 return sensor_value_from_double(val, temp); in nxp_tempmon_channel_get()
/Zephyr-latest/tests/drivers/sensor/generic/src/
Dmain.c317 sensor_value_from_double(&data, (double)(SENSOR_PI) / 1000000.0); in ZTEST()
/Zephyr-latest/drivers/sensor/ti/ina219/
Dina219.c214 return sensor_value_from_double(val, tmp); in ina219_channel_get()
/Zephyr-latest/drivers/sensor/maxim/max31865/
Dmax31865.c283 return sensor_value_from_double(val, data->temperature); in max31865_channel_get()
/Zephyr-latest/drivers/sensor/memsic/mc3419/
Dmc3419.c64 return sensor_value_from_double(val, value); in mc3419_to_sensor_value()
/Zephyr-latest/drivers/sensor/nxp/qdec_nxp_s32/
Dqdec_nxp_s32.c117 sensor_value_from_double(val, rotation); in qdec_s32_ch_get()
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h1324 static inline int sensor_value_from_double(struct sensor_value *val, double inp) in sensor_value_from_double() function
/Zephyr-latest/doc/releases/
Drelease-notes-3.1.rst588 * Fixed overflow issue in sensor_value_from_double().
1928 * :github:`39176` - overflow in sensor_value_from_double