Searched refs:motion_state (Results 1 – 7 of 7) sorted by relevance
154 if (inv_obj->motion_state == INV_NO_MOTION) { in MLSetGyroBiasCB()156 inv_obj->motion_state = INV_MOTION; in MLSetGyroBiasCB()164 if (inv_obj->motion_state == INV_MOTION) { in MLSetGyroBiasCB()166 inv_obj->motion_state = INV_NO_MOTION; in MLSetGyroBiasCB()183 sgb.motion = inv_obj.motion_state; in inv_enable_set_bias()
61 inv_error_t inv_set_motion_callback(void (*func) (unsigned short motion_state)) in inv_set_motion_callback() argument256 if (inv_obj->motion_state == INV_MOTION) { in MLPollMotionStatus()282 if (inv_obj->motion_state == INV_NO_MOTION) { in MLPollMotionStatus()305 if (inv_obj->motion_state == INV_NO_MOTION) { in MLPollMotionStatus()
390 unsigned short motion_state; member433 …void (*motion_cb_func) (unsigned short motion_state); // Callback function that will run when a …557 inv_set_motion_callback(void (*func) (unsigned short motion_state));
331 inv_obj.motion_state = INV_MOTION; // Motion state in inv_init_ml()459 inv_obj.motion_state = INV_MOTION; in inv_reset_motion()1312 return inv_obj.motion_state; in inv_get_motion_state()
42 unsigned char motion_state; member129 return rh.motion_state; in inv_get_motion_state()139 if (state == rh.motion_state) { in inv_set_motion_state()148 rh.motion_state = state; in inv_set_motion_state()
47 unsigned char motion_state; member169 return rh.motion_state; in inv_get_motion_state()179 if (state == rh.motion_state) { in inv_set_motion_state()188 rh.motion_state = state; in inv_set_motion_state()
42 unsigned char motion_state; member205 return rh.motion_state; in inv_get_motion_state()215 if (state == rh.motion_state) { in inv_set_motion_state()224 rh.motion_state = state; in inv_set_motion_state()