Home | History | Annotate | Download | only in mllite

Lines Matching defs:mldl_cfg

49 #include "mldl_cfg.h"
220 struct mldl_cfg *mldl_cfg = inv_get_dl_config();
221 if (NULL != mldl_cfg->compass &&
222 NULL != mldl_cfg->compass->resume &&
223 mldl_cfg->requested_sensors & INV_THREE_AXIS_COMPASS)
236 struct mldl_cfg *mldl_cfg = inv_get_dl_config();
237 if (NULL != mldl_cfg->pdata)
238 return mldl_cfg->pdata->compass.address;
250 struct mldl_cfg *mldl_cfg = inv_get_dl_config();
251 if (NULL != mldl_cfg->compass) {
252 return mldl_cfg->compass->id;
268 struct mldl_cfg *mldl_cfg = inv_get_dl_config();
272 if (mldl_cfg->compass->read_len > sizeof(inv_obj.compass_raw_data)) {
277 if (mldl_cfg->pdata->compass.bus == EXT_SLAVE_BUS_PRIMARY ||
278 !(mldl_cfg->requested_sensors & INV_DMP_PROCESSOR)) {
285 result = (inv_error_t) inv_mpu_read_compass(mldl_cfg,
296 if (EXT_SLAVE_BIG_ENDIAN == mldl_cfg->compass->endian)
323 mldl_cfg->pdata->compass.address,
325 /*mldl_cfg->compass->trigger->reg */ 0x0A,
327 /*mldl_cfg->compass->trigger->value */ 0x01,
332 inv_serial_write(inv_get_serial_handle(), mldl_cfg->addr,
341 inv_serial_write(inv_get_serial_handle(), mldl_cfg->addr,
368 struct mldl_cfg *mldlCfg = inv_get_dl_config();