RX610 Group
14. I/O Ports
R01UH0032EJ0120 Rev.1.20
Page 402 of 1006
Feb 20, 2013
14.3.3
Port 2 (P2)
(1) P20/PO0/(TIOCA3)/TIOCB3/(TMRI0)/TxD0
The pin function is switched as shown below according to the combination of the register settings for the TPU, SCI, and
PPG, and the B0 bit in P2.DDR.
Module Name
Pin Function
Setting
TPU
SCI
PPG
I/O Port
TIOCB3_OE
TxD0_OE
PO0_OE
P2.DDR.B0
TPU
TIOCB3 output
1
SCI
TxD0 output
0
1
PPG
PO0 output
0
0
1
I/O port
P20 output
0
0
0
1
P20 input (initial value)
0
0
0
0
(2) P21/PO1/TIOCA3/(TMCI0)/(RxD0)
The pin function is switched as shown below according to the combination of the register settings for the TPU and PPG,
and the B1 bit in P2.DDR.
Module Name
Pin Function
Setting
TPU
PPG
I/O Port
TIOCA3_OE
PO1_OE
P2.DDR.B1
TPU
TIOCA3 output
1
PPG
PO1 output
0
1
I/O port
P21 output
0
0
1
P21 input (initial value)
0
0
0
(3) P22/PO2/TIOCC3/TMO0/SCK0
The pin function is switched as shown below according to the combination of the register settings for the TPU, TMR ,
SCI, and PPG, and the B2 bit in P2.DDR.
Module Name
Pin Function
Setting
TPU
TMR
SCI
PPG
I/O Port
TIOCC3_OE TMO0_OE
SCK0_OE
PO2_OE
P2.DDR.B2
TPU
TIOCC3 output
1
TMR
TMO0 output
0
1
SCI
SCK0 output
0
0
1
PPG
PO2 output
0
0
0
1
I/O port
P22 output
0
0
0
0
1
P22 input (initial value)
0
0
0
0
0