PMC-Sierra PM5358 S/UNI 4x622 manual Side Effects May change the operation of the ISR / DPR

Models: PM5358 S/UNI 4x622

1 136
Download 136 pages 8.16 Kb
Page 92
Image 92

 

PM5358 S/UNI-4x622 Driver Manual

 

Application Programming Interface

 

 

Returns

Success = SUNI4x622_SUCCESS

 

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

 

SUNI4x622_ERR_INVALID_DEV

 

SUNI4x622_ERR_INVALID_ARG

Valid States

SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects

None

Setting System Interface Interrupt Enable Mask: suni4x622SetMaskSysIntf

This function sets the contents of the system interface interrupt mask registers of the S/UNI- 4x622 device.

Prototype

Inputs

Outputs Returns

INT4 suni4x622SetMaskSysIntf(sSUNI4x622_HNDL deviceHandle, sSUNI4x622_MASK_ISR *pmask)

deviceHandle

: device handle (from suni4x622Add)

pmask

: (pointer to) mask structure

None

 

Success = SUNI4x622_SUCCESS

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

SUNI4x622_ERR_INVALID_DEV

SUNI4x622_ERR_INVALID_ARG

Valid States SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Side Effects May change the operation of the ISR / DPR

Clearing System Interface Interrupt Enable Mask: suni4x622ClrMaskSysIntf

This function clears systerm interface interrupt bits and registers in the S/UNI-4x622 device.

Prototype

Inputs

Outputs Returns

INT4 suni4x622ClrMaskSysIntf(sSUNI4x622_HNDL deviceHandle, sSUNI4x622_MASK_ISR *pmask)

deviceHandle

: device handle (from suni4x622Add)

pmask

: (pointer to) mask structure

None

 

Success = SUNI4x622_SUCCESS

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

SUNI4x622_ERR_INVALID_DEV

SUNI4x622_ERR_INVALID_ARG

Valid States SUNI4x622_ACTIVE, SUNI4x622_INACTIVE

Proprietary and Confidential to PMC-Sierra, Inc.

92

Document ID: PMC-2010419, Issue 1

 

Page 92
Image 92
PMC-Sierra PM5358 S/UNI 4x622 manual Side Effects May change the operation of the ISR / DPR