GetVortexResetData, GetApexResetData

const Byte* GetVortexResetData(

Chip chip,

[out] int* pCount

);

const Byte* GetApexResetData(

Chip chip,

[out] int* pCount

);

Description

Gets the configuration data required perform a soft reset on the chip. The data begins with the synch byte and ends with the control 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 configuration data that can be sent to the chip.

Example

/* Get a pointer to the reset data */

int dataSize = 0;

const Byte* pData = GetResetData(chipName, &dataSize);

/* Send the data to the chip*/

. . .