You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
obj->handle.Init.ScanConvMode=DISABLE; // Sequencer disabled (ADC conversion on only 1 channel: channel set on rank 1)
84
-
obj->handle.Init.EOCSelection=ADC_EOC_SINGLE_CONV; // On STM32L1xx ADC, overrun detection is enabled only if EOC selection is set to each conversion (or transfer by DMA enabled, this is not the case in this example).
85
-
obj->handle.Init.LowPowerAutoWait=DISABLE;
86
-
obj->handle.Init.ContinuousConvMode=DISABLE; // Continuous mode disabled to have only 1 conversion at each conversion trig
87
-
obj->handle.Init.NbrOfConversion=1; // Parameter discarded because sequencer is disabled
88
-
obj->handle.Init.DiscontinuousConvMode=DISABLE; // Parameter discarded because sequencer is disabled
89
-
obj->handle.Init.NbrOfDiscConversion=1; // Parameter discarded because sequencer is disabled
90
-
obj->handle.Init.ExternalTrigConv=ADC_SOFTWARE_START; // Software start to trig the 1st conversion manually, without external event
obj->handle.Init.ScanConvMode=DISABLE; // Sequencer disabled (ADC conversion on only 1 channel: channel set on rank 1)
75
+
obj->handle.Init.EOCSelection=ADC_EOC_SINGLE_CONV; // On STM32L1xx ADC, overrun detection is enabled only if EOC selection is set to each conversion (or transfer by DMA enabled, this is not the case in this example).
76
+
obj->handle.Init.LowPowerAutoWait=DISABLE;
77
+
obj->handle.Init.ContinuousConvMode=DISABLE; // Continuous mode disabled to have only 1 conversion at each conversion trig
78
+
obj->handle.Init.NbrOfConversion=1; // Parameter discarded because sequencer is disabled
79
+
obj->handle.Init.DiscontinuousConvMode=DISABLE; // Parameter discarded because sequencer is disabled
80
+
obj->handle.Init.NbrOfDiscConversion=1; // Parameter discarded because sequencer is disabled
81
+
obj->handle.Init.ExternalTrigConv=ADC_SOFTWARE_START; // Software start to trig the 1st conversion manually, without external event
0 commit comments