CHAPTER 12 A/D CONVERTER
196
User’s Manual U11302EJ4V0UM
(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 that are not selected for analog input pins can be used as I/O port pins.
ADIS is set with an 8-bit memory manipulation instruction.
RESET input sets ADIS to 00H.
Cautions 1. Set the analog input channel using the following procedure.
[1] Set the number of analog input channels using ADIS.
[2] Using the A/D converter mode register (ADM), select the channel to undergo A/
D conversion among the channels which were set to analog input using ADIS.
2. No internal pull-up resistor can be connected to the channels set to analog input
using ADIS, irrespective of the value of bit 1 (PUO1) of the pull-up resistor option
register (PUO).
Figure 12-3. Format of A/D Converter Input Select Register
6
5
4
3
2
1
0
7
Symbol
ADIS
0
0
0
0
ADIS3 ADIS2 ADIS1 ADIS0
FF84H 00H R/W
Address After reset R/W
ADIS3
0
0
0
0
Analog input channel count selection
No analog input channels (P10 to P17)
1 channel (ANI0, P11 to P17)
2 channels (ANI0, ANI1, P12 to P17)
ADIS2
0
0
0
0
ADIS1
0
0
1
1
0
3 channels (ANI0 to ANI2, P13 to P17)
Other than above
1
0
0
0
0
4 channels (ANI0 to ANI3, P14 to P17)
6 channels (ANI0 to ANI5, P16, P17)
5 channels (ANI0 to ANI4, P15 to P17)
1
1
1
0
1
1
1
0
0
ADIS0
0
1
1
0
0
1
1
0
0
Setting prohibited
7 channels (ANI0 to ANI6, P17)
8 channels (ANI0 to ANI7)
Содержание mPD780204
Страница 2: ...2 User s Manual U11302EJ4V0UM MEMO ...