/hardware/invensense/mlsdk/mllite/ |
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...] |
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);
|
/hardware/invensense/libsensors_iio/ |
sensors_mpl.cpp | 94 compass,
enumerator in enum:sensors_poll_context_t::__anon20555 130 mPollFds[compass].fd = mCompassSensor->getFd();
131 mPollFds[compass].events = POLLIN;
132 mPollFds[compass].revents = 0;
174 else if (i == compass) {
|
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 17 package com.example.android.compass; 42 * a 3D compass. 234 Log.d("Compass", "yaw: " + (int)(mOrientation[0]*rad2deg) +
|
/device/samsung/manta/libsensors/ |
sensors.cpp | 123 compass, enumerator in enum:sensors_poll_context_t::__anon1965 185 mSensors[compass] = p_mplsen; 186 mPollFds[compass].fd = ((MPLSensor*)mSensors[mpl])->getCompassFd(); 187 mPollFds[compass].events = POLLIN; 188 mPollFds[compass].revents = 0; 264 if (i == compass) {
|
/hardware/invensense/libsensors_iio/software/core/mllite/ |
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...] |
data_builder.h | 23 /** This is a new sample of compass data */ 108 struct inv_single_sensor_t compass; member in struct:inv_sensor_cal_t 177 inv_error_t inv_build_compass(const long *compass, int status,
|
/hardware/invensense/mlsdk/platform/include/linux/ |
mpu.h | 283 * @compass: Compass platform data 297 struct ext_slave_platform_data compass; member in struct:mpu_platform_data
|