Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dmagnetic.c25 struct MagBuffer *pthisMagBuffer) in fInitializeMagCalibration() argument
32 pthisMagBuffer->iMagBufferCount = 0; in fInitializeMagCalibration()
34 for (j = 0; j < MAGBUFFSIZEY; j++) pthisMagBuffer->index[i][j] = -1; in fInitializeMagCalibration()
41pthisMagBuffer->tanarray[i] = (int16) (100.0F * tanf(PI * (-0.5F + (float) (i + 1) / MAGBUFFSIZEX)… in fInitializeMagCalibration()
91 void iUpdateMagBuffer(struct MagBuffer *pthisMagBuffer, struct MagSensor *pthisMag, in iUpdateMagBuffer() argument
114 while ((j < (MAGBUFFSIZEX - 1) && (itanj >= pthisMagBuffer->tanarray[j]))) in iUpdateMagBuffer()
116 while ((k < (MAGBUFFSIZEX - 1) && (itank >= pthisMagBuffer->tanarray[k]))) in iUpdateMagBuffer()
122 if ((pthisMagBuffer->iMagBufferCount == MAXMEASUREMENTS) && in iUpdateMagBuffer()
123 (pthisMagBuffer->index[j][k] != -1)) in iUpdateMagBuffer()
128 pthisMagBuffer->iBs[i][j][k] = pthisMag->iBs[i]; in iUpdateMagBuffer()
[all …]
Dmagnetic.h97 void fInitializeMagCalibration(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer
98 void iUpdateMagBuffer(struct MagBuffer *pthisMagBuffer, struct MagSensor *pthisMag, int32_t loopcou…
100 void fRunMagCalibration(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struc…
101 void fUpdateMagCalibration4(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, s…
102 void fUpdateMagCalibration7(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, s…
103 void fUpdateMagCalibration10(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, …
104 …ibration4Slice(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struct MagSen…
105 …ibration7Slice(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struct MagSen…
106 …bration10Slice(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struct MagSen…