English
Language : 

MC68HC08AZ60A Datasheet, PDF (342/480 Pages) Motorola, Inc – Microcontrollers
I/O Ports
When bit DDRHx is a logic one, reading address $000B reads the PTHx
data latch. When bit DDRHx is a logic zero, reading address $000B
reads the voltage level on the pin. The data latch can always be written,
regardless of the state of its data. Table 20-9 summarises the operation
of the port H pins.
Table 20-9. Port H Pin Functions
DDRH Bit
PTH Bit
I/O Pin Mode
Accesses to
DDRH
Read/Write
0
X(1)
Input, Hi-Z(2) DDRH[1:0]
1
X
Output
DDRH[1:0]
1. X = don’t care
2. Hi-Z = high impedance
3. Writing affects data register, but does not affect input.
Accesses to PTH
Read
Pin
PTH[1:0]
Write
PTH[1:0](3)
PTH[1:0]
Advance Information
342
I/O Ports
MC68HC08AZ60A — Rev 0.0
MOTOROLA