TUPGetGenCfg

Retrieves the basic configuration from the TX board. Refer to Configuration for more information.

Prototype

S16 TUPGetGenCfg ( U8 board, TUPGenParms *cfg)

Argument

Description

board

TX board number from which to get the configuration.

cfg

Pointer to configuration structure to fill. Refer to TUPInitGenCfg.


Return values

Return value

Description

TUP_SUCCESS

 

TUP_BOARD

board is out of range.

TUP_DRIVER

Error occurred accessing the driver.

TUP_FAILED

Task on the TX board reported a failure.

TUP_UNBOUND

Application failed to call TUPInitMgmtAPI prior to this call.