Datasheet
Section 9 I/O Ports
Rev.6.00 Mar. 18, 2009 Page 372 of 980
REJ09B0050-0600
• PA3/A19, PA2/A18, PA1/A17, PA0/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
9.8.9 Port A MOS Input Pull-Up States
Port A has a built-in MOS input pull-up function that can be controlled by software. This MOS
input pull-up function can be used by pins PA7 to PA5 in modes 1 and 2 and by all pins in modes
4 and 7. MOS input pull-up can be specified as on or off on a bit-by-bit basis.
Table 9.2 summarizes the MOS input pull-up states.
Table 9.2 MOS Input Pull-Up 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: MOS input pull-up is always off.
On/Off: On when PADDR = 0 and PAPCR = 1; otherwise off.