Datasheet

550
ADDRB
ADDRA
Channel 3
Channel 2
Channel 1
Channel 0
ADST
ADF
ADDRC
ADDRD
Sampling
3
Sampling 6
A/D conversion 5
Sampling
1
A/D
conver-
sion 1
A/D
conver-
sion 3
Conver-
sion
standby
A/D
conver-
sion 2
Sampling
2
Sampling
4
Sampling
5
A/D
conver-
sion 4
Conversion
standby
Conversion standby
Set to 1 by software Cleared to 0 by software
Conversion standby
Conversion standby
Conversion
stopped
Conver-
sion
result 1
Conver-
sion
result 2
Conver-
sion
result 3
Conver-
sion
result 4
Figure 15.5 A/D Converter Operation Example (Select-Scan Mode)
15.4.3 Group-Single Mode
Choose group-single mode when doing A/D conversions for multiple channels.
When the ADST bit is set to 1, A/D conversion is started according to the designated conversion
start conditions. The ADST bit is held to 1 during A/D conversion and is automatically cleared to
0 when all conversions for the designated input channels are completed.
The ADF flag is set to 1 when all conversions for the designated input channels are completed. If
the ADIE bit is set to 1 at this time, an ADI interrupt request is generated. The ADF flag is cleared
by reading the ADCSR then writing a 0.
Figure 15.6 shows an example of operation in the group-single mode when AN0–AN2 are
selected.