EasyManuals Logo

Renesas RL78/G1H User Manual

Renesas RL78/G1H
941 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #314 background imageLoading...
Page #314 background image
RL78/G1H CHAPTER 13 A/D CONVERTER
R01UH0575EJ0120 Rev. 1.20 Page 296 of 920
Dec 22, 2016
13.3.4 A/D converter mode register 2 (ADM2)
This register is used to select the + side or - side reference voltage of the A/D converter, check the upper limit
and lower limit A/D conversion result values, select the resolution, and specify whether to use the SNOOZE
mode.
The ADM2 register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 13 - 7 Format of A/D converter mode register 2 (ADM2) (1/2)
Caution 1. Rewrite the value of the ADM2 register while conversion is stopped (ADCS = 0, ADCE = 0).
Caution 2. When using AV
REFP and AVREFM, specify ANI0 and ANI1 as the analog input channels and specify
input mode by using the port mode register.
Address: F0010H After reset: 00H R/W
Symbol 7 6 5 4 <3> <2> 1 <0>
ADM2 0 ADREFP0 ADREFM 0 ADRCK AWC 0 ADTYP
ADREFP0 Selection of the + side reference voltage source of the A/D converter
0 Supplied from V
DD
1 Supplied from P20/AVREFP/ANI0
• When ADREFP0 bit is rewritten, this must be configured in accordance with the following procedures.
(1) Set ADCE = 0
(2) Change the values of ADREFP0
(3) Set ADCE = 1
(4) Reference voltage stabilization wait time (1
μs)
Start A/D conversion after the time described in (4) has elapsed.
ADREFM Selection of the - side reference voltage of the A/D converter
0 Supplied from V
SS
1 Supplied from P21/AVREFM/ANI1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G1H and is the answer not in the manual?

Renesas RL78/G1H Specifications

General IconGeneral
BrandRenesas
ModelRL78/G1H
CategoryMicrocontrollers
LanguageEnglish

Related product manuals