Home
last modified time | relevance | path

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

/AliOS-Things-master/components/sensor/drv/
A Ddrv_acc_gyro_bosch_bmi088.c200 static uint32_t gyro_current_factor = 0; variable
762 gyro_current_factor = bmi088_gyro_factor[range]; in drv_gyro_bosch_bmi088_set_range()
831 if (gyro_current_factor != 0) { in drv_gyro_bosch_bmi088_read()
833 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_X] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi088_read()
834 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_Y] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi088_read()
835 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_Z] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi088_read()
A Ddrv_acc_gyro_bosch_bmi055.c320 static uint32_t gyro_current_factor = 0; variable
887 gyro_current_factor = bmi055_gyro_factor[range]; in drv_gyro_bosch_bmi055_set_range()
956 if (gyro_current_factor != 0) { in drv_gyro_bosch_bmi055_read()
958 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_X] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi055_read()
959 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_Y] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi055_read()
960 …] = (int32_t)((int64_t)gyro->data[DATA_AXIS_Z] * GYROSCOPE_UNIT_FACTOR * 10 / gyro_current_factor); in drv_gyro_bosch_bmi055_read()

Completed in 7 milliseconds