
BAT32G1x9 user manual | Chapter 15 A/D converter
492 / 1149
Rev.1.02
15.2.3 The mode register 1 (ADM1) of the A/D converter
This is the register that sets the A/D
conversion mode.
The ADM1 register is set via the 8-bit memory operation instruction.
After generating a reset signal, the value of this register changes to "00H".
Figure15-5 mode register 1 (ADM1) of the A/D converter
Reset value: 00H
R/W
7
6
5
4
3
2
1
0
ADM1
ADMD
SMODE1
SMODE0
0
ADSCM
0
ADMODE1
ADMODE0
ADMD
A/D conversion channel selection mode settings
0
Select a mode
1
Scan mode
SMODE1
SMODE0
The number of channels cycled when scanning the
pattern
0
0
4-channel sweep
0
1
3-channel sweep
1
0
2-channel sweep
other
Set Prohibit
ADSCM
The setting of the
A/D conversion mode
0
Continuous transition mode
1
Single-shot conversion mode
ADMODE1
ADMODE0
A/D conversion mode
0
0
High-speed transform mode
1
1
Low current mode
other
Prohibit settings
Note:
1. To rewrite
the ADM1
register, it must be done in the transition stop state (ADCS=0,
ADCE=0).
2. In order to end
the A/D
conversion normally, the hardware trigger interval must be set to at least the following time:
When hardware triggers no wait mode: 2
f
CLK
clocks
+ A/D
conversion time
When hardware triggers wait mode: 2
f
CLK
clock
+ A/D
power supply settling wait time
+ A/D
conversion time
Note 1.f
CLK
:
Cpu/peripheral hardware clock frequency