Datasheet

Section 9 I/O Ports
Rev. 1.50 Sep. 18, 2007 Page 170 of 584
REJ09B0240-0150
9.10 Port F
Port F is a general input port also functioning as A/D converter analog input pins. Each pin of port
F is shown in figure 9.10.
PF6/AN6
PF7/AN7
PF5/AN5
PF4/AN4
PF2/AN2
PF1/AN1
PF0/AN0
Port F
PF3/AN3
Figure 9.10 Port F Pin Configuration
Port F has the following registers.
Port data register F (PDRF)
Port mode register F (PMRF)
9.10.1 Port Data Register F (PDRF)
PDRF is a general input port data register of port F.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
PF7
PF6
PF5
PF4
PF3
PF2
PF1
PF0
R
R
R
R
R
R
R
R
If PDRF is read, the pin states are read.
However, if a port F pin is specified as an analog input
channel by ADCSR in the A/D converter, the bit is read
as 0.