STM32H735xx HAL User Manual
|
ADC Extended Peripheral Control functions. More...
Functions | |
HAL_StatusTypeDef | HAL_ADCEx_InjectedConfigChannel (ADC_HandleTypeDef *hadc, ADC_InjectionConfTypeDef *sConfigInjected) |
Configure a channel to be assigned to ADC group injected. | |
HAL_StatusTypeDef | HAL_ADCEx_MultiModeConfigChannel (ADC_HandleTypeDef *hadc, ADC_MultiModeTypeDef *multimode) |
Enable ADC multimode and configure multimode parameters. | |
HAL_StatusTypeDef | HAL_ADCEx_EnableInjectedQueue (ADC_HandleTypeDef *hadc) |
Enable Injected Queue. | |
HAL_StatusTypeDef | HAL_ADCEx_DisableInjectedQueue (ADC_HandleTypeDef *hadc) |
Disable Injected Queue. | |
HAL_StatusTypeDef | HAL_ADCEx_DisableVoltageRegulator (ADC_HandleTypeDef *hadc) |
Disable ADC voltage regulator. | |
HAL_StatusTypeDef | HAL_ADCEx_EnterADCDeepPowerDownMode (ADC_HandleTypeDef *hadc) |
Enter ADC deep-power-down mode. |
ADC Extended Peripheral Control functions.
=============================================================================== ##### Peripheral Control functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Configure channels on injected group (+) Configure multimode when multimode feature is available (+) Enable or Disable Injected Queue (+) Disable ADC voltage regulator (+) Enter ADC deep-power-down mode
HAL_StatusTypeDef HAL_ADCEx_DisableInjectedQueue | ( | ADC_HandleTypeDef * | hadc | ) |
Disable Injected Queue.
hadc | ADC handle |
HAL | status |
Definition at line 2507 of file stm32h7xx_hal_adc_ex.c.
References assert_param, __ADC_HandleTypeDef::Instance, LL_ADC_INJ_IsConversionOngoing(), LL_ADC_INJ_QUEUE_DISABLE, LL_ADC_INJ_SetQueueMode(), and LL_ADC_REG_IsConversionOngoing().
HAL_StatusTypeDef HAL_ADCEx_DisableVoltageRegulator | ( | ADC_HandleTypeDef * | hadc | ) |
Disable ADC voltage regulator.
hadc | ADC handle |
HAL | status |
Definition at line 2544 of file stm32h7xx_hal_adc_ex.c.
References assert_param, __ADC_HandleTypeDef::Instance, LL_ADC_DisableInternalRegulator(), and LL_ADC_IsEnabled().
HAL_StatusTypeDef HAL_ADCEx_EnableInjectedQueue | ( | ADC_HandleTypeDef * | hadc | ) |
Enable Injected Queue.
hadc | ADC handle |
HAL | status |
Definition at line 2466 of file stm32h7xx_hal_adc_ex.c.
References assert_param, HAL_ADC_STATE_INJ_JQOVF, __ADC_HandleTypeDef::Instance, LL_ADC_INJ_IsConversionOngoing(), LL_ADC_REG_IsConversionOngoing(), and __ADC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_ADCEx_EnterADCDeepPowerDownMode | ( | ADC_HandleTypeDef * | hadc | ) |
Enter ADC deep-power-down mode.
hadc | ADC handle |
HAL | status |
Definition at line 2581 of file stm32h7xx_hal_adc_ex.c.
References assert_param, __ADC_HandleTypeDef::Instance, LL_ADC_EnableDeepPowerDown(), and LL_ADC_IsEnabled().
HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel | ( | ADC_HandleTypeDef * | hadc, |
ADC_InjectionConfTypeDef * | sConfigInjected | ||
) |
Configure a channel to be assigned to ADC group injected.
hadc | ADC handle |
sConfigInjected | Structure of ADC injected group and ADC channel for injected group. |
HAL | status |
Definition at line 1793 of file stm32h7xx_hal_adc_ex.c.
References __LL_ADC_CHANNEL_TO_DECIMAL_NB, __LL_ADC_COMMON_INSTANCE, __LL_ADC_DECIMAL_NB_TO_CHANNEL, __LL_ADC_IS_CHANNEL_INTERNAL, __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE, ADC3_OFFSET_SHIFT_RESOLUTION, ADC_BATTERY_VOLTAGE_INSTANCE, ADC_CFGR_INJECT_CONTEXT_QUEUE, ADC_CFGR_INJECT_DISCCONTINUOUS, ADC_CHANNEL_TEMPSENSOR, ADC_CHANNEL_VBAT, ADC_CHANNEL_VREFINT, ADC_DIFFERENTIAL_ENDED, ADC_EXTERNALTRIGINJECCONV_EDGE_NONE, ADC_GET_RESOLUTION, ADC_INJECTED_RANK_1, ADC_INJECTED_SOFTWARE_START, ADC_JSQR_FIELDS, ADC_JSQR_RK, ADC_OFFSET_NONE, ADC_OFFSET_SHIFT_RESOLUTION, ADC_SCAN_DISABLE, ADC_TEMPERATURE_SENSOR_INSTANCE, ADC_VREFINT_INSTANCE, assert_param, ADC_InjectionConfTypeDef::AutoInjectedConv, ADC_InjectionConfigTypeDef::ChannelCount, ADC_InjectionConfigTypeDef::ContextQueue, ADC_InitTypeDef::DiscontinuousConvMode, ADC_InjectionConfTypeDef::ExternalTrigInjecConv, ADC_InjectionConfTypeDef::ExternalTrigInjecConvEdge, HAL_ADC_STATE_ERROR_CONFIG, __ADC_HandleTypeDef::Init, ADC_InjectionConfTypeDef::InjecOversampling, ADC_InjectionConfTypeDef::InjecOversamplingMode, ADC_InjectionConfTypeDef::InjectedChannel, ADC_InjectionConfTypeDef::InjectedDiscontinuousConvMode, ADC_InjectionConfTypeDef::InjectedNbrOfConversion, ADC_InjectionConfTypeDef::InjectedOffset, ADC_InjectionConfTypeDef::InjectedOffsetNumber, ADC_InjectionConfTypeDef::InjectedOffsetSaturation, ADC_InjectionConfTypeDef::InjectedOffsetSign, ADC_InjectionConfTypeDef::InjectedOffsetSignedSaturation, ADC_InjectionConfTypeDef::InjectedRank, ADC_InjectionConfTypeDef::InjectedSamplingTime, ADC_InjectionConfTypeDef::InjectedSingleDiff, __ADC_HandleTypeDef::InjectionConfig, __ADC_HandleTypeDef::Instance, IS_ADC1_DIFF_CHANNEL, IS_ADC2_DIFF_CHANNEL, IS_ADC3_DIFF_CHANNEL, IS_ADC3_OFFSET_SIGN, IS_ADC3_RANGE, IS_ADC_CHANNEL, IS_ADC_EXTTRIGINJEC, IS_ADC_EXTTRIGINJEC_EDGE, IS_ADC_INJECTED_NB_CONV, IS_ADC_INJECTED_RANK, IS_ADC_OFFSET_NUMBER, IS_ADC_OVERSAMPLING_RATIO, IS_ADC_OVERSAMPLING_RATIO_ADC3, IS_ADC_RANGE, IS_ADC_RIGHT_BIT_SHIFT, IS_ADC_SAMPLE_TIME, IS_ADC_SINGLE_DIFFERENTIAL, LL_ADC_DELAY_TEMPSENSOR_STAB_US, LL_ADC_GetCommonPathInternalCh(), LL_ADC_GetOffsetChannel(), LL_ADC_INJ_IsConversionOngoing(), LL_ADC_IsEnabled(), LL_ADC_OFFSET_1, LL_ADC_OFFSET_2, LL_ADC_OFFSET_3, LL_ADC_OFFSET_4, LL_ADC_OFFSET_DISABLE, LL_ADC_OFFSET_SATURATION_DISABLE, LL_ADC_OFFSET_SATURATION_ENABLE, LL_ADC_OFFSET_SIGNED_SATURATION_DISABLE, LL_ADC_OFFSET_SIGNED_SATURATION_ENABLE, LL_ADC_PATH_INTERNAL_TEMPSENSOR, LL_ADC_PATH_INTERNAL_VBAT, LL_ADC_PATH_INTERNAL_VREFINT, LL_ADC_REG_IsConversionOngoing(), LL_ADC_SetChannelSamplingTime(), LL_ADC_SetChannelSingleDiff(), LL_ADC_SetCommonPathInternalCh(), LL_ADC_SetOffset(), LL_ADC_SetOffsetSaturation(), LL_ADC_SetOffsetSign(), LL_ADC_SetOffsetSignedSaturation(), LL_ADC_SetOffsetState(), ADC_InitTypeDef::Oversampling, ADC_InitTypeDef::OversamplingMode, ADC_InjectionConfTypeDef::QueueInjectedContext, ADC_InjOversamplingTypeDef::Ratio, ADC_OversamplingTypeDef::Ratio, ADC_InjOversamplingTypeDef::RightBitShift, 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 | Master ADC handle |
multimode | Structure of ADC multimode configuration |
HAL | status |
Definition at line 2353 of file stm32h7xx_hal_adc_ex.c.
References __LL_ADC_COMMON_INSTANCE, __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE, ADC_MODE_INDEPENDENT, ADC_MULTI_SLAVE, assert_param, ADC_MultiModeTypeDef::DualModeData, __ADC_HandleTypeDef::ErrorCode, HAL_ADC_ERROR_NONE, HAL_ADC_STATE_ERROR_CONFIG, HAL_ADC_STATE_RESET, __ADC_HandleTypeDef::Instance, IS_ADC_DUAL_DATA_MODE, IS_ADC_MULTIMODE, IS_ADC_SAMPLING_DELAY, LL_ADC_REG_IsConversionOngoing(), ADC_MultiModeTypeDef::Mode, __ADC_HandleTypeDef::State, and ADC_MultiModeTypeDef::TwoSamplingDelay.