STM32F103xB HAL User Manual
|
Extended Peripheral Control functions. More...
Functions | |
HAL_StatusTypeDef | HAL_ADCEx_InjectedConfigChannel (ADC_HandleTypeDef *hadc, ADC_InjectionConfTypeDef *sConfigInjected) |
Configures the ADC injected group and the selected channel to be linked to the injected group. | |
HAL_StatusTypeDef | HAL_ADCEx_MultiModeConfigChannel (ADC_HandleTypeDef *hadc, ADC_MultiModeTypeDef *multimode) |
Enable ADC multimode and configure multimode parameters. |
Extended Peripheral Control functions.
=============================================================================== ##### Peripheral Control functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Configure channels on injected group (+) Configure multimode
HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel | ( | ADC_HandleTypeDef * | hadc, |
ADC_InjectionConfTypeDef * | sConfigInjected | ||
) |
Configures the ADC injected group and the selected channel to be linked to the injected group.
hadc,: | ADC handle |
sConfigInjected,: | Structure of ADC injected group and ADC channel for injected group. |
None |
Definition at line 1010 of file stm32f1xx_hal_adc_ex.c.
References ADC_CFGR_JEXTSEL, ADC_CHANNEL_10, ADC_CHANNEL_TEMPSENSOR, ADC_CHANNEL_VREFINT, ADC_INJECTED_RANK_1, ADC_INJECTED_SOFTWARE_START, ADC_IS_ENABLE, ADC_JSQR_JL_SHIFT, ADC_JSQR_RK_JL, ADC_SCAN_DISABLE, ADC_SMPR1, ADC_SMPR2, ADC_TEMPSENSOR_DELAY_US, assert_param, ADC_InjectionConfTypeDef::AutoInjectedConv, ADC_InjectionConfTypeDef::ExternalTrigInjecConv, HAL_ADC_STATE_ERROR_CONFIG, __ADC_HandleTypeDef::Init, ADC_InjectionConfTypeDef::InjectedChannel, ADC_InjectionConfTypeDef::InjectedDiscontinuousConvMode, ADC_InjectionConfTypeDef::InjectedNbrOfConversion, ADC_InjectionConfTypeDef::InjectedOffset, ADC_InjectionConfTypeDef::InjectedRank, ADC_InjectionConfTypeDef::InjectedSamplingTime, __ADC_HandleTypeDef::Instance, IS_ADC_CHANNEL, IS_ADC_EXTTRIGINJEC, IS_ADC_INJECTED_NB_CONV, IS_ADC_INJECTED_RANK, IS_ADC_RANGE, IS_ADC_SAMPLE_TIME, ADC_InitTypeDef::ScanConvMode, and __ADC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_ADCEx_MultiModeConfigChannel | ( | ADC_HandleTypeDef * | hadc, |
ADC_MultiModeTypeDef * | multimode | ||
) |
Enable ADC multimode and configure multimode parameters.
hadc,: | ADC handle |
multimode,: | Structure of ADC multimode configuration |
HAL | status |
Definition at line 1271 of file stm32f1xx_hal_adc_ex.c.
References ADC_IS_ENABLE, ADC_MULTI_SLAVE, assert_param, HAL_ADC_STATE_ERROR_CONFIG, __ADC_HandleTypeDef::Instance, IS_ADC_MODE, ADC_MultiModeTypeDef::Mode, and __ADC_HandleTypeDef::State.