English
Language : 

HD64F2145 Datasheet, PDF (206/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
• P23/A11/PW11, P22/A10/PW10, P21/A9/PW9, P20/A8/PW8
The pin function is switched as shown below according to the combination of the OEm bit in
PWOERB of PWM, the P2nDDR bit, and operating mode.
Operating
Mode
P2nDDR
OEm
Pin Function
Legend
n = 3 to 0
m = 11 to 8
Mode 1
Mode 2, 3 (EXPE = 1)
Mode 2, 3 (EXPE = 0)
—
—
A11 to A8
output
pins
0
—
P23 to
P20 input
pins
1
0
1
A11 to
A8 output
pins
PW11 to
PW8
output
pins
0
—
P23 to
P20 input
pins
1
0
1
P23 to
P20
output
pins
PW11 to
PW8
output
pins
8.3.5 Port 2 Input Pull-Up MOS
Port 2 has an on-chip input pull-up MOS function that can be controlled by software. This input
pull-up MOS function can be specified as on or off on a bit-by-bit basis.
Table 8.3 summarizes the input pull-up MOS states.
Table 8.3 Input Pull-Up MOS States (Port 2)
Mode
Reset
Hardware
Standby Mode
Software
Standby Mode
In Other
Operations
1
Off
Off
Off
Off
2, 3
On/Off
On/Off
Legend
Off: Input pull-up MOS is always off.
On/Off: On when the pin is in the input state, P2DDR = 0, and P2PCR = 1; otherwise off.
Rev. 2.0, 08/02, page 166 of 788