NEC V850E/RS1 User Manual page 385

32-/16-bit single-chip microcontroller with can interface
Table of Contents

Advertisement

(2)
Single scan mode
In this mode, sequential A/D conversion of the selected analog input channels specified with the
SANI3 - SANI0 and ANIS3 - ANIS0 bits of the ADSCM0L register is performed.
The conversion result for the selected analog inputs is saved to the ADA0CRn registers. A/D
conversion starts upon detection of a trigger, the selected analog inputs are operated in sequence,
and A/D conversion interrupt (INTAD) is output upon conversion completion of the final analog
input channel.
Figure 11-11: Example of Single Scan Mode Operation (4-Channel Scan (ANI2 to ANI5)) (1/2)
Downloaded from
Elcodis.com
electronic components distributor
ANI2 (Input)
Data 1
ANI3 (Input)
ANI4 (Input)
ANI5 (Input)
Data 1
A/D conversion
(ANI2)
ADCRn register
INTAD interrupt
Conversion start
(ADSCM0H register setting)
User's Manual U16702EE3V2UD00
Chapter 11 A/D Converter
(a) Timing Example
Data 2
Data 3
Data 4
Data 2
Data 3
Data 4
(ANI3)
(ANI4)
(ANI5)
Data 1
Data 2
Data 3
(ANI2)
(ANI3)
(ANI4)
ADA0CR2
ADA0CR3
ADA0CR4
Data 1
(ANI2)
Conversion start
(ADSCM0H register setting)
Data 5
Data 6
Data 5
Data 6
(ANI2)
(ANI3)
Data 4
Data 5
(ANI5)
(ANI2)
ADA0CR5
ADA0CR2
385

Advertisement

Table of Contents
loading

Table of Contents