Datasheet

Section 10 I/O Ports
Rev.7.00 Mar. 18, 2009 page 512 of 1136
REJ09B0109-0700
PA3/A19, PA2/A18, PA1/A17, PA20/A16
The pin function is switched as shown below according to the operating mode, bit EXPE, bits
A19E to A16E, and bit PADDR.
Operating
mode
1, 2 4 7
EXPE 0 1
AxxE 0 1 0 1
PAnDDR 0 1 0 1 0 1 0 1 0 1
Pin
function
Address
output
PAn
input
PAn
output
PAn
input
Address
output
PAn
input
PAn
output
PAn
input
PAn
output
PAn
input
Address
output
xx = 19 to 16, n = 3 to 0
10.9.8 Port A Input Pull-Up MOS States
Port A has a built-in input pull-up MOS function that can be controlled by software. This input
pull-up MOS function can be used by pins PA7 to PA5 in modes 1, 2, 5, and 6, and by all pins in
modes 4, and 7. input pull-up MOS can be specified as on or off on a bit-by-bit basis.
Table 10.2 summarizes the Input Pull-Up MOS states.
Table 10.2 Input Pull-Up MOS States (Port A)
Mode
Reset
Hardware
Standby Mode
Software
Standby Mode
In Other
Operations
4, 7 PA7 to PA0 Off Off On/Off On/Off
1, 2 PA7 to PA5 On/Off On/Off
PA4 to PA0 Off Off
Legend:
Off: Input pull-up MOS is always off.
On/Off: On when PADDR = 0 and PAPCR = 1; otherwise off.