
Section 7 I/O Ports
Rev. 1.00 Mar. 02, 2006 Page 186 of 798
REJ09B0255-0100
PG2/SDA2/ExIRQ10
The pin function is switched as shown below according to the combination of the ICE bit in
ICCR of IIC_2 and the PG2DDR bit. When the ISS10 bit in ISSR16 is set to 1 and the
IRQ10E bit in IER16 of the interrupt controller is set to 1, this pin can be used as the
ExIRQ10
input pin.
ICE
0
1
PG3DDR
0
1
PG2 input pin
PG2 output pin
SDA2 I/O pin
Pin Function
ExIRQ10 input pin
Note:
The output format for SDA2 is NMOS output only, and direct bus drive is possible. When
this pin is used as the PG2 output pin, the output format is NMOS push-pull.
PG1/ExIRQ9/TMIY
The pin function is switched as shown below according to the state of the PG1DDR bit. The
TMIY pin can be used as the TMRIY or TMCIY input pin. When the CCLR1 and CCLR0 bits
in TCR of TMR_Y are set to 1, this pin is used as the TMIY (TMRIY) input pin. When the
external clock is selected by the CKS2 to CKS0 bits in TCR of TMR_Y, this pin is used as the
TMIY (TMCIY) input pin. When the ISS9 bit in ISSR16 is set to 1 and the IRQ9E bit in
IER16 of the interrupt controller is set to 1, this pin can be used as the
ExIRQ9 input pin.
PG1DDR
0
1
PG1 input pin
PG1 output pin
Pin Function
TMIY input pin/
ExIRQ9 input pin
PG0/ExIRQ8/TMIX
The pin function is switched as shown below according to the state of the PG0DDR bit. The
TMIX pin can be used as the TMRIX or TMCIX input pin. When the CCLR1 and CCLR0 bits
in TCR of TMR_X are set to 1, this pin is used as the TMIY (TMRIX) input pin. When the
external clock is selected by the CKS2 to CKS0 bits in TCR of TMR_X, this pin is used as the
TMIX (TMCIX) input pin. When the ISS8 bit in ISSR16 is set to 1 and the IRQ8E bit in
IER16 of the interrupt controller is set to 1, this pin can be used as the
ExIRQ8 input pin.
PG0DDR
0
1
PG0 input pin
PG0 output pin
Pin Function
TMIX input pin/
ExIRQ8 input pin