152
CHAPTER 13 A/D CONVERTER
13.3 A/D Converter Control Registers
The following 4 types of registers are used to control A/D converter.
• A/D converter mode register (ADM1)
• Analog input channel specification register (ADS1)
• Power-fail compare mode register (PFM)
• Power-fail compare threshold value register (PFT)
(1) A/D converter mode register (ADM1)
This register sets the conversion time for analog input to be A/D converted, conversion start/stop and external
trigger. ADM1 is set with an 8-bit memory manipulation instruction.
RESET input clears ADM1 to 00H.
Figure 13-3. A/D Converter Mode Register (ADM1) Format
Address: FF80H After Reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
ADM1
ADCS1
0
FR12
FR11
FR10
0
0
0
ADCS1
A/D Conversion Operation Control
0
Stop conversion operation.
1
Enable conversion operation.
FR12
FR11
FR10
Conversion Time Selection
Note
0
0
0
144/f
X
0
0
1
120/f
X
0
1
0
96/f
X
1
0
0
288/f
X
1
0
1
240/f
X
1
1
0
192/f
X
Other than above
Setting prohibited
Note Set so that the A/D conversion time is 19.1
µ
s or more.
Caution
Bits 0 to 2 and bit 6 must be set to 0.
Remark
f
X
: Main system clock oscillation frequency
Summary of Contents for mPD780973 Series
Page 2: ...2 MEMO ...
Page 66: ...66 MEMO ...
Page 98: ...98 MEMO ...
Page 138: ...138 MEMO ...
Page 164: ...164 MEMO ...
Page 182: ...182 MEMO ...
Page 204: ...204 MEMO ...
Page 244: ...244 MEMO ...
Page 262: ...262 MEMO ...
Page 278: ...278 MEMO ...
Page 290: ...290 MEMO ...