English
Language : 

W83627DHG Datasheet, PDF (159/268 Pages) Winbond – WINBOND LPC I/O
W83627DHG
12.2.1 Data Port (Data Swapper)
The CPU reads the contents of the printer's data latch by reading the data port.
12.2.2 Printer Status Buffer
The CPU reads the printer status by reading the printer status buffer. The bit definitions are as follows:
7 6 5 4 32 1 0
11
TMOUT
ERROR#
SLCT
PE
ACK#
BUSY#
Bit 7: This signal is active during data entry, when the printer is off-line during printing, when the print
head is changing position, or in an error state. When this signal is active, the printer is busy and cannot
accept data.
Bit 6: This bit represents the current state of the printer's ACK# signal. A logical 0 means the printer has
received a character and is ready to accept another. Normally, this signal is active for approximately 5
μs before BUSY# stops.
Bit 5: A logical 1 means the printer has detected the end of paper.
Bit 4: A logical 1 means the printer is selected.
Bit 3: A logical 0 means the printer has encountered an error condition.
Bit 1, 2: Reserved. These two bits are always read as logical 1.
Bit 0: This bit is only valid in EPP mode. A logical 1 indicates that a 10-μs time-out has occurred on the
EPP bus; a logical 0 means that no time-out error has occurred. Writing a logical 1 to this bit clears the
time-out status bit; writing a logical 0 has no effect.
12.2.3 Printer Control Latch and Printer Control Swapper
The CPU reads the contents of the printer control latch by reading the printer control swapper. The bit
definitions are as follows:
7 6 5 43 21 0
11
STROBE
AUTO FD
INIT#
SLCT IN
IRQ ENABLE
DIR
Bit 7, 6: These two bits are always read as logical 1. They can be written.
Bit 5: Direction control bit
-147-
Publication Release Date: Aug, 22, 2007
Version 1.4