NEC 78014Y Series User Manual page 258

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) A/D conversion by software start
When bit 6 (TRG) and bit 7 (CS) of the A/D converter mode register (ADM) are set to 0 and 1, respectively,
A/D conversion starts on the voltage applied to the analog input pins specified with bits 1 to 3 (ADM1 to ADM3)
of ADM.
Upon termination of A/D conversion, the conversion result is stored in the A/D conversion result register (ADCR)
and the interrupt request signal (INTAD) is generated. After one A/D conversion operation is started and
terminated, the next A/D conversion operation starts immediately. The A/D conversion operation continues
repeatedly until new data is written to ADM.
If data with CS set to 1 is written to ADM again during A/D conversion, the converter suspends its A/D conversion
operation and starts A/D conversion on the newly written data.
If data with CS set to 0 is written to ADM during A/D conversion, the A/D conversion operation stops immediately.
A/D Conversion
www.DataSheet4U.com
ADCR
INTAD
Remark
n
m = 0, 1, ..., 7
258
CHAPTER 14 A/D CONVERTER
Figure 14-7. A/D Conversion by Software Start
Conversion Start
CS = 1, TRG = 0
ANIn
= 0, 1, ..., 7
ADM Rewrite
CS = 1, TRG = 0
ANIn
ANIn
ANIm
Conversion suspended
Conversion results are
not stored
ANIn
ANIn
ADM Rewrite
CS = 0, TRG = 0
ANIm
Stop
ANIm

Advertisement

Table of Contents
loading

Table of Contents