Operation Modes And Trigger Modes - NEC V850E/CA1 ATOMIC Preliminary User's Manual

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

Advertisement

14.5.2 Operation modes and trigger modes

Several conversion operations can be specified for A/D converter by specifying operation modes and
trigger modes. Operation modes and trigger modes are set using the ADSCM0 register.
The relationship between operation modes and trigger modes is shown below.
Trigger Mode
AD trigger
AD trigger polling
Timer trigger
(1)
Trigger modes
The following trigger modes that serve as the start timing of A/D conversion processing are availa-
ble: A/D trigger mode, A/D trigger polling mode and timer trigger mode.
These trigger modes are set using the ADSCM0 register.
(a) A/D trigger mode
In this mode, the A/D conversion is started by setting the CE bit of the register ADSCM0. This starts
the conversion timing for the analog input(s) ANIm.
To restart the AD conversion after the INTAD interrupt (conversion finished; CS = 0), the CE bit has
to be set again to engage the next conversion.
(b) A/D trigger polling mode
In this mode, the A/D conversion is started by setting the CE bit of the register ADSCM0. This starts
the conversion timing for the analog input(s) ANIm.
A restart the AD conversion after the INTAD interrupt (conversion finished; CS = 1), is not neces-
sary.
The specified analog input is converted serially until the CE bit is set to 0. An INTAD interrupt
occurs each time, when a conversion terminates.
(c) Timer trigger mode
In this mode, the A/D conversion is started by a trigger signal derived from the INTPE10/
TINTCCE10 interrupt.
Remark: m = 0 to 11
Chapter 14 A/D Converter
Operation Mode
Select
Scan
Select
Scan
Select
Scan
Preliminary User's Manual U14913EE1V0UM00
Setting of ADSCM0
×××10000××××××××B
×××00000××××××××B
×××11000××××××××B
×××01000××××××××B
×××10001××××××××B
×××00001××××××××B
501

Advertisement

Table of Contents
loading

Table of Contents