Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_emul.c343 int64_t value_unshifted = in icm42688_emul_backend_set_channel() local
349 reg_val = ((value_unshifted - (25 * Q31_SCALE)) * 13248) / (100 * Q31_SCALE); in icm42688_emul_backend_set_channel()
368 reg_val = ((value_unshifted * sensitivity / Q31_SCALE) * 1000000LL) / SENSOR_G; in icm42688_emul_backend_set_channel()
388 CLAMP((((value_unshifted * sensitivity * 180LL) / Q31_SCALE) * 1000000LL) / in icm42688_emul_backend_set_channel()