Trigger Mode - NEC V850ES/F 3-L Series User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

A/D Converter (ADC)
A/D converter
Sampling
operation
SAR
Undefined
ADAnCRm
INTAD
INTAD1
Figure 19-3

19.4.2 Trigger mode

(1)
Sampling time
A/D Converter basic operation
The timing of starting the conversion operation is specified by setting a trigger
mode. The trigger mode includes a software trigger mode and hardware trigger
modes. The hardware trigger modes include timer trigger modes 0 and 1, and
external trigger mode. The ADAnTMD bit of the ADAnM0 register is used to set
the trigger mode. In timer trigger mode set ADAnM2.ADAnTMD[1:0] = 01.
Software trigger mode
When the ADAnCE bit of the ADAnM0 register is set to 1, the signal of the
analog input pin ANInmm specified by the ADAnS register is converted. When
conversion is complete, the result is stored in the ADAnCRm register. At the
same time, the A/D conversion end interrupt request signal (INTAD) is
generated.
If the operation mode specified by the ADAnMD1 and ADAnMD0 bits of the
ADAnM0 register is the continuous select/scan mode, the next conversion is
started, unless the ADAnCE bit is cleared to 0 after completion of the first
conversion.
When conversion is started, the ADAnEF bit is set to 1 (indicating that
conversion is in progress).
If the ADAnM0, ADAnM2, ADAnS, ADAnPFM, or ADAnPFT register is written
during conversion, the conversion is aborted and started again from the
beginning.
User's Manual U18743EE1V2UM00
Conversion time
A/D conversion
Chapter 19
Conversion
resul t
Conversion
resul t
681

Advertisement

Table of Contents
loading

Table of Contents