Scan Mode Operation; Table 14-8: Correspondence Between Analog Input Pins And Adcrnm Register (Scan Mode (Timer Trigger Scan)) - NEC V850E/PH2 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

14.6.2 Scan mode operation

In this mode, the analog inputs specified by the ADMn2 register are selected sequentially from the
ANIn0 pin and are A/D converted the specified number of times using the timer event signal as a
trigger.
The result of conversion is stored in the ADCRnm register corresponding to the analog input. When all
the specified analog input signals have been converted, an A/D conversion end interrupt (INTADn)
occurs.
After conversion has finished, the A/D converter waits for a trigger unless the ADCEn bit of the ADMn0
register is cleared to 0. When a timer event occurs again, the converter starts A/D conversion again,
starting from the ANIn0 input.
This mode is most appropriate for applications in which multiple analog inputs are constantly
monitored.
Table 14-8: Correspondence Between Analog Input Pins and ADCRnm Register
Timer event signal
(TR0ADTRG0,
TR0ADTRG1,
TR1ADTRG0,
TR1ADTRG1,
INTTR0CD,
INTTR1CD,
INTTR1OD)
Remark:
n = 0, 1
m = 0 to 9
600
Chapter 14 A/D Converter
(Scan Mode (Timer Trigger Scan))
Trigger
Analog Input
INTR0OD,
User's Manual U16580EE3V1UD00
A/D Conversion Result Register
ANIn0
ANIn1
ANIn2
ANIn3
ANIn4
ANIn5
ANIn6
ANIn7
ANIn8
ANIn9
ADCRn0
ADCRn1
ADCRn2
ADCRn3
ADCRn4
ADCRn5
ADCRn6
ADCRn7
ADCRn8
ADCRn9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mupd70f3187

Table of Contents