Datasheet

Section 7 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 180 of 910
REJ09B0350-0300
7.2.16 Port G
(1) PG7/ExSCLB/ExIRQ15
The pin function is switched as shown below according to the combination of the register setting
of PTCNT1 and the PG7DDR bit. When the ISS15 bit in ISSR16 is set to 1 and the IRQ15E bit in
IER16 of the interrupt controller is set to 1, this pin can be used as the ExIRQ15 input pin.
Setting
PTCNT1 I/O Port
Module
Name
Pin Function
ExSCLB_OE PG7DDR
PTCNT1 ExSCLB
input/output
1
I/O port PG7 output 0 1
PG7 input
(initial setting)
0 0
Note: The output format for ExSCLB is NMOS output only, and direct bus drive is possible. When
this pin is used as the PG7 output pin, the output format is NMOS push-pull.
(2) PG6/ExSDAB/ExIRQ14
The pin function is switched as shown below according to the combination of the register setting
of PTCNT1 and the PG6DDR bit. When the ISS14 bit in ISSR16 is set to 1 and the IRQ14E bit in
IER16 of the interrupt controller is set to 1, this pin can be used as the ExIRQ14 input pin.
Setting
PTCNT1 I/O Port
Module
Name
Pin Function
ExSDAB_OE PG6DDR
PTCNT1 ExSDAB
input/output
1
I/O port PG6 output 0 1
PG6 input
(initial setting)
0 0
Note: The output format for ExSDAB is NMOS output only, and direct bus drive is possible. When
this pin is used as the PG6 output pin, the output format is NMOS push-pull.