BAT32G1x9 user manual | Chapter 15 A/D converter
487 / 1149
Rev.1.02
15.2.2 The mode register 0 (ADM0) of the A/D converter
Registers for setting the A/D
conversion clock, conversion start or stop. The
ADM0 register is set via
the 8-bit memory operation instruction.
After generating a reset signal, the value of this register changes to "00H".
Figure15-3
Format of the mode register 0 (ADM0) of A/D converter
Reset value: 00H
R/W
7
6
5
4
3
2
1
0
ADM0
ADCS
0
FR2
FR1
FR0
0
0
ADCE
ADCS
Control of A/D conversion operation
0
Stop the conversion from running.
[When reading].
Stops the transition run/standby state
1
Enable the conversion to run.
[When reading].
When the software triggers the mode: Convert the running state
When the hardware triggers the wait mode: the A/D
power supply waits for the steady state
+
transition operation state
ADCE
Operating control of the A/D voltage comparator
Note
2
0
Stop the operation of the A/D
voltage comparator.
1
Enable operation of the A/D
voltage comparator.
Note1: For details on FR2-FR0
bit,
SHT1-SHT0-bit, and
A/D
conversion, refer to
".
Note2: The A/D converter takes 1us settling time to start operating. In software-triggered mode or hardware-triggered
no-wait mode, at least 1us time has elapsed after placing the ADCE position "1", and then the ADCS position will be
placed "1", the result of this conversion is valid. If the wait time is less than 1us and the ADCs position is "1", the result
of this conversion must be ignored. In the hardware trigger wait mode, the design guarantees a wait time of 1 us.
Note:
1. The FR2~FR0 bit must be changed under the transition stop state ADCS=0.
2. Disable the setting of ADCS=1 and ADCE=0.
3. Disable the 8-bit operation instruction to set the status of ADCS=0 and ADCE=0 to ADCS=1 and ADCE=1. Setup
must be made by following the steps 15.5"Setup Flowchart for the 15.5 A/D Converter".