The 8051 Microcontroller and Embedded

(lily) #1
Department of Computer Scien

ce and Information Engineering

National Cheng Kung University, TAIWAN
HANEL
OTHER MODES OF THE 8255Printer Signal

(cont


’)


Indicates that the printer is in the state selected.
OUT
SLCT
--
13

A “high

”signal indicates that printer is out of paper

OUT
PE
30
12

A “high

”signal indicates that the printer cannot
receive data. The signal becomes

“high”

in the

following case: (1)during data entry, (2) during printing operation,(3)in

“off-line

”status, (4)during

printer error status.
OUT
BUSY
29
11

Approximately 0.5

μs pulse;

“low”indicates data

has been received and pr

inter is ready for data.

OUT
ACKNLG
28
10

““
IN
DATA 8
27
9

““
IN
DATA 7
26
8

““
IN
DATA 6
25
7

““
IN
DATA 5
24
6

““
IN
DATA 4
23
5

““
IN
DATA 3
22
4

““
IN
DATA 2
21
3

These signals represent info

rmation of the 1st to

8th bits of parallel data, re

spectively. Each signal is

at “high

”level when data is logical

“^1 ”, and

“low”

when logical

“^0 ”

IN
DATA 1
20
2

STROBE pulse to read data

in. Pulse width must be

more than 0.5

μs at receiving terminal. The signal
level is normally

“high”; read-in of data is
performed at the

“low”level of this signal.

IN
STROBE
19
1

Description
Direction
Signal
Return
Table 15-3. Centronics Printer SpecificationSerial

Free download pdf