English
Language : 

MC68HC08AZ32A Datasheet, PDF (314/456 Pages) Motorola, Inc – HCMOS Microcontroller Unit
I/O Ports
Freescale Semiconductor, Inc.
Figure 19-18 shows the port F I/O logic.
READ DDRF ($000D)
WRITE DDRF ($000D)
RESET
WRITE PTF ($0009)
READ PTF ($0009)
DDRFx
PTFx
PTFx
Figure 19-18. Port F I/O Circuit
When bit DDRFx is a logic one, reading address $0009 reads the PTFx
data latch. When bit DDRFx is a logic zero, 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 19-7 summarizes
the operation of the port F pins.
Table 19-7. Port F Pin Functions
DDRF Bit
PTF Bit
I/O Pin Mode
Accesses to
DDRF
Read/Write
0
X(1)
Input, Hi-Z(2) DDRF[6:0]
1
X
Output
DDRF[6:0]
1. X = don’t care
2. Hi-Z = high impedance
3. Writing affects data register, but does not affect input.
Accesses to PTF
Read
Pin
PTF[6:0]
Write
PTF[6:0](3)
PTF[6:0]
Technical Data
314
MC68HC08AZ32A — Rev 1.0
I/O Ports
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA