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
Copy file name to clipboardExpand all lines: system/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h
+29-29
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
#define__STM32F4xx_ADC_H
22
22
23
23
#ifdef__cplusplus
24
-
extern"C" {
24
+
extern"C" {
25
25
#endif
26
26
27
27
/* Includes ------------------------------------------------------------------*/
@@ -101,11 +101,11 @@ typedef struct
101
101
If trigger is set to ADC_SOFTWARE_START, this parameter is discarded.
102
102
This parameter can be a value of @ref ADC_External_trigger_edge_Regular */
103
103
FunctionalStateDMAContinuousRequests; /*!< Specifies whether the DMA requests are performed in one shot mode (DMA transfer stop when number of conversions is reached)
104
-
or in Continuous mode (DMA transfer unlimited, whatever number of conversions).
105
-
Note: In continuous mode, DMA must be configured in circular mode. Otherwise an overrun will be triggered when DMA buffer maximum pointer is reached.
106
-
Note: This parameter must be modified when no conversion is on going on both regular and injected groups (ADC disabled, or ADC enabled without continuous mode or external trigger that could launch a conversion).
107
-
This parameter can be set to ENABLE or DISABLE. */
108
-
}ADC_InitTypeDef;
104
+
or in Continuous mode (DMA transfer unlimited, whatever number of conversions).
105
+
Note: In continuous mode, DMA must be configured in circular mode. Otherwise an overrun will be triggered when DMA buffer maximum pointer is reached.
106
+
Note: This parameter must be modified when no conversion is on going on both regular and injected groups (ADC disabled, or ADC enabled without continuous mode or external trigger that could launch a conversion).
107
+
This parameter can be set to ENABLE or DISABLE. */
108
+
}ADC_InitTypeDef;
109
109
110
110
111
111
@@ -130,7 +130,7 @@ typedef struct
130
130
sampling time constraints must be respected (sampling time can be adjusted in function of ADC clock frequency and sampling time setting)
131
131
Refer to device datasheet for timings values, parameters TS_vrefint, TS_temp (values rough order: 4us min). */
132
132
uint32_tOffset; /*!< Reserved for future use, can be set to 0 */
0 commit comments