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. 91
Document ID: PMC-2010419, Issue 1
Outputs
pmask : (pointer to) updated mask structure
Returns
Success =
SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
SUNI4x622_ERR_INVALID_ARG
Valid States
SUNI4x622_ACTIVE, SUNI4x622_INACTIVE
Side Effects
None
Clearing Line Interface Interrupt Enable Mask: suni4x622ClrMaskIntfLine
This function clears the contents of the per-channel line interface interrupt mask registers of the
S/UNI-4x622 device.
Prototype
INT4 suni4x622ClrMaskIntfLine(sSUNI4x622_HNDL
deviceHandle, UINT1 channel, sSUNI4x622_MASK_ISR
*pmask)
Inputs
deviceHandle : device handle (from suni4x622Add)
channel : channel number
pmask : (pointer to) mask structure
Outputs
pmask : (pointer to) updated mask structure
Returns
Success =
SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
SUNI4x622_ERR_INVALID_ARG
Valid States
SUNI4x622_ACTIVE, SUNI4x622_INACTIVE
Side Effects
None
Getting System Interface Interrupt Enable Mask: suni4x622GetMaskSysIntf
This function returns the contents of the system interface interrupt mask registers of the S/UNI-
4x622 device.
Prototype
INT4 suni4x622GetMaskSysIntf(sSUNI4x622_HNDL
deviceHandle, sSUNI4x622_MASK_ISR *pmask)
Inputs
deviceHandle : device handle (from suni4x622Add)
pmask : (pointer to) mask structure
Outputs
pmask : (pointer to) updated mask structure