Format Of Analog Input Channel Specification Register (Ads) - NEC 78K0 User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

(2) Analog input channel specification register (ADS)
This register specifies the input port of the analog voltage to be A/D converted.
ADS can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
Figure 13-4. Format of Analog Input Channel Specification Register (ADS)
Address: FF29H
Symbol
ADS
Cautions 1. Be sure to clear bits 3 to 7 of ADS to 0.
2. If data is written to ADS, a wait cycle is generated. Do not write data to ADS when the CPU is
operating on the subsystem clock and the X1 input clock is stopped.
CHAPTER 35 CAUTIONS FOR WAIT.
CHAPTER 13 A/D CONVERTER
After reset: 00H
R/W
7
6
5
0
0
0
ADS2
ADS1
ADS0
0
0
0
ANI0
0
0
1
ANI1
0
1
0
ANI2
0
1
1
ANI3
1
0
0
ANI4
1
0
1
ANI5
1
1
0
ANI6
1
1
1
ANI7
*
User's Manual U15947EJ2V0UD
4
3
2
1
0
0
ADS2
ADS1
Analog input channel specification
0
ADS0
For details, see
283

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents