![NEC V850/SB1 Скачать руководство пользователя страница 442](http://html.mh-extra.com/html/nec/v850-sb1/v850-sb1_user-manual_249280442.webp)
CHAPTER 11 A/D CONVERTER
User’s Manual U13850EJ6V0UD
442
(2) A/D conversion by software start
If bit 6 (TRG) of A/D converter mode register 1 (ADM1) is set to 0 and bit 7 (ADCS) is set to 1, 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 has been completed, 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 11-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
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...