50
•
C/C++ Library
5.10 W_8454_INT_Enable
@ Description
This function is only available in Window 95 driver and Windows
NT driver. The function is used to initialize and start up the interrupt
control. After calling this function, every time an interrupt request
signal generated, a software event is signaled. So that in your
program, your can use wait operation to wait for the event. When
the event is signaled, it means an interrupt is generated. Please
refer to the samples program 8454int.c.
Note
: The W_8454_INT_Enable and W_8454_INT_Disable are a pair
of functions. That is, as the W_8454_INT_Enable is called, the
W_8454_INT_Disable has to follow up behind it. Otherwise,
the interrupt operation will not stop.
@ 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 interrupt signals.
@ Return Value
NoError
INT_Not_Set
Summary of Contents for NuDAQ ACL-8454
Page 1: ...N u D A Q ACL 8454 MultiFunctions Counter Timer Card User s Guide...
Page 2: ......
Page 5: ......
Page 6: ......
Page 10: ......
Page 23: ...Installation 13 reference number of chips and the counters number...
Page 39: ...Registers Format 29 Bit 7 6 5 4 3 2 1 0 Base 5 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0...