Datasheet

Section 8 I/O Ports
Rev. 2.00 Aug. 20, 2008 Page 312 of 1198
REJ09B0403-0200
(2) Pin Functions
Each pin of port 7 can also be used as the analog input pins of the A/D converter (AN0 to AN7).
P77/AN7
The pin function is switched as shown below according to the CH2 to CH0 bits in ADCSR of
the A/D converter. Do not set these bits to other values than those shown in the following
table.
CH2 to CH0 B'111 Other than B'111
Pin function AN7 input pin P77 input pin
P76/AN6
The pin function is switched as shown below according to the combination of the SCANE bit
in ADCR and the CH2 to CH0 bits in ADCSR of the A/D converter. 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
Pin function AN6 input pin P76 input pin AN6 input pin P76 input pin
P75/AN5
The pin function is switched as shown below according to the combination of the SCANE bit
in ADCR and the CH2 to CH0 bits in ADCSR of the A/D converter. Do not set these bits to
other values than those shown in the following table.
SCANE 0 1
CH2 to CH0 B'101 Other than B'101 B'101 to B'111 B'000 to B'100
Pin function AN5 input pin P75 input pin AN5 input pin P75 input pin