Omega Engineering manual Interrupt Block Diagram of OME-PIO-D96, INTCHAN3

Page 12

2.5.1Interrupt Block Diagram of OME-PIO-D96

 

INT_CHAN_0

INT\

INT_CHAN_1

 

Level_trigger

INT_CHAN_2

 

 

INT_CHAN_3

 

initial_low

 

active_high

The interrupt output signal of OME-PIO-D96, INT\, is Level_trigger & Active_Low. If the INT\ generate a low-pulse, the OME-PIO-D96 will interrupt the PC only once. If the INT\ is fixed in low level, the OME-PIO-D96 will interrupt the PC continuously. So that INT_CHAN_0/1/2/3 must be controlled in a pulse type signals. They must be fixed in low level state normally and generated a high_pulse to interrupt the PC.

The priority of INT_CHAN_0/1/2/3 is the same. If all these four signals are active at the same time, then INT\ will be active only once a time. So the interrupt service routine has to read the status of all interrupt channels for multi-channel interrupt. Refer to Sec. 2.5 for mare information.

DEMO5.C for multi-channel interrupt source

If only one interrupt source is used, the interrupt service routine doesn’t have to read the status of interrupt source. The demo programs, DEMO3.C & DEMO4.C are designed for single-channel interrupt demo as follows:

DEMO3.C for INT_CHAN_0 only (P2C0 initial low) DEMO4.C for INT_CHAN_0 only (P2C0 initial high)

OME-PIO-D96 User Manual (Ver.1.1, Mar/2003)

---- 10

Image 12
Contents User’sGuide Canada MexicoBenelux Czech RepublicOME-PIO-D96 Table of Contents Features IntroductionSpecifications Order DescriptionOptions PCI Data Acquisition Family Product Check ListOME-PISO-series cost-effective generation, isolated cards Hardware configuration Board LayoutEnable I/O Operation I/O port LocationRefer to DEMO1.C for demo program D/I/O Architecture Interrupt Operation Make sure the initial level is High or LowInterrupt Block Diagram of OME-PIO-D96 INTCHAN3INTCHAN0/1/2/3 Initialhigh, activelow Interrupt source COUNTL++Initiallow, activehigh Interrupt source Muliti Interrupt Source Read all interrupt state Daughter Boards OME-DB-37OME-DN-37 & OME-DN-50 OME-DB-8125OME-ADP-37/PCI & OME-ADP-50/PCI OME-DB-24P/24PD Isolated Input Board OME-DB-24R/24RD Relay Board OME-DB-24PR/24POR/24C Daughter Boards Comparison Table All signals are TTL compatible Pin AssignmentVCC GND How to Find the I/O Address Resource-allocated informationOME-PIO/PISO identification information PC’s physical slot informationPIODriverInit PIODriverInit&wBoards, wSubVendor,wSubDevice,wSubAuxWSubVendor=0x80 wSubDevice=1 wSubAux=0x10 /* for PIOD96 Current sinking PIOGetConfigAddressSpace Enable all D/I/O operation of card0Enable all D/I/O operation of card1 ShowPIOPISO ShowPIOPISOwSubVendor,wSubDevice,wSubAuxAssignment of I/O Address Slot5 0x0A Slot6 0x08 Slot7 0x09 Slot8 0x07I/O Address Map Address Read WriteRESET\ Control Register AUX Control RegisterAUX data Register INT Mask Control Register Aux Status RegisterInterrupt Polarity Control Register INV3 INV2 INV1 INV07 I/O Selection Control Register Read/Write 8-bit data Register How to install software & utility? Demo programPiopiso PIOPISO.EXE for Windows DEMO1 DEMO2 DEMO3 COUNTL++ DEMO4 COUNTL++ DEMO5 CNTL1=CNTL2=CNTL3=CNTL4=0 Page WARRANTY/DISCLAIMER Temperature