Searched defs:sensors (Results 1 - 6 of 6) sorted by relevance

/hardware/invensense/mlsdk/mllite/
H A Dmldl_cfg_mpu.c257 unsigned long sensors)
261 mldl_cfg->requested_sensors = sensors;
288 unsigned long sensors)
293 mldl_cfg->requested_sensors = (~sensors) & INV_ALL_SENSORS;
294 //MPL_LOGI("%s: suspending sensors to %04lx\n", __func__,
252 inv_mpu_resume(struct mldl_cfg* mldl_cfg, void *mlsl_handle, void *accel_handle, void *compass_handle, void *pressure_handle, unsigned long sensors) argument
283 inv_mpu_suspend(struct mldl_cfg *mldl_cfg, void *mlsl_handle, void *accel_handle, void *compass_handle, void *pressure_handle, unsigned long sensors) argument
H A Dmldl.c246 * @param sensors
247 * Bitfield of the sensors that are going to be used. Combination of the
269 inv_error_t inv_init_requested_sensors(unsigned long sensors) argument
271 mldlCfg.requested_sensors = sensors;
281 * @param sensors
282 * Bitfield of the sensors to turn on. Combination of the following:
303 inv_error_t inv_dl_start(unsigned long sensors) argument
308 mldlCfg.requested_sensors = sensors;
314 sensors);
324 * @param sensors Bitfile
346 inv_dl_stop(unsigned long sensors) argument
[all...]
H A Dml.c29 * 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) argument
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
[all...]
/hardware/invensense/libsensors_iio/
H A Dsensors_mpl.cpp19 #include <hardware/sensors.h>
33 #include "sensors.h"
48 static int sensors = LOCAL_SENSORS; variable
57 return sensors;
111 sensors =
H A DMPLSensor.cpp695 /* TODO: Turn off and close all sensors */
1072 int MPLSensor::enableSensors(unsigned long sensors, int en, uint32_t changed) { argument
1098 LOGV_IF(PROCESS_VERBOSE, "HAL:enableSensors - sensors: 0x%0x", (unsigned int)sensors);
1101 if (sensors & INV_THREE_AXIS_GYRO) {
1107 } else if ((sensors & INV_THREE_AXIS_GYRO) == 0) {
1117 if (sensors & INV_THREE_AXIS_ACCEL) {
1123 } else if ((sensors & INV_THREE_AXIS_ACCEL) == 0) {
1134 if (sensors & INV_THREE_AXIS_COMPASS) {
1140 } else if ((sensors
[all...]
/hardware/invensense/libsensors_iio/software/core/mllite/
H A Ddata_builder.c74 static struct inv_sensor_cal_t sensors; variable in typeref:struct:inv_sensor_cal_t
106 // copy in the saved accuracy in the actual sensors accuracy
107 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy;
108 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy;
109 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy;
111 if (sensors.compass.accuracy == 3) {
130 memset(&sensors, 0, sizeof(sensors));
143 return sensors.gyro.sensitivity;
153 return sensors
[all...]

Completed in 91 milliseconds