Datasheet

Port E
MC68HC908GR16A Data Sheet, Rev. 1.0
Freescale Semiconductor 129
When bit DDREx is a 1, reading address $0008 reads the PTEx data latch. When bit DDREx is a 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 12-6 summarizes the operation of the port E pins.
Table 12-6. Port E Pin Functions
DDRE
Bit
PTE
Bit
I/O Pin
Mode
Accesses to DDRE Accesses to PTE
Read/Write Read Write
0
X
(1)
1. X = Don’t care
Input, Hi-Z
(2)
2. Hi-Z = High impedance
DDRE5–DDRE0 Pin
PTE5–PTE0
(3)
3. Writing affects data register, but does not affect input.
1 X Output DDRE5–DDRE0 PTE5–PTE0 PTE5–PTE0