![NEC V850/SC1 User Manual Download Page 468](http://html.mh-extra.com/html/nec/v850-sc1/v850-sc1_user-manual_248178468.webp)
CHAPTER 12 A/D CONVERTER
466
User’s Manual U15109EJ3V0UD
(2) A/D conversion by software start
If bit 6 (TRG) and bit 7 (ADCS) of A/D converter mode register 1 (ADM1) are set to 1, the A/D converter starts
converting the voltage applied to an analog input pin specified by the analog input channel specification register
(ADS) into a digital signal.
When A/D conversion is complete, the result of the conversion is stored in the A/D conversion result register
(ADCR), and an interrupt request signal (INTAD) is generated. Once A/D conversion has been started and
completed, the next conversion is started immediately. A/D conversion is repeated until new data is written to
ADS.
If ADS is rewritten during A/D conversion, the conversion under execution is stopped, and conversion of the
newly selected analog input channel is started.
If data with ADCS set to 0 is written to ADM1 during A/D conversion, the conversion is immediately stopped.
Figure 12-5. A/D Conversion by Software Start
Rewriting ADS
ADCS = 1, TRG = 0
Rewriting ADS
ADCS = 1, TRG = 0
ADCS = 0
A/D conversion
ADCR
INTAD
ANIn
ANIn
ANIn
ANIm
ANIm
ANIn
ANIn
ANIm
Conversion stopped.
Conversion result
does not remain.
Stopped
Remarks 1.
n = 0, 1, ..., 11
2.
m = 0, 1, ..., 11