
RM0453 Rev 2
589/1454
RM0453
Analog-to-digital converter (ADC)
591
18.13
ADC register map
The following table summarizes the ADC registers.
Bits 31:25 Reserved, must be kept at reset value.
Bit 24
VBATEN
: V
BAT
enable
This bit is set and cleared by software to enable/disable the V
BAT
channel.
0: V
BAT
channel disabled
1: V
BAT
channel enabled
Note: The 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.
0: Temperature sensor disabled
1: Temperature sensor enabled
Note: Software is allowed to write this bit only when ADSTART
=
0 (which ensures that no conversion
is ongoing).
Bit 22
VREFEN
: V
REFINT
enable
This bit is set and cleared by software to enable/disable the V
REFINT
.
0: V
REFINT
disabled
1: V
REFINT
enabled
Note: Software is allowed to write this bit only when ADSTART
=
0 (which ensures that no conversion
is ongoing).
Bits 21:18
PRESC[3:0]:
ADC prescaler
Set and cleared by software to select the frequency of the clock to the ADC.
0000: input ADC clock not divided
0001: input ADC clock divided by 2
0010: input ADC clock divided by 4
0011: input ADC clock divided by 6
0100: input ADC clock divided by 8
0101: input ADC clock divided by 10
0110: input ADC clock divided by 12
0111: input ADC clock divided by 16
1000: input ADC clock divided by 32
1001: input ADC clock divided by 64
1010: input ADC clock divided by 128
1011: input ADC clock divided by 256
Other: Reserved
Note: Software is allowed to write these bits only when the ADC is disabled (ADCAL
=
0,
ADSTART
=
0, ADSTP
=
0, ADDIS
=
0 and ADEN
=
0).
Bits 17:0 Reserved, must be kept at reset value.
Table 110. ADC register map and reset values
Offset
Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x00
ADC_ISR
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
CCRDY
.
Res.
EO
C
A
L
Res.
AW
D
3
AW
D
2
AW
D
1
Res.
Res.
OV
R
EO
S
EO
C
EO
S
M
P
ADRDY
Reset value
0
0
0
0
0
0 0 0 0 0