Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dsensor_fusion.c163 int32 iSum[3]; // channel sums in processAccelData() local
172 for (j = CHX; j <= CHZ; j++) iSum[j] = 0; in processAccelData()
174 for (j = CHX; j <= CHZ; j++) iSum[j] += sfg->Accel.iGsFIFO[i][j]; in processAccelData()
179 sfg->Accel.iGs[j] = (int16)(iSum[j] / (int32) sfg->Accel.iFIFOCount); in processAccelData()
199 int32 iSum[3]; // channel sums in processMagData() local
210 for (j = CHX; j <= CHZ; j++) iSum[j] = 0; in processMagData()
212 for (j = CHX; j <= CHZ; j++) iSum[j] += sfg->Mag.iBsFIFO[i][j]; in processMagData()
217 sfg->Mag.iBs[j] = (int16)(iSum[j] / (int32) sfg->Mag.iFIFOCount); in processMagData()
237 int32 iSum[3]; // channel sums in processGyroData() local
249 for (j = CHX; j <= CHZ; j++) iSum[j] = 0; in processGyroData()
[all …]