Searched refs:sensors (Results 1 - 22 of 22) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Ddata_builder.c59 static struct inv_sensor_cal_t sensors; variable in typeref:struct:inv_sensor_cal_t
89 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw));
96 // copy in the saved accuracy in the actual sensors accuracy
97 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy;
98 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy;
99 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy;
101 if (sensors.compass.accuracy == 3) {
135 memset(&sensors, 0, sizeof(sensors));
[all...]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
H A Ddata_builder.c76 static struct inv_sensor_cal_t sensors; variable in typeref:struct:inv_sensor_cal_t
108 // copy in the saved accuracy in the actual sensors accuracy
109 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy;
110 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy;
111 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy;
113 if (sensors.compass.accuracy == 3) {
132 memset(&sensors, 0, sizeof(sensors));
145 return sensors.gyro.sensitivity;
155 return sensors
[all...]
/hardware/invensense/60xx/mlsdk/mllite/
H A Dmldl.h121 inv_error_t inv_dl_start(unsigned long sensors);
122 inv_error_t inv_dl_stop(unsigned long sensors);
126 inv_error_t inv_init_requested_sensors(unsigned long sensors);
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...]
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 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_cfg.h150 unsigned long sensors);
156 unsigned long sensors);
H A Dml.h27 * provide a physical model of the movement of the sensors.
447 inv_error_t inv_set_mpu_sensors(unsigned long sensors);
/hardware/invensense/60xx/libsensors/
H A Dsensors.h28 #include <hardware/sensors.h>
/hardware/akm/AK8975_FS/libsensors/
H A DAndroid.mk24 LOCAL_MODULE := sensors.default
39 sensors.cpp \
H A Dsensors.h28 #include <hardware/sensors.h>
H A Dsensors.cpp19 #include <hardware/sensors.h>
33 #include "sensors.h"
217 /* These sensors depend on ID_A and ID_M */
243 /* These sensors depend on ID_A and ID_M */
/hardware/invensense/60xx/libsensors_iio/
H A Dsensors.h28 #include <hardware/sensors.h>
H A Dsensors_mpl.cpp19 #include <hardware/sensors.h>
33 #include "sensors.h"
53 static int sensors = (sizeof(sSensorList) / sizeof(sensor_t)); variable
62 return sensors;
122 sensors =
H A DMPLSensor.cpp684 /* TODO: Turn off and close all sensors */
1013 int MPLSensor::enableSensors(unsigned long sensors, int en, uint32_t changed) { argument
1048 LOGV_IF(PROCESS_VERBOSE, "HAL:enableSensors - sensors: 0x%0x", (unsigned int)sensors);
1051 res = enableOneSensor(sensors & INV_THREE_AXIS_GYRO, "gyro", &MPLSensor::enableGyro);
1058 res = enableOneSensor(sensors & INV_THREE_AXIS_ACCEL, "accel", &MPLSensor::enableAccel);
1066 res = enableOneSensor(sensors & INV_THREE_AXIS_COMPASS, "compass", &MPLSensor::enableCompass);
1096 if (sensors &
1119 if ((sensors & INV_THREE_AXIS_ACCEL) == 0) {
1131 } else { // all sensors idl
[all...]
H A DMPLSensor.h27 #include "sensors.h"
86 'hardware/libhardware/include/hardware/sensors.h' to compile correctly.
199 int enableSensors(unsigned long sensors, int en, uint32_t changed);
/hardware/invensense/65xx/libsensors_iio/
H A Dsensors.h28 #include <hardware/sensors.h>
H A DAndroid.mk102 #LOCAL_MODULE := sensors.invensense
104 LOCAL_MODULE := sensors.${TARGET_PRODUCT}
107 LOCAL_MODULE := sensors.${TARGET_PRODUCT}
H A Dsensors_mpl.cpp19 #include <hardware/sensors.h>
33 #include "sensors.h"
54 static int sensors = (sizeof(sSensorList) / sizeof(sensor_t)); variable
63 return sensors;
135 sensors =
H A DMPLSensor.cpp93 // mask of virtual sensors that require gyro + accel + compass data
100 // mask of virtual sensors that require gyro + accel data (but no compass data)
104 // mask of virtual sensors that require mag + accel data (but no gyro data)
108 // mask of all virtual sensors
981 /* TODO: Turn off and close all sensors */
1960 int MPLSensor::enableSensors(unsigned long sensors, int en, uint32_t changed) argument
1987 LOGV_IF(PROCESS_VERBOSE, "HAL:enableSensors - sensors: 0x%0x",
1988 (unsigned int)sensors);
1992 (sensors & INV_THREE_AXIS_GYRO? "enable": "disable"));
1993 res = enableGyro(!!(sensors
[all...]
H A DMPLSensor.h29 #include "sensors.h"
102 // bit mask of DMP features as sensors
141 'hardware/libhardware/include/hardware/sensors.h' to compile correctly.
300 int enableSensors(unsigned long sensors, int en, uint32_t changed);
/hardware/libhardware/tests/nusensors/
H A Dnusensors.cpp25 #include <hardware/sensors.h>
80 printf("%d sensors found:\n", count);

Completed in 339 milliseconds