11.4.2 Trigger mode
Several conversion operations can be specified for A/D converter by specifying operation modes and
trigger modes. Those modes are set using bits PLM, TRG0 and TRG1 of A/D conversion mode
register 0 (ADSCM0H).
There are two trigger modes, the software trigger mode and the external trigger mode.
The relationship between operation modes, software and external trigger modes is shown below.
Software Trigger Mode
Other than above
Table 11-3: External Trigger Mode (ADSCM0H and SELCNT1 Registers Configuration)
External Trigger Mode
Other than above
Note: ADSCM0H.MS bit selects either the scan mode (MS= 0) or the select mode (MS=1) for each
Downloaded from
Elcodis.com
electronic components distributor
Table 11-2: Software Trigger Mode (ADSCM0H Register Configuration)
PLM bit
0
A/D Trigger
0
1
Polling
1
PLM bit
A/D Trigger
0
operation mode.
User's Manual U16702EE3V2UD00
Chapter 11 A/D Converter
MS bit
TRG0 bit
1
0
0
1
0
Setting prohibited
TRG1 bit
TRG0 bit
SELCTL11
0
1
0
0
1
1
1
Setting prohibited
TRG1 bit
Operation Mode
Single select
Single scan
0
Continuous select
Continuous scan
SELTL10
Operation Mode
ADTRG trigger input
0
pin
INTTP2CC0 trigger
1
input
ADTRG trigger input
pin
0
INTTP2CC1 trigger
input
381