CHAPTER 11 A/D CONVERTER
User’s Manual U12688EJ4V0UM00
337
11.6.2 Scan mode operations
The analog inputs specified by the ADM0 register are selected sequentially from the ANI0 pin and A/D converted
for the specified number of times using the match interrupt signal as a trigger.
In the conversion operation, first the analog input lower channels (ANI0 to ANI3) are A/D converted for the
specified number of times. In the ADM0 register, if the lower channels (ANI0 to ANI3) of the analog input are set so
that they are scanned, and when the set number of A/D conversions ends, the INTAD interrupt is generated and A/D
conversion ends.
When the higher channels (ANI4 to ANI7) of the analog input are set so that they are scanned in the ADM0
register, after the conversion of the lower channel ends, the mode is shifted to the A/D trigger mode, and the
remaining A/D conversions are executed.
The conversion results are stored in the ADCRn register corresponding to the analog input. When the conversion
of all the specified analog inputs has ended, the INTAD interrupt is generated and A/D conversion terminates (n = 0 to
7).
There are two scan modes, 1-trigger mode and 4-trigger mode, according to the number of triggers.
This is most appropriate for applications that are constantly monitoring multiple analog inputs.
(1) 1-trigger mode (Timer trigger scan: 1-trigger)
The analog inputs are A/D converted for the specified number of times using the match interrupt signal
(INTCC110) as a trigger.
The analog input and ADCRn register correspond one to one.
When all the A/D conversions specified have ended, the INTAD interrupt is generated and A/D conversion
ends.
Trigger
Analog Input
A/D Conversion Result Register
INTCC110 interrupt
ANI0
ADCR0
INTCC110 interrupt
ANI1
ADCR1
INTCC110 interrupt
ANI2
ADCR2
INTCC110 interrupt
ANI3
ADCR3
ANI4
ADCR4
ANI5
ADCR5
ANI6
ADCR6
(A/D trigger mode)
ANI7
ADCR7
When the match interrupt is generated after all the specified A/D conversions end, A/D conversion is restarted.
When the TM11 is set to the 1-shot mode, and less than a specified number of match interrupts are generated,
if the CE bit is set to 0, the INTAD interrupt is not generated and the standby state is set.
Содержание 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 ...