Sets the general configuration values in the MTP 3 task.
MTP3_STATUS Mtp3SetGenCfg ( U8 board, MTP3GenCfg *pGenCfg)
Argument |
Description |
board |
TX board number on which the desired MTP 3 task resides. Valid range is 1 through maxboard (currently 8). |
pGenCfg |
Pointer to the MTP3GenCfg structure containing the general configuration values to set. |
Return value |
Description |
MTP3_SUCCESS |
|
MTP3_BOARD |
Invalid board number. |
MTP3_HANDLE |
Mtp3MgmtInit not called for the specified board. |
MTP3_TIMEOUT |
No response from the board. |
An application must set the field values in the MTP3GenCfg structure before calling this function. Set the values by calling Mtp3InitGenCfg, by setting each field from within the application, or by a combination of the two (calling Mtp3InitGenCfg and then overriding specific fields before passing the MTP3GenCfg structure to this function).
This function is typically called once by an application to set global values.