\n
address_offset : 0x0 Bytes (0x0)
size : 0x400 byte (0x0)
mem_usage : registers
protection :
ADC interrupt and status register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADRDY : ADC ready This bit is set by hardware after the ADC has been enabled (bit ADEN = 1) and when the ADC reaches a state where it is ready to accept conversion requests. It is cleared by software writing 1 to it.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
ADC not yet ready to start conversion (or the flag event was already acknowledged and cleared by software)
0x1 : B_0x1
ADC is ready to start conversion
End of enumeration elements list.
EOSMP : End of sampling flag This bit is set by hardware during the conversion of any channel (only for regular channels), at the end of the sampling phase.
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
not at the end of the sampling phase (or the flag event was already acknowledged and cleared by software)
0x1 : B_0x1
End of sampling phase reached
End of enumeration elements list.
EOC : End of conversion flag This bit is set by hardware at the end of each regular conversion of a channel when a new data is available in the ADC_DR register. It is cleared by software writing 1 to it or by reading the ADC_DR register
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Regular channel conversion not complete (or the flag event was already acknowledged and cleared by software)
0x1 : B_0x1
Regular channel conversion complete
End of enumeration elements list.
EOS : End of regular sequence flag This bit is set by hardware at the end of the conversions of a regular sequence of channels. It is cleared by software writing 1 to it.
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Regular Conversions sequence not complete (or the flag event was already acknowledged and cleared by software)
0x1 : B_0x1
Regular Conversions sequence complete
End of enumeration elements list.
OVR : ADC overrun This bit is set by hardware when an overrun occurs on a regular channel, meaning that a new conversion has completed while the EOC flag was already set. It is cleared by software writing 1 to it.
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No overrun occurred (or the flag event was already acknowledged and cleared by software)
0x1 : B_0x1
Overrun has occurred
End of enumeration elements list.
JEOC : Injected channel end of conversion flag This bit is set by hardware at the end of each injected conversion of a channel when a new data is available in the corresponding ADC_JDRy register. It is cleared by software writing 1 to it or by reading the corresponding ADC_JDRy register
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Injected channel conversion not complete (or the flag event was already acknowledged and cleared by software)
0x1 : B_0x1
Injected channel conversion complete
End of enumeration elements list.
JEOS : Injected channel end of sequence flag This bit is set by hardware at the end of the conversions of all injected channels in the group. It is cleared by software writing 1 to it.
bits : 6 - 6 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Injected conversion sequence not complete (or the flag event was already acknowledged and cleared by software)
0x1 : B_0x1
Injected conversions complete
End of enumeration elements list.
AWD1 : Analog watchdog 1 flag This bit is set by hardware when the converted voltage crosses the values programmed in the fields LT1[11:0] and HT1[11:0] of ADC_LTR1, and ADC_HTR1 register. It is cleared by software. writing 1 to it.
bits : 7 - 7 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No analog watchdog 1 event occurred (or the flag event was already acknowledged and cleared by software)
0x1 : B_0x1
Analog watchdog 1 event occurred
End of enumeration elements list.
AWD2 : Analog watchdog 2 flag This bit is set by hardware when the converted voltage crosses the values programmed in the fields LT2[7:0] and HT2[7:0] of ADC_LTR2 and ADC_HTR2 register. It is cleared by software writing 1 to it.
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No analog watchdog 2 event occurred (or the flag event was already acknowledged and cleared by software)
0x1 : B_0x1
Analog watchdog 2 event occurred
End of enumeration elements list.
AWD3 : Analog watchdog 3 flag This bit is set by hardware when the converted voltage crosses the values programmed in the fields LT3[7:0] and HT3[7:0] of ADC_LTR3 and ADC_HTR3 register. It is cleared by software writing 1 to it.
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No analog watchdog 3 event occurred (or the flag event was already acknowledged and cleared by software)
0x1 : B_0x1
Analog watchdog 3 event occurred
End of enumeration elements list.
LDORDY : ADC voltage regulator ready This bit is set by hardware. It indicates that the ADC internal supply is ready. The ADC is available after tADCVREG_SETUP time.
bits : 12 - 12 (1 bit)
access : read-only
Enumeration:
0x0 : B_0x0
ADC voltage regulator disabled
0x1 : B_0x1
ADC voltage regulator enabled
End of enumeration elements list.
ADC configuration register 2
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ROVSE : Regular Oversampling Enable This bit is set and cleared by software to enable regular oversampling. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing)
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Regular Oversampling disabled
0x1 : B_0x1
Regular Oversampling enabled
End of enumeration elements list.
JOVSE : Injected Oversampling Enable This bit is set and cleared by software to enable injected oversampling. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing)
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Injected oversampling disabled
0x1 : B_0x1
Injected oversampling enabled
End of enumeration elements list.
OVSS : Oversampling right shift This bit field is set and cleared by software to define the right shifting applied to the raw oversampling result. Others: Reserved, must not be used. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no conversion is ongoing).
bits : 5 - 8 (4 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No right shift
0x1 : B_0x1
1-bit right shift
0x2 : B_0x2
2-bit right shift
0x3 : B_0x3
3-bit right shift
0x4 : B_0x4
4-bit right shift
0x5 : B_0x5
5-bit right shift
0x6 : B_0x6
6-bit right shift
0x7 : B_0x7
7-bit right shift
0x8 : B_0x8
8-bit right shift
0x9 : B_0x9
9-bit right shift
0xA : B_0xA
10-bit right shift
0xB : B_0xB
11-bit right shift
End of enumeration elements list.
TROVS : Triggered Regular Oversampling This bit is set and cleared by software to enable triggered oversampling Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no conversion is ongoing).
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
All oversampled conversions for a channel are done consecutively following a trigger
0x1 : B_0x1
Each oversampled conversion for a channel needs a new trigger
End of enumeration elements list.
ROVSM : Regular Oversampling mode This bit is set and cleared by software to select the regular oversampling mode. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no conversion is ongoing).
bits : 10 - 10 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Continued mode: When injected conversions are triggered, the oversampling is temporary stopped and continued after the injection sequence (oversampling buffer is maintained during injected sequence)
0x1 : B_0x1
Resumed mode: When injected conversions are triggered, the current oversampling is aborted and resumed from start after the injection sequence (oversampling buffer is zeroed by injected sequence start)
End of enumeration elements list.
BULB : Bulb sampling mode This bit is set and cleared by software to select the bulb sampling mode. SMPTRIG bit must not be set when the BULB bit is set. The very first ADC conversion is performed with the sampling time specified in SMPx bits. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no conversion is ongoing).
bits : 13 - 13 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Bulb sampling mode disabled
0x1 : B_0x1
Bulb sampling mode enabled. The sampling period starts just after the previous end of the conversion.
End of enumeration elements list.
SWTRIG : Software trigger bit for sampling time control trigger mode This bit is set and cleared by software to enable the bulb sampling mode. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no conversion is ongoing).
bits : 14 - 14 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Software trigger starts the conversion for sampling time control trigger mode
0x1 : B_0x1
Software trigger starts the sampling for sampling time control trigger mode.
End of enumeration elements list.
SMPTRIG : Sampling time control trigger mode This bit is set and cleared by software to enable the sampling time control trigger mode. The sampling time starts on the trigger rising edge, and the conversion on the trigger falling edge. EXTEN[1:0] bits must be set to 01. BULB bit must not be set when the SMPTRIG bit is set. When EXTEN[1:0] bits is set to 00, set SWTRIG to start the sampling and clear SWTRIG bit to start the conversion. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no conversion is ongoing).
bits : 15 - 15 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Sampling time control trigger mode disabled
0x1 : B_0x1
Sampling time control trigger mode enabled
End of enumeration elements list.
OSR : Oversampling ratio This bitfield is set and cleared by software to define the oversampling ratio. 2: 3x ... 1023: 1024x Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no conversion is ongoing).
bits : 16 - 25 (10 bit)
access : read-write
Enumeration:
0x0 : B_0x0
1x (no oversampling)
0x1 : B_0x1
2x
End of enumeration elements list.
LFTRIG : Low-frequency trigger This bit is set and cleared by software Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no conversion is ongoing).
bits : 27 - 27 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Low-frequency trigger mode disabled
0x1 : B_0x1
Low-frequency trigger mode enabled
End of enumeration elements list.
LSHIFT : Left shift factor This bitfield is set and cleared by software to define the left shifting applied to the final result with or without oversampling. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no conversion is ongoing).
bits : 28 - 31 (4 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No left shift
0x1 : B_0x1
1-bit left shift
0x2 : B_0x2
2-bit left shift
0x3 : B_0x3
3-bit left shift
0x4 : B_0x4
4-bit left shift
0x5 : B_0x5
5-bit left shift
0x6 : B_0x6
6-bit left shift
0x7 : B_0x7
7-bit left shift
0x8 : B_0x8
8-bit left shift
0x9 : B_0x9
9-bit left shift
0xA : B_0xA
10-bit left shift
0xB : B_0xB
11-bit left shift
0xC : B_0xC
12-bit left shift
0xD : B_0xD
13-bit left shift
0xE : B_0xE
14-bit left shift
0xF : B_0xF
15-bit left shift
End of enumeration elements list.
ADC sample time register 1
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SMP0 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sample cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 0 - 2 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP1 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sample cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 3 - 5 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP2 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sample cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 6 - 8 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP3 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sample cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 9 - 11 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP4 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sample cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 12 - 14 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP5 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sample cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 15 - 17 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP6 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sample cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 18 - 20 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP7 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sample cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 21 - 23 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP8 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sample cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 24 - 26 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP9 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sample cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 27 - 29 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
ADC sample time register 2
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SMP10 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sampling cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 0 - 2 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP11 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sampling cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 3 - 5 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP12 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sampling cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 6 - 8 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP13 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sampling cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 9 - 11 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP14 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sampling cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 12 - 14 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP15 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sampling cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 15 - 17 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP16 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sampling cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 18 - 20 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP17 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sampling cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 21 - 23 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP18 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sampling cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 24 - 26 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
SMP19 : Channel x sampling time selection (x = 0 to 9) These bits are written by software to select the sampling time individually for each channel. During sampling cycles, the channel selection bits must remain unchanged. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 27 - 29 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
5 ADC clock cycles
0x1 : B_0x1
6 ADC clock cycles
0x2 : B_0x2
12 ADC clock cycles
0x3 : B_0x3
20 ADC clock cycles
0x4 : B_0x4
36 ADC clock cycles
0x5 : B_0x5
68 ADC clock cycles
0x6 : B_0x6
391 ADC clock cycles
0x7 : B_0x7
814 ADC clock cycles
End of enumeration elements list.
ADC channel preselection register
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PCSEL0 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL1 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL2 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL3 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL4 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL5 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL6 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 6 - 6 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL7 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 7 - 7 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL8 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL9 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL10 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 10 - 10 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL11 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 11 - 11 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL12 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 12 - 12 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL13 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 13 - 13 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL14 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 14 - 14 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL15 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 15 - 15 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL16 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL17 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 17 - 17 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL18 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 18 - 18 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
PCSEL19 : Channel i (VINP[i]) preselection These bits are written by software to preselect the input channel I/O instance to be converted. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 19 - 19 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Input channel i (VINP[i]) is not preselected for conversion, the ADC conversion of this channel shows a wrong result.
0x1 : B_0x1
Input channel i (VINP[i]) is preselected for conversion
End of enumeration elements list.
ADC regular sequence register 1
address_offset : 0x30 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
L : Regular channel sequence length These bits are written by software to define the total number of conversions in the regular channel conversion sequence. ... Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 0 - 3 (4 bit)
access : read-write
Enumeration:
0x0 : B_0x0
1 conversion
0x1 : B_0x1
2 conversions
0xF : B_0xF
16 conversions
End of enumeration elements list.
SQ1 : 1st conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 1st in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 6 - 10 (5 bit)
access : read-write
SQ2 : 2nd conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 2nd in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 12 - 16 (5 bit)
access : read-write
SQ3 : 3rd conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 3rd in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 18 - 22 (5 bit)
access : read-write
SQ4 : 4th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 4th in the regular conversion sequence.
bits : 24 - 28 (5 bit)
access : read-write
ADC regular sequence register 2
address_offset : 0x34 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SQ5 : 5th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 5th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 0 - 4 (5 bit)
access : read-write
SQ6 : 6th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 6th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 6 - 10 (5 bit)
access : read-write
SQ7 : 7th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 7th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 12 - 16 (5 bit)
access : read-write
SQ8 : 8th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 8th in the regular conversion sequence Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 18 - 22 (5 bit)
access : read-write
SQ9 : 9th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 9th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 24 - 28 (5 bit)
access : read-write
ADC regular sequence register 3
address_offset : 0x38 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SQ10 : 10th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 10th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 0 - 4 (5 bit)
access : read-write
SQ11 : 11th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 11th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 6 - 10 (5 bit)
access : read-write
SQ12 : 12th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 12th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 12 - 16 (5 bit)
access : read-write
SQ13 : 13th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 13th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 18 - 22 (5 bit)
access : read-write
SQ14 : 14th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 14th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 24 - 28 (5 bit)
access : read-write
ADC regular sequence register 4
address_offset : 0x3C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SQ15 : 15th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 15th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 0 - 4 (5 bit)
access : read-write
SQ16 : 16th conversion in regular sequence These bits are written by software with the channel number (0..19) assigned as the 16th in the regular conversion sequence. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 6 - 10 (5 bit)
access : read-write
ADC interrupt enable register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADRDYIE : ADC ready interrupt enable This bit is set and cleared by software to enable/disable the ADC Ready interrupt. Note: Software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
ADRDY interrupt disabled
0x1 : B_0x1
ADRDY interrupt enabled. An interrupt is generated when the ADRDY bit is set.
End of enumeration elements list.
EOSMPIE : End of sampling flag interrupt enable for regular conversions This bit is set and cleared by software to enable/disable the end of the sampling phase interrupt for regular conversions. Note: Software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
EOSMP interrupt disabled.
0x1 : B_0x1
EOSMP interrupt enabled. An interrupt is generated when the EOSMP bit is set.
End of enumeration elements list.
EOCIE : End of regular conversion interrupt enable This bit is set and cleared by software to enable/disable the end of a regular conversion interrupt. Note: Software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
EOC interrupt disabled.
0x1 : B_0x1
EOC interrupt enabled. An interrupt is generated when the EOC bit is set.
End of enumeration elements list.
EOSIE : End of regular sequence of conversions interrupt enable This bit is set and cleared by software to enable/disable the end of regular sequence of conversions interrupt. Note: Software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
EOS interrupt disabled
0x1 : B_0x1
EOS interrupt enabled. An interrupt is generated when the EOS bit is set.
End of enumeration elements list.
OVRIE : Overrun interrupt enable This bit is set and cleared by software to enable/disable the Overrun interrupt of a regular conversion. Note: Software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Overrun interrupt disabled
0x1 : B_0x1
Overrun interrupt enabled. An interrupt is generated when the OVR bit is set.
End of enumeration elements list.
JEOCIE : End of injected conversion interrupt enable This bit is set and cleared by software to enable/disable the end of an injected conversion interrupt. Note: Software is allowed to write this bit only when JADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
JEOC interrupt disabled.
0x1 : B_0x1
JEOC interrupt enabled. An interrupt is generated when the JEOC bit is set.
End of enumeration elements list.
JEOSIE : End of injected sequence of conversions interrupt enable This bit is set and cleared by software to enable/disable the end of injected sequence of conversions interrupt. Note: Software is allowed to write this bit only when JADSTART = 0 (which ensures that no injected conversion is ongoing).
bits : 6 - 6 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
JEOS interrupt disabled
0x1 : B_0x1
JEOS interrupt enabled. An interrupt is generated when the JEOS bit is set.
End of enumeration elements list.
AWD1IE : Analog watchdog 1 interrupt enable This bit is set and cleared by software to enable/disable the analog watchdog 1 interrupt. Note: Software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 7 - 7 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Analog watchdog 1 interrupt disabled
0x1 : B_0x1
Analog watchdog 1 interrupt enabled
End of enumeration elements list.
AWD2IE : Analog watchdog 2 interrupt enable This bit is set and cleared by software to enable/disable the analog watchdog 2 interrupt. Note: Software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Analog watchdog 2 interrupt disabled
0x1 : B_0x1
Analog watchdog 2 interrupt enabled
End of enumeration elements list.
AWD3IE : Analog watchdog 3 interrupt enable This bit is set and cleared by software to enable/disable the analog watchdog 2 interrupt. Note: Software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Analog watchdog 3 interrupt disabled
0x1 : B_0x1
Analog watchdog 3 interrupt enabled
End of enumeration elements list.
ADC regular Data Register
address_offset : 0x40 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RDATA : Regular data converted These bits are read-only. They contain the conversion result from the last converted regular channel. The data are left- or right-aligned as described in .
bits : 0 - 31 (32 bit)
access : read-only
ADC injected sequence register
address_offset : 0x4C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
JL : Injected channel sequence length These bits are written by software to define the total number of conversions in the injected channel conversion sequence. Note: The software is allowed to write these bits only when JADSTART = 0 (which ensures that no injected conversion is ongoing.
bits : 0 - 1 (2 bit)
access : read-write
Enumeration:
0x0 : B_0x0
1 conversion
0x1 : B_0x1
2 conversions
0x2 : B_0x2
3 conversions
0x3 : B_0x3
4 conversions
End of enumeration elements list.
JEXTSEL : External trigger selection for injected group These bits select the external event used to trigger the start of conversion of an injected group: ... Refer to the ADC external trigger for injected channels in internal signals for details on trigger mapping. Note: The software is allowed to write these bits only when JADSTART = 0 (which ensures that no injected conversion is ongoing.
bits : 2 - 6 (5 bit)
access : read-write
Enumeration:
0x0 : B_0x0
adc_jext_trg0
0x1 : B_0x1
adc_jext_trg1
End of enumeration elements list.
JEXTEN : External trigger enable and polarity selection for injected channels These bits are set and cleared by software to select the external trigger polarity and enable the trigger of an injected group. Note: The software is allowed to write these bits only when JADSTART = 0 (which ensures that no injected conversion is ongoing.
bits : 7 - 8 (2 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Hardware trigger detection disabled (conversions can be launched by software)
0x1 : B_0x1
Hardware trigger detection on the rising edge
0x2 : B_0x2
Hardware trigger detection on the falling edge
0x3 : B_0x3
Hardware trigger detection on both the rising and falling edges
End of enumeration elements list.
JSQ1 : 1st conversion in the injected sequence These bits are written by software with the channel number (0..19) assigned as the 1st in the injected conversion sequence. Note: The software is allowed to write these bits only when JADSTART = 0 (which ensures that no injected conversion is ongoing.
bits : 9 - 13 (5 bit)
access : read-write
JSQ2 : 2nd conversion in the injected sequence These bits are written by software with the channel number (0..19) assigned as the 2nd in the injected conversion sequence. Note: The software is allowed to write these bits only when JADSTART = 0 (which ensures that no injected conversion is ongoing.
bits : 15 - 19 (5 bit)
access : read-write
JSQ3 : 3rd conversion in the injected sequence These bits are written by software with the channel number (0..19) assigned as the 3rd in the injected conversion sequence. Note: The software is allowed to write these bits only when JADSTART = 0 (which ensures that no injected conversion is ongoing.
bits : 21 - 25 (5 bit)
access : read-write
JSQ4 : 4th conversion in the injected sequence These bits are written by software with the channel number (0..19) assigned as the 4th in the injected conversion sequence. Note: The software is allowed to write these bits only when JADSTART = 0 (which ensures that no injected conversion is ongoing.
bits : 27 - 31 (5 bit)
access : read-write
ADC offset register
address_offset : 0x60 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
OFFSET : Data offset y for the channel programmed into OFFSETy_CH[4:0] bits These bits are written by software to define the offset y to be subtracted from the raw converted data when converting a channel (regular or injected). The channel to which the data offset y applies must be programmed to the OFFSETy_CH[4:0] bits. The conversion result can be read from in the ADC_DR (regular conversion) or from in the ADC_JDRyi registers (injected conversion). When OFFSETy[21:0] bitfield is reset, the offset compensation is disabled. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing). If several offsets (OFFSETy) point to the same channel, only the offset with the lowest y value is considered for the subtraction. For example, if OFFSET1_CH[4:0] = 4 and OFFSET2_CH[4:0] = 4, this is OFFSET1[25:0] that is subtracted when converting channel 4.
bits : 0 - 23 (24 bit)
access : read-write
POSOFF : offset sign This bit is set and cleared by software to enable the positive offset. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Negative offset
0x1 : B_0x1
Positive offset
End of enumeration elements list.
USAT : Unsigned saturation enable This bit is written by software to enable or disable the unsigned saturation feature. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Offset is subtracted maintaining data integrity and keeping converted data size
0x1 : B_0x1
Offset is subtracted and result is saturated to maintain converted data size.
End of enumeration elements list.
SSAT : Signed saturation enable This bit is written by software to enable or disable the Signed saturation feature. (see OFFSETy_CH, OVSS, LSHIFT, USAT, SSAT) for details). Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 26 - 26 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Offset is subtracted maintaining data integrity and extending converted data size (9-bit and 15-bit signed format).
0x1 : B_0x1
Offset is subtracted and result is saturated to maintain converted data size.
End of enumeration elements list.
OFFSET_CH : Channel selection for the data offset y These bits are written by software to define the channel to which the offset programmed into OFFSETy[25:0] bits applies. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing). If OFFSETy_EN bit is set, it is not allowed to select the same channel in different ADC_OFRy registers.
bits : 27 - 31 (5 bit)
access : read-write
ADC offset register
address_offset : 0x64 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
OFFSET : Data offset y for the channel programmed into OFFSETy_CH[4:0] bits These bits are written by software to define the offset y to be subtracted from the raw converted data when converting a channel (regular or injected). The channel to which the data offset y applies must be programmed to the OFFSETy_CH[4:0] bits. The conversion result can be read from in the ADC_DR (regular conversion) or from in the ADC_JDRyi registers (injected conversion). When OFFSETy[21:0] bitfield is reset, the offset compensation is disabled. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing). If several offsets (OFFSETy) point to the same channel, only the offset with the lowest y value is considered for the subtraction. For example, if OFFSET1_CH[4:0] = 4 and OFFSET2_CH[4:0] = 4, this is OFFSET1[25:0] that is subtracted when converting channel 4.
bits : 0 - 23 (24 bit)
access : read-write
POSOFF : offset sign This bit is set and cleared by software to enable the positive offset. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Negative offset
0x1 : B_0x1
Positive offset
End of enumeration elements list.
USAT : Unsigned saturation enable This bit is written by software to enable or disable the unsigned saturation feature. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Offset is subtracted maintaining data integrity and keeping converted data size
0x1 : B_0x1
Offset is subtracted and result is saturated to maintain converted data size.
End of enumeration elements list.
SSAT : Signed saturation enable This bit is written by software to enable or disable the Signed saturation feature. (see OFFSETy_CH, OVSS, LSHIFT, USAT, SSAT) for details). Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 26 - 26 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Offset is subtracted maintaining data integrity and extending converted data size (9-bit and 15-bit signed format).
0x1 : B_0x1
Offset is subtracted and result is saturated to maintain converted data size.
End of enumeration elements list.
OFFSET_CH : Channel selection for the data offset y These bits are written by software to define the channel to which the offset programmed into OFFSETy[25:0] bits applies. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing). If OFFSETy_EN bit is set, it is not allowed to select the same channel in different ADC_OFRy registers.
bits : 27 - 31 (5 bit)
access : read-write
ADC offset register
address_offset : 0x68 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
OFFSET : Data offset y for the channel programmed into OFFSETy_CH[4:0] bits These bits are written by software to define the offset y to be subtracted from the raw converted data when converting a channel (regular or injected). The channel to which the data offset y applies must be programmed to the OFFSETy_CH[4:0] bits. The conversion result can be read from in the ADC_DR (regular conversion) or from in the ADC_JDRyi registers (injected conversion). When OFFSETy[21:0] bitfield is reset, the offset compensation is disabled. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing). If several offsets (OFFSETy) point to the same channel, only the offset with the lowest y value is considered for the subtraction. For example, if OFFSET1_CH[4:0] = 4 and OFFSET2_CH[4:0] = 4, this is OFFSET1[25:0] that is subtracted when converting channel 4.
bits : 0 - 23 (24 bit)
access : read-write
POSOFF : offset sign This bit is set and cleared by software to enable the positive offset. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Negative offset
0x1 : B_0x1
Positive offset
End of enumeration elements list.
USAT : Unsigned saturation enable This bit is written by software to enable or disable the unsigned saturation feature. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Offset is subtracted maintaining data integrity and keeping converted data size
0x1 : B_0x1
Offset is subtracted and result is saturated to maintain converted data size.
End of enumeration elements list.
SSAT : Signed saturation enable This bit is written by software to enable or disable the Signed saturation feature. (see OFFSETy_CH, OVSS, LSHIFT, USAT, SSAT) for details). Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 26 - 26 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Offset is subtracted maintaining data integrity and extending converted data size (9-bit and 15-bit signed format).
0x1 : B_0x1
Offset is subtracted and result is saturated to maintain converted data size.
End of enumeration elements list.
OFFSET_CH : Channel selection for the data offset y These bits are written by software to define the channel to which the offset programmed into OFFSETy[25:0] bits applies. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing). If OFFSETy_EN bit is set, it is not allowed to select the same channel in different ADC_OFRy registers.
bits : 27 - 31 (5 bit)
access : read-write
ADC offset register
address_offset : 0x6C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
OFFSET : Data offset y for the channel programmed into OFFSETy_CH[4:0] bits These bits are written by software to define the offset y to be subtracted from the raw converted data when converting a channel (regular or injected). The channel to which the data offset y applies must be programmed to the OFFSETy_CH[4:0] bits. The conversion result can be read from in the ADC_DR (regular conversion) or from in the ADC_JDRyi registers (injected conversion). When OFFSETy[21:0] bitfield is reset, the offset compensation is disabled. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing). If several offsets (OFFSETy) point to the same channel, only the offset with the lowest y value is considered for the subtraction. For example, if OFFSET1_CH[4:0] = 4 and OFFSET2_CH[4:0] = 4, this is OFFSET1[25:0] that is subtracted when converting channel 4.
bits : 0 - 23 (24 bit)
access : read-write
POSOFF : offset sign This bit is set and cleared by software to enable the positive offset. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Negative offset
0x1 : B_0x1
Positive offset
End of enumeration elements list.
USAT : Unsigned saturation enable This bit is written by software to enable or disable the unsigned saturation feature. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Offset is subtracted maintaining data integrity and keeping converted data size
0x1 : B_0x1
Offset is subtracted and result is saturated to maintain converted data size.
End of enumeration elements list.
SSAT : Signed saturation enable This bit is written by software to enable or disable the Signed saturation feature. (see OFFSETy_CH, OVSS, LSHIFT, USAT, SSAT) for details). Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 26 - 26 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Offset is subtracted maintaining data integrity and extending converted data size (9-bit and 15-bit signed format).
0x1 : B_0x1
Offset is subtracted and result is saturated to maintain converted data size.
End of enumeration elements list.
OFFSET_CH : Channel selection for the data offset y These bits are written by software to define the channel to which the offset programmed into OFFSETy[25:0] bits applies. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing). If OFFSETy_EN bit is set, it is not allowed to select the same channel in different ADC_OFRy registers.
bits : 27 - 31 (5 bit)
access : read-write
ADC gain compensation register
address_offset : 0x70 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
GCOMPCOEFF : Gain compensation coefficient These bits are set and cleared by software to program the gain compensation coefficient. ... ... The coefficient is divided by 4096 to get the gain factor ranging from 0 to 3.999756. Note: This gain compensation is only applied when GCOMP bit of ADCx_CFGR2 register is 1.
bits : 0 - 13 (14 bit)
access : read-write
Enumeration:
0x800 : B_0x800
gain factor of 0.5
0x1000 : B_0x1000
gain factor of 1
0x2000 : B_0x2000
gain factor of 2
0x3000 : B_0x3000
gain factor of 3
End of enumeration elements list.
GCOMP : Gain compensation mode This bit is set and cleared by software to enable the gain compensation mode. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no conversion is ongoing).
bits : 31 - 31 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Regular ADC operating mode
0x1 : B_0x1
Gain compensation enabled and applied on all channels
End of enumeration elements list.
ADC control register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADEN : ADC enable control This bit is set by software to enable the ADC. The ADC is effectively ready to operate once the flag ADRDY has been set. It is cleared by hardware when the ADC is disabled, after the execution of the ADDIS command. Note: The software is allowed to set ADEN only when all bits of ADC_CR registers are 0 (ADCAL = 0, JADSTART = 0, ADSTART = 0, ADSTP = 0, ADDIS = 0 and ADEN = 0) except for bit ADVREGEN which must be 1 (and the software must have wait for the startup time of the voltage regulator)
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
ADC is disabled (OFF state)
0x1 : B_0x1
Write 1 to enable the ADC.
End of enumeration elements list.
ADDIS : ADC disable command This bit is set by software to disable the ADC (ADDIS command) and put it into power-down state (OFF state). It is cleared by hardware once the ADC is effectively disabled (ADEN is also cleared by hardware at this time). Note: The software is allowed to set ADDIS only when ADEN = 1 and both ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing)
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
no ADDIS command ongoing
0x1 : B_0x1
Write 1 to disable the ADC. Read 1 means that an ADDIS command is in progress.
End of enumeration elements list.
ADSTART : ADC start of regular conversion This bit is set by software to start ADC conversion of regular channels. Depending on the configuration bits EXTEN[1:0], a conversion starts immediately (software trigger configuration) or once a regular hardware trigger event occurs (hardware trigger configuration). It is cleared by hardware: in Single conversion mode (CONT = 0, DISCEN = 0) when software trigger is selected (EXTEN[1:0] = 0x0): at the assertion of the end of regular conversion sequence (EOS) flag. In Discontinuous conversion mode (CONT = 0, DISCEN = 1), when the software trigger is selected (EXTEN[1:0] = 0x0): at the end of conversion (EOC) flag. in all other cases: after the execution of the ADSTP command, at the same time that ADSTP is cleared by hardware. Note: The software is allowed to set ADSTART only when ADEN = 1 and ADDIS = 0 (ADC is enabled and there is no pending request to disable the ADC) In Auto-injection mode (JAUTO = 1), regular and auto-injected conversions are started by setting bit ADSTART (JADSTART must be kept cleared)
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No ADC regular conversion is ongoing.
0x1 : B_0x1
Write 1 to start regular conversions. Read 1 means that the ADC is operating and eventually converting a regular channel.
End of enumeration elements list.
JADSTART : ADC start of injected conversion This bit is set by software to start ADC conversion of injected channels. Depending on the configuration bits JEXTEN[1:0], a conversion starts immediately (software trigger configuration) or once an injected hardware trigger event occurs (hardware trigger configuration). It is cleared by hardware: in Single conversion mode when software trigger is selected (JEXTSEL = 0x0): at the assertion of the end of injected conversion sequence (JEOS) flag. in all cases: after the execution of the JADSTP command, at the same time as JADSTP is cleared by hardware. Note: The software is allowed to set JADSTART only when ADEN = 1 and ADDIS = 0 (ADC is enabled and there is no pending request to disable the ADC). In Auto-injection mode (JAUTO = 1), regular and auto-injected conversions are started by setting bit ADSTART (JADSTART must be kept cleared)
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No ADC injected conversion is ongoing.
0x1 : B_0x1
Write 1 to start injected conversions. Read 1 means that the ADC is operating and eventually converting an injected channel.
End of enumeration elements list.
ADSTP : ADC stop of regular conversion command This bit is set by software to stop and discard an ongoing regular conversion (ADSTP Command). It is cleared by hardware when the conversion is effectively discarded and the ADC regular sequence and triggers can be re-configured. The ADC is then ready to accept a new start of regular conversions (ADSTART command). Note: The software is allowed to set ADSTP only when ADSTART = 1 and ADDIS = 0 (ADC is enabled and eventually converting a regular conversion and there is no pending request to disable the ADC). In Auto-injection mode (JAUTO = 1), setting ADSTP bit aborts both regular and injected conversions (do not use JADSTP).
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No ADC stop regular conversion command ongoing
0x1 : B_0x1
Write 1 to stop regular conversions ongoing. Read 1 means that an ADSTP command is in progress.
End of enumeration elements list.
JADSTP : ADC stop of injected conversion command This bit is set by software to stop and discard an ongoing injected conversion (JADSTP Command). It is cleared by hardware when the conversion is effectively discarded and the ADC injected sequence and triggers can be re-configured. The ADC is then ready to accept a new start of injected conversions (JADSTART command). Note: The software is allowed to set JADSTP only when JADSTART = 1 and ADDIS = 0 (ADC is enabled and eventually converting an injected conversion and there is no pending request to disable the ADC). In Auto-injection mode (JAUTO = 1), setting ADSTP bit aborts both regular and injected conversions (do not use JADSTP)
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No ADC stop injected conversion command ongoing
0x1 : B_0x1
Write 1 to stop injected conversions ongoing. Read 1 means that an ADSTP command is in progress.
End of enumeration elements list.
ADCALLIN : Linearity calibration This bit is set and cleared by software to enable the linearity calibration. Note: The software is allowed to write this bit only when the ADC is disabled and is not calibrating (ADCAL = 0, JADSTART = 0, JADSTP = 0, ADSTART = 0, ADSTP = 0, ADDIS = 0 and ADEN = 0).
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Writing ADCAL launches a calibration without the linearity calibration.
0x1 : B_0x1
Writing ADCAL launches a calibration with he linearity calibration.
End of enumeration elements list.
CALINDEX : Calibration factor This bitfield controls the calibration factor to be read or written. Calibration index 0 is dedicated to single-ended and differential offsets, calibration index 1 to 7 to the linearity calibration factors, and index 8 to the internal offset: Others: Reserved, must not be used Note: ADC_CALFACT2[31:0] correspond to the location of CALINDEX[3:0] calibration factor data (see for details).
bits : 24 - 27 (4 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Offset calibration factor
0x1 : B_0x1
linearity calibration factor 1
0x2 : B_0x2
linearity calibration factor 2
0x3 : B_0x3
linearity calibration factor 3
0x4 : B_0x4
linearity calibration factor 4
0x5 : B_0x5
linearity calibration factor 5
0x6 : B_0x6
linearity calibration factor 6
0x7 : B_0x7
linearity calibration factor 7 and internal offset (write access only)
0x8 : B_0x8
internal offset (read access only)
End of enumeration elements list.
ADVREGEN : ADC voltage regulator enable This bits is set by software to enable the ADC voltage regulator. Before performing any operation such as launching a calibration or enabling the ADC, the ADC voltage regulator must first be enabled and the software must wait for the regulator start-up time. For more details about the ADC voltage regulator enable and disable sequences, refer to (ADVREGEN). The software can program this bit field only when the ADC is disabled (ADCAL = 0, JADSTART = 0, ADSTART = 0, ADSTP = 0, ADDIS = 0 and ADEN = 0).
bits : 28 - 28 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
ADC Voltage regulator disabled
0x1 : B_0x1
ADC Voltage regulator enabled.
End of enumeration elements list.
DEEPPWD : Deep-power-down enable This bit is set and cleared by software to put the ADC in Deep-power-down mode. Note: The software is allowed to write this bit only when the ADC is disabled (ADCAL = 0, JADSTART = 0, JADSTP = 0, ADSTART = 0, ADSTP = 0, ADDIS = 0 and ADEN = 0).
bits : 29 - 29 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
ADC not in deep-power down
0x1 : B_0x1
ADC in Deep-power-down (default reset state)
End of enumeration elements list.
ADCAL : ADC calibration This bit is set by software to start the ADC calibration. It is cleared by hardware after calibration is complete. Note: The software is allowed to launch a calibration by setting ADCAL only when ADEN = 0.
bits : 31 - 31 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Calibration complete
0x1 : B_0x1
Write 1 to calibrate the ADC. Read at 1 means that a calibration in progress.
End of enumeration elements list.
ADC injected data register
address_offset : 0x80 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
JDATA : Injected data These bits are read-only. They contain the conversion result from injected channel y. The data are left -or right-aligned as described in .
bits : 0 - 31 (32 bit)
access : read-only
ADC injected data register
address_offset : 0x84 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
JDATA : Injected data These bits are read-only. They contain the conversion result from injected channel y. The data are left -or right-aligned as described in .
bits : 0 - 31 (32 bit)
access : read-only
ADC injected data register
address_offset : 0x88 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
JDATA : Injected data These bits are read-only. They contain the conversion result from injected channel y. The data are left -or right-aligned as described in .
bits : 0 - 31 (32 bit)
access : read-only
ADC injected data register
address_offset : 0x8C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
JDATA : Injected data These bits are read-only. They contain the conversion result from injected channel y. The data are left -or right-aligned as described in .
bits : 0 - 31 (32 bit)
access : read-only
ADC analog watchdog 2 configuration register
address_offset : 0xA0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
AWD2CH : Analog watchdog 2 channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by the analog watchdog 2. AWD2CH[i] = 0: ADC analog input channel-i is not monitored by AWD2 AWD2CH[i] = 1: ADC analog input channel-i is monitored by AWD2 When AWD2CH[19:0] = 000..0, the analog Watchdog 2 is disabled Note: The channels selected by AWD2CH 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).
bits : 0 - 19 (20 bit)
access : read-write
ADC analog watchdog 3 configuration register
address_offset : 0xA4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
AWD3CH : Analog watchdog 3 channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by the analog watchdog 3. AWD3CH[i] = 0: ADC analog input channel-i is not monitored by AWD3 AWD3CH[i] = 1: ADC analog input channel-i is monitored by AWD3 When AWD3CH[19:0] = 000..0, the analog Watchdog 3 is disabled Note: The channels selected by AWD3CH must be also selected into the SQRi or JSQRi registers. The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 0 - 19 (20 bit)
access : read-write
ADC watchdog threshold register 1
address_offset : 0xA8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
LTR1 : Analog watchdog 1 lower threshold These bits are written by software to define the lower threshold for the analog watchdog 1. Refer to AWD2CH, AWD3CH, AWD_HTRy, AWD_LTRy, AWDy).
bits : 0 - 24 (25 bit)
access : read-write
ADC watchdog threshold register 1
address_offset : 0xAC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
HTR1 : Analog watchdog 1 higher threshold These bits are written by software to define the higher threshold for the analog watchdog 1. Refer to AWD2CH, AWD3CH, AWD_HTRy, AWD_LTRy, AWDy).
bits : 0 - 24 (25 bit)
access : read-write
AWDFILT1 : Analog watchdog filtering parameter This bit is set and cleared by software. ... Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 29 - 31 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No filtering
0x1 : B_0x1
two consecutive detection generates an AWDx flag or an interrupt
0x7 : B_0x7
Eight consecutive detection generates an AWDx flag or an interrupt
End of enumeration elements list.
ADC watchdog lower threshold register 2
address_offset : 0xB0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
LTR2 : Analog watchdog 2 lower threshold These bits are written by software to define the lower threshold for the analog watchdog 2. Refer to AWD2CH, AWD3CH, AWD_HTRy, AWD_LTRy, AWDy).
bits : 0 - 24 (25 bit)
access : read-write
ADC watchdog higher threshold register 2
address_offset : 0xB4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
HTR2 : Analog watchdog 2 higher threshold These bits are written by software to define the higher threshold for the analog watchdog 2. Refer to AWD2CH, AWD3CH, AWD_HTRy, AWD_LTRy, AWDy).
bits : 0 - 24 (25 bit)
access : read-write
ADC watchdog lower threshold register 3
address_offset : 0xB8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
LTR3 : Analog watchdog 3 lower threshold These bits are written by software to define the lower threshold for the analog watchdog 3. Refer to AWD2CH, AWD3CH, AWD_HTRy, AWD_LTRy, AWDy).
bits : 0 - 24 (25 bit)
access : read-write
ADC watchdog higher threshold register 3
address_offset : 0xBC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
HTR3 : Analog watchdog 3 higher threshold These bits are written by software to define the higher threshold for the analog watchdog 3. Refer to AWD2CH, AWD3CH, AWD_HTRy, AWD_LTRy, AWDy).
bits : 0 - 24 (25 bit)
access : read-write
ADC configuration register
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DMNGT : Data management configuration This bit is set and cleared by software to select how the ADC interface output data are managed. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 0 - 1 (2 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Regular conversion data stored in DR only
0x1 : B_0x1
DMA One -shot mode selected
0x2 : B_0x2
MDF mode selected
0x3 : B_0x3
DMA Circular mode selected
End of enumeration elements list.
RES : Data resolution These bits are written by software to select the resolution of the conversion. Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 2 - 3 (2 bit)
access : read-write
Enumeration:
0x0 : B_0x0
14 bits
0x1 : B_0x1
12 bits
0x2 : B_0x2
10 bits
0x3 : B_0x3
8bits
End of enumeration elements list.
EXTSEL : External trigger selection for regular group These bits select the external event used to trigger the start of conversion of a regular group: ... Refer to the ADC external trigger for regular channels in signals for details on trigger mapping. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 5 - 9 (5 bit)
access : read-write
Enumeration:
0x0 : B_0x0
adc_ext_trg0
0x1 : B_0x1
adc_ext_trg1
End of enumeration elements list.
EXTEN : External trigger enable and polarity selection for regular channels These bits are set and cleared by software to select the external trigger polarity and enable the trigger of a regular group. Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 10 - 11 (2 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Hardware trigger detection disabled (conversions can be launched by software)
0x1 : B_0x1
Hardware trigger detection on the rising edge
0x2 : B_0x2
Hardware trigger detection on the falling edge
0x3 : B_0x3
Hardware trigger detection on both the rising and falling edges
End of enumeration elements list.
OVRMOD : Overrun Mode This bit is set and cleared by software and configure the way data overrun is managed. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 12 - 12 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
ADC_DR register is preserved with the old data when an overrun is detected.
0x1 : B_0x1
ADC_DR register is overwritten with the last conversion result when an overrun is detected.
End of enumeration elements list.
CONT : Single / continuous conversion mode for regular conversions This bit is set and cleared by software. If it is set, regular conversion takes place continuously until it is cleared. Note: It is not possible to have both discontinuous mode and continuous mode enabled: it is forbidden to set both DISCEN = 1 and CONT = 1. The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 13 - 13 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Single conversion mode
0x1 : B_0x1
Continuous conversion mode
End of enumeration elements list.
AUTDLY : Delayed conversion mode This bit is set and cleared by software to enable/disable the Auto Delayed Conversion mode.. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 14 - 14 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Auto-delayed conversion mode off
0x1 : B_0x1
Auto-delayed conversion mode on
End of enumeration elements list.
DISCEN : Discontinuous mode for regular channels This bit is set and cleared by software to enable/disable Discontinuous mode for regular channels. Note: It is not possible to have both discontinuous mode and continuous mode enabled: it is forbidden to set both DISCEN = 1 and CONT = 1. It is not possible to use both auto-injected mode and discontinuous mode simultaneously: the bits DISCEN and JDISCEN must be kept cleared by software when JAUTO is set. The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Discontinuous mode for regular channels disabled
0x1 : B_0x1
Discontinuous mode for regular channels enabled
End of enumeration elements list.
DISCNUM : Discontinuous mode channel count These bits are written by software to define the number of regular channels to be converted in discontinuous mode, after receiving an external trigger. ... Note: The software is allowed to write these bits only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 17 - 19 (3 bit)
access : read-write
Enumeration:
0x0 : B_0x0
1 channel
0x1 : B_0x1
2 channels
0x7 : B_0x7
8 channels
End of enumeration elements list.
JDISCEN : Discontinuous mode on injected channels This bit is set and cleared by software to enable/disable discontinuous mode on the injected channels of a group. Note: The software is allowed to write this bit only when JADSTART = 0 (which ensures that no injected conversion is ongoing). It is not possible to use both auto-injected mode and discontinuous mode simultaneously: the bits DISCEN and JDISCEN must be kept cleared by software when JAUTO is set.
bits : 20 - 20 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Discontinuous mode on injected channels disabled
0x1 : B_0x1
Discontinuous mode on injected channels enabled
End of enumeration elements list.
AWD1SGL : Enable the watchdog 1 on a single channel or on all channels This bit is set and cleared by software to enable the analog watchdog on the channel identified by the AWD1CH[4:0] bits or on all the channels Note: The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
bits : 22 - 22 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Analog watchdog 1 enabled on all channels
0x1 : B_0x1
Analog watchdog 1 enabled on a single channel
End of enumeration elements list.
AWD1EN : Analog watchdog 1 enable on regular channels This bit is set and cleared by software Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
bits : 23 - 23 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Analog watchdog 1 disabled on regular channels
0x1 : B_0x1
Analog watchdog 1 enabled on regular channels
End of enumeration elements list.
JAWD1EN : Analog watchdog 1 enable on injected channels This bit is set and cleared by software Note: The software is allowed to write this bit only when JADSTART = 0 (which ensures that no injected conversion is ongoing).
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Analog watchdog 1 disabled on injected channels
0x1 : B_0x1
Analog watchdog 1 enabled on injected channels
End of enumeration elements list.
JAUTO : Automatic injected group conversion This bit is set and cleared by software to enable/disable automatic injected group conversion after regular group conversion. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no regular nor injected conversion is ongoing).
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Automatic injected group conversion disabled
0x1 : B_0x1
Automatic injected group conversion enabled
End of enumeration elements list.
AWD1CH : 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. ..... 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).
bits : 26 - 30 (5 bit)
access : read-write
Enumeration:
0x0 : B_0x0
ADC analog input channel-0 monitored by AWD1
0x1 : B_0x1
ADC analog input channel-1 monitored by AWD1
0x13 : B_0x13
ADC analog input channel-19 monitored by AWD1
End of enumeration elements list.
ADC differential mode selection register
address_offset : 0xC0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DIFSEL : Differential mode for channels 19 to 0 These bits are set and cleared by software. They allow selecting if a channel is configured as single ended or differential mode. DIFSEL[i] = 0: ADC analog input channel-i is configured in single ended mode DIFSEL[i] = 1: ADC analog input channel-i is configured in differential mode Note: The software is allowed to write these bits only when the ADC is disabled (ADCAL = 0, JADSTART = 0, JADSTP = 0, ADSTART = 0, ADSTP = 0, ADDIS = 0 and ADEN = 0).
bits : 0 - 19 (20 bit)
access : read-write
ADC user control register
address_offset : 0xC4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
I_APB_ADDR : Delayed write access address This bitfield contains the address that is being written during delayed write accesses.
bits : 0 - 7 (8 bit)
access : read-only
I_APB_DATA : Delayed write access data This bitfield contains the data that are being written during delayed write accesses.
bits : 8 - 15 (8 bit)
access : read-only
VALIDITY : Delayed write access status bit This bit indicates the communication status between the ADC digital and analog blocks.
bits : 16 - 16 (1 bit)
access : read-only
Enumeration:
0x0 : B_0x0
Operation still in progress
0x1 : B_0x1
Operation complete
End of enumeration elements list.
LATCH_COEF : Calibration factor latch enable bit This bit latches the calibration factor in the CALFACT[31:0] bits.
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
No effect
0x1 : B_0x1
Calibration factor latched in the analog block on LATCH_COEF bit transition from 0 to 1. Prior to latching the calibration factor, CALFACT[31:0] bits must be programmed with the content of CALINDEX[3:0] bits.
End of enumeration elements list.
CAPTURE_COEF : Calibration factor capture enable bit This bit enables the internal calibration factor capture.
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
0x0 : B_0x0
Calibration factor not captured
0x1 : B_0x1
Calibration factor available in CALFACT[31:0] bits, the calibration factor index being defined by CALINDEX[3:0] bits
End of enumeration elements list.
ADC calibration factor register
address_offset : 0xC8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CALFACT : Linearity or offset calibration factor These bits can be written either by hardware or by software. They contain the 32-bit offset or linearity calibration factor. When CAPTURE_COEF is set to 1, the calibration factor of the analog block is read back and stored in CALFACT[31:0], indexed by CALINDEX[3:0] bits. When LATCH_COEF is set to 1, the calibration factor of the analog block is updated with the value programmed in CALFACT[31:0], indexed by CALINDEX[3:0] bits. To read all calibration factors, perform nine accesses to the ADC_CALFACT2 register. To write all calibration factors, perform eight accesses to the ADC_CALFACT2 register. Note: The software is allowed to write these bits only when ADEN = 1, ADSTART = 0 and JADSTART = 0 (ADC is enabled and no calibration is ongoing and no conversion is ongoing).
bits : 0 - 31 (32 bit)
access : read-write
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.