Searched refs:MAGBUFFSIZEX (Results 1 – 3 of 3) sorted by relevance
27 #define MAGBUFFSIZEX 14 ///< x dimension in magnetometer buffer (12x24 equals 288 elements) macro28 #define MAGBUFFSIZEY (2 * MAGBUFFSIZEX) ///< y dimension in magnetometer buffer (12x24 equals 288 …48 int16_t iBs[3][MAGBUFFSIZEX][MAGBUFFSIZEY]; ///< uncalibrated magnetometer readings49 int32_t index[MAGBUFFSIZEX][MAGBUFFSIZEY]; ///< array of time indices50 int16_t tanarray[MAGBUFFSIZEX - 1]; ///< array of tangents of (100 * angle)
33 for (i = 0; i < MAGBUFFSIZEX; i++) in fInitializeMagCalibration()40 for (i = 0; i < (MAGBUFFSIZEX - 1); i++) in fInitializeMagCalibration()41 …hisMagBuffer->tanarray[i] = (int16) (100.0F * tanf(PI * (-0.5F + (float) (i + 1) / MAGBUFFSIZEX))); in fInitializeMagCalibration()114 while ((j < (MAGBUFFSIZEX - 1) && (itanj >= pthisMagBuffer->tanarray[j]))) in iUpdateMagBuffer()116 while ((k < (MAGBUFFSIZEX - 1) && (itank >= pthisMagBuffer->tanarray[k]))) in iUpdateMagBuffer()118 if (pthisMag->iBc[CHX] < 0) k += MAGBUFFSIZEX; in iUpdateMagBuffer()151 for (j = 0; j < MAGBUFFSIZEX; j++) in iUpdateMagBuffer()226 while (!itooclose && (j < MAGBUFFSIZEX)) in iUpdateMagBuffer()422 for (i = 0; i < MAGBUFFSIZEX; i++) in fRunMagCalibration()484 for (i = 0; i < MAGBUFFSIZEX; i++) in fUpdateMagCalibration4Slice()[all …]
580 j = k / MAGBUFFSIZEX; in CreateAndSendPackets()581 i = k - j * MAGBUFFSIZEX; in CreateAndSendPackets()673 if (MagneticPacketID >= (10 + MAGBUFFSIZEX * MAGBUFFSIZEY)) in CreateAndSendPackets()