STM32H735xx HAL User Manual
Functions
Configuration of ADC hierarchical scope: multimode
ADC Exported Functions

Functions

__STATIC_INLINE void LL_ADC_SetBoostMode (ADC_TypeDef *ADCx, uint32_t BoostMode)
 Set ADC boost mode.
__STATIC_INLINE uint32_t LL_ADC_GetBoostMode (ADC_TypeDef *ADCx)
 Get ADC boost mode.
__STATIC_INLINE void LL_ADC_SetMultimode (ADC_Common_TypeDef *ADCxy_COMMON, uint32_t Multimode)
 Set ADC multimode configuration to operate in independent mode or multimode (for devices with several ADC instances).
__STATIC_INLINE uint32_t LL_ADC_GetMultimode (ADC_Common_TypeDef *ADCxy_COMMON)
 Get ADC multimode configuration to operate in independent mode or multimode (for devices with several ADC instances).
__STATIC_INLINE void LL_ADC_SetMultiDMATransfer (ADC_Common_TypeDef *ADCxy_COMMON, uint32_t MultiDMATransfer)
 Set ADC multimode conversion data transfer: no transfer or transfer by DMA.
__STATIC_INLINE uint32_t LL_ADC_GetMultiDMATransfer (ADC_Common_TypeDef *ADCxy_COMMON)
 Get ADC multimode conversion data transfer: no transfer or transfer by DMA.
__STATIC_INLINE void LL_ADC_SetMultiTwoSamplingDelay (ADC_Common_TypeDef *ADCxy_COMMON, uint32_t MultiTwoSamplingDelay)
 Set ADC multimode delay between 2 sampling phases.
__STATIC_INLINE uint32_t LL_ADC_GetMultiTwoSamplingDelay (ADC_Common_TypeDef *ADCxy_COMMON)
 Get ADC multimode delay between 2 sampling phases.

Function Documentation

__STATIC_INLINE uint32_t LL_ADC_GetBoostMode ( ADC_TypeDef *  ADCx)

Get ADC boost mode.

Note:
On this STM32 series, setting of this feature is conditioned to ADC state: ADC boost must be configured, without calibration on going, without conversion on going on group regular.
Reference Manual to LL API cross reference:
CR BOOST LL_ADC_GetBoostMode
Parameters:
ADCxADC instance
Return values:
0,:Boost disabled 1: Boost enabled

Definition at line 6414 of file stm32h7xx_ll_adc.h.

__STATIC_INLINE uint32_t LL_ADC_GetMultiDMATransfer ( ADC_Common_TypeDef *  ADCxy_COMMON)

Get ADC multimode conversion data transfer: no transfer or transfer by DMA.

Note:
If ADC multimode transfer by DMA is not selected: each ADC uses its own DMA channel, with its individual DMA transfer settings. If ADC multimode transfer by DMA is selected: One DMA channel is used for both ADC (DMA of ADC master) Specifies the DMA requests mode:
  • Limited mode (One shot mode): DMA transfer requests are stopped when number of DMA data transfers (number of ADC conversions) is reached. This ADC mode is intended to be used with DMA mode non-circular.
  • Unlimited mode: DMA transfer requests are unlimited, whatever number of DMA data transfers (number of ADC conversions). This ADC mode is intended to be used with DMA mode circular.
If ADC DMA requests mode is set to unlimited and DMA is set to mode non-circular: when DMA transfers size will be reached, DMA will stop transfers of ADC conversions data ADC will raise an overrun error (overrun flag and interruption if enabled).
How to retrieve multimode conversion data: Whatever multimode transfer by DMA setting: using function LL_ADC_REG_ReadMultiConversionData32(). If ADC multimode transfer by DMA is selected: conversion data is a raw data with ADC master and slave concatenated. A macro is available to get the conversion data of ADC master or ADC slave: see helper macro __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE().
Reference Manual to LL API cross reference:
CCR DAMDF LL_ADC_GetMultiDMATransfer
Parameters:
ADCxy_COMMONADC common instance (can be set directly from CMSIS definition or by using helper macro __LL_ADC_COMMON_INSTANCE() )
Return values:
Returnedvalue can be one of the following values:

Definition at line 6567 of file stm32h7xx_ll_adc.h.

Referenced by HAL_ADC_IRQHandler(), and HAL_ADC_PollForConversion().

__STATIC_INLINE uint32_t LL_ADC_GetMultimode ( ADC_Common_TypeDef *  ADCxy_COMMON)

Get ADC multimode configuration to operate in independent mode or multimode (for devices with several ADC instances).

Note:
If multimode configuration: the selected ADC instance is either master or slave depending on hardware. Refer to reference manual.
Reference Manual to LL API cross reference:
CCR DUAL LL_ADC_GetMultimode
Parameters:
ADCxy_COMMONADC common instance (can be set directly from CMSIS definition or by using helper macro __LL_ADC_COMMON_INSTANCE() )
Return values:
Returnedvalue can be one of the following values:

Definition at line 6476 of file stm32h7xx_ll_adc.h.

Referenced by ADC_Enable(), HAL_ADC_IRQHandler(), HAL_ADC_PollForConversion(), HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), HAL_ADCEx_InjectedPollForConversion(), HAL_ADCEx_InjectedStart(), and HAL_ADCEx_InjectedStart_IT().

__STATIC_INLINE uint32_t LL_ADC_GetMultiTwoSamplingDelay ( ADC_Common_TypeDef *  ADCxy_COMMON)

Get ADC multimode delay between 2 sampling phases.

Reference Manual to LL API cross reference:
CCR DELAY LL_ADC_GetMultiTwoSamplingDelay
Parameters:
ADCxy_COMMONADC common instance (can be set directly from CMSIS definition or by using helper macro __LL_ADC_COMMON_INSTANCE() )
Return values:
Returnedvalue can be one of the following values: (1) Parameter available only if ADC resolution is 16, 14, 12 or 10 bits. (2) Parameter available only if ADC resolution is 16, 14 or 12 bits. (3) Parameter available only if ADC resolution is 10 or 8 bits. (4) Parameter available only if ADC resolution is 16 or 14 bits. (5) Parameter available only if ADC resolution is 16 bits. (6) Parameter available only if ADC resolution is 12 bits. (7) Parameter available only if ADC resolution is 16 or 14 bits.

Definition at line 6645 of file stm32h7xx_ll_adc.h.

__STATIC_INLINE void LL_ADC_SetBoostMode ( ADC_TypeDef *  ADCx,
uint32_t  BoostMode 
)

Set ADC boost mode.

Note:
On this STM32 series, setting of this feature is conditioned to ADC state: ADC boost must be configured, without calibration on going, without conversion on going on group regular.
Reference Manual to LL API cross reference:
CR BOOST LL_ADC_SetBoostMode
Parameters:
ADCxADC instance
BoostModeThis parameter can be one of the following values:
Return values:
None

Definition at line 6384 of file stm32h7xx_ll_adc.h.

__STATIC_INLINE void LL_ADC_SetMultiDMATransfer ( ADC_Common_TypeDef *  ADCxy_COMMON,
uint32_t  MultiDMATransfer 
)

Set ADC multimode conversion data transfer: no transfer or transfer by DMA.

Note:
If ADC multimode transfer by DMA is not selected: each ADC uses its own DMA channel, with its individual DMA transfer settings. If ADC multimode transfer by DMA is selected: One DMA channel is used for both ADC (DMA of ADC master) Specifies the DMA requests mode:
  • Limited mode (One shot mode): DMA transfer requests are stopped when number of DMA data transfers (number of ADC conversions) is reached. This ADC mode is intended to be used with DMA mode non-circular.
  • Unlimited mode: DMA transfer requests are unlimited, whatever number of DMA data transfers (number of ADC conversions). This ADC mode is intended to be used with DMA mode circular.
If ADC DMA requests mode is set to unlimited and DMA is set to mode non-circular: when DMA transfers size will be reached, DMA will stop transfers of ADC conversions data ADC will raise an overrun error (overrun flag and interruption if enabled).
How to retrieve multimode conversion data: Whatever multimode transfer by DMA setting: using function LL_ADC_REG_ReadMultiConversionData32(). If ADC multimode transfer by DMA is selected: conversion data is a raw data with ADC master and slave concatenated. A macro is available to get the conversion data of ADC master or ADC slave: see helper macro __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE().
On this STM32 series, setting of this feature is conditioned to ADC state: All ADC instances of the ADC common group must be disabled or enabled without conversion on going on group regular.
Reference Manual to LL API cross reference:
CCR DAMDF LL_ADC_GetMultiDMATransfer
Parameters:
ADCxy_COMMONADC common instance (can be set directly from CMSIS definition or by using helper macro __LL_ADC_COMMON_INSTANCE() )
MultiDMATransferThis parameter can be one of the following values:
Return values:
None

Definition at line 6524 of file stm32h7xx_ll_adc.h.

__STATIC_INLINE void LL_ADC_SetMultimode ( ADC_Common_TypeDef *  ADCxy_COMMON,
uint32_t  Multimode 
)

Set ADC multimode configuration to operate in independent mode or multimode (for devices with several ADC instances).

Note:
If multimode configuration: the selected ADC instance is either master or slave depending on hardware. Refer to reference manual.
On this STM32 series, setting of this feature is conditioned to ADC state: All ADC instances of the ADC common group must be disabled. This check can be done with function LL_ADC_IsEnabled() for each ADC instance or by using helper macro __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE().
Reference Manual to LL API cross reference:
CCR DUAL LL_ADC_SetMultimode
Parameters:
ADCxy_COMMONADC common instance (can be set directly from CMSIS definition or by using helper macro __LL_ADC_COMMON_INSTANCE() )
MultimodeThis parameter can be one of the following values:
Return values:
None

Definition at line 6452 of file stm32h7xx_ll_adc.h.

__STATIC_INLINE void LL_ADC_SetMultiTwoSamplingDelay ( ADC_Common_TypeDef *  ADCxy_COMMON,
uint32_t  MultiTwoSamplingDelay 
)

Set ADC multimode delay between 2 sampling phases.

Note:
The sampling delay range depends on ADC resolution:
  • ADC resolution 12 bits can have maximum delay of 12 cycles.
  • ADC resolution 10 bits can have maximum delay of 10 cycles.
  • ADC resolution 8 bits can have maximum delay of 8 cycles.
  • ADC resolution 6 bits can have maximum delay of 6 cycles.
On this STM32 series, setting of this feature is conditioned to ADC state: All ADC instances of the ADC common group must be disabled. This check can be done with function LL_ADC_IsEnabled() for each ADC instance or by using helper macro helper macro __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE().
Reference Manual to LL API cross reference:
CCR DELAY LL_ADC_SetMultiTwoSamplingDelay
Parameters:
ADCxy_COMMONADC common instance (can be set directly from CMSIS definition or by using helper macro __LL_ADC_COMMON_INSTANCE() )
MultiTwoSamplingDelayThis parameter can be one of the following values: (1) Parameter available only if ADC resolution is 16, 14, 12 or 10 bits. (2) Parameter available only if ADC resolution is 16, 14 or 12 bits. (3) Parameter available only if ADC resolution is 10 or 8 bits. (4) Parameter available only if ADC resolution is 16 or 14 bits. (5) Parameter available only if ADC resolution is 16 bits. (6) Parameter available only if ADC resolution is 12 bits. (7) Parameter available only if ADC resolution is 16 or 14 bits.
Return values:
None

Definition at line 6612 of file stm32h7xx_ll_adc.h.