CHAPTER 11 A/D CONVERTER
User’s Manual U12688EJ4V0UM00
333
11.6.1 Select mode operations
One analog input (ANI0 to ANI3) 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 provided according to the storing method of the A/D conversion results (n = 0 to 3).
(1) 1-buffer mode operations (Timer trigger select: 1-buffer)
One analog input is A/D converted once and the conversion results are stored in one ADCRn register.
There are two modes in 1-buffer modes, the 1-trigger mode and 4-trigger mode, according to the number of
triggers.
(a) 1-trigger mode (Timer trigger select: 1-buffer, 1-trigger)
One analog input is A/D converted once using the trigger of the match interrupt signal (INTCC110) and
the results are stored in one ADCRn register.
An INTAD interrupt is generated for each A/D conversion and A/D conversion terminates.
Trigger
Analog Input
A/D Conversion Result Register
INTCC110 interrupt
ANIn
ADCRn
(n = 0 to 3)
When the TM11 is set to the 1-shot mode, A/D conversion ends after one conversion. To restart A/D
conversion, input the valid edge to the TCLR11 pin or write 1 to the CE11 bit of the TMC11 register.
When set to the loop mode, unless the CE bit of the ADM0 register is set to 0, A/D conversion is repeated
each time the match interrupt is generated.
Figure 11-9. Example of 1-Trigger Mode (Timer Trigger Select 1-Buffer 1-Trigger) Operation
ANI0
ANI1
ANI2
ANI3
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
ADCR6
ADCR7
A/D converter
INTCC110
(1)
CE bit of ADM0 is set to 1 (enable)
(2)
CC110 compare generation
(3)
ANI1 A/D conversion
(4)
Conversion result is stored in ADCR1
(5)
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 ...