CHAPTER 11 A/D CONVERTER
User’s Manual U12688EJ4V0UM00
334
(b) 4-trigger mode (Timer trigger select: 1-buffer, 4-trigger)
One analog input is A/D converted four times using four match interrupt signals (INTCC110 to INTCC113)
as triggers and the results are stored in one ADCRn register. The INTAD interrupt is generated with each
A/D conversion, and the CS bit of the ADM0 register is reset (0). The results of one A/D conversion are
held by the ADCRn register until the next A/D conversion ends. Perform transmission of the conversion
results to the memory and other operations using the INTAD interrupt after each A/D conversion ends.
Trigger
Analog Input
A/D Conversion Result Register
INTCC110 interrupt
ANIn
ADCRn
INTCC111 interrupt
ANIn
ADCRn
INTCC112 interrupt
ANIn
ADCRn
INTCC113 interrupt
ANIn
ADCRn
(n = 0 to 3)
When the TM11 is set to the 1-shot mode, A/D conversion ends after four conversions. To restart A/D
conversion, input the valid edge to the TCLR11 pin or write 1 to the CE11 bit of the TMC11 register to
restart the TM11. When the first match interrupt after TM11 is restarted is generated, the CS bit is set (1)
and A/D conversion is started.
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.
The match interrupts (INTCC110 to INTCC113) can be generated in any order. The same trigger, even
when it enters several times consecutively, is accepted as a trigger each time.
Figure 11-10. Example of 4-Trigger Mode (Timer Trigger Select 1-Buffer 4-Trigger) Operation
ANI0
ANI1
ANI2
ANI3
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
ADCR6
ADCR7
A/D converter
INTCC110
INTCC111
INTCC112
INTCC113
No particular
order
(
×
4)
(
×
4)
(1)
CE bit of ADM0 is set to 1 (enable)
(10) CC113 compare generation (random)
(2)
CC112 compare generation (random)
(11) ANI2 A/D conversion
(3)
ANI2 A/D conversion
(12) Conversion result is stored in ADCR2
(4)
Conversion result is stored in ADCR2
(13) INTAD interrupt generation
(5)
INTAD interrupt generation
(14) CC110 compare generation (random)
(6)
CC111 compare generation (random)
(15) ANI2 A/D conversion
(7)
ANI2 A/D conversion
(16) Conversion result is stored in ADCR2
(8)
Conversion result is stored in ADCR2
(17) INTAD interrupt generation
(9)
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 ...