Lines Matching defs:sensors
29 * sensors.
1682 * NOTE: In this version only full sensors controll is allowed. Independent
1685 * @param sensors Bit field of each axis desired to be turned on or off
1689 inv_error_t inv_set_mpu_sensors(unsigned long sensors)
1700 if (((sensors & INV_THREE_AXIS_ACCEL) != INV_THREE_AXIS_ACCEL) &&
1701 ((sensors & INV_THREE_AXIS_ACCEL) != 0)) {
1704 if (((sensors & INV_THREE_AXIS_ACCEL) != 0) &&
1709 if (((sensors & INV_THREE_AXIS_COMPASS) != INV_THREE_AXIS_COMPASS) &&
1710 ((sensors & INV_THREE_AXIS_COMPASS) != 0)) {
1713 if (((sensors & INV_THREE_AXIS_COMPASS) != 0) &&
1718 if (((sensors & INV_THREE_AXIS_PRESSURE) != INV_THREE_AXIS_PRESSURE) &&
1719 ((sensors & INV_THREE_AXIS_PRESSURE) != 0)) {
1722 if (((sensors & INV_THREE_AXIS_PRESSURE) != 0) &&
1728 if (sensors & INV_DMP_PROCESSOR &&
1759 result = inv_obj.mode_change_func(mldl_cfg->requested_sensors, sensors);
1766 /* Get the fifo rate before changing sensors so if we need to match it */
1768 mldl_cfg->requested_sensors = sensors;
1770 /* inv_dmp_start will turn the sensors on */
1772 result = inv_dl_start(sensors);
1782 result = inv_dl_stop(~sensors);
1791 if (!(sensors & INV_DMP_PROCESSOR) && (sensors & INV_THREE_AXIS_ACCEL)) {