Returns control from an interrupt handler.
Gx6188InterruptResume (nHandle, wInterrupts, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6188 board. |
wInterrupts |
WORD |
Specifies the interrupt(s):1. GX6188_INTERRUPT_02. GX6188_INTERRUPT_14. GX6188_INTERRUPT_2 |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function resumes the specified interrupt. It should be during the interrupt handler procedure to resume normal operation.
The following example resumes the operation of interrupt 0.
SHORT nStatus;
Gx6188InterruptResume (nHandle, GX6188_INTERRUPT_0, &nStatus);