Datasheet

Section 10 I/O Ports
Rev. 3.00 Mar 17, 2006 page 466 of 926
REJ09B0283-0300
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 01
CKE0 0 1
P52DDR 0 1
P52
input
P52
output
SCK2
output
SCK2
output
SCK2
input
Pin function
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
P51 input P51 output RxD2 inputPin function
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
P50 input P50 output TxD2 inputPin function
IRQ0 interrupt input
*
Note: * IRQ0 input when ITS0 = 0.