Peripheral Control functions.
More...
Peripheral Control functions.
===============================================================================
##### Peripheral Control functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Configure regular channels.
(+) Configure injected channels.
(+) Configure multimode.
(+) Configure the analog watch dog.
◆ HAL_ADC_AnalogWDGConfig()
Configures the analog watchdog.
- Note
- Analog watchdog thresholds can be modified while ADC conversion is on going. In this case, some constraints must be taken into account: The programmed threshold values are effective from the next ADC EOC (end of unitary conversion). Considering that registers write delay may happen due to bus activity, this might cause an uncertainty on the effective timing of the new programmed threshold values.
- Parameters
-
hadc | pointer to a ADC_HandleTypeDef structure that contains the configuration information for the specified ADC. |
AnalogWDGConfig | pointer to an ADC_AnalogWDGConfTypeDef structure that contains the configuration information of ADC analog watchdog. |
- Return values
-
Definition at line 1792 of file stm32f4xx_hal_adc.c.
◆ HAL_ADC_ConfigChannel()
Configures for the selected ADC regular channel its corresponding rank in the sequencer and its sample time.
- Parameters
-
hadc | pointer to a ADC_HandleTypeDef structure that contains the configuration information for the specified ADC. |
sConfig | ADC configuration structure. |
- Return values
-
Definition at line 1669 of file stm32f4xx_hal_adc.c.