Datasheet
Section 8 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 151 of 710
REJ09B0384-0300
8.7.2 Pin Functions
Each pin of port 7 can also be used as the interrupt input pins (ExIRQ0 to ExIRQ7) and analog
input pins of the A/D converter (AN0 to AN7). By setting the ISS bit of the ISSR to 1, the pins
can also be used as the interrupt input pin (ExIRQ0 to ExIRQ7).
When the interrupt input pin is set, do not use the pins for the A/D converter.
• P77/ExIRQ7/AN7
The pin function is switched as shown below according to the combination of the CH2 to CH0
bits in ADCSR of the A/D converter and the ISS7 bit in ISSR of the interrupt controller. Do
not set these bits to other values than those shown in the following table.
CH2 to CH0 B'111 Other than B'111
ISS7 0 0 1
Pin function AN7 input pin P77 input pin ExIRQ7 input pin
• P76/ExIRQ6/AN6
The pin function is switched as shown below according to the combination of the CH2 to CH0
bits in ADCSR of the A/D converter, the SCANE bit in ADCR, and the ISS6 bit in ISSR of the
interrupt controller. Do not set these bits to other values than those shown in the following
table.
SCANE 0 1
CH2 to CH0 B'110 Other than B'110 B'110 to
B'111
B'000 to B'101
ISS6 0 0 1 0 0 1
Pin function AN6
input pin
P76
input pin
ExIRQ6
input pin
AN6
input pin
P76
input pin
ExIRQ6
input pin
[Legend]
x: Don't care