www.geehy.com Page 320
Field
Name
R/W
Description
13
CMODESEL
R/W
Select Single/Continuous Conversion Mode
0: Single conversion mode
1: Continuous conversion mode
14
WAITCEN
R/W
Wait Conversion Mode Enable
0: Disable
1: Enable
15
AOEN
R/W
Auto-Off Mode Enable
0: Disable
1: Enable
16
DISCEN
R/W
Discontinuous Mode Enable
0: Disable
1: Enable
21:17
Reserved
22
AWDCHEN
R/W
Enable The Watchdog On A Single Channel or on All Channels
0: Enable analog watchdog on all channels
1: Enable analog watchdog on a single channel
23
AWDEN
R/W
Analog Watchdog Enable
0: Disable
1: Enable
25:24
Reserved
30:26
AWDCHSEL
R/W
Analog Watchdog Channel Select
These bits are used to configure the input channel for the analog
watchdog to monitor ADC
00000: Channel 0
00001: Channel 1
.....
10010: Channel 18
Other values: Reserved, not used
Note: The channel selected by
AWDCHSEL
bit must be written in
CHSELR register
31
Reserved
Note: These bits can be rewritten only when STARTCEN=0 (confirming no ongoing conversion).
ADC configuration register 2 (ADC_CFG2)
Offset address: 0x10
Reset value: 0x0000 0000
Field
Name
R/W
Description
29:0
Reserved
31:30
CLKCFG
R/W
ADC Clock Mode Configure
00: ADCCLK (asynchronous clock mode)
01: PCLK/2 (synchronous clock mode)
10: PCLK/4 (synchronous clock mode)
11: Reserved
Note: The software allows writing these bits only when ADC is
disabled.
ADC sampling time register (ADC_SMPTIM)
Offset address: 0x14
Reset value: 0x0000 0000