/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
H A D | hal_outputs.c | 29 int accuracy_mag; /**< Compass accuracy */
52 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate.
57 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
argument 65 inv_get_accel_set(accel, accuracy, timestamp);
79 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate.
84 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy,
argument 89 inv_get_accel_set(accel, accuracy, timestamp);
103 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate.
108 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy,
argument 114 *accuracy 138 inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 162 inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 203 inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 233 inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 308 inv_get_sensor_type_orientation(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 329 int8_t accuracy; local [all...] |
H A D | data_builder.h | 87 int accuracy; member in struct:inv_single_sensor_t 187 void inv_set_compass_bias(const long *bias, int accuracy); 189 void inv_set_gyro_bias(const long *bias, int accuracy); 190 void inv_set_accel_bias(const long *bias, int accuracy); 191 void inv_set_accel_accuracy(int accuracy); 192 void inv_set_accel_bias_mask(const long *bias, int accuracy, int mask); 206 void inv_get_accel_set(long *data, int8_t *accuracy, inv_time_t * timestamp); 207 void inv_get_gyro_set(long *data, int8_t *accuracy, inv_time_t * timestamp); 208 void inv_get_gyro_set_raw(long *data, int8_t *accuracy, inv_time_t * timestamp); 209 void inv_get_compass_set(long *data, int8_t *accuracy, inv_time_ [all...] |
H A D | results_holder.c | 251 /** Returns a quaternion with accuracy and timestamp. 253 * @param[out] accuracy Accuracy of quaternion, 0-3, where 3 is most accurate. 256 void inv_get_quaternion_set(long *data, int *accuracy, inv_time_t *timestamp) argument 261 *accuracy = inv_get_mag_accuracy(); 263 *accuracy = inv_get_gyro_accuracy(); 265 *accuracy = inv_get_accel_accuracy(); 267 *accuracy = 0;
|
H A D | data_builder.c | 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) { 456 void inv_set_compass_bias(const long *bias, int accuracy) argument 462 sensors.compass.accuracy = accuracy; 463 inv_data_builder.save.compass_accuracy = accuracy; 482 inv_set_accel_bias(const long *bias, int accuracy) argument 498 inv_set_accel_accuracy(int accuracy) argument 510 inv_set_accel_bias_mask(const long *bias, int accuracy, int mask) argument 536 inv_set_gyro_bias(const long *bias, int accuracy) argument 990 inv_get_accel_set(long *data, int8_t *accuracy, inv_time_t *timestamp) argument 1008 inv_get_gyro_set(long *data, int8_t *accuracy, inv_time_t *timestamp) argument 1024 inv_get_gyro_set_raw(long *data, int8_t *accuracy, inv_time_t *timestamp) argument 1048 inv_get_compass_set(long *data, int8_t *accuracy, inv_time_t *timestamp) argument 1067 inv_get_temp_set(long *data, int *accuracy, inv_time_t *timestamp) argument [all...] |
/hardware/invensense/60xx/mlsdk/mllite/ |
H A D | mlarray.c | 2093 * Returns the curren compass accuracy. 2095 * - 0: Unknown: The accuracy is unreliable and compass data should not be used 2096 * - 1: Low: The compass accuracy is low. 2097 * - 2: Medium: The compass accuracy is medium. 2100 * @param accuracy The accuracy level in the range 0-3 2104 inv_error_t inv_get_compass_accuracy(int *accuracy) argument 2109 *accuracy = inv_obj.compass_accuracy;
|
H A D | mlFIFO.c | 163 /** Sets accuracy to be one of 0, INV_32_BIT, or INV_16_BIT. Looks up old 164 * accuracy if needed. 167 uint_fast16_t accuracy, 171 if (!accuracy) 172 accuracy = fifo_obj.data_config[configOffset]; 173 else if (accuracy & INV_16_BIT) 175 accuracy = INV_32_BIT; // 32-bits takes priority 177 accuracy = INV_16_BIT; 179 accuracy = INV_32_BIT; 181 accuracy 166 inv_set_fifo_accuracy(uint_fast16_t elements, uint_fast16_t accuracy, uint_fast8_t configOffset) argument 226 inv_construct3_fifo(unsigned char *regs, uint_fast16_t elements, uint_fast16_t accuracy, uint_fast8_t refOffset, unsigned short key, uint_fast8_t configOffset) argument 990 inv_send_accel(uint_fast16_t elements, uint_fast16_t accuracy) argument 1024 inv_send_cntrl_data(uint_fast16_t elements, uint_fast16_t accuracy) argument 1075 inv_send_packet_number(uint_fast16_t accuracy) argument 1122 inv_send_gravity(uint_fast16_t elements, uint_fast16_t accuracy) argument 1144 inv_send_gyro(uint_fast16_t elements, uint_fast16_t accuracy) argument 1196 inv_send_linear_accel(uint_fast16_t elements, uint_fast16_t accuracy) argument 1231 inv_send_linear_accel_in_world(uint_fast16_t elements, uint_fast16_t accuracy) argument 1252 inv_send_quaternion(uint_fast16_t accuracy) argument 1298 inv_send_sensor_data(uint_fast16_t elements, uint_fast16_t accuracy) argument 1417 inv_send_external_sensor_data(uint_fast16_t elements, uint_fast16_t accuracy) argument 1490 inv_send_quantized_accel(uint_fast16_t elements, uint_fast16_t accuracy) argument 1549 inv_send_eis(uint_fast16_t elements, uint_fast16_t accuracy) argument [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | hal_outputs.c | 44 int accuracy_mag; /**< Compass accuracy */
68 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate.
73 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
argument 81 inv_get_accel_set(accel, accuracy, timestamp);
95 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate.
100 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy,
argument 105 inv_get_accel_set(accel, accuracy, timestamp);
119 * @param[out] accuracy Accuracy of the measurment, 0 is least accurate, while 3 is most accurate.
124 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy,
argument 130 *accuracy 154 inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 180 inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 221 inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 242 inv_get_sensor_type_rotation_vector_6_axis(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 286 inv_get_sensor_type_geomagnetic_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 318 inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 346 inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 481 inv_get_sensor_type_orientation(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 492 inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 506 inv_get_sensor_type_orientation_geomagnetic(float *values, int8_t *accuracy, inv_time_t * timestamp) argument 526 int8_t accuracy; local [all...] |
H A D | data_builder.h | 97 int accuracy; member in struct:inv_single_sensor_t 241 void inv_set_compass_bias(const long *bias, int accuracy); 244 void inv_set_mpl_gyro_bias(const long *bias, int accuracy); 245 void inv_set_accel_bias(const long *bias, int accuracy); 246 void inv_set_accel_accuracy(int accuracy); 247 void inv_set_accel_bias_mask(const long *bias, int accuracy, int mask); 277 void inv_get_accel_set(long *data, int8_t *accuracy, inv_time_t * timestamp); 278 void inv_get_gyro_set(long *data, int8_t *accuracy, inv_time_t * timestamp); 279 void inv_get_gyro_set_raw(long *data, int8_t *accuracy, inv_time_t * timestamp); 280 void inv_get_compass_set(long *data, int8_t *accuracy, inv_time_ [all...] |
H A D | results_holder.c | 326 /** Returns a quaternion with accuracy and timestamp. 328 * @param[out] accuracy Accuracy of quaternion, 0-3, where 3 is most accurate. 331 void inv_get_quaternion_set(long *data, int *accuracy, inv_time_t *timestamp) argument 336 *accuracy = inv_get_mag_accuracy(); 338 *accuracy = inv_get_gyro_accuracy(); 340 *accuracy = inv_get_accel_accuracy(); 342 *accuracy = 0;
|
H A D | data_builder.c | 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) { 495 * @param[in] accuracy Accuracy of compass data, where 3=most accurate, and 0=least accurate. 497 void inv_set_compass_bias(const long *bias, int accuracy) argument 503 sensors.compass.accuracy = accuracy; 526 inv_set_accel_bias(const long *bias, int accuracy) argument 545 inv_set_accel_accuracy(int accuracy) argument 557 inv_set_accel_bias_mask(const long *bias, int accuracy, int mask) argument 604 inv_set_mpl_gyro_bias(const long *bias, int accuracy) argument 1154 inv_get_accel_set(long *data, int8_t *accuracy, inv_time_t *timestamp) argument 1172 inv_get_gyro_set(long *data, int8_t *accuracy, inv_time_t *timestamp) argument 1188 inv_get_gyro_set_raw(long *data, int8_t *accuracy, inv_time_t *timestamp) argument 1212 inv_get_compass_set(long *data, int8_t *accuracy, inv_time_t *timestamp) argument 1231 inv_get_compass_set_raw(long *data, int8_t *accuracy, inv_time_t *timestamp) argument 1246 inv_get_temp_set(long *data, int *accuracy, inv_time_t *timestamp) argument [all...] |
/hardware/libhardware/include/hardware/ |
H A D | fused_location.h | 111 /** FlpLocation has valid accuracy. */ 142 /** Represents expected accuracy in meters. */ 143 float accuracy; member in struct:__anon269 338 * expected accuracy is measured in meters 462 * In the diagram above, "a" and "b" are 2 geofences and "c" is the accuracy 465 * whether it is inside or outside the geofence. If the accuracy remains the 467 * triggered with the state set to Unknown. If the accuracy improves later, an
|
H A D | gps.h | 88 /** GpsLocation has valid accuracy. */ 256 /** Represents expected accuracy in meters. */ 257 float accuracy; member in struct:__anon285 417 * expected accuracy is measured in meters 419 int (*inject_location)(double latitude, double longitude, float accuracy); 430 * preferred_accuracy represents the requested fix accuracy in meters. 716 * In the diagram above, "a" and "b" are 2 geofences and "c" is the accuracy 719 * whether it is inside or outside the geofence. If the accuracy remains the 721 * triggered with the state set to Unknown. If the accuracy improves later, an
|