Searched refs:sensor_value_from_float (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/drivers/sensor/ist8310/ |
D | ist8310.c | 81 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/ |
D | icp10125.c | 270 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/ |
D | qdec_mcux.c | 117 sensor_value_from_float(val, (data->position * 360.0f) in qdec_mcux_ch_get()
|
/Zephyr-latest/drivers/sensor/st/stm32_digi_temp/ |
D | stm32_digi_temp.c | 108 return sensor_value_from_float(val, temp); in stm32_digi_temp_channel_get()
|
/Zephyr-latest/drivers/sensor/st/stm32_temp/ |
D | stm32_temp.c | 254 return sensor_value_from_float(val, temp); in stm32_temp_channel_get()
|
/Zephyr-latest/tests/drivers/sensor/generic/src/ |
D | main.c | 323 sensor_value_from_float(&data, (float)(SENSOR_PI) / 1000000.0f); in ZTEST()
|
/Zephyr-latest/drivers/sensor/st/lis2dux12/ |
D | lis2dux12.c | 208 sensor_value_from_float(val, data->sample_temp); in lis2dux12_get_channel()
|
/Zephyr-latest/drivers/sensor/ti/ina3221/ |
D | ina3221.c | 248 return sensor_value_from_float(val, result); in ina3221_channel_get()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | sensor.h | 1349 static inline int sensor_value_from_float(struct sensor_value *val, float inp) in sensor_value_from_float() function
|