Datasheet

Section 8 I/O Ports
Rev. 3.00 Mar 21, 2006 page 174 of 788
REJ09B0300-0300
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
Mode 1 Mode 2, 3 (EXPE = 1) Mode 2, 3 (EXPE = 0)
P1nDDR0101
OEn 0 1 0 1
Pin Function A7 to A0
output
pins
P17 to
P10 input
pins
A7 to A0
output
pins
PW7 to
PW0
output
pins
P17 to
P10 input
pins
P17 to
P10
output
pins
PW7 to
PW0
output
pins
Note: n = 7 to 0
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
1OffOff
2, 3
Off Off
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.