/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/ |
D | output_stream.c | 127 uint16_t iIndex; // output buffer counter in CreateAndSendPackets() local 162 iIndex = 0; in CreateAndSendPackets() 186 sUARTOutputBuffer[iIndex++] = 0x7E; in CreateAndSendPackets() 190 sBufAppendItem(sUARTOutputBuffer, &iIndex, &tmpuint8_t, 1); in CreateAndSendPackets() 193 sBufAppendItem(sUARTOutputBuffer, &iIndex, &iPacketNumber, 1); in CreateAndSendPackets() 197 sBufAppendItem(sUARTOutputBuffer, &iIndex, (uint8_t *) &iTimeStamp, 4); in CreateAndSendPackets() 214 sBufAppendItem(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in CreateAndSendPackets() 220 sBufAppendItem(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in CreateAndSendPackets() 226 sBufAppendItem(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in CreateAndSendPackets() 233 sBufAppendZeros(sUARTOutputBuffer, &iIndex, 3); in CreateAndSendPackets() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/demos/ |
D | orientaion_application_baremetal_agm01.c | 273 uint16_t iIndex; /* output buffer counter */ in encodeOrientPacketStream() local 287 iIndex = STREAMING_HEADER_LEN; in encodeOrientPacketStream() 291 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *)&iTimeStamp, 4); in encodeOrientPacketStream() 302 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 308 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 314 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 319 appendZerosOrientBuf(sUARTOutputBuffer, &iIndex, 3); in encodeOrientPacketStream() 328 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 330 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 332 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() [all …]
|
D | orientaion_application_baremetal_agm04.c | 272 uint16_t iIndex; /* output buffer counter */ in encodeOrientPacketStream() local 286 iIndex = STREAMING_HEADER_LEN; in encodeOrientPacketStream() 290 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *)&iTimeStamp, 4); in encodeOrientPacketStream() 301 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 307 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 313 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 318 appendZerosOrientBuf(sUARTOutputBuffer, &iIndex, 3); in encodeOrientPacketStream() 327 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 329 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 331 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() [all …]
|
D | orientaion_application_baremetal_agmp03.c | 271 uint16_t iIndex; /* output buffer counter */ in encodeOrientPacketStream() local 285 iIndex = STREAMING_HEADER_LEN; in encodeOrientPacketStream() 289 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *)&iTimeStamp, 4); in encodeOrientPacketStream() 300 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 306 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 312 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 317 appendZerosOrientBuf(sUARTOutputBuffer, &iIndex, 3); in encodeOrientPacketStream() 326 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 328 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() 330 updateOrientBuf(sUARTOutputBuffer, &iIndex, (uint8_t *) &scratch16, 2); in encodeOrientPacketStream() [all …]
|