Datasheet
Rev.6.00 Oct.28.2004 page 267 of 1016
REJ09B0138-0600H
Port Description Pins Mode 4*
3
Mode 5*
3
Mode 6 Mode 7
Port A
• 8-bit I/O
port
• On-chip
MOS input
pull-up*
4
• Open-drain
output
capability*
4
PA
7
/A
23
/IRQ7
PA
6
/A
22
/IRQ6
PA
5
/A
21
/IRQ5
When DDR = 0 (after reset):
dual function as input ports
and interrupt input pins
(IRQ7 to IRQ5)
When DDR = 1: address
output
When DDR =
0 (after reset):
dual function
as input ports
and interrupt
input pins
(IRQ7 to
IRQ4)
Dual function
as I/O ports
and interrupt
input pins
(IRQ7 to
IRQ4)
• Schmitt-
triggered
input
(PA
4
to PA
7
)
PA
4
/A
20
/IRQ4 Address output When DDR =
1: address
output
PA
3
/A
19
to PA
0
/A
16
Address output When DDR =
0 (after reset):
input ports
When DDR =
1: address
output
I/O port
Port B
• 8-bit I/O
port
• On-chip
MOS input
pull-up*
4
PB
7
/A
15
to PB
0
/A
8
Address output When DDR =
0 (after reset):
input port
When DDR =
1: address
output
I/O port
Port C
• 8-bit I/O
port
• On-chip
MOS input
pull-up*
4
PC
7
/A
7
to PC
0
/A
0
Address output When DDR =
0 (after reset):
input port
When DDR =
1: address
output
I/O port
Port D
• 8-bit I/O
port
• On-chip
MOS input
pull-up*
4
PD
7
/D
15
to PD
0
/D
8
Data bus input/output I/O port
Port E
• 8-bit I/O
port
• On-chip
MOS input
pull-up*
4
PE
7
/D
7
to PE
0
/D
0
In 8-bit bus mode: I/O port
In 16-bit bus mode: data bus input/output
I/O port