STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
__STATIC_INLINE void | LL_ADC_INJ_SetTriggerSource (ADC_TypeDef *ADCx, uint32_t TriggerSource) |
Set ADC group injected conversion trigger source: internal (SW start) or from external IP (timer event, external interrupt line). More... | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetTriggerSource (const ADC_TypeDef *ADCx) |
Get ADC group injected conversion trigger source: internal (SW start) or from external IP (timer event, external interrupt line). More... | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_IsTriggerSourceSWStart (const ADC_TypeDef *ADCx) |
Get ADC group injected conversion trigger source internal (SW start) or external. More... | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetTriggerEdge (const ADC_TypeDef *ADCx) |
Get ADC group injected conversion trigger polarity. Applicable only for trigger source set to external trigger. @rmtoll CR2 JEXTEN LL_ADC_INJ_GetTriggerEdge. More... | |
__STATIC_INLINE void | LL_ADC_INJ_SetSequencerLength (ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) |
Set ADC group injected sequencer length and scan direction. More... | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetSequencerLength (const ADC_TypeDef *ADCx) |
Get ADC group injected sequencer length and scan direction. More... | |
__STATIC_INLINE void | LL_ADC_INJ_SetSequencerDiscont (ADC_TypeDef *ADCx, uint32_t SeqDiscont) |
Set ADC group injected sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. More... | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetSequencerDiscont (const ADC_TypeDef *ADCx) |
Get ADC group injected sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. @rmtoll CR1 DISCEN LL_ADC_REG_GetSequencerDiscont. More... | |
__STATIC_INLINE void | LL_ADC_INJ_SetSequencerRanks (ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channel) |
Set ADC group injected sequence: channel on the selected sequence rank. More... | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetSequencerRanks (const ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected sequence: channel on the selected sequence rank. More... | |
__STATIC_INLINE void | LL_ADC_INJ_SetTrigAuto (ADC_TypeDef *ADCx, uint32_t TrigAuto) |
Set ADC group injected conversion trigger: independent or from ADC group regular. More... | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetTrigAuto (const ADC_TypeDef *ADCx) |
Get ADC group injected conversion trigger: independent or from ADC group regular. @rmtoll CR1 JAUTO LL_ADC_INJ_GetTrigAuto. More... | |
__STATIC_INLINE void | LL_ADC_INJ_SetOffset (ADC_TypeDef *ADCx, uint32_t Rank, uint32_t OffsetLevel) |
Set ADC group injected offset. More... | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetOffset (const ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected offset. More... | |
__STATIC_INLINE uint32_t LL_ADC_INJ_GetOffset | ( | const ADC_TypeDef * | ADCx, |
uint32_t | Rank | ||
) |
Get ADC group injected offset.
ADCx | ADC instance |
Rank | This parameter can be one of the following values:
|
Value | between Min_Data=0x000 and Max_Data=0xFFF |
Definition at line 3186 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerDiscont | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group injected sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. @rmtoll CR1 DISCEN LL_ADC_REG_GetSequencerDiscont.
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 2958 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerLength | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group injected sequencer length and scan direction.
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 2925 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerRanks | ( | const ADC_TypeDef * | ADCx, |
uint32_t | Rank | ||
) |
Get ADC group injected sequence: channel on the selected 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 3079 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetTrigAuto | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group injected conversion trigger: independent or from ADC group regular. @rmtoll CR1 JAUTO LL_ADC_INJ_GetTrigAuto.
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 3129 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetTriggerEdge | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group injected conversion trigger polarity. Applicable only for trigger source set to external trigger. @rmtoll CR2 JEXTEN LL_ADC_INJ_GetTriggerEdge.
ADCx | ADC instance |
Returned | value can be one of the following values:
|
Definition at line 2870 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetTriggerSource | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group injected 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 2828 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_IsTriggerSourceSWStart | ( | const ADC_TypeDef * | ADCx | ) |
Get ADC group injected 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 2855 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_INJ_SetOffset | ( | ADC_TypeDef * | ADCx, |
uint32_t | Rank, | ||
uint32_t | OffsetLevel | ||
) |
Set ADC group injected offset.
ADCx | ADC instance |
Rank | This parameter can be one of the following values:
|
OffsetLevel | Value between Min_Data=0x000 and Max_Data=0xFFF |
None |
Definition at line 3159 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_INJ_SetSequencerDiscont | ( | ADC_TypeDef * | ADCx, |
uint32_t | SeqDiscont | ||
) |
Set ADC group injected 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 2943 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_INJ_SetSequencerLength | ( | ADC_TypeDef * | ADCx, |
uint32_t | SequencerNbRanks | ||
) |
Set ADC group injected sequencer length and scan direction.
ADCx | ADC instance |
SequencerNbRanks | This parameter can be one of the following values:
|
None |
Definition at line 2898 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks | ( | ADC_TypeDef * | ADCx, |
uint32_t | Rank, | ||
uint32_t | Channel | ||
) |
Set ADC group injected sequence: channel on the selected 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 3010 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_INJ_SetTrigAuto | ( | ADC_TypeDef * | ADCx, |
uint32_t | TrigAuto | ||
) |
Set ADC group injected conversion trigger: independent or from ADC group regular.
ADCx | ADC instance |
TrigAuto | This parameter can be one of the following values:
|
None |
Definition at line 3115 of file stm32f4xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_INJ_SetTriggerSource | ( | ADC_TypeDef * | ADCx, |
uint32_t | TriggerSource | ||
) |
Set ADC group injected 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 2784 of file stm32f4xx_ll_adc.h.