![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 626](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630626.webp)
www.geehy.com Page 625
Field
Name
R/W
Description
4:0
AWDCHSEL
R/W
Analog Watchdog Channel Select
00000: ADC analog input channel 0
00001: ADC analog input channel 1
……
01111: ADC analog input channel 15
10000: ADC analog input channel 16
10001: ADC analog input channel 17
10010: ADC analog input channel 18
Other value: Reserved
5
EOCIEN
R/W
EOC Interrupt Enable
Used to enable the generation of interrupt after the conversion is
completed.
0: Disable
1: Enable
6
AWDIEN
R/W
Analog Watchdog Interrupt Enable
If the bit is set and in scan mode, when the watchdog detects that
the value exceeds the threshold, an interrupt will be generated and
the scan will be aborted.
0: Disable
1: Enable
7
INJEOCIEN
R/W
Interrupt Enable For Injected Channels End Of Conversion Flag
0: Disable
1: Enable
8
SCANEN
R/W
Scan Mode Enable
In the scan mode, convert the channel selected by
ADC_REGSEQX or ADC_INJSEQX register.
0: Disable
1: Enable
Note: If EOCIEN or INJEOCIEN bit is set respectively, EOC or
INJEOC interrupt will be generated only after the last channel is
converted.
9
AWDSGLEN
R/W
Enable The Watchdog On A Single Channel In Scan Mode
This channel is specified by AWDCHSEL[4:0] bit.
0: Enable on all channels
1: Enable on a single channel;
10
INJGACEN
R/W
Automatic Injected Group Conversion Enable
Used to enable automatic conversion of injected channels after the
conversion of regular channel group is completed.
0: Disable
1: Enable
11
REGDISCEN
R/W
Discontinuous Mode On Regular Channels Enable
0: Disable
1: Enable
12
INJDISCEN
R/W
Discontinuous Mode On Injected Channels Enable
0: Disable
1: Enable