Datasheet
Section 9 I/O Ports
Rev.6.00 Mar. 18, 2009 Page 371 of 980
REJ09B0050-0600
• PA6/A22/IRQ6, PA5/A21/IRQ5
The pin function is switched as shown below according to the operating mode, bit EXPE, bits
A22E and A21E, bits IS6 and ITS5 in ITSR, and bit PAnDDR.
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
PAn
input
PAn
output
PAn
input
Address
output
PAn
input
PAn
output
PAn
input
PAn
output
PAn
input
Address
output
Pin function
IRQn interrupt input
*
n = 6 or 5 xx = 22 or 21
Note: * IRQn input when ITSn = 0.
• PA4/A20/IRQ4
The pin function is switched as shown below according to the operating mode, bit EXPE, bit
A20E and bit PA4DDR.
Operating
mode
1, 2 4 7
EXPE — — 0 1
A20E — 0 1 — 0 1
PA4DDR — 0 1 0 1 0 1 0 1 0 1
Address
output
PA4
input
PA4
output
PA4
input
Address
output
PA4
input
PA4
output
PA4
input
PA4
output
PA4
input
Address
output
Pin function
IRQ4 interrupt input
*
Note: * IRQ4 input when ITS4 = 0.