Operation Mode - NEC V850E/RS1 User Manual

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

Advertisement

11.4.3 Operation mode

Four operation modes are described below. The operation modes are set with bits MS and PLM of the
ADSCM0H register (refer to 11.3 "Control Registers" on page 371).
(1)
Select mode
In this mode, a single A/D conversion of one analog input specified with bits ANIS3 - ANIS00 of
the ADSCM0L register is performed.
The conversion result for that analog input is saved to the ADA0CRn register. A/D conversion
starts upon detection of a trigger, and the A/D conversion interrupt (INTAD) is output upon each
conversion completion.
Downloaded from
Elcodis.com
electronic components distributor
Figure 11-10: Example of Select Mode Operation (ANI2) (1/2)
ANI2 (Input)
Data 1
Data 1
A/D conversion
(ANI2)
ADA0CR2 register
INTAD interrupt
Conversion start
(ADSCM0H
register setting)
User's Manual U16702EE3V2UD00
Chapter 11 A/D Converter
(a) Timing Example
Data 4
Data 2
Data 3
Data 2
Data 3
Data 4
(ANI2)
(ANI2)
(ANI2)
Data 1
Data 2
Data 3
(ANI2)
(ANI2)
(ANI2)
CE bit
CE bit
CE bit
CE bit
set
set
set
Data 5
Data 6
Data 7
Data 5
Data 6
Data 7
(ANI2)
(ANI2)
(ANI2)
Data 4
Data 6
(ANI2)
(ANI2)
Conversion start
CE bit
(ADSCM0H
set
set
register setting)
383

Advertisement

Table of Contents
loading

Table of Contents