STM32F4xx_HAL_Driver
1.8.3
|
Header file of ADC LL module. More...
Go to the source code of this file.
Data Structures | |
struct | LL_ADC_CommonInitTypeDef |
Structure definition of some features of ADC common parameters and multimode (all ADC instances belonging to the same ADC common instance). More... | |
struct | LL_ADC_InitTypeDef |
Structure definition of some features of ADC instance. More... | |
struct | LL_ADC_REG_InitTypeDef |
Structure definition of some features of ADC group regular. More... | |
struct | LL_ADC_INJ_InitTypeDef |
Structure definition of some features of ADC group injected. More... | |
Functions | |
__STATIC_INLINE uint32_t | LL_ADC_DMA_GetRegAddr (const ADC_TypeDef *ADCx, uint32_t Register) |
Function to help to configure DMA transfer from ADC: retrieve the ADC register address from ADC instance and a list of ADC registers intended to be used (most commonly) with DMA transfer. More... | |
__STATIC_INLINE uint32_t | LL_ADC_DMA_GetRegAddr (ADC_TypeDef *ADCx, uint32_t Register) |
__STATIC_INLINE void | LL_ADC_SetCommonClock (ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonClock) |
Set parameter common to several ADC: Clock source and prescaler. @rmtoll CCR ADCPRE LL_ADC_SetCommonClock. More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetCommonClock (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get parameter common to several ADC: Clock source and prescaler. @rmtoll CCR ADCPRE LL_ADC_GetCommonClock. More... | |
__STATIC_INLINE void | LL_ADC_SetCommonPathInternalCh (ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) |
Set parameter common to several ADC: measurement path to internal channels (VrefInt, temperature sensor, ...). More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetCommonPathInternalCh (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get parameter common to several ADC: measurement path to internal channels (VrefInt, temperature sensor, ...). More... | |
__STATIC_INLINE void | LL_ADC_SetResolution (ADC_TypeDef *ADCx, uint32_t Resolution) |
Set ADC resolution. Refer to reference manual for alignments formats dependencies to ADC resolutions. @rmtoll CR1 RES LL_ADC_SetResolution. More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetResolution (const ADC_TypeDef *ADCx) |
Get ADC resolution. Refer to reference manual for alignments formats dependencies to ADC resolutions. @rmtoll CR1 RES LL_ADC_GetResolution. More... | |
__STATIC_INLINE void | LL_ADC_SetDataAlignment (ADC_TypeDef *ADCx, uint32_t DataAlignment) |
Set ADC conversion data alignment. More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetDataAlignment (const ADC_TypeDef *ADCx) |
Get ADC conversion data alignment. More... | |
__STATIC_INLINE void | LL_ADC_SetSequencersScanMode (ADC_TypeDef *ADCx, uint32_t ScanMode) |
Set ADC sequencers scan mode, for all ADC groups (group regular, group injected). More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetSequencersScanMode (const ADC_TypeDef *ADCx) |
Get ADC sequencers scan mode, for all ADC groups (group regular, group injected). More... | |
__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 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 void | LL_ADC_SetChannelSamplingTime (ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SamplingTime) |
Set sampling time of the selected ADC channel Unit: ADC clock cycles. More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetChannelSamplingTime (const ADC_TypeDef *ADCx, uint32_t Channel) |
Get sampling time of the selected ADC channel Unit: ADC clock cycles. More... | |
__STATIC_INLINE void | LL_ADC_SetAnalogWDMonitChannels (ADC_TypeDef *ADCx, uint32_t AWDChannelGroup) |
Set ADC analog watchdog monitored channels: a single channel or all channels, on ADC groups regular and-or injected. More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetAnalogWDMonitChannels (const ADC_TypeDef *ADCx) |
Get ADC analog watchdog monitored channel. More... | |
__STATIC_INLINE void | LL_ADC_SetAnalogWDThresholds (ADC_TypeDef *ADCx, uint32_t AWDThresholdsHighLow, uint32_t AWDThresholdValue) |
Set ADC analog watchdog threshold value of threshold high or low. More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetAnalogWDThresholds (const ADC_TypeDef *ADCx, uint32_t AWDThresholdsHighLow) |
Get ADC analog watchdog threshold value of threshold high or threshold low. More... | |
__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). More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetMultimode (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get ADC multimode configuration to operate in independent mode or multimode (for devices with several ADC instances). More... | |
__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. More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetMultiDMATransfer (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get ADC multimode conversion data transfer: no transfer or transfer by DMA. More... | |
__STATIC_INLINE void | LL_ADC_SetMultiTwoSamplingDelay (ADC_Common_TypeDef *ADCxy_COMMON, uint32_t MultiTwoSamplingDelay) |
Set ADC multimode delay between 2 sampling phases. More... | |
__STATIC_INLINE uint32_t | LL_ADC_GetMultiTwoSamplingDelay (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get ADC multimode delay between 2 sampling phases. @rmtoll CCR DELAY LL_ADC_GetMultiTwoSamplingDelay. More... | |
__STATIC_INLINE void | LL_ADC_Enable (ADC_TypeDef *ADCx) |
Enable the selected ADC instance. More... | |
__STATIC_INLINE void | LL_ADC_Disable (ADC_TypeDef *ADCx) |
Disable the selected ADC instance. @rmtoll CR2 ADON LL_ADC_Disable. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabled (const ADC_TypeDef *ADCx) |
Get the selected ADC instance enable state. @rmtoll CR2 ADON LL_ADC_IsEnabled. More... | |
__STATIC_INLINE void | LL_ADC_REG_StartConversionSWStart (ADC_TypeDef *ADCx) |
Start ADC group regular conversion. More... | |
__STATIC_INLINE void | LL_ADC_REG_StartConversionExtTrig (ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge) |
Start ADC group regular conversion from external trigger. More... | |
__STATIC_INLINE void | LL_ADC_REG_StopConversionExtTrig (ADC_TypeDef *ADCx) |
Stop ADC group regular conversion from external trigger. More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_ReadConversionData32 (const ADC_TypeDef *ADCx) |
Get ADC group regular conversion data, range fit for all ADC configurations: all ADC resolutions and all oversampling increased data width (for devices with feature oversampling). @rmtoll DR RDATA LL_ADC_REG_ReadConversionData32. More... | |
__STATIC_INLINE uint16_t | LL_ADC_REG_ReadConversionData12 (const ADC_TypeDef *ADCx) |
Get ADC group regular conversion data, range fit for ADC resolution 12 bits. More... | |
__STATIC_INLINE uint16_t | LL_ADC_REG_ReadConversionData10 (const ADC_TypeDef *ADCx) |
Get ADC group regular conversion data, range fit for ADC resolution 10 bits. More... | |
__STATIC_INLINE uint8_t | LL_ADC_REG_ReadConversionData8 (const ADC_TypeDef *ADCx) |
Get ADC group regular conversion data, range fit for ADC resolution 8 bits. More... | |
__STATIC_INLINE uint8_t | LL_ADC_REG_ReadConversionData6 (const ADC_TypeDef *ADCx) |
Get ADC group regular conversion data, range fit for ADC resolution 6 bits. More... | |
__STATIC_INLINE uint32_t | LL_ADC_REG_ReadMultiConversionData32 (const ADC_Common_TypeDef *ADCxy_COMMON, uint32_t ConversionData) |
Get ADC multimode conversion data of ADC master, ADC slave or raw data with ADC master and slave concatenated. More... | |
__STATIC_INLINE void | LL_ADC_INJ_StartConversionSWStart (ADC_TypeDef *ADCx) |
Start ADC group injected conversion. More... | |
__STATIC_INLINE void | LL_ADC_INJ_StartConversionExtTrig (ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge) |
Start ADC group injected conversion from external trigger. More... | |
__STATIC_INLINE void | LL_ADC_INJ_StopConversionExtTrig (ADC_TypeDef *ADCx) |
Stop ADC group injected conversion from external trigger. More... | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_ReadConversionData32 (const ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group regular conversion data, range fit for all ADC configurations: all ADC resolutions and all oversampling increased data width (for devices with feature oversampling). @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData32 JDR2 JDATA LL_ADC_INJ_ReadConversionData32 JDR3 JDATA LL_ADC_INJ_ReadConversionData32 JDR4 JDATA LL_ADC_INJ_ReadConversionData32. More... | |
__STATIC_INLINE uint16_t | LL_ADC_INJ_ReadConversionData12 (const ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected conversion data, range fit for ADC resolution 12 bits. More... | |
__STATIC_INLINE uint16_t | LL_ADC_INJ_ReadConversionData10 (const ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected conversion data, range fit for ADC resolution 10 bits. More... | |
__STATIC_INLINE uint8_t | LL_ADC_INJ_ReadConversionData8 (const ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected conversion data, range fit for ADC resolution 8 bits. More... | |
__STATIC_INLINE uint8_t | LL_ADC_INJ_ReadConversionData6 (const ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected conversion data, range fit for ADC resolution 6 bits. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_EOCS (const ADC_TypeDef *ADCx) |
Get flag ADC group regular end of unitary conversion or end of sequence conversions, depending on ADC configuration. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_OVR (const ADC_TypeDef *ADCx) |
Get flag ADC group regular overrun. @rmtoll SR OVR LL_ADC_IsActiveFlag_OVR. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_JEOS (const ADC_TypeDef *ADCx) |
Get flag ADC group injected end of sequence conversions. @rmtoll SR JEOC LL_ADC_IsActiveFlag_JEOS. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_AWD1 (const ADC_TypeDef *ADCx) |
Get flag ADC analog watchdog 1 flag @rmtoll SR AWD LL_ADC_IsActiveFlag_AWD1. More... | |
__STATIC_INLINE void | LL_ADC_ClearFlag_EOCS (ADC_TypeDef *ADCx) |
Clear flag ADC group regular end of unitary conversion or end of sequence conversions, depending on ADC configuration. More... | |
__STATIC_INLINE void | LL_ADC_ClearFlag_OVR (ADC_TypeDef *ADCx) |
Clear flag ADC group regular overrun. @rmtoll SR OVR LL_ADC_ClearFlag_OVR. More... | |
__STATIC_INLINE void | LL_ADC_ClearFlag_JEOS (ADC_TypeDef *ADCx) |
Clear flag ADC group injected end of sequence conversions. @rmtoll SR JEOC LL_ADC_ClearFlag_JEOS. More... | |
__STATIC_INLINE void | LL_ADC_ClearFlag_AWD1 (ADC_TypeDef *ADCx) |
Clear flag ADC analog watchdog 1. @rmtoll SR AWD LL_ADC_ClearFlag_AWD1. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_EOCS (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular end of unitary conversion or end of sequence conversions, depending on ADC configuration, of the ADC master. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV1_EOCS (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular end of unitary conversion or end of sequence conversions, depending on ADC configuration, of the ADC slave 1. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV2_EOCS (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular end of unitary conversion or end of sequence conversions, depending on ADC configuration, of the ADC slave 2. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_OVR (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular overrun of the ADC master. @rmtoll CSR OVR1 LL_ADC_IsActiveFlag_MST_OVR. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV1_OVR (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular overrun of the ADC slave 1. @rmtoll CSR OVR2 LL_ADC_IsActiveFlag_SLV1_OVR. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV2_OVR (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular overrun of the ADC slave 2. @rmtoll CSR OVR3 LL_ADC_IsActiveFlag_SLV2_OVR. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_JEOS (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group injected end of sequence conversions of the ADC master. @rmtoll CSR JEOC LL_ADC_IsActiveFlag_MST_JEOS. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV1_JEOS (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group injected end of sequence conversions of the ADC slave 1. @rmtoll CSR JEOC2 LL_ADC_IsActiveFlag_SLV1_JEOS. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV2_JEOS (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group injected end of sequence conversions of the ADC slave 2. @rmtoll CSR JEOC3 LL_ADC_IsActiveFlag_SLV2_JEOS. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_AWD1 (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC analog watchdog 1 of the ADC master. @rmtoll CSR AWD1 LL_ADC_IsActiveFlag_MST_AWD1. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV1_AWD1 (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode analog watchdog 1 of the ADC slave 1. @rmtoll CSR AWD2 LL_ADC_IsActiveFlag_SLV1_AWD1. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV2_AWD1 (const ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode analog watchdog 1 of the ADC slave 2. @rmtoll CSR AWD3 LL_ADC_IsActiveFlag_SLV2_AWD1. More... | |
__STATIC_INLINE void | LL_ADC_EnableIT_EOCS (ADC_TypeDef *ADCx) |
Enable interruption ADC group regular end of unitary conversion or end of sequence conversions, depending on ADC configuration. More... | |
__STATIC_INLINE void | LL_ADC_EnableIT_OVR (ADC_TypeDef *ADCx) |
Enable ADC group regular interruption overrun. @rmtoll CR1 OVRIE LL_ADC_EnableIT_OVR. More... | |
__STATIC_INLINE void | LL_ADC_EnableIT_JEOS (ADC_TypeDef *ADCx) |
Enable interruption ADC group injected end of sequence conversions. @rmtoll CR1 JEOCIE LL_ADC_EnableIT_JEOS. More... | |
__STATIC_INLINE void | LL_ADC_EnableIT_AWD1 (ADC_TypeDef *ADCx) |
Enable interruption ADC analog watchdog 1. @rmtoll CR1 AWDIE LL_ADC_EnableIT_AWD1. More... | |
__STATIC_INLINE void | LL_ADC_DisableIT_EOCS (ADC_TypeDef *ADCx) |
Disable interruption ADC group regular end of unitary conversion or end of sequence conversions, depending on ADC configuration. More... | |
__STATIC_INLINE void | LL_ADC_DisableIT_OVR (ADC_TypeDef *ADCx) |
Disable interruption ADC group regular overrun. @rmtoll CR1 OVRIE LL_ADC_DisableIT_OVR. More... | |
__STATIC_INLINE void | LL_ADC_DisableIT_JEOS (ADC_TypeDef *ADCx) |
Disable interruption ADC group injected end of sequence conversions. @rmtoll CR1 JEOCIE LL_ADC_EnableIT_JEOS. More... | |
__STATIC_INLINE void | LL_ADC_DisableIT_AWD1 (ADC_TypeDef *ADCx) |
Disable interruption ADC analog watchdog 1. @rmtoll CR1 AWDIE LL_ADC_EnableIT_AWD1. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_EOCS (const ADC_TypeDef *ADCx) |
Get state of interruption ADC group regular end of unitary conversion or end of sequence conversions, depending on ADC configuration. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_OVR (const ADC_TypeDef *ADCx) |
Get state of interruption ADC group regular overrun (0: interrupt disabled, 1: interrupt enabled). @rmtoll CR1 OVRIE LL_ADC_IsEnabledIT_OVR. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_JEOS (const ADC_TypeDef *ADCx) |
Get state of interruption ADC group injected end of sequence conversions (0: interrupt disabled, 1: interrupt enabled). @rmtoll CR1 JEOCIE LL_ADC_EnableIT_JEOS. More... | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_AWD1 (const ADC_TypeDef *ADCx) |
Get state of interruption ADC analog watchdog 1 (0: interrupt disabled, 1: interrupt enabled). @rmtoll CR1 AWDIE LL_ADC_EnableIT_AWD1. More... | |
ErrorStatus | LL_ADC_CommonDeInit (ADC_Common_TypeDef *ADCxy_COMMON) |
De-initialize registers of all ADC instances belonging to the same ADC common instance to their default reset values. More... | |
ErrorStatus | LL_ADC_CommonInit (ADC_Common_TypeDef *ADCxy_COMMON, LL_ADC_CommonInitTypeDef *ADC_CommonInitStruct) |
Initialize some features of ADC common parameters (all ADC instances belonging to the same ADC common instance) and multimode (for devices with several ADC instances available). More... | |
void | LL_ADC_CommonStructInit (LL_ADC_CommonInitTypeDef *ADC_CommonInitStruct) |
Set each LL_ADC_CommonInitTypeDef field to default value. More... | |
ErrorStatus | LL_ADC_DeInit (ADC_TypeDef *ADCx) |
De-initialize registers of the selected ADC instance to their default reset values. More... | |
ErrorStatus | LL_ADC_Init (ADC_TypeDef *ADCx, LL_ADC_InitTypeDef *ADC_InitStruct) |
Initialize some features of ADC instance. More... | |
void | LL_ADC_StructInit (LL_ADC_InitTypeDef *ADC_InitStruct) |
Set each LL_ADC_InitTypeDef field to default value. More... | |
ErrorStatus | LL_ADC_REG_Init (ADC_TypeDef *ADCx, LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct) |
Initialize some features of ADC group regular. More... | |
void | LL_ADC_REG_StructInit (LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct) |
Set each LL_ADC_REG_InitTypeDef field to default value. More... | |
ErrorStatus | LL_ADC_INJ_Init (ADC_TypeDef *ADCx, LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct) |
Initialize some features of ADC group injected. More... | |
void | LL_ADC_INJ_StructInit (LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct) |
Set each LL_ADC_INJ_InitTypeDef field to default value. More... | |
Header file of ADC LL module.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32f4xx_ll_adc.h.