bmi160_set_mode
ret = bmi160_set_mode(data, BMI160_ACCEL, true);
ret = bmi160_set_mode(data, BMI160_GYRO, true);
bmi160_set_mode(data, BMI160_ACCEL, false);
bmi160_set_mode(bmi_data, BMI160_GYRO, false);
bmi160_set_mode(bmi_data, BMI160_ACCEL, false);