CHAPTER 11 A/D CONVERTER
User’s Manual U12688EJ4V0UM00
336
(b) 4-trigger mode
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 four ADCRn registers. The INTAD interrupt is generated when
the four A/D conversions end, the CS bit is reset (0), and A/D conversion terminates.
Trigger
Analog Input
A/D Conversion Result Register
INTCC110 interrupt
ANIn
ADCR0
INTCC111 interrupt
ANIn
ADCR1
INTCC112 interrupt
ANIn
ADCR2
INTCC113 interrupt
ANIn
ADCR3
(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 is set to 0, A/D conversion is repeated each time the match
interrupt is generated.
Whichever the order of occurrence of match interrupts (INTCC110 to INTCC113), there is no problem,
and the conversion results are stored in the ADCRn register corresponding to the input trigger. Also,
even in cases where the same trigger is input continuously, it is received as a trigger.
Figure 11-12. Example of 4-Trigger Mode (Timer Trigger Select 4-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
No particular
order
(1)
CE bit of ADM0 is set to 1 (enable)
(8)
CC112 compare generation (random)
(2)
CC111 compare generation (random)
(9)
ANI2 A/D conversion
(3)
ANI2 A/D conversion
(10) Conversion result is stored in ADCR2
(4)
Conversion result is stored in ADCR1
(11) CC110 compare generation (random)
(5)
CC113 compare generation (random)
(12) ANI2 A/D conversion
(6)
ANI2 A/D conversion
(13) Conversion result is stored in ADCR0
(7)
Conversion result is stored in ADCR3
(14) INTAD interrupt generation
Summary of Contents for V850E/MS1 UPD703100
Page 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Page 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Page 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Page 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Page 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Page 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Page 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Page 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Page 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...