Analog-to-digital converter (ADC)
Bits 15:0 DATA[15:0]: Converted data
These bits are read-only. They contain the conversion result from the last converted channel. The data
are left- or right-aligned as shown in
Just after a calibration is complete, DATA[6:0] contains the calibration factor.
12.12.10 ADC common configuration register (ADC_CCR)
Address offset: 0x308
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31:25
Reserved, must be kept at reset value.
Bit 24 VBATEN: V
This bit is set and cleared by software to enable/disable the V
0: V
BAT
1: V
BAT
Note: Software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion
is ongoing).
Bit 23 TSEN: Temperature sensor enable
This bit is set and cleared by software to enable/disable the temperature sensor channel.
0: Temperature sensor and V
1: Temperature sensor and V
Note: Software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion
is ongoing).
Bit 22 VREFEN: Temperature sensor and V
This bit is set and cleared by software to enable/disable the V
0: V
REFINT
1: V
REFINT
Note: Software is allowed to write this bit only when ADSTART=0 (which ensures that no conversion
is ongoing).
Bits 21:0
Reserved, must be kept at reset value.
202/742
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
enable
BAT
channel disabled
channel enabled
REFINT
REFINT
channel disabled
channel enabled
Doc ID 018940 Rev 1
Figure 31: Data alignment and resolution on page
24
23
22
VBAT
TS
VREF
Res.
EN
EN
EN
rw
rw
rw
8
7
6
Res.
Res.
Res.
Res.
channel disabled
channel enabled
enable
REFINT
21
20
19
18
Res.
Res.
Res.
5
4
3
2
Res.
Res.
Res.
channel.
BAT
channel.
REFINT
RM0091
183.
17
16
Res.
Res.
1
0
Res.
Res.
Need help?
Do you have a question about the STM32F05 series and is the answer not in the manual?
Questions and answers