beautypg.com

ADLINK ACL-8454/12 User Manual

Page 57

background image

High-Level Programming

49

@ Syntax

Microsoft C/C++ (Win95 & Win-NT)

int W_8454_INT_Enable(int irq_no, int irql, HANDLE *phEvent)

Visual Basic (Win95 & Win-NT)

W_8454_INT_Enable (ByVal irq_no As Long, ByVal irql As
Long, phEvent As Long) As Long

@ Arguments

irq_no : IRQ channel selected

1: Higher IRQ (From /COUT6)
2: Lower IRQ (From COUT12 or Ext. Int)

irql : The IRQ level of the IRQ channel specified in argument irq_no.
phEvent: The handle of the event for interrupts signals.

@ Return Value

NoError
INT_Not_Set

5.11 W_8454_INT_Disable

@ Description

This function is only available in Window 95 driver and Windows
NT driver. This function is used to stop interrupt signal generation.

Note : This function has to be called after the W_8454_INT_Enable is

called.

@ Syntax

Microsoft C/C++ (Win-95 & Win-NT)

int W_8454_INT_Disable(int irq_no)

Visual Basic (Win-95 & Win-NT)

W_8454_INT_Disable (ByVal irq_no As Long) As Long

@ Arguments

irq_no : IRQ channel selected

1: Higher IRQ (From /COUT6)
2: Lower IRQ (From COUT12 or Ext. Int)

@ Return Value

NoError
INT_Not_Set