ProcUnit::LoadSetupData
Performs processing when loading setting data of processing units
int LoadSetupData(
ProcUnit *ptrProcUnit,
void *loadAddress,
int loadSize
)
Parameters
*ptrProcUnit
|
Pointer to processing unit information
|
*loadAddress
|
Memory area address where the data to load is stored
|
loadSize
|
Size of the data to be loaded
|
Return Value
Returns 0 when the processing unit setting data (SETUP structure) is successfully loaded.
Otherwise returns a non-zero value.
Description
Loads the processing unit setting data (SETUP structure) of a processing item.
Example
int Sample::LoadSetupData(ProcUnit *ptrProcUnit, void *loadAddress, int loadSize)
{
// Get the pointer to the inner processing unit
ProcUnit *ptrInnerUnit = ptrProcUnit->GetInnerUnit(0);
// Perform loading of setting data of an inner processing unit
ptrInnerUnit->LoadSetupData(ptrProcUnit, loadAddress, loadSize)
}