Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c900 int32_t dataSelftestNotEnabled[LSM6DSM_TRIAXIAL_NUM_AXIS]; member
1589 memset(T(dataSelftestNotEnabled), 0, LSM6DSM_TRIAXIAL_NUM_AXIS * sizeof(int32_t)); in lsm6dsm_runGapSelfTestProgram()
1715 T(dataSelftestNotEnabled[0]) += (int16_t)*((uint16_t *)&sensorData[0]); in lsm6dsm_runGapSelfTestProgram()
1716 T(dataSelftestNotEnabled[1]) += (int16_t)*((uint16_t *)&sensorData[2]); in lsm6dsm_runGapSelfTestProgram()
1717 T(dataSelftestNotEnabled[2]) += (int16_t)*((uint16_t *)&sensorData[4]); in lsm6dsm_runGapSelfTestProgram()
1743 T(dataSelftestNotEnabled[0]) /= numberOfAverage; in lsm6dsm_runGapSelfTestProgram()
1744 T(dataSelftestNotEnabled[1]) /= numberOfAverage; in lsm6dsm_runGapSelfTestProgram()
1745 T(dataSelftestNotEnabled[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 …]