CMS32L051 User Manual |Chapter 11 A/D Converter
www.mcu.com.cn 276 / 703
11.2.5 A/D converter trigger mode register (ADTRG)
This is the register that sets the A/D conversion trigger mode and the hardware trigger signal.
The AD TRG register is set via an 8-bit memory operation command.
After the reset signal is generated, the value of this register becomes 00H.
Figure11-8 Format of A/D converter trigger mode register (ADTRG)
Selection of A/D conversion trigger modes
Hardware triggers no-wait mode
The hardware triggers the wait mode
Selection of hardware trigger signals
The counting end of timer channel 1 or the capture of the end interrupt signal
(INTTM01).
The event signal selected by ELC
Real-time clock interrupt signal (INTRTC).
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 at least to the following time:
When hardware triggers no-wait mode: 2 f
CLK
clocks + A/D conversion time
When the hardware triggers the wait mode: 2 f
CLK
clock + A/D power supply stable wait time + A/D transition time
Note 1. f
CLK
: Clock frequency of the CPU/peripheral hardware