Omega 1002 manual O Registers, How to Find the I/O Address

Page 26

3. I/O Registers

3.1 How to Find the I/O Address

The Plug & Play BIOS will assign a valid I/O address to all OME-PCI-1002 cards in the system during the computer’s power-on stage. The ID numbers of OME-PCI-1002 are shown below:

Vendor ID

= 1234

Device ID

= 1002

Associated Driver Functions:

1.P1002_DriverInit(&wBoard)

This function detects the number of OME-PCI-1002 cards in the system.

wBoard=1 Æ only one OME-PCI-1002 in this PC system.

wBoard=2 Æ there are two OME-PCI-1002 in this PC system.

2.P1002_GetConfigAddressSpace(wBoardNo, *wBase, *wIrq, *wPLX) Use this function to determine the resources for all cards installed in the system.

This is used when writing directly to the card’s I/O addresses.

wBoardNo=0 to N Æ totally N+1 cards of OME-PCI-1002

wBase Æ base address of the board control word

wIrq Æ allocated IRQ channel number of this board

wPLX Æ base address of PCI-interface-IC

26

Image 26
Contents User’sGuide Servicing North America Table of Contents Software and Demo Program Diagnostic Program Introduction General DescriptionBlock Diagram X86 SystemFeatures Analog Inputs SpecificationsPower Consumption 3 D/I and D/O 4 A/D Trigger MethodsProgrammable Timer/Counter Interrupt ChannelApplications OME-PCI-1002 series multifunction cardsProduct Check List Release NotesHardware Configuration Board LayoutJumper Setting A/D CalibrationSystem Block Diagram OME-PCI-1002 System Function BlockDaughter Boards OME-DB-8225 OME-DB-37OME-DB-16P Isolated Input Board OME-DB-16R Relay Board Analog Input Signal Connection Page Page Signal Shielding Jumper Settings Connectors Page How to Find the I/O Address O RegistersPage I/O Address Map Section 8254 Registers Status Register Clear Interrupt General Control Register Interrupt Source SelectionTrigger Method Selection Function Operation Digital I/O8254 Timer A/D triggerSymbol Name Minimum Maximum A/D Conversion CPUSuggested Settling Times 1 A/D Conversion Trigger Modes Software Trigger and Polling Techniques Page Page Software and Demo Program Power-ON Plug & Play Test Driver Plug & Play TestD I/O Test A/D TestWARRANTY/DISCLAIMER Temperature