Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c549 #define GET_STATE() (atomicReadByte(&(_task->state))) macro
561 uint8_t prevState = ret ? SENSOR_IDLE : GET_STATE(); in trySwitchState_()
1041 INFO_PRINT("accPower: on=%d, state=%s\n", on, getStateName(GET_STATE())); in accPower()
1064 INFO_PRINT("gyrPower: on=%d, state=%s\n", on, getStateName(GET_STATE())); in gyrPower()
1096 INFO_PRINT("magPower: on=%d, state=%s\n", on, getStateName(GET_STATE())); in magPower()
1185 on, mTask.active_oneshot_sensor_cnt, getStateName(GET_STATE())); in anyMotionPower()
1208 on, mTask.active_oneshot_sensor_cnt, getStateName(GET_STATE())); in noMotionPower()
1317 getStateName(GET_STATE())); in accSetRate()
1376 getStateName(GET_STATE())); in gyrSetRate()
1436 getStateName(GET_STATE())); in magSetRate()
[all …]