MOTOROLA
PARALLEL I/O
MC68HC11A8
4-4
TECHNICAL DATA
4
protocol, reads of port C always return the value sensed at the input to the output buff-
er regardless of the state of the data direction register bits because the lines would not
necessarily have meaningful data on them in the three-state variation of this protocol.
This operation makes it impractical to use some port C lines as static inputs, while us-
ing others as handshake outputs, but does not interfere with the use of some port C
lines as static outputs. Port C lines intended as static outputs or normal handshake
outputs should have their corresponding data direction register bits set, and lines in-
tended as three-state handshake outputs should have their corresponding data direc-
tion register bits clear.
4.5 Parallel I/O Control Register (PIOC)
The parallel handshake l/O functions are available only in the single-chip operating
mode. The PIOC is a read/write register except for bit 7 which is read only. Table 4-1 shows a summary of handshake l/O operations.
.
NOTE:
1. Set by active edge on STRA
Table 4-1 Handshake l/O Operations Summary
STAI
CWOM
INVB
0
STAF Interrupts
Inhibited
Port C Outputs
Normal
STRB Active
Low
1
STAF Interrupts
Enabled
Port C Outputs
Open-Drain
STRB Active
High
STAF
Clearing
HNDS
OIN
PLS
EGA
Port C
Port B
Sequence1
Simple
Strobe
Mode
Read PIOC with
STAF = 1 then
Read PORTCL
0X
X
Inputs latched
into PORTCL
on any active
edge on
STRA.
STRB pulses
on writes to
port B.
Full
Input
Handshake
Read PIOC with
STAF = 1 then
Read PORTCL
1
0
0 = STRB
Active
Level
1 = STRB
Active
Pulse
Inputs latched
into PORTCL
on any active
edge on
STRA.
Normal out-
put port. Unaf-
fected in
handshake
modes
Full
Output
Handshake
Read PIOC with
STAF = 1 then
Write to
PORTCL
1
0 = STRB
Active
Level
1 = STRB
Active
Pulse
Driven as out-
puts if STRA at
active level.
Follows DDRC
if STRA not at
active level.
Normal out-
put port. Unaf-
fected in
handshake
modes
76543210
$1002
STAF
STAI
CWOM
HNDS
OIN
PLS
EGA
INVB
PIOC
RESET
00000
U
11
0
1
0
1
0
1
STRA
Active Edge
Follow
DDRC
Follow
DDRC
Port C
Driven
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.