4-2
External Interrupts
KPCI-3160 User’s Manual
Using DriverLINX, you can arrange for a piece of software code to run every time that the board
detects the rising edge and/or the falling edge of an external interrupt signal.
Section 4
explains
external interrupt signal connections and summarizes interrupt usage for the KPCI-3160 board.
For more information, refer to Using DriverLINX with Your Hardware—Keithley 3160 and other
DriverLINX manuals.
External interrupt description
Through DriverLINX, you can alternatively configure two of the general-purpose I/O lines of
port group 3—PC7 and PC6—for the following external interrupt functions:
•
INT_ENN (external interrupt enable, active low)
•
INT_REQ (external interrupt request, edge triggered)
The interrupt pins on the I/O connector of the KPCI-3160 board, and the corresponding pins on
the J4 connector of the CONN-3160-D1 accessory, are identified in
Table 4-1
.
Through DriverLINX, you can independently configure any of the four port groups so that an
external interrupt request pulse latches the data sent to the input ports.
Through DriverLINX, you can also configure interrupts to be edge-triggered for any of the fol-
lowing conditions:
•
The rising (positive) edge of the external interrupt request signal
•
The falling (negative) edge of the external interrupt request signal
•
Both the rising and falling edges of the external interrupt request signal
NOTE
Positive-edge triggering is the default upon power-up or reset.
In principle, if you configure interrupts to occur on both the rising and falling edges of the exter-
nal interrupt request signal, each signal generates two interrupt requests—the on-period width of
the external interrupt request signal determining the time between these two requests. However,
in practice, be aware that the falling edge of the external interrupt signal is effective only if the
interrupt signal is on longer than the combined overhead and data processing time initiated by
the rising edge of the signal. If the falling edge of the signal occurs during data processing initi-
ated by the rising edge of the signal, then the falling edge of the signal will not be effective—it
will be missed. Refer to the next subsection, “
External interrupt application
,” for more informa-
tion about missed interrupts.
Table 4-1
Connector pins used for external interrupt function
Interrupt Function
Group 3 connector pin that is configurable for
either interrupt or general-purpose functions
Corresponding
General-Purpose
Function
Description
Signal
Designator
On the KPCI-3160 I/O
Connector, P101
On CONN-3160-D1
Connector J4
External interrupt enable
INT_ENN
25
17
PC7
External interrupt request
INT_REQ
24
19
PC6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание KPCI-3160
Страница 12: ...1 Overview Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 18: ...3 Installation Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 40: ...5 Troubleshooting Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 68: ...A Specifications Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 81: ...C Glossary Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...