9.8
Port F
Port F is an 8-bit I/O port that also has other functions. Port F has the following registers. For
details on register addresses and register states during each processing, refer to appendix A, On-
Chip I/O Register.
• Port F data direction register (PFDDR)
• Port F data register (PFDR)
• Port F register (PORTF)
9.8.1
Port F Data Direction Register (PFDDR)
PFDDR is an 8-bit write-only register, the individual bits of which specify whether the pins of port
F are used for input or output.
PFDDR cannot be read; if it is, an undefined value will be read.
Bit
Bit Name
7
PF7DDR
6
PF6DDR
5
PF5DDR
4
PF4DDR
3
PF3DDR
2
PF2DDR
1
PF1DDR
0
PF0DDR
Initial Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
Description
When a pin is specified as a general purpose I/O
port, setting this bit to 1 makes the PF7 pin a φ
output pin. Clearing this bit to 0 makes the pin an
input pin.
When a pin is specified as a general purpose I/O
port, setting this bit to 1 makes the corresponding
port F pin an output pin. Clearing this bit to 0 makes
the pin an input pin.
Rev. 6.00 Mar 15, 2006 page 155 of 570
Section 9 I/O Ports
REJ09B0211-0600