(Page 9 of 9 in this chapter) Version


Mtp2SetLinkCfg

Description

Configures the MTP2 task with the data link configuration values contained in the MTP2LinkCfg structure provided.

Prototype

MTP2_STATUS Mtp2SetLinkCfg (U8 board,
MTP2LinkCfg *pLinkCfg)

board The TX board number on which the desired MTP 2 task resides. This value must be from 1 to MAXBOARD (currently 8).

pLinkCfg A pointer to the MTP2LinkCfg structure containing the data link configuration values.

Return Values

Details

This function sets the data link configuration parameters of the MTP 2 task on the specified board. An application must set the field values in the MTP2LinkCfg structure before calling this function. This can be done by calling Mtp2InitLinkCfg, by setting each field from within the application, or with a combination of the two, ie. calling Mtp2InitLinkCfg and then overriding specific fields before passing the MTP2LinkCfg structure to this function.

This function will typically be called multiple times, once for each configured link. Refer to the MTP2LinkCfg structure in the previous section for more information about its fields and their default values.



(Page 9 of 9 in this chapter) Version


tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.