cpi_get_board

Returns the board number and channel number associated with the specified handle.

Prototype

#include txcpi.h

S16 cpi_get_board ( TX_HANDLE handle, U8 *board, U8 *chan)

Argument

Description

handle

TX handle number.

board

Pointer to a location to return the TX board number.

chan

Pointer to a location to return the channel number.


Return values

Return value

Description

CPI_SUCCESS

Board and channel numbers returned (as board and chan).

CPI_ERROR

Call cpi_get_last_error to obtain the error code.