STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
__STATIC_INLINE void | LL_ADC_REG_SetTriggerSource (ADC_TypeDef *ADCx, uint32_t TriggerSource) |
Set ADC group regular conversion trigger source: internal (SW start) or from external IP (timer event, external interrupt line). More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetTriggerSource (const ADC_TypeDef *ADCx) |
Get ADC group regular conversion trigger source: internal (SW start) or from external IP (timer event, external interrupt line). More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_IsTriggerSourceSWStart (const ADC_TypeDef *ADCx) |
Get ADC group regular conversion trigger source internal (SW start) or external. More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetTriggerEdge (const ADC_TypeDef *ADCx) |
Get ADC group regular conversion trigger polarity. More... | |
__STATIC_INLINE void | LL_ADC_REG_SetSequencerLength (ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) |
Set ADC group regular sequencer length and scan direction. More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetSequencerLength (const ADC_TypeDef *ADCx) |
Get ADC group regular sequencer length and scan direction. More... | |
__STATIC_INLINE void | LL_ADC_REG_SetSequencerDiscont (ADC_TypeDef *ADCx, uint32_t SeqDiscont) |
Set ADC group regular sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetSequencerDiscont (const ADC_TypeDef *ADCx) |
Get ADC group regular sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. @rmtoll CR1 DISCEN LL_ADC_REG_GetSequencerDiscont CR1 DISCNUM LL_ADC_REG_GetSequencerDiscont. More... | |
__STATIC_INLINE void | LL_ADC_REG_SetSequencerRanks (ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channel) |
Set ADC group regular sequence: channel on the selected scan sequence rank. More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetSequencerRanks (const ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group regular sequence: channel on the selected scan sequence rank. More... | |
__STATIC_INLINE void | LL_ADC_REG_SetContinuousMode (ADC_TypeDef *ADCx, uint32_t Continuous) |
Set ADC continuous conversion mode on ADC group regular. More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetContinuousMode (const ADC_TypeDef *ADCx) |
Get ADC continuous conversion mode on ADC group regular. More... | |
__STATIC_INLINE void | LL_ADC_REG_SetDMATransfer (ADC_TypeDef *ADCx, uint32_t DMATransfer) |
Set ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode. More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetDMATransfer (const ADC_TypeDef *ADCx) |
Get ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode. More... | |
__STATIC_INLINE void | LL_ADC_REG_SetFlagEndOfConversion (ADC_TypeDef *ADCx, uint32_t EocSelection) |
Specify which ADC flag between EOC (end of unitary conversion) or EOS (end of sequence conversions) is used to indicate the end of conversion. More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetFlagEndOfConversion (const ADC_TypeDef *ADCx) |
Get which ADC flag between EOC (end of unitary conversion) or EOS (end of sequence conversions) is used to indicate the end of conversion. @rmtoll CR2 EOCS LL_ADC_REG_GetFlagEndOfConversion. More... | |
__STATIC_INLINE uint32_t LL_ADC_REG_GetContinuousMode | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC continuous conversion mode on ADC group regular.
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 2632 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_REG_GetDMATransfer | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode.
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 2703 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_REG_GetFlagEndOfConversion | ( | const ADC_TypeDef * | ADCx | ) |
Get which ADC flag between EOC (end of unitary conversion) or EOS (end of sequence conversions) is used to indicate the end of conversion. @rmtoll CR2 EOCS LL_ADC_REG_GetFlagEndOfConversion.
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 2740 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerDiscont | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group regular sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. @rmtoll CR1 DISCEN LL_ADC_REG_GetSequencerDiscont
CR1 DISCNUM LL_ADC_REG_GetSequencerDiscont.
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 2410 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerLength | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group regular sequencer length and scan direction.
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 2359 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks | ( | const ADC_TypeDef * | ADCx, |
uint32_t | Rank | ||
) |
Get ADC group regular sequence: channel on the selected scan sequence rank.
ADCx | ADC instance |
Rank | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
(2) On devices STM32F42x and STM32F43x, limitation: this internal channel is shared between temperature sensor and Vbat, only 1 measurement path must be enabled. (1) For ADC channel read back from ADC register, comparison with internal channel parameter to be done using helper macro __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(). |
Definition at line 2590 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_REG_GetTriggerEdge | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group regular conversion trigger polarity.
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 2237 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_REG_GetTriggerSource | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group regular conversion trigger source: internal (SW start) or from external IP (timer event, external interrupt line).
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 2193 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_REG_IsTriggerSourceSWStart | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group regular conversion trigger source internal (SW start) or external.
ADCx | ADC instance |
Value | "0" if trigger source external trigger Value "1" if trigger source SW start. |
Definition at line 2220 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_REG_SetContinuousMode | ( | ADC_TypeDef * | ADCx, |
uint32_t | Continuous | ||
) |
Set ADC continuous conversion mode on ADC group regular.
ADCx | ADC instance |
Continuous | This parameter can be one of the following values:
|
None |
Definition at line 2615 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_REG_SetDMATransfer | ( | ADC_TypeDef * | ADCx, |
uint32_t | DMATransfer | ||
) |
Set ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode.
ADCx | ADC instance |
DMATransfer | This parameter can be one of the following values:
|
None |
Definition at line 2668 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_REG_SetFlagEndOfConversion | ( | ADC_TypeDef * | ADCx, |
uint32_t | EocSelection | ||
) |
Specify which ADC flag between EOC (end of unitary conversion) or EOS (end of sequence conversions) is used to indicate the end of conversion.
ADCx | ADC instance |
EocSelection | This parameter can be one of the following values:
|
None |
Definition at line 2725 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_REG_SetSequencerDiscont | ( | ADC_TypeDef * | ADCx, |
uint32_t | SeqDiscont | ||
) |
Set ADC group regular sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks.
ADCx | ADC instance |
SeqDiscont | This parameter can be one of the following values:
|
None |
Definition at line 2387 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_REG_SetSequencerLength | ( | ADC_TypeDef * | ADCx, |
uint32_t | SequencerNbRanks | ||
) |
Set ADC group regular sequencer length and scan direction.
ADCx | ADC instance |
SequencerNbRanks | This parameter can be one of the following values:
|
None |
Definition at line 2299 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_REG_SetSequencerRanks | ( | ADC_TypeDef * | ADCx, |
uint32_t | Rank, | ||
uint32_t | Channel | ||
) |
Set ADC group regular sequence: channel on the selected scan sequence rank.
ADCx | ADC instance |
Rank | This parameter can be one of the following values:
|
Channel | This parameter can be one of the following values:
(2) On devices STM32F42x and STM32F43x, limitation: this internal channel is shared between temperature sensor and Vbat, only 1 measurement path must be enabled. |
None |
Definition at line 2493 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_REG_SetTriggerSource | ( | ADC_TypeDef * | ADCx, |
uint32_t | TriggerSource | ||
) |
Set ADC group regular conversion trigger source: internal (SW start) or from external IP (timer event, external interrupt line).
ADCx | ADC instance |
TriggerSource | This parameter can be one of the following values:
|
None |
Definition at line 2149 of file stm32f4xx_ll_adc.h.