NEC 78K0R/KE3 User Manual page 304

16-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) A/D converter mode register (ADM)
This register sets the conversion time for analog input to be A/D converted, and starts/stops conversion.
ADM can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Address: FFF30H
Symbol
ADM
Notes 1.
For details of FR2 to FR0, LV1, LV0, and A/D conversion, see Table 10-3 A/D Conversion Time
Selection.
2.
The operation of the A/D voltage comparator is controlled by ADCS and ADCE, and it takes 1
operation start to operation stabilization. Therefore, when ADCS is set to 1 after 1
elapsed from the time ADCE is set to 1, the conversion result at that time has priority over the first
conversion result. Otherwise, ignore data of the first conversion.
<R>
ADCS
0
0
1
1
<R>
Note To stabilize the internal circuit, the time from the rising of the ADCE bit to the falling of the ADCS bit must be
μ
1
s or longer.
Caution A/D conversion must be stopped before rewriting bits FR0 to FR2, LV1, and LV0 to values other
than the identical data.
304
CHAPTER 10 A/D CONVERTER
Figure 10-4. Format of A/D Converter Mode Register (ADM)
After reset: 00H
R/W
<7>
6
5
Note 1
ADCS
0
FR2
ADCS
0
Stops conversion operation
1
Enables conversion operation
ADCE
0
Stops A/D voltage comparator operation
1
Enables A/D voltage comparator operation
Table 10-2. Settings of ADCS and ADCE
ADCE
0
Stop status (DC power consumption path does not exist)
1
Conversion waiting mode (only A/D voltage comparator consumes power)
0
Setting prohibited
1
Conversion mode (A/D voltage comparator: enables operation)
Figure 10-5. Timing Chart When A/D voltage Comparator Is Used
A/D voltage comparator : enables operation
ADCE
A/D voltage
comparator
Conversion
operation
ADCS
Note
User's Manual U17854EJ9V0UD
4
3
Note 1
Note 1
FR1
FR0
LV1
A/D conversion operation control
A/D voltage comparator operation control
A/D Conversion Operation
Conversion
Conversion
waiting
operation
2
1
<0>
Note 1
Note 1
LV0
ADCE
Note 2
μ
s or more has
Conversion
stopped
μ
s from

Advertisement

Table of Contents
loading

Table of Contents