English
Language : 

HD64F2145 Datasheet, PDF (202/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
8.2.4 Pin Functions
• P17/A7/PW7 to P10/A0/PW0
The pin function is switched as shown below according to the combination of the OEn bit in
PWOERA of PWM, the P1nDDR bit, and operating mode.
Operating
Mode
P1nDDR
OEn
Pin Function
Legend
n = 7 to 0
Mode 1
Mode 2, 3 (EXPE = 1)
Mode 2, 3 (EXPE = 0)
—
—
A7 to A0
output
pins
0
—
P17 to
P10 input
pins
1
0
1
A7 to A0
output
pins
PW7 to
PW0
output
pins
0
—
P17 to
P10 input
pins
1
0
1
P17 to
P10
output
pins
PW7 to
PW0
output
pins
8.2.5 Port 1 Input Pull-Up MOS
Port 1 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.2 summarizes the input pull-up MOS states.
Table 8.2 Input Pull-Up MOS States (Port 1)
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, P1DDR = 0, and P1PCR = 1; otherwise off.
Rev. 2.0, 08/02, page 162 of 788