|
Sci-SDK Library
SDK for Sci-Compiler projects
|
Custom Packet Decoded data structure. More...
#include <scisdk_defines.h>
Public Attributes | ||
| uint32_t | magic | |
| SCISDK_CP_PACKET * | data | |
| struct { | ||
| uint32_t buffer_size | ||
| uint32_t packet_size | ||
| uint32_t valid_data | ||
| } | info | |
Custom Packet Decoded data structure.
This type is used to store data for custom packet in Decoded mode The reference document for the data format is the Custom Packet Driver
| uint32_t SCISDK_CP_DECODED_BUFFER::buffer_size |
Size of the buffer in number of SCISDK_CP_PACKET allocated
| SCISDK_CP_PACKET* SCISDK_CP_DECODED_BUFFER::data |
Pointer to data allocated by the AllocateBuffer function
| struct { ... } SCISDK_CP_DECODED_BUFFER::info |
| uint32_t SCISDK_CP_DECODED_BUFFER::magic |
Magic number to identify the data type
| uint32_t SCISDK_CP_DECODED_BUFFER::packet_size |
Number of 32-bit rows in the data packet
| uint32_t SCISDK_CP_DECODED_BUFFER::valid_data |
Number of valid data in the buffer expressed in number of SCISDK_CP_PACKET