PMC-Sierra PM5358 S/UNI 4x622 Power Screwdriver User Manual


 
PM5358 S/UNI-4x622 Driver Manual
Application Programming Interface
Proprietary and Confidential to PMC-Sierra, Inc. 79
Document ID: PMC-2010419, Issue 1
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
INT4 suni4x622TPCfg(sSUNI4x622_HNDL deviceHandle,
UINT1 channel, UINT1 srcChan)
Inputs
deviceHandle : device handle (from suni4x622Add)
channel : transmit path channel number
srcChan : source channel number
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
Enable or disable the channel APS cross connect: suni4x622APSXcnntCfg
The function is used to control the channel APS cross connect.
Prototype
INT4 suni4x622APSXcnntCfg(sSUNI4x622_HNDL
deviceHandle, UINT1 channel, UINT1 enable)
Inputs
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