Datasheet

Section 7 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 182 of 910
REJ09B0350-0300
(5) PG3/SCL2/ExIRQ11
The pin function is switched as shown below according to the combination of the register setting
of the IIC and the PG3DDR bit. When the ISS11 bit in ISSR16 is set to 1 and the IRQ11E bit in
IER16 of the interrupt controller is set to 1, this pin can be used as the ExIRQ11 input pin.
Setting
IIC I/O Port
Module
Name
Pin Function
SCL2_OE PG3DDR
IIC SCL2 input/output 1
I/O port PG3 output 0 1
PG3 input
(initial setting)
0 0
Note: The output format for SCL2 is NMOS output only, and direct bus drive is possible. When
this pin is used as the PG3 output pin, the output format is NMOS push-pull.
(6) PG2/SDA2/ExIRQ10
The pin function is switched as shown below according to the combination of the register setting
of the IIC 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.
Setting
IIC I/O Port
Module
Name
Pin Function
SDA2_OE PG2DDR
IIC SDA2 input/output 1
I/O port PG2 output 0 1
PG2 input
(initial setting)
0 0
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.