NEC UPD703116 User Manual page 659

32-bit single-chip microcontrollers
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents