PM5358 S/UNI-4x622 Driver Manual

Application Programming Interface

Configuring the Source Channel for the Given Channel Transmit Path: suni4x622TPCfg

The function is used to control the source channel for the transmit path.

Prototype

Inputs

Outputs Returns

INT4 suni4x622TPCfg(sSUNI4x622_HNDL deviceHandle, UINT1 channel, UINT1 srcChan)

deviceHandle

: device handle (from suni4x622Add)

channel

: transmit path channel number

srcChan

: source channel number

None

 

Success = SUNI4x622_SUCCESS

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

SUNI4x622_ERR_INVALID_DEV

SUNI4x622_ERR_INVALID_CHAN

Valid States

SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects

None

Enable or disable the channel APS cross connect: suni4x622APSXcnntCfg

The function is used to control the channel APS cross connect.

Prototype

Inputs

INT4 suni4x622APSXcnntCfg(sSUNI4x622_HNDL deviceHandle, UINT1 channel, UINT1 enable)

deviceHandle

: device handle (from suni4x622Add)

channel

: channel number

enable

: enable or disable

Outputs

None

Returns

Success = SUNI4x622_SUCCESS

 

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

 

SUNI4x622_ERR_INVALID_DEV

 

SUNI4x622_ERR_INVALID_CHAN

Valid States

SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects

None

Resetting APS Receive Link: suni4x622APSResetRxLink

The function is used to reset the receive APS link.

Prototype

INT4 suni4x622APSResetRxLink(sSUNI4x622_HNDL

Proprietary and Confidential to PMC-Sierra, Inc.

79

Document ID: PMC-2010419, Issue 1

 

Page 79
Image 79
PMC-Sierra PM5358 S/UNI 4x622 manual Resetting APS Receive Link suni4x622APSResetRxLink, Transmit path channel number