Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dhal_frdm_fxs_mult2_b.c22 void ApplyAccelHAL(struct AccelSensor *Accel) in ApplyAccelHAL() argument
27 for (i = 0; i < Accel->iFIFOCount; i++) in ApplyAccelHAL()
31 int16 itmp16 = Accel->iGsFIFO[i][CHX]; in ApplyAccelHAL()
32 Accel->iGsFIFO[i][CHX] = Accel->iGsFIFO[i][CHY]; in ApplyAccelHAL()
33 Accel->iGsFIFO[i][CHY] = itmp16; in ApplyAccelHAL()
36 Accel->iGsFIFO[i][CHX] = -Accel->iGsFIFO[i][CHX]; in ApplyAccelHAL()
37 Accel->iGsFIFO[i][CHY] = -Accel->iGsFIFO[i][CHY]; in ApplyAccelHAL()
40 Accel->iGsFIFO[i][CHZ] = -Accel->iGsFIFO[i][CHZ]; in ApplyAccelHAL()
Dsensor_fusion.c90 sfg->Accel.iWhoAmI = 0; in initSensorFusionGlobals()
165 if (sfg->Accel.iFIFOExceeded > 0) { in processAccelData()
169 ApplyAccelHAL(&(sfg->Accel)); // This function is board-dependent in processAccelData()
173 for (i = 0; i < sfg->Accel.iFIFOCount; i++) in processAccelData()
174 for (j = CHX; j <= CHZ; j++) iSum[j] += sfg->Accel.iGsFIFO[i][j]; in processAccelData()
175 if (sfg->Accel.iFIFOCount > 0) in processAccelData()
179 sfg->Accel.iGs[j] = (int16)(iSum[j] / (int32) sfg->Accel.iFIFOCount); in processAccelData()
180 sfg->Accel.fGs[j] = (float)sfg->Accel.iGs[j] * sfg->Accel.fgPerCount; in processAccelData()
186 fInvertAccelCal(&(sfg->Accel), &(sfg->AccelCal)); in processAccelData()
191 &(sfg->Accel), in processAccelData()
[all …]
Ddriver_FXLS8962.c125 sfg->Accel.iWhoAmI = reg; in FXLS8962_Init()
138 sfg->Accel.iCountsPerg = FXLS8962_COUNTSPERG; in FXLS8962_Init()
139 sfg->Accel.fgPerCount = 1.0F / FXLS8962_COUNTSPERG; in FXLS8962_Init()
140 sfg->Accel.fgPerCount = 1.0F / FXLS8962_COUNTSPERG; in FXLS8962_Init()
143 sfg->Accel.isEnabled = true; in FXLS8962_Init()
179 addToFifo((union FifoSensor*) &(sfg->Accel), ACCEL_FIFO_SIZE, sample); in FXLS8962_Read()
201 sfg->Accel.isEnabled = false; in FXLS8962_Idle()
Ddriver_MMA8652.c116 sfg->Accel.iWhoAmI = reg; in MMA8652_Init()
124 sfg->Accel.iCountsPerg = MMA8652_COUNTSPERG; in MMA8652_Init()
125 sfg->Accel.fgPerCount = 1.0F / MMA8652_COUNTSPERG; in MMA8652_Init()
126 sfg->Accel.fgPerCount = 1.0F / MMA8652_COUNTSPERG; in MMA8652_Init()
129 sfg->Accel.isEnabled = true; in MMA8652_Init()
169 addToFifo((union FifoSensor*) &(sfg->Accel), ACCEL_FIFO_SIZE, sample); in MMA8652_Read()
192 sfg->Accel.isEnabled = false; in MMA8652_Idle()
Ddriver_FXOS8700.c139 sfg->Accel.iWhoAmI = reg; in FXOS8700_Init()
140 sfg->Accel.iCountsPerg = FXOS8700_COUNTSPERG; in FXOS8700_Init()
141 sfg->Accel.fgPerCount = 1.0F / FXOS8700_COUNTSPERG; in FXOS8700_Init()
163 sfg->Accel.isEnabled = true; in FXOS8700_Init()
211 addToFifo((union FifoSensor*) &(sfg->Accel), ACCEL_FIFO_SIZE, sample); in FXOS8700_ReadAccData()
287 sfg->Accel.isEnabled = false; in FXOS8700_Idle()
Dsensor_fusion.h256 struct AccelSensor Accel; member
484 struct AccelSensor Accel; ///< accelerometer storage member
594 …struct AccelSensor *Accel ///< pointer to accelerometer logical s…
Doutput_stream.c210 scratch32 = (sfg->Accel.iGc[CHX] * 8192) / sfg->Accel.iCountsPerg; in CreateAndSendPackets()
216 scratch32 = (sfg->Accel.iGc[CHY] * 8192) / sfg->Accel.iCountsPerg; in CreateAndSendPackets()
222 scratch32 = (sfg->Accel.iGc[CHZ] * 8192) / sfg->Accel.iCountsPerg; in CreateAndSendPackets()
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/demos/
Dorientaion_application_baremetal_agm01.c298 scratch32 = (sfg->Accel.iGc[CHX] * 8192) / sfg->Accel.iCountsPerg; in encodeOrientPacketStream()
304 scratch32 = (sfg->Accel.iGc[CHY] * 8192) / sfg->Accel.iCountsPerg; in encodeOrientPacketStream()
310 scratch32 = (sfg->Accel.iGc[CHZ] * 8192) / sfg->Accel.iCountsPerg; in encodeOrientPacketStream()
Dorientaion_application_baremetal_agm04.c297 scratch32 = (sfg->Accel.iGc[CHX] * 8192) / sfg->Accel.iCountsPerg; in encodeOrientPacketStream()
303 scratch32 = (sfg->Accel.iGc[CHY] * 8192) / sfg->Accel.iCountsPerg; in encodeOrientPacketStream()
309 scratch32 = (sfg->Accel.iGc[CHZ] * 8192) / sfg->Accel.iCountsPerg; in encodeOrientPacketStream()
Dorientaion_application_baremetal_agmp03.c296 scratch32 = (sfg->Accel.iGc[CHX] * 8192) / sfg->Accel.iCountsPerg; in encodeOrientPacketStream()
302 scratch32 = (sfg->Accel.iGc[CHY] * 8192) / sfg->Accel.iCountsPerg; in encodeOrientPacketStream()
308 scratch32 = (sfg->Accel.iGc[CHZ] * 8192) / sfg->Accel.iCountsPerg; in encodeOrientPacketStream()
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/docs/issdk/ISSDK API Reference Manual/
Da00838.map5 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel..." alt="" coords=…
7 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel)..." alt="" coords…
Da00925.map7 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel..." alt="" coords=…
10 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel)..." alt="" coords…
Da00781.map12 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel..." alt="" coords=…
15 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel)..." alt="" coords…
Da00844.map17 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel..." alt="" coords=…
20 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel)..." alt="" coords…
Da00172.map28 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel..." alt="" coords=…
31 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel)..." alt="" coords…
Da00916.map31 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel..." alt="" coords=…
34 … of sensor fusion on FRDM&#45;K64F/FRDM&#45;STBC&#45;AGM04 using MMA8652 (Accel)..." alt="" coords…