Descriptor for the chunk of data being transferred in one call to putData or getData. More...
#include <xdm.h>
Data Fields | |
XDAS_Int32 | size |
XDAS_Int32 | scatteredBlocksFlag |
XDAS_Int32 * | baseAddr |
XDAS_Int32 | numBlocks |
XDAS_Int32 | varBlockSizesFlag |
XDAS_Int32 * | blockSizes |
Descriptor for the chunk of data being transferred in one call to putData or getData.
Size of this structure in bytes. Because this structure can be extended, this field must be correctly set by the caller.
Flag indicating whether the individual data blocks may be scattered in memory.
baseAddr
field points directly to the start of the first block, and is not treated as a pointer to an array.baseAddr
array must contain the base address of each individual block. Base address of single data block or pointer to an array of data block addresses of size numBlocks
.
scatteredBlocksFlag
is set to XDAS_FALSE, this field points directly to the start of the first block, and is not treated as a pointer to an array.scatteredBlocksFlag
is set to XDAS_TRUE, this field points to an array of pointers to the data blocks. Number of blocks available
Flag indicating whether any of the data blocks vary in size.
Variable block sizes array.
varBlockSizesFlag
is XDAS_TRUE, this array contains the sizes of each block. If varBlockSizesFlag
is XDAS_FALSE, this contains the size of same-size blocks.numBlocks
) has to be allocated by the caller of the putData API.