A/D Conversion Of Internal Reference Voltage - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
26.3.2.5

A/D Conversion of Internal Reference Voltage

A/D conversion of the internal reference voltage is performed in single scan mode as below.
All channels should be deselected (by setting the ADANSA0 register bits to all 0 and the ADCSR.DBLE bit to 0).
(1) Set the sampling time to 5 μs or longer.
(2) After switching to A/D conversion of the internal reference voltage, start A/D conversion by setting the ADST bit to
1.
(3) When A/D conversion is completed, the conversion result is stored into the A/D internal reference voltage data
register (ADOCDR). If the ADCSR.ADIE bit is 1 (interrupt generation upon scanning completion enabled), a scan
end interrupt request is generated.
(4) The ADST bit remains 1 during A/D conversion, and is automatically cleared to 0 upon completion of A/D
conversion. Then the 12-bit A/D converter enters a wait state.
OCSA
ADNDIS[4:0]
ADST
Scan end
interrupt
Figure 26.6
Example of Operation in Single Scan Mode (Internal Reference Voltage Selected)
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Auto-discharge
Sampling
(15 ADCLK cycles)
0Fh
26. 12-Bit A/D Converter (S12ADF)
A/D
(5 s)
conversion
Interrupt generated
Page 843 of 1041

Advertisement

Table of Contents
loading

Table of Contents