
BAT32G1x9 user manual | Chapter 15 A/D converter
494 / 1149
Rev.1.02
15.2.5 The A/D converter's trigger mode register (ADTRG).
This is the register that sets the A/D
conversion trigger mode and the hardware trigger signal.
The ADTRG register is set via the 8-bit memory operation instruction.
After generating a reset signal, the value of this register changes to "00H".
Figure15-8 Format of the trigger mode register (ADTRG) for A/D converter
Reset value: 00H
R/W
7
6
5
4
3
2
1
0
ADTRG
ADTMD1
ADTMD0
0
0
0
0
ADTRS1
ADTRS0
ADTMD1
ADTMD0
A/D conversion trigger mode selection
0
0
Software trigger mode
0
1
1
0
Hardware triggers no-wait mode
1
1
Hardware triggers wait mode
ADTRS1
ADTRS0
Selection of hardware trigger signals
0
0
Timer channel 1
counts over or captures the end interrupt signal (INTTM01).
0
1
The event signal selected by the ELC
1
0
Real-time clock interrupt signal (INTRTC).
1
1
Interval timer interrupt signal (INTIT).
Note:
1. To override
the ADTRG
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