Analog Input Channel Specification Register (Ads) - Renesas RL78/G1P Hardware User Manual

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P

9.3.7 Analog input channel specification register (ADS)

This register specifies the input channel of the analog voltage to be A/D converted.
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 9-11. Format of Analog Input Channel Specification Register (ADS) (1/2)
Address: FFF31H
After reset: 00H
Symbol
7
ADS
ADISS
 Select mode (ADMD = 0)
ADISS
ADS4
0
0
0
0
0
0
0
0
0
1
1
Notes 1. ANI4 to ANI6: 32-pin products only
2. ANI16: 24-pin products only
3. This setting can be used only in HS (high-speed main) mode. For detail, refer to Figure 22-3
Format of User Option Byte (000C2H).
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
R/W
6
5
0
0
ADS2
ADS1
0
0
0
0
0
0
0
0
1
0
0
1
0
1
0
0
1
0
0
1
1
0
1
1
1
0
0
0
0
0
0
0
0
Other than above
4
3
ADS4
0
ADS0
Analog input
channel
0
ANI0
P20/ANI0/AV
1
ANI1
P21/ANI1/AV
0
ANI2
P22/ANI2 pin
1
ANI3
P23/ANI3 pin
0
ANI4
P24/ANI4 pin
1
ANI5
P25/ANI5 pin
0
ANI6
P26/ANI6 pin
1
ANI7
P27/ANI7 pin
0
ANI16
P10/ANI16 pin
0
Temperature sensor output voltage
1
Internal reference voltage output (1.45 V)
Setting prohibited
CHAPTER 9 A/D CONVERTER
2
1
ADS2
ADS1
Input source
pin
REFP
pin
REFM
Note 1
Note 1
Note 1
Note 2
0
ADS0
Note 3
Note 3
263

Advertisement

Table of Contents
loading

Table of Contents