English
Language : 

HD64F2168 Datasheet, PDF (287/874 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
8.15.3 Port F Input Data Register (PFPIN)
PFPIN indicates the pin states of port F.
Bit Bit Name Initial Value R/W Description
7 to 3 

 Reserved. When this bit is read, an undefined value is
returned.
2
PF2PIN Undefined*
R When PFPIN is read, the pin states are returned.
1
PF1PIN Undefined*
R This register is assigned to the same address as that
0
PF0PIN Undefined*
R
of PFDDR. When this register is written to, data is
written to PFDDR and the port F setting is then
changed.
Note: The initial value of these pins is determined in accordance with the state of pins PF2 to
PF0.
8.15.4 Pin Functions
Port F is a 3-bit input/output port that functions as a PWM output. The relationship between the
register settings and pin functions is depicted below.
• PF2/ExPW2, PF1/ExPW1, PF0/ExPW0
The pin function is switched as shown below according to the combination of the OEn bit in
PWOERA of PWM, the PWMS bit in PTCNT0, and PFnDDR bit.
PFnDDR
PWMS
OEn
Pin Function
[Legend]
n = 2 to 0
0
0
1

0
PFn input pin
1
0
1

0
PFn output pin

1
1
PWn output pin
Rev. 3.00, 03/04, page 247 of 830