Gx6188InterruptResume

Purpose

Returns control from an interrupt handler.

Syntax

Gx6188InterruptResume (nHandle, wInterrupts, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6188 board.
wInterrupts
WORD
Specifies the interrupt(s):
1. GX6188_INTERRUPT_0
2. GX6188_INTERRUPT_1
4. GX6188_INTERRUPT_2
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

This function resumes the specified interrupt.  It should be during the interrupt handler procedure to resume normal operation.

Example

The following example resumes the operation of interrupt 0.

 

SHORT nStatus;

 

Gx6188InterruptResume (nHandle, GX6188_INTERRUPT_0, &nStatus);

 

See Also

Gx6188InterruptSetup, GxSWGetErrorString