English
Language : 

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