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. 102
Document ID: PMC-2010419, Issue 1
Enabling Line Loopbacks: suni4x622DiagLineLoop
This function clears / sets a Line Loopback. It is up to the USER to perform any tests on the
looped data.
Prototype
INT4 suni4x622DiagLineLoop(sSUNI4x622_HNDL
deviceHandle, UINT1 channel, UINT2 enable)
Inputs
deviceHandle : device handle (from suni4x622Add)
channel : channel number
enable : sets loop if non-zero, else clears loop
Outputs
None
Returns
Success =
SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
Valid States
SUNI4x622_ACTIVE
Side Effects
Will inhibit the flow of active data
Enabling Path Diagnostic Loopbacks: suni4x622DiagPathLoop
This function clears / sets a Path Diagnostic Loopback. It is up to the USER to perform any tests
on the looped data.
Prototype
INT4 suni4x622DiagPathLoop(sSUNI4x622_HNDL
deviceHandle, UINT1 channel, UINT2 enable)
Inputs
deviceHandle : device handle (from suni4x622Add)
channel : channel number
enable : sets loop if non-zero, else clears loop
Outputs
None
Returns
Success =
SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
Valid States
SUNI4x622_ACTIVE
Side Effects
Will inhibit the flow of active data
Enabling Data Diagnostic Loopbacks: suni4x622DiagDataLoop
This function clears / sets a Data Diagnostic Loopback. It is up to the USER to perform any tests
on the looped data.