Home
last modified time | relevance | path

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

/AliOS-Things-master/components/sensor/drv/
A Ddrv_acc_gyro_bosch_bmi120.c336 static int32_t g_cur_gyro_factor = 0; variable
942 g_cur_gyro_factor = g_bmi120_gyro_factor[range]; in drv_gyro_bosch_bmi120_set_range()
1045 if(g_cur_gyro_factor != 0) { in drv_gyro_bosch_bmi120_read()
1047 g_cur_gyro_factor; in drv_gyro_bosch_bmi120_read()
1049 g_cur_gyro_factor; in drv_gyro_bosch_bmi120_read()
1051 g_cur_gyro_factor; in drv_gyro_bosch_bmi120_read()
A Ddrv_acc_gyro_bosch_bmi160.c336 static int32_t g_cur_gyro_factor = 0; variable
942 g_cur_gyro_factor = g_bmi160_gyro_factor[range]; in drv_gyro_bosch_bmi160_set_range()
1045 if(g_cur_gyro_factor != 0) { in drv_gyro_bosch_bmi160_read()
1047 g_cur_gyro_factor); in drv_gyro_bosch_bmi160_read()
1049 g_cur_gyro_factor); in drv_gyro_bosch_bmi160_read()
1051 g_cur_gyro_factor); in drv_gyro_bosch_bmi160_read()
A Ddrv_acc_gyro_bosch_bmi260.c314 static int32_t g_cur_gyro_factor = 0; variable
1739 g_cur_gyro_factor = g_bmi260_gyro_factor[range]; in drv_gyro_bosch_bmi260_set_range()
1893 if(g_cur_gyro_factor != 0) { in drv_gyro_bosch_bmi260_read()
1894 …ro->data[DATA_AXIS_X] = (int32_t)((int64_t)x * GYROSCOPE_UNIT_FACTOR / (int64_t)g_cur_gyro_factor); in drv_gyro_bosch_bmi260_read()
1895 …ro->data[DATA_AXIS_Y] = (int32_t)((int64_t)y * GYROSCOPE_UNIT_FACTOR / (int64_t)g_cur_gyro_factor); in drv_gyro_bosch_bmi260_read()
1896 …ro->data[DATA_AXIS_Z] = (int32_t)((int64_t)z * GYROSCOPE_UNIT_FACTOR / (int64_t)g_cur_gyro_factor); in drv_gyro_bosch_bmi260_read()

Completed in 12 milliseconds