English
Language : 

MC68HC08AS32A Datasheet, PDF (168/296 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Input/Output (I/O) Ports
12.7 Port F
Port F is a 4-bit special-function port that shares four of its pins with the timer
interface module (TIM).
12.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
6
5
4
3
2
0
0
0
PTF3
PTF2
Unaffected by reset
TCH5
TCH4
= Unimplemented
Figure 12-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 16.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 12-6.)
Data Sheet
168
Input/Output (I/O) Ports
For More Information On This Product,
Go to: www.freescale.com
MC68HC08AS32A — Rev. 1
MOTOROLA