CHAPTER 13 A/D CONVERTER
662
User’s Manual U14492EJ3V0UD
(b) Scan mode
Scan mode sequentially selects and A/D converts pins from the A/D conversion start analog input pin
through the A/D conversion termination analog input pin specified in the ADSCM00 or ADSCM10
register. It stores the A/D conversion result in the ADCR0n or ADCR1n register corresponding to the
analog input (n = 0 to 7). When the specified analog input conversion terminates, there is an A/D
conversion termination interrupt (INTAD0 or INTAD1).
Figure 13-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)
ANI00
ANI01
ANI02
ANI03
ANI04
ANI05
ANI06
ANI07
ADCR00
ADCR01
ADCR02
ADCR03
ADCR04
ADCR05
ADCR06
ADCR07
A/D converter 0
ADCR0n register
Analog input
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...