Searched refs:motion_state (Results 1 - 6 of 6) sorted by relevance

/hardware/invensense/60xx/mlsdk/mllite/
H A DmlSetGyroBias.c154 if (inv_obj->motion_state == INV_NO_MOTION) {
156 inv_obj->motion_state = INV_MOTION;
164 if (inv_obj->motion_state == INV_MOTION) {
166 inv_obj->motion_state = INV_NO_MOTION;
183 sgb.motion = inv_obj.motion_state;
H A DmlBiasNoMotion.c57 * motion_state parameter, the new motion state.
61 inv_error_t inv_set_motion_callback(void (*func) (unsigned short motion_state)) argument
256 if (inv_obj->motion_state == INV_MOTION) {
282 if (inv_obj->motion_state == INV_NO_MOTION) {
305 if (inv_obj->motion_state == INV_NO_MOTION) {
H A Dml.h390 unsigned short motion_state; member in struct:inv_obj_t
433 void (*motion_cb_func) (unsigned short motion_state); // Callback function that will run when a change of motion state is detected.
557 inv_set_motion_callback(void (*func) (unsigned short motion_state));
H A Dml.c331 inv_obj.motion_state = INV_MOTION; // Motion state
459 inv_obj.motion_state = INV_MOTION;
1312 return inv_obj.motion_state;
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
H A Dresults_holder.c42 unsigned char motion_state; member in struct:results_t
129 return rh.motion_state;
139 if (state == rh.motion_state) {
148 rh.motion_state = state;
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dresults_holder.c47 unsigned char motion_state; member in struct:results_t
169 return rh.motion_state;
179 if (state == rh.motion_state) {
188 rh.motion_state = state;

Completed in 1176 milliseconds