Omega 1002 manual Section

Page 29

3.2.1 Section 1

Although there are 128 I/O ports used by the on-board PCI interface controller, only one register is used for most applications. The user should not modify the other registers! The PCI interrupt control register (4Ch) controls the interrupts generated by the system. The register is set to “disable interrupt” after power-on or hardware reset signal, thus no interrupts will be generated before this register is activated even if the user enables the add-on interrupt! In order to enable the PCI-interrupt, write 43h to this register. Write 03h to this register if you want to disable the PCI interrupts.

Following is the format of the PCI interrupt control register:

Bit 31-Bit 7

Bit6

Bit5-Bit3

Bit2

Bit1-Bit0

Not used

Interrupt Enable

Not used

Interrupt Flag

Interrupt Select

 

 

 

 

 

Bit 6: Write an ‘1’ to enable the PCI-interrupt and a ‘0’ to disable PCI interrupt.

Bit 2: This bit is read-only. A ‘1’ indicates that the Add-on has

generated an interrupt, ‘0’ means that Add-on did not generate an interrupt. Bit1-0: Always write 1 to these two bits.

Note:

1.Since the OME-PCI-1002 supports “Plug and Play”, the interrupt number will automatically be assigned by your system. The user can determine the interrupt number by using standard PCI utilities or by using the OME-PCI-1002 software driver.

2.If your system supports “Shared IRQ”, several peripherals may share the same IRQ at the same time. You must use Bit-2 to find out if an IRQ was generated from the OME-PCI-1002 or a different device!

3.For more information about the PCI interrupt control, please refer to the user reference manual of the PLX-9050.

29

Image 29
Contents User’sGuide Servicing North America Table of Contents Software and Demo Program Diagnostic Program General Description IntroductionX86 System Block DiagramFeatures Analog Inputs SpecificationsPower Consumption 4 A/D Trigger Methods 3 D/I and D/OInterrupt Channel Programmable Timer/CounterOME-PCI-1002 series multifunction cards ApplicationsRelease Notes Product Check ListBoard Layout Hardware ConfigurationA/D Calibration Jumper SettingOME-PCI-1002 System Function Block System Block DiagramOME-DB-8225 OME-DB-37 Daughter BoardsOME-DB-16P Isolated Input Board OME-DB-16R Relay Board Analog Input Signal Connection Page Page Signal Shielding Jumper Settings Connectors Page O Registers How to Find the I/O AddressPage I/O Address Map Section 8254 Registers Status Register Clear Interrupt Interrupt Source Selection General Control RegisterTrigger Method Selection Digital I/O Function OperationA/D trigger 8254 TimerSymbol Name Minimum Maximum CPU A/D ConversionSuggested Settling Times 1 A/D Conversion Trigger Modes Software Trigger and Polling Techniques Page Page Software and Demo Program Driver Plug & Play Test Power-ON Plug & Play TestA/D Test D I/O TestWARRANTY/DISCLAIMER Temperature