Operation In A/D Trigger Mode; Operation In Select Mode; Figure 14-9: Example Of Select Mode (A/D Trigger Select) Operation (Ani2) - NEC V850E/CA1 ATOMIC Preliminary User's Manual

32-/16-bit single-chip microcontroller
Table of Contents

Advertisement

14.6 Operation in A/D Trigger Mode

Setting the CE bit of the ADSCM0 register to 1 starts A/D conversion immediately.

14.6.1 Operation in select mode

One analog input specified in the ADSCM0 register is A/D converted at a time and the result is stored in
an ADCRm register. Analog inputs correspond one-to-one with ADCRm register (m = 0 to 11).
An A/D conversion termination interrupt (INTAD) is generated for each A/D conversion termination
(CS bit = 0).
To restart A/D conversion, set the CE bit of the ADSCM0 register.
This is optimal for an application that reads a result for each A/D conversion.
Remark: m = 0 to 11

Figure 14-9: Example of Select Mode (A/D Trigger Select) Operation (ANI2)

ADSCM0
(1) CE bit of ADSCM0 = 1 (Enabled)
(2) A/D conversion of ANI2
(3) Store conversion result in ADCR2
(4) Generate INTAD interrupt
504
Chapter 14 A/D Converter
Analog input
A/D conversion result register
ANIm
ANI0
ANI1
ANI2
ANI3
ANI4
ANI5
:
ANI11
Preliminary User's Manual U14913EE1V0UM00
ADCRm
A/D converter
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
:
ADCR11

Advertisement

Table of Contents
loading

Table of Contents