Datasheet
Section 9 I/O Ports
Rev.6.00 Sep. 27, 2007 Page 387 of 1268
REJ09B0220-0600
Pin Selection Method and Pin Functions
P5
1
/RxD
2
/IRQ
5
The pin function is switched as shown below according to the combination of
bit RE in the SCI2 SCR, and bits IRQPAS and P51DDR.
RE 0 1
P51DDR 0 1 —
Pin function P5
1
input pin P5
1
output pin RxD
2
input pin
IRQ
5
interrupt input pin
*
Note: * IRQ
5
input when IRQPAS = 1.
P5
0
/TxD
2
/IRQ
4
The pin function is switched as shown below according to the combination of
bit TE in the SCI2 SCR, and bits IRQPAS and P50DDR.
TE 0 1
P50DDR 0 1 —
Pin function P5
0
input pin P5
0
output pin TxD
2
output pin
IRQ
4
interrupt input pin
*
Note: * IRQ
4
input when IRQPAS = 1.