English
Language : 

TL16C451 Datasheet, PDF (21/23 Pages) Texas Instruments – ASYNCHRONOUS COMMUNICATIONS ELEMENTS
TL16C451, TL16C452
ASYNCHRONOUS COMMUNICATIONS ELEMENTS
SLLS053C – MAY 1989 – REVISED AUGUST 1999
PRINCIPLES OF OPERATION
parallel port registers
The parallel port registers interface either device to a Centronix-style printer interface. When chip select 2 (CS2)
is low, the parallel port is selected. Tables 7 and 8 show the registers associated with this parallel port. The read
or write function of the register is controlled by the state of the read (IOR) and write (IOW) terminal as shown.
The read data register allows the microprocessor to read the information on the parallel bus.
The read status register allows the microprocessor to read the status of the printer in the five most significant
bits. The status bits are printer busy (BUSY), acknowledge (ACK) which is a handshake function, paper empty
(PE), printer selected (SLCT), and error (ERROR). The read control register allows the state of the control lines
to be read. The write control register sets the state of the control lines, which are interrupt enable (IRQ ENB),
select in (SLIN), initialize the printer (INIT), autofeed the paper (AFD), and strobe (STB), which informs the
printer of the presence of a valid byte on the parallel bus. These signals are cleared when a reset occurs. The
write data register allows the microprocessor to write a byte to the parallel bus. The parallel port is completely
compatible with the parallel port implementation used in the IBM serial/parallel adaptor.
REGISTER
Read data
Read status
Read control
Write data
Write control
BIT 7
PD7
BUSY
1
PD7
1
Table 7. Parallel Port Registers
BIT 6
PD6
ACK
1
PD6
1
BIT 5
PD5
PE
1
PD5
1
REGISTER BITS
BIT 4
BIT 3
PD4
PD3
SLCT
ERROR
IRQ ENB
SLIN
PD4
PD3
IRQ ENB
SLIN
BIT 2
PD2
1
INIT
PD2
INIT
BIT 1
PD1
1
AFD
PD1
AFD
BIT 0
PD0
1
STB
PD0
STB
Table 8. Parallel Port Register Select
CONTROL TERMINALS
REGISTER SELECTED
IOR
IOW
CS2
A1
A0
L
H
L
L
L
Read data
L
H
L
L
H
Read status
L
H
L
H
L
Read control
L
H
L
H
H
Invalid
H
L
L
L
L
Write data
H
L
L
L
H
Invalid
H
L
L
H
L
Write control
H
L
L
H
H
Invalid
• POST OFFICE BOX 655303 DALLAS, TEXAS 75265
21