
5.2 CIO-PDMA32 REGISTER MAP
The PDMA-32 boards use 16 consecutive addresses starting at the Base Address in
the computers I/O space, as shown in the following table. The shaded areas highlight
the address space that the MetraByte PDMA-32 board uses. Note that MetraByte does
not use Addresses B to F hex.
Read/writeFIFOBase Address + E : F
WriteArmBase Address + D
Read/WriteREP ControlBase Address + C
WriteFIFO ClearBase Address + B
ReadInterrupt StatusBase Address + A
Read/writeInterrupt LevelBase Address + 9
Read/writeDMA LevelBase Address + 8
ReadCounter Status
WriteCounter ControlBase Address + 7
Read/writeCounter 2Base Address + 6
Read/writeCounter 1Base Address + 5
Read/writeCounter 0Base Address + 4
Read/writeInterrupt ControlBase Address + 3
Read/writeDMA ControlBase Address + 2
Read/writeB PortBase Address + 1
Read/writeA PortBase Address + 0
TYPEFUNCTIONADDRESS
5.2.1 PORTS A & B Base Address + 0 and Base Address + 1
These ports are the main digital I/O ports. Each port is 8-bits wide and can be used
individually or combined into one 16-bit port for programmed I/O, DMA I/O, or
rep-string I/O. Each port is associated with a data direction output (ADIR, BDIR).
Bits D0 and D1 of the DMA Control register select the data directions. On power-up,
ports are always reset to the Input mode.
B IrrelevantWord for DMA or Rep-String
A controls both portsWord for I/O5-7 (Word)1-Word
B IrrelevantWord for DMA or Rep-String
A controls both portsByte for I/O5-7 (word)0-Byte
B IrrelevantByte (PA) for DMA or Rep-String
A controls both portsWord for I/O0-3 (byte)1- Word
Byte for DMA or Rep-String
A & B IndependentByte for I/O0-3 (byte)0-Byte
A & B DirectionPort I/ODMA LevelBit D2
13
Komentarze do niniejszej Instrukcji