CHAPTER 11 A/D CONVERTER
User’s Manual U12688EJ4V0UM00
343
11.7.2 Scan mode operations (external trigger scan)
The analog inputs specified by the ADM0 register are selected sequentially from the ANI0 pin using the ADTRG
signal as a trigger, and A/D converted. The A/D conversion results are stored in the ADCRn register corresponding to
the analog input (n = 0 to 7).
When the lower 4 channels (ANI0 to ANI3) of the analog input are set so that they are scanned in the ADM0
register, the INTAD interrupt is generated when the number of A/D conversions specified end, and A/D conversion
ends.
When the higher 4 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 4 channels 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.
Trigger
Analog Input
A/D Conversion Result Register
ADTRG signal
ANI0
ADCR0
ADTRG signal
ANI1
ADCR1
ADTRG signal
ANI2
ADCR2
ADTRG signal
ANI3
ADCR3
ANI4
ADCR4
ANI5
ADCR5
ANI6
ADCR6
(A/D trigger mode)
ANI7
ADCR7
When the conversion of all the specified analog inputs ends, the INTAD interrupt is generated and A/D conversion
ends.
When a trigger is input to the ADTRG pin while the CE bit of the ADM0 register is 1, the A/D conversion is started
again.
This is most appropriate for applications that are constantly monitoring multiple analog inputs.
Содержание 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 ...