Searched defs:inv_obj (Results 1 - 4 of 4) sorted by relevance

/hardware/invensense/60xx/mlsdk/mllite/
H A DmlSetGyroBias.c69 biasTmp[i] = inv_q30_mult(biasTmp2[0], inv_obj.gyro_orient[i]) +
70 inv_q30_mult(biasTmp2[1], inv_obj.gyro_orient[i + 3]) +
71 inv_q30_mult(biasTmp2[2], inv_obj.gyro_orient[i + 6]);
143 inv_error_t MLSetGyroBiasCB(struct inv_obj_t * inv_obj) argument
154 if (inv_obj->motion_state == INV_NO_MOTION) {
156 inv_obj->motion_state = INV_MOTION;
157 inv_obj->flags[INV_MOTION_STATE_CHANGE] = INV_MOTION;
164 if (inv_obj->motion_state == INV_MOTION) {
166 inv_obj->motion_state = INV_NO_MOTION;
167 inv_obj
[all...]
H A DmlBiasNoMotion.c149 inv_obj.got_no_motion_bias = TRUE;
154 inv_error_t MLAccelMotionDetection(struct inv_obj_t *inv_obj) argument
182 gain = inv_obj->accel_lpf_gain * rate;
187 inv_obj->accel_lpf[kk] =
188 inv_q30_mult(((1L << 30) - gain), inv_obj->accel_lpf[kk]);
189 inv_obj->accel_lpf[kk] += inv_q30_mult(gain, accel[kk]);
190 temp = accel[0] - inv_obj->accel_lpf[0];
194 if (accelMag > inv_obj->no_motion_accel_threshold) {
195 inv_obj->no_motion_accel_time = currentTime;
201 } else if ((currentTime - inv_obj
221 MLPollMotionStatus(struct inv_obj_t * inv_obj) argument
[all...]
H A Dmlcontrol.c679 inv_error_t inv_update_control(struct inv_obj_t * inv_obj) argument
H A Dml.c93 struct inv_obj_t inv_obj; variable in typeref:struct:inv_obj_t
234 inv_obj.accel_sens = (long)(accelScale * 65536L);
238 inv_obj.accel_sens /= 32768 / mldl_cfg->accel_sens_trim;
240 inv_obj.accel_sens /= 2;
245 inv_obj.compass_sens = (long)(magScale * 32768);
317 memset(&inv_obj, 0, sizeof(struct inv_obj_t));
320 inv_obj.compass_correction[0] = 1073741824L;
321 inv_obj.compass_correction_relative[0] = 1073741824L;
322 inv_obj.compass_disturb_correction[0] = 1073741824L;
323 inv_obj
[all...]

Completed in 745 milliseconds