NEC 78014Y Series User Manual page 253

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) A/D converter input select register (ADIS)
This register determines whether the ANI0/P10 to ANI7/P17 pins should be used for analog input channels or
ports. The pins which are not selected for analog input pins can be used as the input/output port.
ADIS is set with an 8-bit memory manipulation instruction.
RESET input sets ADIS to 00H.
Cautions 1. Set the analog input channel in the following order.
Symbol
ADIS
www.DataSheet4U.com
(1) Set the number of analog input channels with ADIS.
(2) Using the A/D converter mode register (ADM), select one channel to undergo A/D conversion
among the channels which is set for analog input with ADIS.
2. On-chip pull-up resistor is not used for the channels set for analog input with ADIS, irrespective
of the value of bit 1 (PUO1) of the pull-up resistor option register.
Figure 14-3. A/D Converter Input Select Register Format
7
6
5
4
0
0
0
0
ADIS3 ADIS2 ADIS1 ADIS0
CHAPTER 14 A/D CONVERTER
3
2
1
0
ADIS3 ADIS2 ADIS1 ADIS0
Address
When Reset
R/W
FF84H
00H
R/W
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
0
0
0
Other than above
Number of Analog
Input Channel
Selection
No analog input
channel (P10 to
P17)
1 channel (ANI0,
P11 to P17)
2 channels (ANI0,
ANI1, P12 to P17)
3 channels (ANI0 to
ANI2, P13 to P17)
4 channels (ANI0 to
ANI3, P14 to P17)
5 channels (ANI0 to
ANI4, P15 to P17)
6 channels (ANI0 to
ANI5, P16, P17)
7 channels (ANI0 to
ANI6, P17)
8 channels (ANI0 to
ANI7)
Setting prohibited
253

Advertisement

Table of Contents
loading

Table of Contents