Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c470 STEP_DETECTOR, enumerator
1455 …if (T(sensors[STEP_DETECTOR]).enabled || T(sensors[STEP_COUNTER]).enabled || T(sensors[SIGN_MOTION… in lsm6dsm_readStatusReg_()
2844 T(pedometerDependencies) |= BIT(STEP_DETECTOR); in lsm6dsm_setStepDetectorPower()
2848 T(sensors[ACCEL]).rate[STEP_DETECTOR] = SENSOR_HZ(26.0f); in lsm6dsm_setStepDetectorPower()
2854 T(pedometerDependencies) &= ~BIT(STEP_DETECTOR); in lsm6dsm_setStepDetectorPower()
2862 T(sensors[ACCEL]).rate[STEP_DETECTOR] = 0; in lsm6dsm_setStepDetectorPower()
2870 …piBatchTxRx(&T_SLAVE_INTERFACE(mode), lsm6dsm_spiCallback, &T(sensors[STEP_DETECTOR]), __FUNCTION_… in lsm6dsm_setStepDetectorPower()
2872 T(pendingEnableConfig[STEP_DETECTOR]) = true; in lsm6dsm_setStepDetectorPower()
2873 T(sensors[STEP_DETECTOR]).pConfig.enable = on; in lsm6dsm_setStepDetectorPower()
2908 if ((T(pedometerDependencies) & (BIT(STEP_DETECTOR) | BIT(SIGN_MOTION))) == 0) { in lsm6dsm_setStepCounterPower()
[all …]