English
Language : 

MC68HC08AS32 Datasheet, PDF (201/394 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
15.8 Port F
Input/Output (I/O) Ports
Port F
Port F is a 4-bit special-function port that shares four of its pins with the
timer interface module (TIM).
15.8.1 Port F Data Register
The port F data register contains a data latch for each of the four port F
pins.
Address: $0009
Bit 7
6
5
4
3
2
1
Read: 0
0
0
0
PTF3 PTF2 PTF1
Write: R
R
R
R
Reset:
Unaffected by Reset
Alternate
Function:
TCH5 TCH4 TCH3
R = Reserved
Figure 15-16. Data Direction Register F (DDRF)
Bit 0
PTF0
TCH2
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.9.4 TIM Channel Status and
Control Registers.)
NOTE:
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 15-7.)
MC68HC08AS32 — Rev. 3.0
MOTOROLA
Input/Output (I/O) Ports
Advance Information
201