
PM5358
Application Programming Interface
Side Effects May change the operation of the ISR / DPR
Getting APS Interrupt Enable Mask: suni4x622GetMaskAPS
This function returns the contents of the APS interrupt mask registers of the
Prototype | INT4 suni4x622GetMaskAPS(sSUNI4x622_HNDL | |
| deviceHandle, UINT1 apslink, sSUNI4x622_MASK_ISR | |
| *pmask) |
|
Inputs | deviceHandle | : device handle (from suni4x622Add) |
| apslink | : APS link 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_APSLINK | |
| SUNI4x622_ERR_INVALID_ARG | |
Valid States | SUNI4x622_ACTIVE, | SUNI4x622_INACTIVE |
Side Effects | None |
|
Setting APS Interrupt Enable Mask: suni4x622SetMaskAPS
This function sets the contents of the APS interrupt mask registers of the
Prototype | INT4 suni4x622SetMaskAPS(sSUNI4x622_HNDL | |
| deviceHandle, UINT1 apslink, sSUNI4x622_MASK_ISR | |
| *pmask) |
|
Inputs | deviceHandle | : device handle (from suni4x622Add) |
| apslink | : APS link 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_APSLINK | |
| SUNI4x622_ERR_INVALID_ARG | |
Valid States | SUNI4x622_ACTIVE, | SUNI4x622_INACTIVE |
Side Effects | None |
|
Proprietary and Confidential to | 93 |
Document ID: |
|