Home
last modified time | relevance | path

Searched refs:sensor_value_from_float (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/drivers/sensor/ist8310/
Dist8310.c81 sensor_value_from_float(val, drv_data->sample_x * (1.0f / 1320)); in ist8310_channel_get()
84 sensor_value_from_float(val, drv_data->sample_y * (1.0f / 1320)); in ist8310_channel_get()
87 sensor_value_from_float(val, drv_data->sample_z * (1.0f / 1320)); in ist8310_channel_get()
90 sensor_value_from_float(val, drv_data->sample_x * (1.0f / 1320)); in ist8310_channel_get()
91 sensor_value_from_float(val + 1, drv_data->sample_y * (1.0f / 1320)); in ist8310_channel_get()
92 sensor_value_from_float(val + 2, drv_data->sample_z * (1.0f / 1320)); in ist8310_channel_get()
/Zephyr-latest/drivers/sensor/tdk/icp10125/
Dicp10125.c270 sensor_value_from_float(val, icp10125_calc_calibrated_press(data) / 1000.f); in icp10125_convert_press_value()
276 sensor_value_from_float(val, icp10125_calc_calibrated_ambient_temp(data)); in icp10125_convert_ambient_temp_value()
/Zephyr-latest/drivers/sensor/nxp/qdec_mcux/
Dqdec_mcux.c117 sensor_value_from_float(val, (data->position * 360.0f) in qdec_mcux_ch_get()
/Zephyr-latest/drivers/sensor/st/stm32_digi_temp/
Dstm32_digi_temp.c108 return sensor_value_from_float(val, temp); in stm32_digi_temp_channel_get()
/Zephyr-latest/drivers/sensor/st/stm32_temp/
Dstm32_temp.c254 return sensor_value_from_float(val, temp); in stm32_temp_channel_get()
/Zephyr-latest/tests/drivers/sensor/generic/src/
Dmain.c323 sensor_value_from_float(&data, (float)(SENSOR_PI) / 1000000.0f); in ZTEST()
/Zephyr-latest/drivers/sensor/st/lis2dux12/
Dlis2dux12.c208 sensor_value_from_float(val, data->sample_temp); in lis2dux12_get_channel()
/Zephyr-latest/drivers/sensor/ti/ina3221/
Dina3221.c248 return sensor_value_from_float(val, result); in ina3221_channel_get()
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h1349 static inline int sensor_value_from_float(struct sensor_value *val, float inp) in sensor_value_from_float() function