const Byte* GetVortexReconfigData(
Chip chip,
[out] int* pCount
);
const Byte* GetApexReconfigData(
Chip chip,
[out] int* pCount
);
Description
Gets the current reconfiguration data for the chip. The data begins with the synch byte and ends with the last error byte.
Parameters
chip
The ID the C Code generated for the chip. This will be something like chipName or an_chipName, depending on the name of the chip and the generation options.
pCount
A pointer to a valid integer that will receive the number of bytes in the array returned by the function.
Return Value
A pointer to the reconfiguration data that can be sent to the chip.
Example
/* Get a pointer to the reconfiguration data */
int dataSize = 0;
const Byte* pData = GetReconfigData(chipName, &dataSize);
/* Send the data to the chip */
. . .
/* OK. Data sent, now clear the buffer to get ready to call some more CAM functions. */
ClearReconfigData(chipName);