CHAPTER 11 A/D CONVERTER
User’s Manual U13850EJ4V0UM
355
(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 the 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-8. 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
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...