
551
ADDRB
ADDRA
Channel 3
Channel 2
Channel 1
Channel 0
ADST
ADF
ADDRC
ADDRD
Sampling
1
Sampling
2
Sampling
3
A/D
conversion
1
A/D
conversion
2
A/D
conversion
3
Conversion standby
Conversion standby
Conversion standby
Conversion standby
Conversion
standby
Conversion
standby
Conversion
standby
Automatic clear
Set to 1 by software
Conversion result 1
Conversion result 2
Conversion result 3
Figure 15.6 A/D Converter Operation Example (Group-Single Mode)
15.4.4
Group-Scan Mode
Choose group-scan mode when doing repeated A/D conversions for multiple channels. This is
useful when doing continuous monitoring of the analog inputs of 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 until 0 cleared by software. A/D conversion for the
selected input channels is repeated during that interval.
The ADF flag is set to 1 at the completion of the first conversions of all the designated input
channels. At this point, if the ADIE bit is set to 1, an ADI interrupt request is issued, and the A/D
converter is temporarily halted. With the A/D converter in stop mode due to an ADI interrupt
request, conversion is restarted when the ADF flag is cleared to 0. The ADF flag is cleared by
reading the ADCSR, then writing a 0.
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...