PM5358
Application Programming Interface
Outputs | None |
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 | May change the operation of the ISR / DPR |
Clearing PYLD Interrupt Enable Mask: suni4x622ClrMaskPYLD
This function clears PYLD individual interrupt bits and registers in the
Prototype
Inputs
Outputs Returns
INT4 suni4x622ClrMaskPYLD(sSUNI4x622_HNDL deviceHandle, UINT1 channel, sSUNI4x622_MASK_ISR *pmask)
deviceHandle | : device handle (from suni4x622Add) |
channel | : channel number |
pmask | : (pointer to) mask structure |
None |
|
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 May change the operation of the ISR / DPR
Getting FIFO Interrupt Enable Mask: suni4x622GetMaskFIFO
This function returns the contents of the FIFO interrupt mask registers of the
Prototype | INT4 suni4x622GetMaskFIFO(sSUNI4x622_HNDL | |
| deviceHandle, UINT1 channel, sSUNI4x622_MASK_ISR | |
| *pmask) |
|
Inputs | deviceHandle | : device handle (from suni4x622Add) |
| channel | : channel number |
| pmask | : (pointer to) mask structure |
Proprietary and Confidential to | 88 |
Document ID: |
|