Datasheet
Section 10 I/O Ports 
Rev. 6.00 Mar. 18, 2010 Page 350 of 982 
REJ09B0054-0600 
10.11 Port F 
Port F is an 8-bit I/O port and has the following registers. 
•  Port F data direction register (PFDDR) 
•  Port F data register (PFDR) 
•  Port F register (PORTF) 
10.11.1  Port F Data Direction Register (PFDDR) 
PFDDR specifies input or output of the port F pins using the individual bits. PFDDR cannot be 
read; if it is, an undefined value will be read. This register is a write-only register, and cannot be 
written by bit manipulation instruction. For details, see section 2.9.4, Access Methods for 
Registers with Write-Only Bits. 
Bit  Bit Name  Initial Value  R/W  Description 
7 PF7DDR 0/1
*
 W 
6 PF6DDR 0  W 
5 PF5DDR 0  W 
4 PF4DDR 0  W 
3 PF3DDR 0  W 
2 PF2DDR 0  W 
1 PF1DDR 0  W 
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 port. Clearing this bit to 0 makes the pin 
an input port. 
0 PF0DDR 0  W  
Note:  *  In modes 4 to 6, initial value is 1. In mode 7, initial value is 0. 










