233
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
9.12.4
ADC control register 2 (ADC_CTRL2)
Address offset: 0x08
Reset value: 0x0000 0000
Bit field
Name
Description
31:24
Reserved
Reserved, the reset value must be maintained
23
TEMPEN
Temperature sensor and V
REFINT
Enable
This bit is set and cleared by the software to enable or disable the temperature sensor and
V
REFINT
Channel.
0: Disables the temperature sensor and V
REFINT
.
1: Enable the temperature sensor and V
REFINT
.
22
SWSTRRCH
Start conversion of regular channels
This bit is set by the software to start the conversion and cleared by the hardware as soon as the
conversion begins. If SWSTRRCH is selected as the trigger event in the
ADC_CTRL2.EXTRSEL[2:0] bit, which is used to initiate the conversion of a set of regular
channels
0: Reset state.
1: Starts converting the regular channel.
21
SWSTRJCH
Start conversion of injected channels
This bit is set by the software to initiate the conversion and can be cleared by the software or by
the hardware as soon as the conversion begins. If SWSTRJCH is selected as the trigger event in
the ADC_CTRL2.EXTJSEL[2:0] bit, which is used to initiate a conversion of a set of injected
channels
0: Reset state.
1: Starts converting the injection channel.
20
EXTRTRIG
External trigger conversion mode for regular channels
This bit is set and cleared by software to enable or disable external triggering events that can
start regular sequence conversion.
0: Start conversion without external events.
1: Use an external event to start the conversion.
19:17
EXTRSEL[2:0]
External event select for regular sequence
These bits select external events to start the regular sequence conversion
Trigger configuration for ADC1 and ADC2:
000: TIM1_CC1 event; 100: TIM3_TRGO event;
001: TIM1_CC2 event; 101: TIM4_CC4 event;
010: TIM1_CC3 event; 110: EXTI line 11/TIM8_TRGO event;