English
Language : 

MC68HC08AZ60 Datasheet, PDF (303/452 Pages) Motorola, Inc – Advance Information
Freescale Semiconductor, Inc.
I/O Ports
Port H
READ DDRH ($000F)
WRITE DDRH ($000F)
RESET
WRITE PTH ($000B)
DDRHx
PTHx
PTHx
READ PTH ($000B)
Figure 25. Port H I/O Circuit
When bit DDRHx is a logic 1, reading address $000B reads the PTHx
data latch. When bit DDRHx is a logic 0, reading address $000B reads
the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit. Table 8 summarizes the
operation of the port H pins.
Table 8. Port H Pin Functions
DDRH
Bit
0
PTH
Bit
X
I/O Pin
Mode
Input, Hi-Z
Accesses
to DDRH
Read/Write
DDRH[1:0]
Accesses to PTH
Read
Pin
Write
PTH[1:0](1)
1
X
Output
DDRH[1:0] PTH[1:0]
PTH[1:0]
X = don’t care
Hi-Z = high impedance
1. Writing affects data register, but does not affect input.
25-ioports
MOTOROLA
MC68HC08AZ60 — Rev 1.0
I/O Ports
303
For More Information On This Product,
Go to: www.freescale.com