upd70f3422gj-gae-qs-ax Renesas Electronics Corporation., upd70f3422gj-gae-qs-ax Datasheet - Page 783

no-image

upd70f3422gj-gae-qs-ax

Manufacturer Part Number
upd70f3422gj-gae-qs-ax
Description
32-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
A/D Converter (ADC)
A/D conversion
Figure 20-4
ADCR01
set ADA0M0.ADA0CE = 1
INTAD
ANI1
20.4.3 Operation modes
Conversion start
(1)
(2)
Two operation modes are available as the modes in which to set the ANIn
pins: continuous select mode and continuous scan mode.
The operation mode is selected by the ADA0MD1 and ADA0MD0 bits of the
ADA0M0 register.
Continuous select mode
In this mode, the voltage of one analog input pin selected by the ADA0S
register is continuously converted into a digital value.
The conversion result is stored in the ADCR0n register corresponding to the
analog input pin. In this mode, an analog input pin corresponds to an ADCR0n
register on a one-to-one basis. Each time A/D conversion is completed, the A/
D conversion end interrupt request signal (INTAD) is generated. After
completion of conversion, the next conversion is started, unless the ADA0CE
bit of the ADA0M0 register is cleared to 0.
Timing example of continuous select mode operation (ADA0S = 01H)
Continuous scan mode
In this mode, analog input pins are sequentially selected, from the ANI0 pin to
the pin specified by the ADA0S register, and their values are converted into
digital values.
The result of each conversion is stored in the ADCR0n register corresponding
to the analog input pin. When conversion of the analog input pin specified by
the ADA0S register is complete, the A/D conversion end interrupt request
signal (INTAD) is generated, and A/D conversion is started again from the
ANI0 pin, unless the ADA0CE bit of the ADA0M0 register is cleared to 0.
Preliminary User’s Manual U17566EE1V2UM00
Data 1
(ANI1)
Data 1
Data 1
(ANI1)
Data 2
(ANI1)
Data
2
Data 2
(ANI1)
Data 3
Data
(ANI1)
3
Data 3
(ANI1)
Data 4
(ANI1)
Data
4
Data 4
(ANI1)
Data
Data 5
(ANI1)
5
Data 5
(ANI1)
Data 6
(ANI1)
Data
6
Data 6
(ANI1)
Chapter 20
783

Related parts for upd70f3422gj-gae-qs-ax