Searched refs:ACC (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/os/drivers/orientation/ |
D | orientation.c | 72 ACC, enumerator 451 size_t i = mTask.sample_indices[ACC]; in drainSamples() 468 while (mTask.sample_counts[ACC] > 0 in drainSamples() 472 a_time = mTask.samples[ACC][i].time; in drainSamples() 482 which = ACC; in drainSamples() 489 case ACC: in drainSamples() 490 initVec3(&a, mTask.samples[ACC][i].x, mTask.samples[ACC][i].y, mTask.samples[ACC][i].z); in drainSamples() 498 success = updateOutput(i, mTask.samples[ACC][i].time); in drainSamples() 505 --mTask.sample_counts[ACC]; in drainSamples() 536 mTask.sample_indices[ACC] = i; in drainSamples() [all …]
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 330 ACC = FIRST_CONT_SENSOR, enumerator 963 sensorSignalInternalEvt(mTask.sensors[ACC].handle, 1207 bool anyFifoEnabled = mTask.fifo_enabled[ACC] || mTask.fifo_enabled[GYR]; 1222 if (mTask.sensors[ACC].configed && mTask.sensors[ACC].latency != SENSOR_LATENCY_NODATA) { 1224 mTask.fifo_enabled[ACC] = true; 1226 mTask.fifo_enabled[ACC] = false; 1301 mTask.sensors[ACC].configed = false; 1305 mTask.sensors[ACC].powered = on; 1306 spiBatchTxRx(&mTask.mode, sensorSpiCallback, &mTask.sensors[ACC], __FUNCTION__); 1308 mTask.pending_config[ACC] = true; [all …]
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 446 ACC = FIRST_CONT_SENSOR, enumerator 936 const int16_t * const acc_offset = T(sensors[ACC]).offset; 986 if (idx == ACC) { 998 val = (-T(sensors[ACC]).offset[0] >> 4) & 0xf0; 1017 struct ICM40600Sensor *sensor = &T(sensors[ACC]); 1133 case ACC: 1226 case ACC: 1267 if (idx != ACC && idx != GYR) { 1355 if (idx == ACC) { 1402 calibrationHandling(_task, ACC); [all …]
|
/device/google/contexthub/firmware/os/algos/ |
D | fusion.c | 32 #define ACC 1 macro 102 fusion->mInitState &= (ACC in initFusion() 113 return fusion->mInitState == (ACC in fusionHasEstimate() 143 case ACC: in fusion_init_complete() 155 fusion->mInitState |= ACC; in fusion_init_complete() 514 if (!fusion_init_complete(fusion, ACC, a, dT)) { in fusionHandleAcc()
|