Datasheet

Section 7 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 181 of 910
REJ09B0350-0300
(3) PG5/ExSCLA/ExIRQ13
The pin function is switched as shown below according to the combination of the register setting
of PTCNT1 and the PG5DDR bit. When the ISS13 bit in ISSR16 is set to 1 and the IRQ13E bit in
IER16 of the interrupt controller is set to 1, this pin can be used as the ExIRQ13 input pin.
Setting
PTCNT1 I/O Port
Module
Name
Pin Function
ExSCLA_OE PG5DDR
PTCNT1 ExSCLA
input/output
1
I/O port PG5 output 0 1
PG5 input
(initial setting)
0 0
Note: The output format for ExSCLA is NMOS output only, and direct bus drive is possible. When
this pin is used as the PG5 output pin, the output format is NMOS push-pull.
(4) PG4/ExSDAA/ExIRQ12
The pin function is switched as shown below according to the combination of the register setting
of PTCNT1 and the PG4DDR bit. When the ISS12 bit in ISSR16 is set to 1 and the IRQ12E bit in
IER16 of the interrupt controller is set to 1, this pin can be used as the ExIRQ12 input pin.
Setting
PTCNT1 I/O Port
Module
Name
Pin Function
ExSDAA_OE PG4DDR
PTCNT1 ExSDAA
input/output
1
I/O port PG4 output 0 1
PG4 input
(initial setting)
0 0
Note: The output format for ExSDAA is NMOS output only, and direct bus drive is possible. When
this pin is used as the PG4 output pin, the output format is NMOS push-pull.