8.16.7
Pin Functions
• PG7/ExIRQ15/ExSCLB
The pin function is switched as shown below according to the combination of the SCL1BS
and SCL0BS bits in PTCNT1, ICE bit in ICCR of IIC_1 and IIC_0, 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.
SCL1BS
SCL0BS
ICE_1
ICE_0
PG7DDR
0
Pin function
PG7
input pin
Note: SCL1BS and SCL0BS, SCL1BS and SCL1AS, and SCL0BS and SCL0AS should not be set
to 1 at the same time. The output format for ExSCLB is NMOS open-drain output, and direct
bus drive is possible.
0
0
0
1
0
PG7
PG7
output pin
input pin
output pin
1
1
1
PG7
ExSCLB
(SCL1)
input/output
pin
ExIRQ15 input pin
Rev. 3.00 Jul. 14, 2005 Page 237 of 986
Section 8 I/O Ports
0
1
0
0
1
PG7
PG7
input pin
output pin
input/output
REJ09B0098-0300
1
ExSCLB
(SCL0)
pin