Gx6192/Gx6256/Gx6864InterruptResume

Purpose

Returns control from an interrupt handler.

Syntax

Gx6256InterruptResume (nHandle, wInterrupts, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6256/GX6864/GX6192 board. .
wInterrupts
WORD
Specifies the interrupt(s):
1. GX6256_INTERRUPT_0
2. GX6256_INTERRUPT_1
4. GX6256_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;

 

Gx6256InterruptResume (nHandle, GX6256_INTERRUPT_0, &nStatus);

 

See Also

Gx6256InterruptSetup, GxSWGetErrorString