English
Language : 

MC68HC705P9 Datasheet, PDF (84/156 Pages) Motorola, Inc – HCMOS Microcontroller Unit 
Parallel I/O Ports Port D
When bit DDRDx is a logic one, reading address $0003 reads the PDx
data latch. When bit DDRDx is a logic zero, reading address $0003
reads the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit. Table 1 summarizes the
operation of the port D pins.
Table 4. Port D Pin Operation
Data Direction Bit
0
I/O Pin Mode
Input, Hi-Z(1)
Accesses to Data Bit
Read
Pin
Write
Latch(2)
1
Output
Latch
Latch
1. Hi-Z = high impedance
2. Writing affects data register, but does not affect input.
14-mc68hc705p9
84
Parallel I/O Ports
MOTOROLA