Home
last modified time | relevance | path

Searched refs:sensor_value_to_micro (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/tests/drivers/sensor/generic/src/
Dmain.c334 zassert_equal(sensor_value_to_micro(&data), 3300000LL, in ZTEST()
341 zassert_equal(sensor_value_to_micro(&data), -3300000LL, in ZTEST()
348 zassert_equal(sensor_value_to_micro(&data), 5432109876543LL, in ZTEST()
/Zephyr-latest/drivers/fuel_gauge/composite/
Dfuel_gauge_composite.c45 *val = sensor_value_to_micro(&sensor_val); in composite_read_micro()
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/
Dphy_3d_sensor.c53 int64_t micro_ms2 = sensor_value_to_micro(val); in accel_sensor_value_to_q31()
78 int64_t micro_rad = (int64_t)sensor_value_to_micro(val); in gyro_sensor_value_to_q31()
/Zephyr-latest/drivers/sensor/ens160/
Dens160.c35 temp = sensor_value_to_micro(val) + 273150000U; in ens160_set_temperature()
62 rh = sensor_value_to_micro(val); in ens160_set_humidity()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_common.c82 accel_modr = sensor_value_to_micro(&val) / 1000; in icm42688_compute_fifo_wm()
88 gyro_modr = sensor_value_to_micro(&val) / 1000; in icm42688_compute_fifo_wm()
/Zephyr-latest/drivers/sensor/nordic/npm2100_vbat/
Dnpm2100_vbat.c367 int32_t val_usec = sensor_value_to_micro(val); in npm2100_vbat_attr_set()
431 sensor_value_to_micro(val), &range_idx); in npm2100_vbat_attr_set()
/Zephyr-latest/tests/drivers/sensor/icm42688/src/
Dmain.c76 actual_uc = sensor_value_to_micro(&value); in test_fetch_temp_mc()
/Zephyr-latest/drivers/sensor/ti/tmp116/
Dtmp116.c248 uint32_t freq_micro = sensor_value_to_micro(val); in tmp116_conv_value()
/Zephyr-latest/drivers/sensor/
Ddefault_rtio_sensor.c240 int64_t value_u = sensor_value_to_micro(&value[sample]); in sensor_submit_fallback_sync()
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h1466 static inline int64_t sensor_value_to_micro(const struct sensor_value *val) in sensor_value_to_micro() function
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Dbmi160.c437 CLAMP(sensor_value_to_micro(ofs) / BMI160_ACC_OFS_LSB, INT8_MIN, INT8_MAX); in bmi160_acc_ofs_set()