Adc Configuration Register (Adcx_Cfgr) - ST STM32L4x6 Reference Manual

Table of Contents

Advertisement

Analog-to-digital converters (ADC)
16.5.4

ADC configuration register (ADCx_CFGR)

Address offset: 0x0C
Reset value: 0x8000 0000
31
30
29
JQDIS
AWD1CH[4:0]
rw
rw
rw
15
14
13
AUT
OVR
Res.
CONT
DLY
MOD
rw
rw
Bit 31 JQDIS: Injected Queue disable
These bits are set and cleared by software to disable the Injected Queue mechanism :
0: Injected Queue enabled
1: Injected Queue disabled
Note: Software is allowed to write this bit only when ADSTART=0 and JADSTART=0 (which ensures
that no regular nor injected conversion is ongoing).
A set or reset of JQDIS bit causes the injected queue to be flushed and the JSQR register is
cleared.
Bits 30:26 AWD1CH[4:0]: Analog watchdog 1 channel selection
These bits are set and cleared by software. They select the input channel to be guarded by the
analog watchdog.
00000: ADC analog input channel-0 monitored by AWD1 (available on ADC1 only)
00001: ADC analog input channel-1 monitored by AWD1
.....
10010: ADC analog input channel-18 monitored by AWD1
others: reserved, must not be used
Note: The channel selected by AWD1CH must be also selected into the SQRi or JSQRi registers.
Software is allowed to write these bits only when ADSTART=0 and JADSTART=0 (which
ensures that no conversion is ongoing).
Bit 25 JAUTO: Automatic injected group conversion
This bit is set and cleared by software to enable/disable automatic injected group conversion after
regular group conversion.
0: Automatic injected group conversion disabled
1: Automatic injected group conversion enabled
Note: Software is allowed to write this bit only when ADSTART=0 and JADSTART=0 (which ensures
that no regular nor injected conversion is ongoing).
When dual mode is enabled (DUAL bits in ADCx_CCR register are not equal to zero), the bit
JAUTO of the slave ADC is no more writable and its content is equal to the bit JAUTO of the
master ADC.
Bit 24 JAWD1EN: Analog watchdog 1 enable on injected channels
This bit is set and cleared by software
0: Analog watchdog 1 disabled on injected channels
1: Analog watchdog 1 enabled on injected channels
Note: Software is allowed to write this bit only when JADSTART=0 (which ensures that no injected
conversion is ongoing).
510/1693
28
27
26
25
JAUTO
rw
rw
rw
rw
12
11
10
9
EXTEN[1:0]
rw
rw
rw
rw
DocID024597 Rev 3
24
23
22
21
JAWD1
AWD1
AWD1S
JQM
EN
EN
GL
rw
rw
rw
8
7
6
EXTSEL[3:0]
ALIGN
rw
rw
rw
20
19
18
JDISC
DISCNUM[2:0]
EN
rw
rw
rw
rw
5
4
3
2
RES[1:0]
Res.
rw
rw
rw
RM0351
17
16
DISC
EN
rw
rw
1
0
DMA
DMA
CFG
EN
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4x6 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF