Configures the MTP 3 task with the data link configuration values contained in the provided MTP3LinkCfg structure.
MTP3_STATUS Mtp3SetLinkCfg ( U8 board, MTP3LinkCfg *pLinkCfg)
Argument |
Description |
board |
TX board number on which the desired MTP 3 task resides. Valid range is 1 through maxboard (currently 8). |
pLinkCfg |
Pointer to the MTP3LinkCfg structure containing the data link configuration values. |
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 MTP3LinkCfg structure before calling this function. Set the values by calling Mtp3InitLinkCfg, by setting each field from within the application, or with a combination of the two (calling Mtp3InitLinkCfg and then overriding specific fields before passing the MTP3LinkCfg structure to this function).
This function is typically called once for each configured link.