Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/bosch/bmi160/
Dbmi160_trigger.c192 uint8_t acc_range_g, reg_val; in bmi160_acc_slope_config() local
200 acc_range_g = bmi160_acc_reg_val_to_range(reg_val); in bmi160_acc_slope_config()
205 if (slope_th_ums2 > (acc_range_g / 2 * SENSOR_G)) { in bmi160_acc_slope_config()
209 reg_val = (slope_th_ums2 - 1) * 512U / (acc_range_g * SENSOR_G); in bmi160_acc_slope_config()