Home
last modified time | relevance | path

Searched refs:GYR (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c73 GYR, enumerator
196 if (index == GYR && mTask.gyro_client_cnt == 0) { in fillSamples()
459 j = mTask.sample_indices[GYR]; in drainSamples()
469 && (!(mTask.gyro_client_cnt > 0) || mTask.sample_counts[GYR] > 0) in drainSamples()
473 g_time = mTask.gyro_client_cnt > 0 ? mTask.samples[GYR][j].time in drainSamples()
480 which = GYR; in drainSamples()
511 case GYR: in drainSamples()
512 initVec3(&w, mTask.samples[GYR][j].x, mTask.samples[GYR][j].y, mTask.samples[GYR][j].z); in drainSamples()
520 --mTask.sample_counts[GYR]; in drainSamples()
539 mTask.sample_indices[GYR] = j; in drainSamples()
[all …]
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c331 GYR, enumerator
970 sensorSignalInternalEvt(mTask.sensors[GYR].handle,
1207 bool anyFifoEnabled = mTask.fifo_enabled[ACC] || mTask.fifo_enabled[GYR];
1230 if (mTask.sensors[GYR].configed && mTask.sensors[GYR].latency != SENSOR_LATENCY_NODATA) {
1232 mTask.fifo_enabled[GYR] = true;
1234 mTask.fifo_enabled[GYR] = false;
1325 mTask.sensors[GYR].configed = false;
1330 if (anyFifoEnabled() && on != mTask.sensors[GYR].powered) {
1337 mTask.sensors[GYR].powered = on;
1338 spiBatchTxRx(&mTask.mode, sensorSpiCallback, &mTask.sensors[GYR], __FUNCTION__);
[all …]
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c447 GYR, enumerator
937 const int16_t * const gyr_offset = T(sensors[GYR]).offset;
987 val = (-T(sensors[GYR]).offset[2] >> 8) & 0x0f;
993 } else if (idx == GYR) {
1050 struct ICM40600Sensor *sensor = &T(sensors[GYR]);
1141 case GYR:
1229 case GYR:
1267 if (idx != ACC && idx != GYR) {
1419 calibrationHandling(_task, GYR);
1504 } else if (idx == GYR) {
[all …]