Omega Engineering OME-PIO-D96 manual Muliti Interrupt Source

Page 16

2.5.5 Muliti Interrupt Source

Assume: P2C0 is initial Low, active High, P5C0 is initial High, active Low P8C0 is initial Low, active High P11C0 is initial High, active Low

as follows:

P2C0

P5C0

P8C0

P11C0

P2C0 & P5C0 are active at the same time.

P8C0 & P11C0 are active at the same time.

P2C0 & P5C0 are return to normal at the same time.

P8C0 & P11C0 are return to normal at the same time.

Refer to DEMO5.C for the source. All these four falling edges & rising edges can be detected by DEMO5.C.

Note: When the interrupt is active, the user program has to identify the active signals. Multiple signals maybe active simultaneously. So the interrupt service routine has to service all active signals at the same time.

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

---- 14

Image 16
Contents User’sGuide Canada MexicoBenelux Czech RepublicOME-PIO-D96 Table of Contents Features IntroductionOrder Description SpecificationsOptions Product Check List PCI Data Acquisition FamilyOME-PISO-series cost-effective generation, isolated cards Hardware configuration Board LayoutI/O port Location Enable I/O OperationRefer 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&wBoards, wSubVendor,wSubDevice,wSubAux PIODriverInitWSubVendor=0x80 wSubDevice=1 wSubAux=0x10 /* for PIOD96 Current sinking Enable all D/I/O operation of card0 PIOGetConfigAddressSpaceEnable 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 WriteAUX Control Register RESET\ 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