NEC PD703114 User Manual page 532

V850e/ia2 32-bit single-chip microcontrollers
Table of Contents

Advertisement

(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
ANI00 (input)
ANI01 (input)
ANI02 (input)
ANI03 (input)
A/D conversion
ADCR0n register
INTAD0 interrupt
(ADSCM00 register setting)
Analog input
ANI00
ANI01
ANI02
ANI03
ANI04
ANI05
532
CHAPTER 11 A/D CONVERTER
(4-Channel Scan (ANI00 to ANI03))
Data 1
Data 2
Data 1
Data 2
(ANI00)
(ANI01)
Data 1
(ANI00)
ADCR00
Data 1
(ANI00)
Conversion start
A/D converter 0
User's Manual U15195EJ5V0UD
Data 5
Data 3
Data 4
Data 3
Data 4
Data 5
(ANI02)
(ANI03)
(ANI00)
Data 2
Data 3
Data 4
(ANI01)
(ANI02)
(ANI03)
ADCR01
ADCR02
ADCR03
Conversion start
(ADSCM00 register setting)
ADCR0m register
ADCR00
ADCR01
ADCR02
ADCR03
ADCR04
ADCR05
Data 6
Data 6
(ANI01)
Data 5
(ANI00)
ADCR00

Advertisement

Table of Contents
loading

Table of Contents