|
STM32F103xB HAL User Manual
|
Peripheral Control functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_ADC_ConfigChannel (ADC_HandleTypeDef *hadc, ADC_ChannelConfTypeDef *sConfig) |
| Configures the the selected channel to be linked to the regular group. | |
| HAL_StatusTypeDef | HAL_ADC_AnalogWDGConfig (ADC_HandleTypeDef *hadc, ADC_AnalogWDGConfTypeDef *AnalogWDGConfig) |
| Configures the analog watchdog. | |
Peripheral Control functions.
===============================================================================
##### Peripheral Control functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Configure channels on regular group
(+) Configure the analog watchdog
| HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig | ( | ADC_HandleTypeDef * | hadc, |
| ADC_AnalogWDGConfTypeDef * | AnalogWDGConfig | ||
| ) |
Configures the analog watchdog.
| hadc,: | ADC handle |
| AnalogWDGConfig,: | Structure of ADC analog watchdog configuration |
| HAL | status |
Definition at line 2117 of file stm32f1xx_hal_adc.c.
References __HAL_ADC_DISABLE_IT, __HAL_ADC_ENABLE_IT, ADC_ANALOGWATCHDOG_SINGLE_INJEC, ADC_ANALOGWATCHDOG_SINGLE_REG, ADC_ANALOGWATCHDOG_SINGLE_REGINJEC, ADC_IT_AWD, assert_param, ADC_AnalogWDGConfTypeDef::Channel, ADC_AnalogWDGConfTypeDef::HighThreshold, __ADC_HandleTypeDef::Instance, IS_ADC_ANALOG_WATCHDOG_MODE, IS_ADC_CHANNEL, IS_ADC_RANGE, ADC_AnalogWDGConfTypeDef::ITMode, ADC_AnalogWDGConfTypeDef::LowThreshold, and ADC_AnalogWDGConfTypeDef::WatchdogMode.
| HAL_StatusTypeDef HAL_ADC_ConfigChannel | ( | ADC_HandleTypeDef * | hadc, |
| ADC_ChannelConfTypeDef * | sConfig | ||
| ) |
Configures the the selected channel to be linked to the regular group.
| hadc,: | ADC handle |
| sConfig,: | Structure of ADC channel for regular group. |
| HAL | status |
Definition at line 2007 of file stm32f1xx_hal_adc.c.
References ADC_CHANNEL_10, ADC_CHANNEL_TEMPSENSOR, ADC_CHANNEL_VREFINT, ADC_SMPR1, ADC_SMPR2, ADC_SQR1_RK, ADC_SQR2_RK, ADC_SQR3_RK, ADC_TEMPSENSOR_DELAY_US, assert_param, ADC_ChannelConfTypeDef::Channel, HAL_ADC_STATE_ERROR_CONFIG, __ADC_HandleTypeDef::Instance, IS_ADC_CHANNEL, IS_ADC_REGULAR_RANK, IS_ADC_SAMPLE_TIME, ADC_ChannelConfTypeDef::Rank, ADC_ChannelConfTypeDef::SamplingTime, and __ADC_HandleTypeDef::State.
1.7.6.1