English
Language : 

MC68HC08AS32 Datasheet, PDF (152/280 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
11.7 Port F
Port F is a 4-bit special-function port that shares four of its pins with the timer
interface module (TIM).
11.7.1 Port F Data Register
The port F data register contains a data latch for each of the four port F pins.
Address:
Read:
Write:
Reset:
Alternate
Function:
$0009
Bit 7
0
R
R
6
5
4
3
2
0
0
0
R
R
R
PTF3
PTF2
Unaffected by reset
TCH5
TCH4
= Reserved
Figure 11-17. Port F Data Register (PTF)
1
PTF1
TCH3
Bit 0
PTF0
TCH2
NOTE:
PTF[3:0] — 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 PTF[3:0].
TCH[5:2] — Timer Channel I/O Bits
The PTF3/TCH5–PTF0/TCH2 pins are the TIM input capture/output compare
pins. The edge/level select bits, ELSxB–ELSxA, determine whether the
PTF3/TCH5–PTF0/TCH2 pins are timer channel I/O pins or general-purpose
I/O pins. (See 15.8.4 TIM Channel Status and Control Registers.)
Data direction register F (DDRF) does not affect the data direction of port F
pins that are being used by the TIM. However, the DDRF bits always determine
whether reading port F returns the states of the latches or the states of the pins.
(See Table 11-6.)
Data Sheet
152
MC68HC08AS32 — Rev. 4.1
Freescale Semiconductor