EasyManuals Logo
Home>Renesas>Microcontrollers>RL78/G1H

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 #812 background imageLoading...
Page #812 background image
RL78/G1H CHAPTER 24 SAFETY FUNCTIONS
R01UH0575EJ0120 Rev. 1.20 Page 794 of 920
Dec 22, 2016
24.3.8.2 Analog input channel specification register (ADS)
This register specifies the input channel of the analog voltage to be A/D converted.
Set A/D test register (ADTES) to 00H when measuring the ANIxx.
The ADS register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 24 - 17 Format of Analog input channel specification register (ADS)
Select mode (ADMD = 0)
Caution 1. Be sure to clear bits 5 to 7 to 0.
Caution 2. For ports that set to analog input using the ADPC and PMC registers, select input mode using port
mode register 2, 12, or 15 (PM2, PM12, PM15).
Caution 3. Do not use the ADS register to set ports that to be set as digital I/O using the A/D port configuration
register (ADPC).
Caution 4. Do not use the ADS register to set ports that to be set as digital I/O using port mode control register
12 (PMC12).
Caution 5. When using AV
REFP as the positive reference voltage of the A/D converter, do not select ANI0 as an
A/D conversion channel.
Caution 6. When using AV
REFM as the negative reference voltage of the A/D converter, do not select ANI1 as an
A/D conversion channel.
Address: FFF31H After reset: 00H R/W
Symbol76543210
ADS 0 0 0 ADS4 ADS3 ADS2 ADS1 ADS0
ADS4 ADS3 ADS2 ADS1 ADS0
Analog input
channel
Input source
00000ANI0P20/ANI0/AV
REFP pin
00001ANI1P21/ANI1/AVREFM pin
00010ANI2P22/ANI2 pin
01101ANI13P155/ANI13 pin
01110ANI14P156/ANI14 pin
10011ANI19P120/ANI19 pin
Other than the above Setting prohibited

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