RX610 Group
23. A/D Converter
R01UH0032EJ0120 Rev.1.20
Page 790 of 1006
Feb 20, 2013
23.3.2
Scan Mode
In scan mode, A/D conversion is to be performed sequentially on the analog inputs of the specified channels up to four.
Two types of scan mode are provided, that is, continuous scan mode where A/D conversion is repeatedly performed and
single scan mode where A/D conversion is performed for the specified channels for one cycle.
23.3.2.1
Continuous Scan Mode
In continuous scan mode, A/D conversion is to be performed sequentially on the analog inputs of the specified channels
as below.
1. When the ADST bit in ADCSR is set to 1 (A/D conversion start) by software, TPU, TMR, or an external trigger
input, A/D conversion starts on the first channel in the specified channel group.
2. When A/D conversion for each channel is completed, the A/D conversion result is stored into the corresponding
A/D data registers (ADDRy).
3. When A/D conversion of all selected channels is completed, if the ADIE bit in ADCSR is set to 1 (A/D interrupt
enable by completing A/D conversion), an ADI interrupt request is generated. A/D converter starts A/D conversion
from the first channel.
4. The ADST bit is not cleared automatically, and steps 2 to 3 are repeated as long as the ADST bit remains set to 1
(A/D conversion start). When the ADST bit is cleared to 0 (A/D conversion stop), A/D conversion stops and the
A/D converter enters a wait state.
5. If the ADST bit is later set to 1 (A/D conversion start), A/D conversion starts again from the first channel in the
group.
Figure 23.6 shows an example of A/D conversion when three channels (AN0 to AN2) are selected for analog input.
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...