|
STM32L4xx_HAL_Driver
1.14.0
|
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). More... | |
| __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). More... | |
| __STATIC_INLINE uint32_t | LL_ADC_INJ_IsTriggerSourceSWStart (ADC_TypeDef *ADCx) |
| Get ADC group injected conversion trigger source internal (SW start) or external. More... | |
| __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. More... | |
| __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. JSQR 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 (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 (ADC_TypeDef *ADCx) |
| Get ADC group injected sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. CFGR JDISCEN LL_ADC_INJ_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 (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 (ADC_TypeDef *ADCx) |
| Get ADC group injected conversion trigger: independent or from ADC group regular. CFGR JAUTO LL_ADC_INJ_GetTrigAuto. More... | |
| __STATIC_INLINE void | LL_ADC_INJ_SetQueueMode (ADC_TypeDef *ADCx, uint32_t QueueMode) |
| Set ADC group injected contexts queue mode. More... | |
| __STATIC_INLINE uint32_t | LL_ADC_INJ_GetQueueMode (ADC_TypeDef *ADCx) |
| Get ADC group injected context queue mode. CFGR JQM LL_ADC_INJ_GetQueueMode CFGR JQDIS LL_ADC_INJ_GetQueueMode. More... | |
| __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. More... | |
| __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.
| ADCx | ADC instance |
| TriggerSource | This parameter can be one of the following values:
|
| ExternalTriggerEdge | This parameter can be one of the following values:
|
| SequencerNbRanks | This parameter can be one of the following values:
|
| Rank1_Channel | This parameter can be one of the following values:
(2) On STM32L4, parameter available only on ADC instance: ADC2. (3) On STM32L4, parameter available only on ADC instance: ADC3. (4) On STM32L4, parameter available only on ADC instances: ADC1, ADC3. (5) On STM32L4, parameter available on devices with only 1 ADC instance. (6) On STM32L4, parameter available on devices with several ADC instances. (7) On STM32L4, fast channel (0.188 us for 12-bit resolution (ADC conversion rate up to 5.33 Ms/s)). Other channels are slow channels (0.238 us for 12-bit resolution (ADC conversion rate up to 4.21 Ms/s)). |
| Rank2_Channel | This parameter can be one of the following values:
(2) On STM32L4, parameter available only on ADC instance: ADC2. (3) On STM32L4, parameter available only on ADC instance: ADC3. (4) On STM32L4, parameter available only on ADC instances: ADC1, ADC3. (5) On STM32L4, parameter available on devices with only 1 ADC instance. (6) On STM32L4, parameter available on devices with several ADC instances. (7) On STM32L4, fast channel (0.188 us for 12-bit resolution (ADC conversion rate up to 5.33 Ms/s)). Other channels are slow channels (0.238 us for 12-bit resolution (ADC conversion rate up to 4.21 Ms/s)). |
| Rank3_Channel | This parameter can be one of the following values:
(2) On STM32L4, parameter available only on ADC instance: ADC2. (3) On STM32L4, parameter available only on ADC instance: ADC3. (4) On STM32L4, parameter available only on ADC instances: ADC1, ADC3. (5) On STM32L4, parameter available on devices with only 1 ADC instance. (6) On STM32L4, parameter available on devices with several ADC instances. (7) On STM32L4, fast channel (0.188 us for 12-bit resolution (ADC conversion rate up to 5.33 Ms/s)). Other channels are slow channels (0.238 us for 12-bit resolution (ADC conversion rate up to 4.21 Ms/s)). |
| Rank4_Channel | This parameter can be one of the following values:
(2) On STM32L4, parameter available only on ADC instance: ADC2. (3) On STM32L4, parameter available only on ADC instance: ADC3. (4) On STM32L4, parameter available only on ADC instances: ADC1, ADC3. (5) On STM32L4, parameter available on devices with only 1 ADC instance. (6) On STM32L4, parameter available on devices with several ADC instances. (7) On STM32L4, fast channel (0.188 us for 12-bit resolution (ADC conversion rate up to 5.33 Ms/s)). Other channels are slow channels (0.238 us for 12-bit resolution (ADC conversion rate up to 4.21 Ms/s)). |
| None |
Definition at line 4501 of file stm32l4xx_ll_adc.h.
| __STATIC_INLINE uint32_t LL_ADC_INJ_GetQueueMode | ( | ADC_TypeDef * | ADCx | ) |
Get ADC group injected context queue mode. CFGR JQM LL_ADC_INJ_GetQueueMode
CFGR JQDIS LL_ADC_INJ_GetQueueMode.
| ADCx | ADC instance |
| Returned | value can be one of the following values:
|
Definition at line 4277 of file stm32l4xx_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. CFGR JDISCEN LL_ADC_INJ_GetSequencerDiscont.
| ADCx | ADC instance |
| Returned | value can be one of the following values:
|
Definition at line 4015 of file stm32l4xx_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 3982 of file stm32l4xx_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 STM32L4, parameter available only on ADC instance: ADC2. (3) On STM32L4, parameter available only on ADC instance: ADC3. (4) On STM32L4, parameter available only on ADC instances: ADC1, ADC3. (5) On STM32L4, parameter available on devices with only 1 ADC instance. (6) On STM32L4, parameter available on devices with several ADC instances. (7) On STM32L4, fast channel (0.188 us for 12-bit resolution (ADC conversion rate up to 5.33 Ms/s)). Other channels are slow channels (0.238 us for 12-bit resolution (ADC conversion rate up to 4.21 Ms/s)). (1, 2, 3, 4) 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 4164 of file stm32l4xx_ll_adc.h.
| __STATIC_INLINE uint32_t LL_ADC_INJ_GetTrigAuto | ( | ADC_TypeDef * | ADCx | ) |
Get ADC group injected conversion trigger: independent or from ADC group regular. CFGR JAUTO LL_ADC_INJ_GetTrigAuto.
| ADCx | ADC instance |
| Returned | value can be one of the following values:
|
Definition at line 4216 of file stm32l4xx_ll_adc.h.
| __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. JSQR JEXTEN LL_ADC_INJ_GetTriggerEdge.
| ADCx | ADC instance |
| Returned | value can be one of the following values:
|
Definition at line 3935 of file stm32l4xx_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 |
| Returned | value can be one of the following values:
|
Definition at line 3873 of file stm32l4xx_ll_adc.h.
| __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 3900 of file stm32l4xx_ll_adc.h.
| __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 4262 of file stm32l4xx_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 4000 of file stm32l4xx_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 3961 of file stm32l4xx_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 STM32L4, parameter available only on ADC instance: ADC2. (3) On STM32L4, parameter available only on ADC instance: ADC3. (4) On STM32L4, parameter available only on ADC instances: ADC1, ADC3. (5) On STM32L4, parameter available on devices with only 1 ADC instance. (6) On STM32L4, parameter available on devices with several ADC instances. (7) On STM32L4, fast channel (0.188 us for 12-bit resolution (ADC conversion rate up to 5.33 Ms/s)). Other channels are slow channels (0.238 us for 12-bit resolution (ADC conversion rate up to 4.21 Ms/s)). |
| None |
Definition at line 4085 of file stm32l4xx_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 4202 of file stm32l4xx_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 3920 of file stm32l4xx_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 3834 of file stm32l4xx_ll_adc.h.