Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/sensor/generic/src/
Dmain.c332 zassert_equal(sensor_value_to_milli(&data), 3300LL, in ZTEST()
339 zassert_equal(sensor_value_to_milli(&data), -3300LL, in ZTEST()
346 zassert_equal(sensor_value_to_milli(&data), 5432109876LL, in ZTEST()
/Zephyr-latest/drivers/sensor/nordic/temp/
Dtemp_nrfs.c88 (uint32_t)sensor_value_to_milli(freq_val); in to_measure_rate_ms()
95 int32_t temp_mul_100 = (int32_t)(sensor_value_to_milli(temp_val) / 10); in to_raw_temp()
159 if (sensor_value_to_milli(val) <= 0) { in api_sensor_attr_set()
/Zephyr-latest/drivers/sensor/bosch/bmi323/
Dbmi323.c192 int64_t odr = sensor_value_to_milli(val); in bosch_bmi323_driver_api_set_acc_odr()
241 int64_t fullscale = sensor_value_to_milli(val); in bosch_bmi323_driver_api_set_acc_full_scale()
294 int64_t odr = sensor_value_to_milli(val); in bosch_bmi323_driver_api_set_gyro_odr()
343 int32_t fullscale = sensor_value_to_milli(val); in bosch_bmi323_driver_api_set_gyro_full_scale()
907 data->acc_full_scale = sensor_value_to_milli(&full_scale); in bosch_bmi323_driver_api_fetch_acc_samples()
949 data->gyro_full_scale = sensor_value_to_milli(&full_scale); in bosch_bmi323_driver_api_fetch_gyro_samples()
/Zephyr-latest/subsys/sensing/sensor/hinge_angle/
Dhinge_angle.c65 sensor_value_to_milli(val)); in hinge_attr_set()
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h1455 static inline int64_t sensor_value_to_milli(const struct sensor_value *val) in sensor_value_to_milli() function