Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c899 int32_t dataSelftestEnabled[LSM6DSM_TRIAXIAL_NUM_AXIS]; member
1588 memset(T(dataSelftestEnabled), 0, LSM6DSM_TRIAXIAL_NUM_AXIS * sizeof(int32_t)); in lsm6dsm_runGapSelfTestProgram()
1642 T(dataSelftestEnabled[0]) += (int16_t)*((uint16_t *)&sensorData[0]); in lsm6dsm_runGapSelfTestProgram()
1643 T(dataSelftestEnabled[1]) += (int16_t)*((uint16_t *)&sensorData[2]); in lsm6dsm_runGapSelfTestProgram()
1644 T(dataSelftestEnabled[2]) += (int16_t)*((uint16_t *)&sensorData[4]); in lsm6dsm_runGapSelfTestProgram()
1670 T(dataSelftestEnabled[0]) /= numberOfAverage; in lsm6dsm_runGapSelfTestProgram()
1671 T(dataSelftestEnabled[1]) /= numberOfAverage; in lsm6dsm_runGapSelfTestProgram()
1672 T(dataSelftestEnabled[2]) /= numberOfAverage; in lsm6dsm_runGapSelfTestProgram()
1754 dataGap[0] = abs(T(dataSelftestEnabled[0]) - T(dataSelftestNotEnabled[0])); in lsm6dsm_runGapSelfTestProgram()
1755 dataGap[1] = abs(T(dataSelftestEnabled[1]) - T(dataSelftestNotEnabled[1])); in lsm6dsm_runGapSelfTestProgram()
[all …]