CHAPTER 11 A/D CONVERTER
532
User’s Manual U15195EJ5V0UD
(b) Scan mode
In scan mode, pins from the A/D conversion start analog input pin to the A/D conversion termination
analog input pin specified by the ADSCM00 or ADSCM10 register are sequentially selected and A/D
converted. The A/D conversion result is stored in the ADCR0m or ADCR1n register corresponding to the
analog input (m = 0 to 5, n = 0 to 7). When the specified analog input conversion ends, the A/D
conversion end interrupt (INTAD0 or INTAD1) is generated.
Figure 11-5. Example of Scan Mode Operation Timing: For A/D Converter 0
(4-Channel Scan (ANI00 to ANI03))
ANI00 (input)
ANI01 (input)
ANI02 (input)
ANI03 (input)
A/D conversion
Data 1
(ANI00)
Data 2
(ANI01)
Data 3
(ANI02)
Data 4
(ANI03)
Data 5
(ANI00)
Data 6
(ANI01)
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 1
(ANI00)
ADCR00
Data 2
(ANI01)
ADCR01
Data 3
(ANI02)
ADCR02
Data 4
(ANI03)
ADCR03
Data 5
(ANI00)
ADCR00
ADCR0n register
INTAD0 interrupt
Conversion start
(ADSCM00 register setting)
Conversion start
(ADSCM00 register setting)
Data 1
(ANI00)
ANI00
ANI01
ANI02
ANI03
ANI04
ANI05
ADCR00
ADCR01
ADCR02
ADCR03
ADCR04
ADCR05
A/D converter 0
ADCR0m register
Analog input