Analog-to-digital converters (ADC)
RM0365
367/1080
DocID025202 Rev 7
15.5.5
ADC sample time register 1 (ADCx_SMPR1, x=1
..
2)
Address offset: 0x14
Reset value: 0x0000 0000
Bit 2 Reserved, must be kept at reset value.
Bit 1
DMACFG
: Direct memory access configuration
This bit is set and cleared by software to select between two DMA modes of operation and is effective
only when DMAEN=1.
0: DMA One Shot Mode selected
1: DMA Circular Mode selected
For more details, refer to
Section : Managing conversions using the DMA
Note: Software is allowed to write this bit only when ADSTART=0 and JADSTART=0 (which ensures
that no conversion is ongoing).
Note: In dual-ADC modes, this bit is not relevant and replaced by control bit DMACFG of the
ADCx_CCR register.
Bit 0
DMAEN
: Direct memory access enable
This bit is set and cleared by software to enable the generation of DMA requests. This allows to use
the GP-DMA to manage automatically the converted data. For more details, refer to
Managing conversions using the DMA
0: DMA disabled
1: DMA enabled
Note: Software is allowed to write this bit only when ADSTART=0 and JADSTART=0 (which ensures
that no conversion is ongoing).
Note: In dual-ADC modes, this bit is not relevant and replaced by control bits MDMA[1:0] of the
ADCx_CCR register.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res.
Res.
SMP9[2:0]
SMP8[2:0]
SMP7[2:0]
SMP6[2:0]
SMP5[2:1]
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
SMP
5_0
SMP4[2:0]
SMP3[2:0]
SMP2[2:0]
SMP1[2:0]
Res.
Res.
Res.
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw