A/D Converter Operation Mode - NEC 78K0 Series User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

13.4.3 A/D converter operation mode

The operation mode of the A/D converter is the select mode. One channel of analog input is selected from ANI0 to
ANI7 by the analog input channel specification register (ADS) and A/D conversion is executed.
(1) A/D conversion operation
By setting bit 7 (ADCS) of the A/D converter mode register (ADM) to 1, the A/D conversion operation of the
voltage, which is applied to the analog input pin specified by the analog input channel specification register
(ADS), is started.
When A/D conversion has been completed, the result of the A/D conversion is stored in the A/D conversion result
register (ADCR), and an interrupt request signal (INTAD) is generated. When one A/D conversion has been
completed, the next A/D conversion operation is immediately started.
If ADS is rewritten during A/D conversion, the A/D conversion operation under execution is stopped and restarted
from the beginning.
If 0 is written to ADCS during A/D conversion, A/D conversion is immediately stopped.
conversion result immediately before is retained.
Rewriting ADM
ADCS = 1
A/D conversion
ADCR,
ADCRH
INTAD
Remarks 1. n = 0 to 7
2. m = 0 to 7
318
CHAPTER 13 A/D CONVERTER
Figure 13-13. A/D Conversion Operation
Rewriting ADS
ANIn
ANIn
Conversion is stopped
Conversion result immediately
before is retained
ANIn
Preliminary User's Manual U17260EJ3V1UD
ANIn
ANIm
ANIm
ANIn
At this time, the
ADCS = 0
Stopped
Conversion result
immediately before
is retained
ANIm

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents