Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c2387 uint32_t maxRate, maxPushDataRate[FIFO_NUM] = { 0 }; in lsm6dsm_updateOdrs() local
2392 maxRate = 0; in lsm6dsm_updateOdrs()
2396 if (T(sensors[ACCEL]).rate[i] > maxRate) in lsm6dsm_updateOdrs()
2397maxRate = T(sensors[ACCEL]).rate[i] < SENSOR_HZ(26.0f / 2.0f) ? SENSOR_HZ(26.0f / 2.0f) : T(sensor… in lsm6dsm_updateOdrs()
2402 if (T(sensors[ACCEL]).hwRate != maxRate) { in lsm6dsm_updateOdrs()
2403 T(sensors[ACCEL]).hwRate = maxRate; in lsm6dsm_updateOdrs()
2407 maxRate = 0; in lsm6dsm_updateOdrs()
2411 if (T(sensors[GYRO]).rate[i] > maxRate) in lsm6dsm_updateOdrs()
2412maxRate = T(sensors[GYRO]).rate[i] < SENSOR_HZ(26.0f / 2.0f) ? SENSOR_HZ(26.0f / 2.0f) : T(sensors… in lsm6dsm_updateOdrs()
2417 if (T(sensors[GYRO]).hwRate != maxRate) { in lsm6dsm_updateOdrs()
[all …]