Searched defs:acc (Results 1 - 6 of 6) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
H A D | adxl345.cxx | 33 float *acc; local 41 acc = accel->getAcceleration(); // Read acceleration (g) 44 fprintf(stdout, "AccX: %5.2f g\n", acc[0]); 45 fprintf(stdout, "AccY: %5.2f g\n", acc[1]); 46 fprintf(stdout, "AccZ: %5.2f g\n", acc[2]);
|
/hardware/akm/AK8975_FS/akmdfs/ |
H A D | AKFS_APIs.c | 260 @param[in] acc A set of measurement data from accelerometer. X axis value 261 should be in acc[0], Y axis value should be in acc[1], Z axis value should be 262 in acc[2]. 272 const int16 acc[3], 283 __FUNCTION__, acc[0], acc[1], acc[2], status); 291 g_prms.mfv_adata[0].u.x = acc[0]; 292 g_prms.mfv_adata[0].u.y = acc[ 271 AKFS_Get_ACCELEROMETER( const int16 acc[3], const int16 status, AKFLOAT* vx, AKFLOAT* vy, AKFLOAT* vz, int16* accuracy ) argument [all...] |
H A D | AKFS_Measure.c | 236 const AKSENSOR_DATA* acc, 245 buf[1] = CONVERT_ACC(acc->x); /* Ax */ 246 buf[2] = CONVERT_ACC(acc->y); /* Ay */ 247 buf[3] = CONVERT_ACC(acc->z); /* Az */ 248 buf[4] = acc->status; /* Acc status */ 274 int16 acc[3]; local 313 if (AKD_GetAccelerationData(acc) != AKD_SUCCESS) { 319 if (AKFS_Get_ACCELEROMETER(acc, 0, &tmpx, &tmpy, &tmpz, &tmp_accuracy) == AKM_SUCCESS) { 234 AKFS_OutputResult( const uint16 flag, const AKSENSOR_DATA* acc, const AKSENSOR_DATA* mag, const AKSENSOR_DATA* ori ) argument
|
/hardware/akm/AK8975_FS/libsensors/ |
H A D | AkmSensor.cpp | 244 int16_t acc[3]; local 246 acc[0] = (int16_t)(data->acceleration.x / GRAVITY_EARTH * AKSC_LSG); 247 acc[1] = (int16_t)(data->acceleration.y / GRAVITY_EARTH * AKSC_LSG); 248 acc[2] = (int16_t)(data->acceleration.z / GRAVITY_EARTH * AKSC_LSG); 251 err = write_sys_attribute(input_sysfs_path, (char*)acc, 6);
|
H A D | sensors.cpp | 139 acc = 0, enumerator in enum:sensors_poll_context_t::__anon4 164 mSensors[acc] = new AdxlSensor(); 167 mSensors[acc] = new KionixSensor(); 169 mPollFds[acc].fd = mSensors[acc]->getFd(); 170 mPollFds[acc].events = POLLIN; 171 mPollFds[acc].revents = 0; 201 return acc; 292 if ((0 != nb) && (acc == i)) {
|
/hardware/libhardware/tests/camera2/ |
H A D | CameraBurstTests.cpp | 109 long long acc = 0; local 130 acc += p; 134 return acc;
|
Completed in 129 milliseconds