
5 I/O REGISTER MAPS
The PCI-DIO48H/CTR15 uses eight standard I/O addresses for the two 8255
emulations, 20 addresses for the five 82C54s (4 each) as well as the addresses
required for Plug-and-Play operation. The addresses are allocated by the PCI plug &
play procedure and may not be modified.
A word of warning: Direct writes to the addresses simply by reference to the base
address of the PCI-DIO48H/CTR15 I/O registers is not advised. Since the addresses
assigned by the PCI plug & play software are not under your control, there is no way
to guarantee that your program will run in any other computer. Not only that, but if
you install another PCI board in a computer after the PCI-DIO48H/CTR15 addresses
have been assigned, those addresses may be moved by the plug & play software when
the second board is installed. It is best to use a library such as Universal Library or a
application such as SoftWIRE to make measurements with your board.
Table 5-1. Board Registers
8-bit ByteControl Counters 13-15No ReadbackBADR2 + 1Bh
8-bit ByteCounter 15 DataCounter 15 DataBADR2 + 1Ah
8-bit ByteCounter 14 DataCounter 14 DataBADR2 + 19h
8-bit ByteCounter 13 DataCounter 13 DataBADR2 + 18h
8-bit ByteControl Counters 10-12No ReadbackBADR2 + 17h
8-bit ByteCounter 12 DataCounter 12 DataBADR2 + 16h
8-bit ByteCounter 11 DataCounter 11 DataBADR2 + 15h
8-bit ByteCounter 10 DataCounter 10 DataBADR2 + 14h
8-bit ByteControl Counters 7-9No ReadbackBADR2 + 13h
8-bit ByteCounter 9 DataCounter 9 DataBADR2 + 12h
8-bit ByteCounter 8 DataCounter 8 DataBADR2 + 11h
8-bit ByteCounter 7 DataCounter 7 DataBADR2 + 10h
8-bit ByteControl Counters 4-6No ReadbackBADR2 + F
8-bit ByteCounter 6 DataCounter 6 DataBADR2 + E
8-bit ByteCounter 5 DataCounter 5 DataBADR2 + D
8-bit ByteCounter 4 DataCounter 4 DataBADR2 + C
8-bit ByteControl Counters 1-3No ReadbackBADR2 + B
8-bit ByteCounter 3 DataCounter 3 DataBADR2 + A
8-bit ByteCounter 2 DataCounter 2 DataBADR2 + 9
8-bit ByteCounter 1 DataCounter 1 DataBADR2 + 8
8-bit ByteControl Register 2No ReadbackBADR2 + 7
8-bit ByteOutput Port 2C DataInput Port 2C DataBADR2 + 6
8-bit ByteOutput Port 2B DataInput Port 2B DataBADR2 + 5
8-bit ByteOutput Port 2A DataInput Port 2A DataBADR2 + 4
8-bit ByteControl Register 1No ReadbackBADR2 + 3
8-bit ByteOutput Port 1C DataInput Port 1C DataBADR2 + 2
8-bit ByteOutput Port 1B DataInput Port 1B DataBADR2 + 1
8-bit ByteOutput Port 1A DataInput Port 1A DataBADR2 + 0h
32-bit DWordInterrupt ControlInterrupt StatusBADR1 + 4Ch
OPERATIONSWRITE FUNCTIONREAD FUNCTIONREGISTER
7
Commentaires sur ces manuels