•
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
1, 2
mode
EXPE
—
AxxE
—
PAnDDR
—
Pin function 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
4, 7
PA7 to PA0
1, 2
PA7 to PA5
PA4 to PA0
Legend:
Off:
MOS input pull-up is always off.
On/Off: On when PADDR = 0 and PAPCR = 1; otherwise off.
4
—
0
0
1
0
PA
PA
PA
input
output
input
Reset
Off
0
1
—
1
0
1
Address
PA
PA
output
input
output
Hardware
Software
Standby Mode
Standby Mode
Off
On/Off
On/Off
Off
Rev. 2.00, 05/03, page 347 of 820
7
1
0
0
1
0
PA
PA
PA
input
output
input
In Other
Operations
On/Off
On/Off
Off
1
1
Address
output