Retrieves the configuration of one link.
MON_STATUS MonGetLinkCfg ( U8 board, MonLinkCfg *pLinkCfg, S16 linkNo )
|
Argument |
Description |
|
board |
TX board number on which the desired monitor task resides. |
|
pLinkCfg |
Pointer to a MonLinkCfg structure where the data link configuration values are filled: typedef struct |
|
linkNo |
Retrieves the configuration information of this specific link number. |
|
Return value |
Description |
|
MON_BOARD |
Board number out of range. |
|
MON_DRIVER |
CPI driver returned an error. |
|
MON_HANDLE |
Board not previously initialized. |
|
MON_LINKTYPE |
Invalid link or switch type. |
|
MON_PARAM |
Invalid parameter. |
|
MON_RESPONSE |
Wrong response from board. |
|
MON_SUCCESS |
|
|
MON_TIMEOUT |
No response from board. |