773
A/D Converter (ADC)
Chapter 20
Preliminary User’s Manual U17566EE1V2UM00
20.3 ADC Registers
The A/D Converter is controlled by the following registers:
• A/D Converter mode registers 0, 1, 2 (ADA0M0, ADA0M1, ADA0M2)
• A/D Converter channel specification register 0 (ADA0S)
• Power-fail compare mode register (ADA0PFM)
The following registers are also used:
• A/D conversion result register n (ADCR0n)
• A/D conversion result register nH (ADCR0Hn)
• Power-fail compare threshold value register (ADA0PFT)
(1)
ADA0M0 - ADC mode register 0
The ADA0M0 register is an 8-bit register that specifies the operation mode and
controls conversion operations.
This register can be read orwritten in 8-bit or 1-bit units. However, bit 0 is read-
only.
Reset input clears this register to 00H.
After reset: 00H
R/W
Address: FFFFF200H
7
6
5
4
3
2
1
0
ADA0M0
ADA0CE
0
ADA0MD1
ADA0MD0
0
0
ADA0TMD
ADA0EF
ADA0CE
A/D conversion control
0
Stops conversion
1
Starts conversion
ADA0MD1
ADA0MD0
Specification of A/D conversion operation mode
0
0
Continuous select mode
0
1
Continuous scan mode
others
Setting prohibited
ADA0TMD
Trigger mode specification
0
Software trigger mode
1
Timer trigger mode
ADA0EF
A/D converter status display
0
A/D conversion stopped
1
A/D conversion in progress
electronic components distributor