|
OX16PCI954_05 Datasheet, PDF (55/73 Pages) Oxford Semiconductor – Integrated Quad UART and PCI interface | |||
|
◁ |
OXFORD SEMICONDUCTOR LTD.
OX16PCI954
9.3 Register Description
The parallel port registers are described below. (NB it is assumed that the upper block is placed 400h above the lower block).
Register Address R/W Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
Name
Offset
SPP (Compatibility Mode) Registers
PDR
000h R/W
Parallel Port Data Register
DSR
001h
R nBUSY ACK#
PE
SLCT ERR# INT#
1
(EPP mode)
Bit 0
Timeout
(Other modes) 001h
R nBUSY ACK#
PE
SLCT ERR# INT#
1
1
DCR
002h R/W
0
0
DIR INT_EN nSLIN# INIT# nAFD# nSTB#
EPPA 1
003h R/W
EPP Address Register
EPPD1 1
004h R/W
EPP Data 1 Register
EPPD2 1
005h R/W
EPP Data 2 Register
EPPD3 1
006h R/W
EPP Data 3 Register
EPPD4 1
007h R/W
EPP Data 4 Register
-
400h
-
Reserved
-
401h
-
Reserved
ECR
402h R/W
Mode[2:0]
Reserved â Must write â00001â
-
403h
-
Reserved
Table 30: Parallel port register set
Note 1 : These registers are only available in EPP mode.
Note 2 : Prefix ânâ denotes that a signal is inverted at the connector. Suffix â#â denotes active-low signalling
The reset state of PDR, EPPA and EPPD1-4 is not determinable (i.e. 0xXX). The reset value of DSR is âXXXXX111â. DCR and
ECR are reset to â0000XXXXâ and â00000001â respectively.
9.3.1 Parallel port data register âPDRâ
PDR is located at offset 000h in the lower block. It is the
standard parallel port data register. Writing to this register
in mode 000 will drive data onto the parallel port data lines.
In all other modes the drivers may be tri-stated by setting
the direction bit in the DCR. Reads from this register return
the value on the data lines.
9.3.2 Device status register âDSRâ
DSR is located at offset 001h in the lower block. It is a read
only register showing the current state of control signals
from the peripheral. Additionally in EPP mode, bit 0 is set
to â1â when an operation times out (see section 9.1.3)
DSR[0]:
EPP mode: Timeout
logic 0 âTimeout has not occurred.
logic 1 âTimeout has occurred (Reading this bit clears it).
Other modes: Unused
This bit is permanently set to 1.
DSR[1]: Unused
This bit is permanently set to 1.
DS-0029 Jul 05
ExternalâFree Release
Page 55
|
▷ |