CHAPTER 11 A/D CONVERTER
User’s Manual U12688EJ4V0UM00
335
(2) 4-buffer mode operations (Timer trigger select: 4-buffer)
One analog input is A/D converted four times, and the results are stored in the ADCR0 to ADCR3 registers.
There are two 4-buffer modes, 1-trigger mode and 4-trigger mode, according to the number of triggers.
This mode is suitable for applications that calculate the average of the A/D conversion result.
(a) 1-trigger mode
One analog input is A/D converted four times using the match interrupt signal (INTCC110) as a trigger,
and the results are stored in the ADCR0 to ADCR3 registers.
An INTAD interrupt is generated when the four A/D conversions end and A/D conversion terminates.
Trigger
Analog Input
A/D Conversion Result Register
INTCC110 interrupt
ANIn
ADCR0
INTCC110 interrupt
ANIn
ADCR1
INTCC110 interrupt
ANIn
ADCR2
INTCC110 interrupt
ANIn
ADCR3
(n = 0 to 3)
When the TM11 is set to the 1-shot mode, and less than four match interrupts are generated, if the CE bit
is set to 0, the INTAD interrupt is not generated and the standby state is set.
Figure 11-11. Example of 1-Trigger Mode (Timer Trigger Select 4-Buffer 1-Trigger) Operation
ANI0
ANI1
ANI2
ANI3
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
ADCR6
ADCR7
A/D converter
INTCC110
(
×
4)
(
×
4)
(1)
CE bit of ADM0 is set to 1 (enable)
(8)
CC110 compare generation
(2)
CC110 compare generation
(9)
ANI2 A/D conversion
(3)
ANI2 A/D conversion
(10) Conversion result is stored in ADCR2
(4)
Conversion result is stored in ADCR0
(11) CC110 compare generation
(5)
CC110 compare generation
(12) ANI2 A/D conversion
(6)
ANI2 A/D conversion
(13) Conversion result is stored in ADCR3
(7)
Conversion result is stored in ADCR1
(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 ...