Renesas rl78 Answering Machine User Manual


  Open as PDF
of 1004
 
RL78/G1A CHAPTER 11 A/D CONVERTER
R01UH0305EJ0200 Rev.2.00 364
Jul 04, 2013
11.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 11-11. Format of Analog Input Channel Specification Register (ADS) (1/2)
Address: FFF31H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
ADS ADISS 0 0 ADS4 ADS3 ADS2 ADS1 ADS0
{ Select mode (ADMD = 0)
ADISS ADS4 ADS3 ADS2 ADS1 ADS0 Analog input
channel
Input source
0 0 0 0 0 0 ANI0 P20/ANI0/AVREFP pin
0 0 0 0 0 1 ANI1 P21/ANI1/AVREFM pin
0 0 0 0 1 0 ANI2 P22/ANI2 pin
0 0 0 0 1 1 ANI3 P23/ANI3 pin
0 0 0 1 0 0 ANI4 P24/ANI4 pin
0 0 0 1 0 1 ANI5 P25/ANI5 pin
0 0 0 1 1 0 ANI6 P26/ANI6 pin
0 0 0 1 1 1 ANI7 P27/ANI7 pin
0 0 1 0 0 0 ANI8 P150/ANI8 pin
0 0 1 0 0 1 ANI9 P151/ANI9 pin
0 0 1 0 1 0 ANI10 P152/ANI10 pin
0 0 1 0 1 1 ANI11 P153/ANI11 pin
0 0 1 1 0 0 ANI12 P154/ANI12 pin
0 0 1 1 0 1 Setting prohibited
0 0 1 1 1 0 Setting prohibited
0 0 1 1 1 1 Setting prohibited
0 1 0 0 0 0 ANI16 P03/ANI16 pin
0 1 0 0 0 1 ANI17 P02/ANI17 pin
0 1 0 0 1 0 ANI18 P10/ANI18 pin
0 1 0 0 1 1 ANI19 P120/ANI19 pin
0 1 0 1 0 0 ANI20 P11/ANI20 pin
0 1 0 1 0 1 ANI21 P12/ANI21 pin
0 1 0 1 1 0 ANI22 P13/ANI22 pin
0 1 0 1 1 1 ANI23 P14/ANI23 pin
0 1 1 0 0 0 ANI24 P15/ANI24 pin
0 1 1 0 0 1 ANI25 P51/ANI25 pin
0 1 1 0 1 0 ANI26 P50/ANI26 pin
0 1 1 0 1 1 ANI27 P30/ANI27 pin
0 1 1 1 0 0 ANI28 P70/ANI28 pin
0 1 1 1 0 1 ANI29 P31/ANI29 pin
0 1 1 1 1 0 ANI30 P41/ANI30 pin
0 1 1 1 1 1 Setting prohibited
1 0 0 0 0 0 Temperature sensor output
voltage
Note
1 0 0 0 0 1 Internal reference voltage
(1.45 V)
Note
Other than above Setting prohibited
Note This setting can be used only in HS (high-speed main) mode. For detail, see Figure 24-3 Format of
User Option Byte (000C2H/010C2H).