505
Chapter 14
A/D Converter
Preliminary User’s Manual U14913EE1V0UM00
14.6.2 Operation in scan mode
The pins from the first analog input pin through the last analog input pin, specified in the ADSCM0 reg-
ister, are sequentially selected and A/D converted. The A/D conversion result is stored in the ADCRm
register corresponding to the analog input (m = 0 to 11). When conversion stops through the last analog
input pin, an A/D conversion interrupt (INTAD) is generated, which terminates A/D conversion
(CS bit of ADSCM0 register = 0).
To restart A/D conversion, set the CE bit of the ADSCM0 register. This is optimal for an application that
regularly monitors multiple analog inputs.
Notes:
1. n = SANI [3:0] = 0 to 10
2. m = ANIS [3:0] = 1 to 11
Caution: Always set SANI[3:0] < ANIS[3:0]
Exception: When bits SANI[3:0] = ANIS[3:0] = 0, just the analog input ANI0 is
scanned.
Figure 14-10: Example of Scan Mode (A/D Trigger Scan) Operation (ANI2-ANI5)
Analog input
A/D conversion result register
ANIn
Note 1
ADCRn
:
:
ANIm
Note 2
ADCRm
ANI0
ANI1
ANI2
ANI3
ANI4
ANI5
:
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
:
ADCR11
A/D converter
ADSCM0
(1) CE bit of ADSCM0 = 1 (Enabled)
(2) A/D conversion of ANI2
(3) Store conversion result in ADCR2
(4) A/D conversion of ANI3
(5) Store conversion result in ADCR3
(8) A/D conversion of ANI5
(9) Store conversion result in ADCR5
(10) Generate INTAD interrupt
(6) A/D conversion of ANI4
(7) Store conversion result in ADCR4
ANI11
Summary of Contents for V850E/CA1 ATOMIC
Page 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...