TxSwitchStatus

Returns the current clocking configuration and state of the H.100/H.100 switch fabric interface.

Prototype

S16 TxSwitchStatus ( S16 handle, CLOCK_T *clock, SEC8K_T *sec8k, NETWORK_T *network, TRISTATE_T *state)

Argument

Description

handle

Handle returned from a previous call to TxMvipOpen for the desired board.

clock

Pointer to the mode for the main clock signals. Refer to TxConfigClock for valid modes.

sec8k

Pointer to the source of the SEC8K clock signal. Refer to TxConfigClock for valid sources.

network

Pointer to the clock reference source for the master or SEC8K clock. Refer to TxConfigClock for valid sources.

state

Pointer to the current state of switch fabric returned to the caller. Valid values:

ENABLE_OUTPUT

TRISTATE_OUTPUT


Return values

Return value

Description

SUCCESS

 

MVIP_INVALID_HANDLE

Specified handle is invalid.

MVIP_NO_RESOURCES

MVIP adapter is not present on the communications processor.