EasyManuals Logo

Renesas RL78/G15 User Manual

Renesas RL78/G15
765 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 #330 background imageLoading...
Page #330 background image
RL78/G15 CHAPTER 10 A/D CONVERTER
R01UH0959EJ0110 Rev.1.10 Page 330 of 765
Mar 7, 2023
10.3.7 A/D test register (ADTES)
This register is used to select V
SS
as the analog input to be A/D converted. When the internal reference voltage (0.815 V
(typ.)) is selected as the target of A/D conversion, the sampling capacitor must be discharged before A/D conversion of
this voltage proceeds. Perform A/D conversion once by setting the ADTES1 bit of the ADTES register to 1.
The ADTES register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 10-10. Format of A/D Test Register (ADTES)
Address: F0013H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
ADTES 0 0 0 0 0 0 ADTES1 0
ADTES1 Selection of target of A/D conversion
0 ANIx/internal reference voltage (0.815 V (typ.))
(This is specified using the analog input channel specification register (ADS).)
1 V
SS
(discharging the sampling capacitor)
Caution When A/D converting the internal reference voltage (0.815 V (typ.)), follow the procedure described in
10.7.2 Setting up the internal reference voltage for A/D conversion to discharge the sampling
capacitor once.
Remark Be sure to clear bits 0 and 2 to 7 to 0.
10.3.8 Registers controlling port function of analog input pins
Set up the registers for controlling the functions of the ports shared with the analog input pins of the A/D converter (port
mode registers 0 and 2 (PM0, PM2) and port mode control registers 0 and 2 (PMC0, PMC2)). For details, see 4.3.1 Port
mode registers 0, 2, 4, 12 (PM0, PM2, PM4, PM12) and 4.3.5 Port mode control registers 0, 2 (PMC0, PMC2).
For an example of settings when used as the analog input pins of the A/D converter, see 4.5.3 Register setting
examples for used port and alternate functions.
When using the ANI0 to ANI10 pins as analog input of the A/D converter, set the corresponding bits in port mode
registers 0 and 2 (PM0, PM2) and port mode control register 0 and 2 (PMC0, PMC2) to 1.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas RL78/G15 Specifications

General IconGeneral
BrandRenesas
ModelRL78/G15
CategoryMicrocontrollers
LanguageEnglish

Related product manuals