CHAPTER 11 A/D CONVERTER
User’s Manual U12688EJ4V0UM00
331
11.5.2 Scan mode operations
The analog inputs specified by the ADM0 register are selected sequentially from the ANI0 pin, and A/D conversion
is executed. The A/D conversion results are stored in the ADCRn register corresponding to the analog input (n = 0 to
7).
When the conversion of all the specified analog input ends, the INTAD interrupt is generated, and A/D conversion
terminates.
Analog Input
A/D Conversion Result Register
ANIn
ADCR0
|
|
ANIn
Note
ADCRn
(n = 0 to 7)
Note
Set in the ANIS0 to ANIS2 bits of the ADM0 register.
If 1 is written in the CE bit of the ADM0 register, A/D conversion can be restarted.
This is most appropriate for applications that are constantly monitoring multiple analog inputs.
Figure 11-8. Example of Scan Mode (A/D Trigger Scan) Operation
ANI0
ANI1
ANI2
ANI3
ANI4
ANI5
ANI6
ANI7
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
ADCR6
ADCR7
A/D converter
ADM0
(1)
CE bit of ADM0 is set to 1 (enable)
(8)
ANI3 A/D conversion
(2)
ANI0 A/D conversion
(9)
Conversion result is stored in ADCR3
(3)
Conversion result is stored in ADCR0
(10) ANI4 A/D conversion
(4)
ANI1 A/D conversion
(11) Conversion result is stored in ADCR4
(5)
Conversion result is stored in ADCR1
(12) ANI5 A/D conversion
(6)
ANI2 A/D conversion
(13) Conversion result is stored in ADCR5
(7)
Conversion result is stored in ADCR2
(14) INTAD interrupt generation
Содержание V850E/MS1 UPD703100
Страница 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Страница 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Страница 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Страница 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Страница 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Страница 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Страница 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Страница 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Страница 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...
Страница 422: ...User s Manual U12688EJ4V0UM00 422 MEMO ...