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. 80
Document ID: PMC-2010419, Issue 1
deviceHandle, UINT1 link)
Inputs
deviceHandle : device handle (from suni4x622Add)
link : APS link number
Outputs
None
Returns
Success =
SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_APS_LINK
Valid States
SUNI4x622_ACTIVE, SUNI4x622_INACTIVE
Side Effects
None
Resetting APS Transmit Link: suni4x622APSResetTxLink
The function is used to reset the transmit APS link.
Prototype
INT4 suni4x622APSResetTxLink(sSUNI4x622_HNDL
deviceHandle, UINT1 link)
Inputs
deviceHandle : device handle (from suni4x622Add)
link : APS link number
Outputs
None
Returns
Success =
SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_APS_LINK
Valid States
SUNI4x622_ACTIVE, SUNI4x622_INACTIVE
Side Effects
None
4.11 Interrupt Service Functions
This section describes interrupt-service functions that perform the following tasks:
Set, get and clear the interrupt enable mask
Read and process the interrupt-status registers
Poll and process the interrupt-status registers
See page 23 for an explanation of our interrupt servicing architecture.