HomeSort by relevance Sort by last modified time
    Searched full:compass (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /hardware/invensense/60xx/mlsdk/mllite/
compass.c 20 * $Id: compass.c 5641 2011-06-14 02:10:02Z mcaramello $
26 * @brief Motion Library - Compass Driver Layer.
27 * Provides the interface to setup and handle an compass
32 * @file compass.c
33 * @brief Compass setup and handling methods.
42 #include "compass.h"
56 #define MPL_LOG_TAG "MPL-compass"
213 * @brief Used to determine if a compass is
215 * @return INV_SUCCESS if the compass is present.
221 if (NULL != mldl_cfg->compass &
    [all...]
mldl_cfg_mpu.c 62 struct ext_slave_platform_data *compass = &mldl_cfg->pdata->compass; local
102 if (mldl_cfg->compass) {
103 MPL_LOGD("slave_compass->suspend = %02x\n", (int)mldl_cfg->compass->suspend);
104 MPL_LOGD("slave_compass->resume = %02x\n", (int)mldl_cfg->compass->resume);
105 MPL_LOGD("slave_compass->read = %02x\n", (int)mldl_cfg->compass->read);
106 MPL_LOGD("slave_compass->type = %02x\n", mldl_cfg->compass->type);
108 mldl_cfg->compass->read_reg);
110 mldl_cfg->compass->read_len);
111 MPL_LOGD("slave_compass->endian = %02x\n", mldl_cfg->compass->endian)
    [all...]
invensense.h 4 #include "compass.h"
mldl_cfg.h 126 struct ext_slave_descr *compass; member in struct:mldl_cfg
190 mldl_cfg->compass, &mldl_cfg->pdata->compass,
241 mldl_cfg->compass,
242 &mldl_cfg->pdata->compass);
294 data, mldl_cfg->compass,
295 &mldl_cfg->pdata->compass);
  /system/core/rootdir/
ueventd.rc 47 /dev/akm8976_daemon 0640 compass system
48 /dev/akm8976_aot 0640 compass system
49 /dev/akm8973_daemon 0640 compass system
50 /dev/akm8973_aot 0640 compass system
51 /dev/bma150 0640 compass system
52 /dev/cm3602 0640 compass system
53 /dev/akm8976_pffd 0640 compass system
  /hardware/invensense/65xx/libsensors_iio/
CompassSensor.IIO.9150.cpp 39 #pragma message("HAL:build Invensense compass cal with YAS53x IIO on secondary bus")
44 #pragma message("HAL:build Invensense compass cal with AK8975 on primary bus")
50 #pragma message("HAL:build Invensense compass cal with compass IIO on secondary bus")
53 #pragma message("HAL:build third party compass cal HAL")
80 LOGE("Error Instantiating Compass\n");
104 "HAL:compass mounting matrix: "
118 LOGE("HAL:Couldn't read compass mounting matrix");
175 LOGE("HAL:Compass update delay error");
191 /* use for Invensense compass calibration *
287 const char *compass = sensor_name; local
    [all...]
CompassSensor.AKM.cpp 30 // TODO: include corresponding header file for 3rd party compass sensor
47 0, "/sys/class/compass/akm8963/enable_mag", getTimestamp());
48 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0);
57 0, "/sys/class/compass/akm8963/enable_mag", getTimestamp());
58 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0);
100 // TODO: return if 3rd-party compass is enabled
154 const char *compass = COMPASS_NAME; local
156 if (compass) {
157 if (!strcmp(compass, "AKM8963")) {
164 if (!strcmp(compass, "AKM8975"))
    [all...]
CompassSensor.IIO.primary.cpp 39 #pragma message("HAL:build Invensense compass cal with AK8975 on primary bus")
85 LOGE("Error Instantiating Compass\n");
101 LOGV_IF(SYSFS_VERBOSE, "HAL:compass name: %s", dev_full_name);
115 "HAL:compass mounting matrix: "
129 LOGE("HAL:Couldn't read compass mounting matrix");
135 LOGE("HAL:Couldn't read compass overunderflow");
147 const char* compass = dev_full_name; local
156 LOGE("HAL:could not open %s trigger name", compass);
189 find_type_by_name(compass, "iio:device"));
195 compass, iio_device_node, strerror(res), res)
419 const char *compass = dev_full_name; local
507 const char* compass = dev_full_name; local
    [all...]
CompassSensor.AKM.h 27 // TODO: include 3rd-party compass vendor's header file
28 // p.s.: before using unified HAL, make sure 3rd-party compass
42 // TODO: make sure either 3rd-party compass solution has following virtual
65 // TODO: if 3rd-party provides calibrated compass data, just return 1
  /hardware/invensense/60xx/libsensors_iio/
CompassSensor.IIO.9150.cpp 39 # warning "Invensense compass cal with YAS53x IIO on secondary bus"
43 # warning "Invensense compass cal with AK8975 on primary bus"
47 # warning "Invensense compass cal with compass IIO on secondary bus"
51 # warning "third party compass cal HAL"
69 LOGE("Error Instantiating Compass\n");
93 "HAL:compass mounting matrix: "
107 LOGE("HAL:Couldn't read compass mounting matrix");
147 LOGE_IF(res < 0, "HAL:enable compass failed");
172 LOGE("HAL:Compass update delay error")
    [all...]
sensors_mpl.cpp 94 compass, enumerator in enum:sensors_poll_context_t::__anon30962
130 mPollFds[compass].fd = mCompassSensor->getFd();
131 mPollFds[compass].events = POLLIN;
132 mPollFds[compass].revents = 0;
174 else if (i == compass) {
  /frameworks/native/data/etc/
android.hardware.sensor.compass.xml 17 <!-- Feature for devices with a compass. -->
19 <feature name="android.hardware.sensor.compass" />
  /hardware/invensense/65xx/libsensors_iio/software/core/mllite/
message_layer.h 23 /** A setting of the compass bias has occured */
30 /** Compass accuracy has dropped has dropped to 0
data_builder.c 84 /** Gets last value of raw compass data.
85 * @param[out] raw Raw compass data in mounting frame in hardware units. Length 3.
89 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw));
99 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy;
101 if (sensors.compass.accuracy == 3) {
168 /** Compass sensitivity.
175 return sensors.compass.sensitivity;
274 /** Set Compass Sample rate in micro seconds.
286 sensors.compass.sample_rate_us = sample_rate_us
    [all...]
hal_outputs.c 34 filter for compass data.
36 compass data, since the former is unfiltered and the latter is filtered,
44 int accuracy_mag; /**< Compass accuracy */
289 long compass[3], quat_geomagnetic[4]; local
291 inv_get_compass_set(compass, accuracy, timestamp);
311 /** Compass data (uT) in body frame.
312 * @param[out] values Compass data in (uT), length 3. May be calibrated by having
339 /** Compass raw data (uT) in body frame.
340 * @param[out] values Compass data in (uT), length 3. May be calibrated by having
509 long compass[3], quat_geomagnetic[4]; local
525 long compass[3]; local
    [all...]
results_holder.c 49 long compass_count; /**< compass state internal counter */
50 int got_compass_bias; /**< Flag describing if compass bias is known */
52 int compass_state; /**< Internal compass state */
96 * Sets the quaternion adjustment from 3 axis (accel) to 6 axis (with compass) quaternion.
119 * Gets the quaternion adjustment from 3 axis (accel) to 6 axis (with compass) quaternion.
217 /** Sets the compass sensitivity
218 * @param[in] data Length 3, sensitivity for each compass axis
226 /** Gets the compass sensitivity
227 * @param[out] data Length 3, sensitivity for each compass axis
296 /** Returns a quaternion based only on compass and accel
    [all...]
  /development/samples/Compass/
Android.mk 9 LOCAL_PACKAGE_NAME := Compass
AndroidManifest.xml 17 <!-- This file describes the code in the Compass package, which is
27 package="com.example.android.compass">
  /hardware/invensense/60xx/libsensors_iio/software/core/mllite/
data_builder.c 43 /** Compass Bias in Chip Frame in Hardware units scaled by 2^16 */
111 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy;
113 if (sensors.compass.accuracy == 3) {
158 /** Compass sensitivity.
165 return sensors.compass.sensitivity;
242 /** Set Compass Sample rate in micro seconds.
254 sensors.compass.sample_rate_us = sample_rate_us;
255 sensors.compass.sample_rate_ms = sample_rate_us / 1000;
256 if (sensors.compass.bandwidth == 0) {
257 sensors.compass.bandwidth = (int)(1000000L / sample_rate_us)
    [all...]
message_layer.h 23 /** A setting of the compass bias has occured */
results_holder.c 44 long compass_count; /**< compass state internal counter */
45 int got_compass_bias; /**< Flag describing if compass bias is known */
47 int compass_state; /**< Internal compass state */
177 /** Sets the compass sensitivity
178 * @param[in] data Length 3, sensitivity for each compass axis
186 /** Gets the compass sensitivity
187 * @param[out] data Length 3, sensitivity for each compass axis
343 /** Sets state of if we know the compass bias.
344 * @return return 1 if we know the compass bias, 0 if not.
352 /** Sets whether we know the compass bia
    [all...]
hal_outputs.c 29 int accuracy_mag; /**< Compass accuracy */
226 /** Compass data (uT) in body frame.
227 * @param[out] values Compass data in (uT), length 3. May be calibrated by having
328 long compass[3]; local
337 hal_out.compass_status = sensor_cal->compass.status;
348 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) {
349 sr = sensor_cal->compass.sample_rate_ms;
360 if ((sensor_cal->accel.status & sensor_cal->compass.status & INV_SENSOR_ON) == 0) {
364 if ((sensor_cal->gyro.status & sensor_cal->accel.status & sensor_cal->compass.status & INV_SENSOR_ON) == 0) {
    [all...]
  /hardware/invensense/60xx/libsensors_iio/software/core/mpl/
mag_disturb.h 18 const long *compass, const long *gravity);
  /development/samples/Compass/res/values/
strings.xml 22 <string name="compass_app">Compass</string>
  /external/kernel-headers/original/linux/
akm8976.h 2 * Definitions for akm8976 compass chip.
9 /* Compass device dependent definition */

Completed in 905 milliseconds

1 2 3 4 5 6