English
Language : 

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