![NEC V850/SC1 User Manual Download Page 467](http://html.mh-extra.com/html/nec/v850-sc1/v850-sc1_user-manual_248178467.webp)
CHAPTER 12 A/D CONVERTER
User’s Manual U15109EJ3V0UD
465
(1) A/D conversion by hardware start
A/D conversion is on standby if bit 6 (TRG) and bit 7 (ADCS) of A/D converter mode register 1 (ADM1) are set to
1. When an external trigger signal is input, the A/D converter starts converting the voltage applied to the 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, conversion is not started again unless a new external trigger signal is input.
If data with ADCS set to 1 is written to ADM during A/D conversion, the conversion under execution is stopped,
and the A/D converter stands by until a new external trigger signal is input. If the external trigger signal is input,
A/D conversion is executed again from the beginning.
If data with ADCS set to 0 is written to ADM1 during A/D conversion, the conversion is immediately stopped.
Figure 12-4. A/D Conversion by Hardware Start (with Falling Edge Specified)
Rewriting ADS
ADCS = 1, TRG = 1
Rewriting ADS
ADCS = 1, TRG = 1
A/D conversion
ADCR
INTAD
ANIn
Standby
status
Standby
status
Standby
status
ANIn
ANIn
ANIm
ANIm
ANIm
ANIn
ANIn
ANIn
ANIm
ANIm
External trigger
input signal
Remarks 1.
n = 0, 1, ..., 11
2.
m = 0, 1, ..., 11