Returns control from an interrupt handler.
Gx6256InterruptResume (nHandle, wInterrupts, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6256/GX6864/GX6192 board. . |
wInterrupts |
WORD |
Specifies the interrupt(s):1. GX6256_INTERRUPT_02. GX6256_INTERRUPT_14. GX6256_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;
Gx6256InterruptResume (nHandle, GX6256_INTERRUPT_0, &nStatus);