NEC MuPD78F0132H User Manual page 251

8-bit single-chip microcontrollers, 78k0/ke1plus
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 12-5. 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 high-speed system clock is stopped. For details,
see CHAPTER 32 CAUTIONS FOR WAIT.
CHAPTER 12 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 U16899EJ2V0UD
4
3
2
1
0
0
ADS2
ADS1
Analog input channel specification
0
ADS0
251

Advertisement

Table of Contents
loading

Table of Contents