Function summary

All TX SWI functions are asynchronous.

Outbound and inbound message functions

Function

Description

txswiAddress

Zero-fills a CPI packet to be used as a TX SWI request message and sets all addressing information.

txswiReply

Verifies the reply message and decodes the message if required.


Initialization functions

Function

Description

txswiResetSwitch

Builds a swiResetSwitch message to reset the switch block to the idle state.


Clocking control functions

Function

Description

txswiConfigBoardClock

Builds a swiConfigBoardClock message to establish the clock source for a board.

txswiConfigNetrefClock

Builds a swiConfigNetrefClock message to define the source of the NETREF clocks.

txswiConfigSec8KClock

Builds a swiConfigSec8KClock message to define the source of the secondary 8 KHz clock on the bus.

txswiGetBoardClock

Builds a swiGetBoardClock message to retrieve the board clocking configuration and the current status of the clocks.


Board functions

Function

Description

txswiConfigLocalStream

Builds a swiConfigLocalStream message to control the board's T1/E1 trunks.

txswiConfigLocalTimeslot

Builds a swiConfigLocalTimeslot message to configure local stream and timeslot-specific attributes.

txswiGetBoardInfo

Builds a swiGetBoardInfo message to return board description information.

txswiGetLocalStreamInfo

Builds a swiGetLocalStreamInfo message to return information about the specified local stream.


Status functions

Function

Description

txswiGetSwitchCaps

Builds a swiGetSwitchCaps message to return the capabilities of the device driver and the switch controlled by it.

txswiGetTimingReference

Builds a swiGetTimingReference message to retrieve the status of a potential timing reference.


Switched connection control functions

Function

Description

txswiMakeConnection

Builds a swiMakeConnection message to connect inputs to outputs.

txswiSendPattern

Builds a swiSendPattern message to send a fixed pattern on the specified switch block outputs.

txswiDisableOutput

Builds a swiDisableOutput message to reset the specified switch block outputs to their idle state.

txswiSampleInput

Builds a swiSampleInput message to retrieve the current data values present on the specified switch block inputs.

txswiGetOutputState

Builds a swiGetOutputState message to retrieve the state of the specified switch block outputs.