Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c901 int32_t dataCalibration[LSM6DSM_TRIAXIAL_NUM_AXIS]; member
1863 memset(T(dataCalibration), 0, LSM6DSM_TRIAXIAL_NUM_AXIS * sizeof(int32_t)); in lsm6dsm_runCalibrationProgram()
1885 T(dataCalibration[0]) += (int16_t)*((uint16_t *)&sensorData[0]); in lsm6dsm_runCalibrationProgram()
1886 T(dataCalibration[1]) += (int16_t)*((uint16_t *)&sensorData[2]); in lsm6dsm_runCalibrationProgram()
1887 T(dataCalibration[2]) += (int16_t)*((uint16_t *)&sensorData[4]); in lsm6dsm_runCalibrationProgram()
1908 T(dataCalibration[0]) /= numberOfAverage; in lsm6dsm_runCalibrationProgram()
1909 T(dataCalibration[1]) /= numberOfAverage; in lsm6dsm_runCalibrationProgram()
1910 T(dataCalibration[2]) /= numberOfAverage; in lsm6dsm_runCalibrationProgram()
1924 T(dataCalibration[0]) = -T(dataCalibration[0]); in lsm6dsm_runCalibrationProgram()
1925 T(dataCalibration[1]) = -T(dataCalibration[1]); in lsm6dsm_runCalibrationProgram()
[all …]