STM32H735xx HAL User Manual
|
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 peripheral (timer event, external interrupt line). | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetTriggerSource (ADC_TypeDef *ADCx) |
Get ADC group injected conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line). | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_IsTriggerSourceSWStart (ADC_TypeDef *ADCx) |
Get ADC group injected conversion trigger source internal (SW start) or external. | |
__STATIC_INLINE void | LL_ADC_INJ_SetTriggerEdge (ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge) |
Set ADC group injected conversion trigger polarity. | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetTriggerEdge (ADC_TypeDef *ADCx) |
Get ADC group injected conversion trigger polarity. | |
__STATIC_INLINE void | LL_ADC_INJ_SetSequencerLength (ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) |
Set ADC group injected sequencer length and scan direction. | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetSequencerLength (ADC_TypeDef *ADCx) |
Get ADC group injected sequencer length and scan direction. | |
__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. | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetSequencerDiscont (ADC_TypeDef *ADCx) |
Get ADC group injected sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. | |
__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. | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetSequencerRanks (ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected sequence: channel on the selected sequence rank. | |
__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. | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetTrigAuto (ADC_TypeDef *ADCx) |
Get ADC group injected conversion trigger: independent or from ADC group regular. | |
__STATIC_INLINE void | LL_ADC_INJ_SetQueueMode (ADC_TypeDef *ADCx, uint32_t QueueMode) |
Set ADC group injected contexts queue mode. | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetQueueMode (ADC_TypeDef *ADCx) |
Get ADC group injected context queue mode. | |
__STATIC_INLINE void | LL_ADC_INJ_ConfigQueueContext (ADC_TypeDef *ADCx, uint32_t TriggerSource, uint32_t ExternalTriggerEdge, uint32_t SequencerNbRanks, uint32_t Rank1_Channel, uint32_t Rank2_Channel, uint32_t Rank3_Channel, uint32_t Rank4_Channel) |
Set one context on ADC group injected that will be checked in contexts queue. |
__STATIC_INLINE void LL_ADC_INJ_ConfigQueueContext | ( | ADC_TypeDef * | ADCx, |
uint32_t | TriggerSource, | ||
uint32_t | ExternalTriggerEdge, | ||
uint32_t | SequencerNbRanks, | ||
uint32_t | Rank1_Channel, | ||
uint32_t | Rank2_Channel, | ||
uint32_t | Rank3_Channel, | ||
uint32_t | Rank4_Channel | ||
) |
Set one context on ADC group injected that will be checked in contexts queue.
None |
Definition at line 5212 of file stm32h7xx_ll_adc.h.
References ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS, ADC_CHANNEL_ID_NUMBER_MASK, ADC_INJ_RANK_ID_JSQR_MASK, LL_ADC_INJ_RANK_1, LL_ADC_INJ_RANK_2, LL_ADC_INJ_RANK_3, LL_ADC_INJ_RANK_4, and LL_ADC_INJ_TRIG_SOFTWARE.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetQueueMode | ( | ADC_TypeDef * | ADCx | ) |
Get ADC group injected context queue mode.
ADCx | ADC instance |
Returned | value can be one of the following values: |
Definition at line 5011 of file stm32h7xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerDiscont | ( | ADC_TypeDef * | ADCx | ) |
Get ADC group injected sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks.
ADCx | ADC instance |
Returned | value can be one of the following values: |
Definition at line 4763 of file stm32h7xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerLength | ( | 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 4730 of file stm32h7xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerRanks | ( | 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 STM32H7, parameter available only on ADC instance: ADC2. (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). Other channels are slow channels (conversion rate: refer to reference manual). (1, 2) 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 4898 of file stm32h7xx_ll_adc.h.
References ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS, ADC_CHANNEL_ID_NUMBER_MASK, and ADC_INJ_RANK_ID_JSQR_MASK.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetTrigAuto | ( | ADC_TypeDef * | ADCx | ) |
Get ADC group injected conversion trigger: independent or from ADC group regular.
ADCx | ADC instance |
Returned | value can be one of the following values: |
Definition at line 4950 of file stm32h7xx_ll_adc.h.
Referenced by HAL_ADCEx_InjectedStart(), and HAL_ADCEx_InjectedStart_IT().
__STATIC_INLINE uint32_t LL_ADC_INJ_GetTriggerEdge | ( | ADC_TypeDef * | ADCx | ) |
Get ADC group injected conversion trigger polarity.
Applicable only for trigger source set to external trigger.
ADCx | ADC instance |
Returned | value can be one of the following values: |
Definition at line 4683 of file stm32h7xx_ll_adc.h.
__STATIC_INLINE uint32_t LL_ADC_INJ_GetTriggerSource | ( | ADC_TypeDef * | ADCx | ) |
Get ADC group injected conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line).
ADCx | ADC instance |
Definition at line 4621 of file stm32h7xx_ll_adc.h.
References ADC_INJ_TRIG_EDGE_MASK, ADC_INJ_TRIG_EXTEN_BITOFFSET_POS, and ADC_INJ_TRIG_SOURCE_MASK.
__STATIC_INLINE uint32_t LL_ADC_INJ_IsTriggerSourceSWStart | ( | 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 4648 of file stm32h7xx_ll_adc.h.
References LL_ADC_INJ_TRIG_SOFTWARE.
Referenced by HAL_ADC_IRQHandler(), and HAL_ADCEx_InjectedPollForConversion().
__STATIC_INLINE void LL_ADC_INJ_SetQueueMode | ( | ADC_TypeDef * | ADCx, |
uint32_t | QueueMode | ||
) |
Set ADC group injected contexts queue mode.
ADCx | ADC instance |
QueueMode | This parameter can be one of the following values: |
None |
Definition at line 4996 of file stm32h7xx_ll_adc.h.
Referenced by HAL_ADCEx_DisableInjectedQueue(), and LL_ADC_DeInit().
__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 4748 of file stm32h7xx_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 4709 of file stm32h7xx_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 STM32H7, parameter available only on ADC instance: ADC2. (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). Other channels are slow channels (conversion rate: refer to reference manual). |
None |
Definition at line 4826 of file stm32h7xx_ll_adc.h.
References ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS, ADC_CHANNEL_ID_NUMBER_MASK, and ADC_INJ_RANK_ID_JSQR_MASK.
__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 4936 of file stm32h7xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_INJ_SetTriggerEdge | ( | ADC_TypeDef * | ADCx, |
uint32_t | ExternalTriggerEdge | ||
) |
Set ADC group injected conversion trigger polarity.
Applicable only for trigger source set to external trigger.
ADCx | ADC instance |
ExternalTriggerEdge | This parameter can be one of the following values: |
None |
Definition at line 4668 of file stm32h7xx_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 peripheral (timer event, external interrupt line).
ADCx | ADC instance |
TriggerSource | This parameter can be one of the following values:
|
None |
Definition at line 4577 of file stm32h7xx_ll_adc.h.
Referenced by LL_ADC_DeInit().