Datasheet

Table Of Contents
Port F
MC68HC908GR60A • MC68HC908GR48A • MC68HC908GR32A Data Sheet, Rev. 5
Freescale Semiconductor 147
Figure 12-19. Port E I/O Circuit
12.8 Port F
Port F is an 8-bit special-function port that shares four of its pins with the timer interface (TIM2) module.
12.8.1 Port F Data Register
The port F data register (PTF) contains a data latch for each of the eight port F pins.
PTF7–PTF0 — Port F Data Bits
These read/write bits are software-programmable. Data direction of each port F pin is under the control
of the corresponding bit in data direction register F. Reset has no effect on port F data.
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
Address: $0440
Bit 7654321Bit 0
Read:
PTF7 PTF6 PTF5 PTF4 PTF3 PTF2 PTF1 PTF0
Write:
Reset: Unaffected by reset
Alternate Function: T2CH5 T2CH4 T2CH3 T2CH2
= Unimplemented
Figure 12-20. Port F Data Register (PTF)
READ DDRE ($000C)
WRITE DDRE ($000C)
RESET
WRITE PTE ($0008)
READ PTE ($0008)
PTEx
DDREx
PTEx
INTERNAL DATA BUS