Datasheet

Section 10 I/O Ports
Rev.7.00 Mar. 18, 2009 page 493 of 1136
REJ09B0109-0700
P52/SCK2/IRQ2
The pin function is switched as shown below according to the combination of bit C/A in SMR
of SCI_2, bits CKE0 and CKE1 in SCR, bit ITS2 in ITSR, and bit P52DDR.
CKE1 0 1
C/A 0 1
CKE0 0 1
P52DDR 0 1
Pin function P52
input
P52
output
SCK2 output SCK2 output SCK2
input
IRQ2 interrupt input
*
Note: * IRQ2 input when ITS2 = 0.
P51/RxD2/IRQ1
The pin function is switched as shown below according to the combination of bit RE in SCR of
SCI_2, bit ITS1 in ITSR, and bit P51DDR.
RE 0 1
P51DDR 0 1
Pin function P51 input P51 output RxD2 input
IRQ1 interrupt input
*
Note: * IRQ1 input when ITS1 = 0.
P50/TxD2/IRQ0
The pin function is switched as shown below according to the combination of bit TE in SCR of
SCI_2, bit ITS0 in ITSR, and bit P50DDR.
TE 0 1
P50DDR 0 1
Pin function P50 input P50 output TxD2 input
IRQ0 interrupt input
*
Note: * IRQ0 input when ITS0 = 0.