Home
last modified time | relevance | path

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

/hardware/invensense/60xx/mlsdk/mllite/
DmlSetGyroBias.c154 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()
DmlBiasNoMotion.c61 inv_error_t inv_set_motion_callback(void (*func) (unsigned short motion_state)) in inv_set_motion_callback() argument
256 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()
Dml.h390 unsigned short motion_state; member
433 …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));
Dml.c331 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()
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dresults_holder.c42 unsigned char motion_state; member
129 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()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dresults_holder.c47 unsigned char motion_state; member
169 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()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dresults_holder.c42 unsigned char motion_state; member
205 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()