CHAPTER 11 A/D CONVERTER
User’s Manual U12688EJ4V0UM00
329
11.5 Operation in A/D Trigger Mode
When the CE bit of the ADM0 register is set to 1, A/D conversion starts.
11.5.1 Select mode operations
The analog input specified by the ADM0 register is A/D converted. The conversion results are stored in the
ADCRn register corresponding to the analog input. For the select mode, the 1-buffer mode and 4-buffer mode are
supported according to the storing method of the A/D conversion results (n = 0 to 7).
(1) 1-buffer mode (A/D trigger select: 1-buffer)
One analog input is A/D converted once. The conversion results are stored in one ADCRn register. The
analog input and ADCRn register correspond one to one.
Each time an A/D conversion is executed, an INTAD interrupt is generated and the AD conversion terminates.
Analog Input
A/D Conversion Results Register
ANIn
ADCRn
(n = 0 to 7)
If 1 is written to the CE bit of the ADM0 register, A/D conversion can be restarted. This is most appropriate for
applications in which the results of each first time A/D conversion are read.
Figure 11-6. Example of 1-Buffer Mode (A/D Trigger Select 1-Buffer) 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)
(2)
ANI2 A/D conversion
(3)
Conversion result is stored in ADCR2
(4)
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 ...