Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
stm32l4xx_ll_adc.h File Reference
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 (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. | |
__STATIC_INLINE void | LL_ADC_SetCommonClock (ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonClock) |
Set parameter common to several ADC: Clock source and prescaler. | |
__STATIC_INLINE uint32_t | LL_ADC_GetCommonClock (ADC_Common_TypeDef *ADCxy_COMMON) |
Get parameter common to several ADC: Clock source and prescaler. | |
__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, ...). | |
__STATIC_INLINE uint32_t | LL_ADC_GetCommonPathInternalCh (ADC_Common_TypeDef *ADCxy_COMMON) |
Get parameter common to several ADC: measurement path to internal channels (VrefInt, temperature sensor, ...). | |
__STATIC_INLINE void | LL_ADC_SetCalibrationFactor (ADC_TypeDef *ADCx, uint32_t SingleDiff, uint32_t CalibrationFactor) |
Set ADC calibration factor in the mode single-ended or differential (for devices with differential mode available). | |
__STATIC_INLINE uint32_t | LL_ADC_GetCalibrationFactor (ADC_TypeDef *ADCx, uint32_t SingleDiff) |
Get ADC calibration factor in the mode single-ended or differential (for devices with differential mode available). | |
__STATIC_INLINE void | LL_ADC_SetResolution (ADC_TypeDef *ADCx, uint32_t Resolution) |
Set ADC resolution. | |
__STATIC_INLINE uint32_t | LL_ADC_GetResolution (ADC_TypeDef *ADCx) |
Get ADC resolution. | |
__STATIC_INLINE void | LL_ADC_SetDataAlignment (ADC_TypeDef *ADCx, uint32_t DataAlignment) |
Set ADC conversion data alignment. | |
__STATIC_INLINE uint32_t | LL_ADC_GetDataAlignment (ADC_TypeDef *ADCx) |
Get ADC conversion data alignment. | |
__STATIC_INLINE void | LL_ADC_SetLowPowerMode (ADC_TypeDef *ADCx, uint32_t LowPowerMode) |
Set ADC low power mode. | |
__STATIC_INLINE uint32_t | LL_ADC_GetLowPowerMode (ADC_TypeDef *ADCx) |
Get ADC low power mode: | |
__STATIC_INLINE void | LL_ADC_SetOffset (ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t Channel, uint32_t OffsetLevel) |
Set ADC selected offset number 1, 2, 3 or 4. | |
__STATIC_INLINE uint32_t | LL_ADC_GetOffsetChannel (ADC_TypeDef *ADCx, uint32_t Offsety) |
Get for the ADC selected offset number 1, 2, 3 or 4: Channel to which the offset programmed will be applied (independently of channel mapped on ADC group regular or group injected) | |
__STATIC_INLINE uint32_t | LL_ADC_GetOffsetLevel (ADC_TypeDef *ADCx, uint32_t Offsety) |
Get for the ADC selected offset number 1, 2, 3 or 4: Offset level (offset to be subtracted from the raw converted data). | |
__STATIC_INLINE void | LL_ADC_SetOffsetState (ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t OffsetState) |
Set for the ADC selected offset number 1, 2, 3 or 4: force offset state disable or enable without modifying offset channel or offset value. | |
__STATIC_INLINE uint32_t | LL_ADC_GetOffsetState (ADC_TypeDef *ADCx, uint32_t Offsety) |
Get for the ADC selected offset number 1, 2, 3 or 4: offset state disabled or enabled. | |
__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). | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetTriggerSource (ADC_TypeDef *ADCx) |
Get ADC group regular conversion trigger source: internal (SW start) or from external IP (timer event, external interrupt line). | |
__STATIC_INLINE uint32_t | LL_ADC_REG_IsTriggerSourceSWStart (ADC_TypeDef *ADCx) |
Get ADC group regular conversion trigger source internal (SW start) or external. | |
__STATIC_INLINE void | LL_ADC_REG_SetTriggerEdge (ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge) |
Set ADC group regular conversion trigger polarity. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetTriggerEdge (ADC_TypeDef *ADCx) |
Get ADC group regular conversion trigger polarity. | |
__STATIC_INLINE void | LL_ADC_REG_SetSequencerLength (ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) |
Set ADC group regular sequencer length and scan direction. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetSequencerLength (ADC_TypeDef *ADCx) |
Get ADC group regular sequencer length and scan direction. | |
__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. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetSequencerDiscont (ADC_TypeDef *ADCx) |
Get ADC group regular sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. | |
__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. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetSequencerRanks (ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group regular sequence: channel on the selected scan sequence rank. | |
__STATIC_INLINE void | LL_ADC_REG_SetContinuousMode (ADC_TypeDef *ADCx, uint32_t Continuous) |
Set ADC continuous conversion mode on ADC group regular. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetContinuousMode (ADC_TypeDef *ADCx) |
Get ADC continuous conversion mode on ADC group regular. | |
__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. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetDMATransfer (ADC_TypeDef *ADCx) |
Get ADC group regular conversion data transfer: no transfer or transfer by DMA, and DMA requests mode. | |
__STATIC_INLINE void | LL_ADC_REG_SetOverrun (ADC_TypeDef *ADCx, uint32_t Overrun) |
Set ADC group regular behavior in case of overrun: data preserved or overwritten. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_GetOverrun (ADC_TypeDef *ADCx) |
Get ADC group regular behavior in case of overrun: data preserved or overwritten. | |
__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). | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_GetTriggerSource (ADC_TypeDef *ADCx) |
Get ADC group injected conversion trigger source: internal (SW start) or from external IP (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_SetChannelSamplingTime (ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SamplingTime) |
Set sampling time of the selected ADC channel Unit: ADC clock cycles. | |
__STATIC_INLINE uint32_t | LL_ADC_GetChannelSamplingTime (ADC_TypeDef *ADCx, uint32_t Channel) |
Get sampling time of the selected ADC channel Unit: ADC clock cycles. | |
__STATIC_INLINE void | LL_ADC_SetChannelSingleDiff (ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SingleDiff) |
Set mode single-ended or differential input of the selected ADC channel. | |
__STATIC_INLINE uint32_t | LL_ADC_GetChannelSingleDiff (ADC_TypeDef *ADCx, uint32_t Channel) |
Get mode single-ended or differential input of the selected ADC channel. | |
__STATIC_INLINE void | LL_ADC_SetAnalogWDMonitChannels (ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDChannelGroup) |
Set ADC analog watchdog monitored channels: a single channel, multiple channels or all channels, on ADC groups regular and-or injected. | |
__STATIC_INLINE uint32_t | LL_ADC_GetAnalogWDMonitChannels (ADC_TypeDef *ADCx, uint32_t AWDy) |
Get ADC analog watchdog monitored channel. | |
__STATIC_INLINE void | LL_ADC_ConfigAnalogWDThresholds (ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdHighValue, uint32_t AWDThresholdLowValue) |
Set ADC analog watchdog thresholds value of both thresholds high and low. | |
__STATIC_INLINE void | LL_ADC_SetAnalogWDThresholds (ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdsHighLow, uint32_t AWDThresholdValue) |
Set ADC analog watchdog threshold value of threshold high or low. | |
__STATIC_INLINE uint32_t | LL_ADC_GetAnalogWDThresholds (ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdsHighLow) |
Get ADC analog watchdog threshold value of threshold high, threshold low or raw data with ADC thresholds high and low concatenated. | |
__STATIC_INLINE void | LL_ADC_SetOverSamplingScope (ADC_TypeDef *ADCx, uint32_t OvsScope) |
Set ADC oversampling scope: ADC groups regular and-or injected (availability of ADC group injected depends on STM32 families). | |
__STATIC_INLINE uint32_t | LL_ADC_GetOverSamplingScope (ADC_TypeDef *ADCx) |
Get ADC oversampling scope: ADC groups regular and-or injected (availability of ADC group injected depends on STM32 families). | |
__STATIC_INLINE void | LL_ADC_SetOverSamplingDiscont (ADC_TypeDef *ADCx, uint32_t OverSamplingDiscont) |
Set ADC oversampling discontinuous mode (triggered mode) on the selected ADC group. | |
__STATIC_INLINE uint32_t | LL_ADC_GetOverSamplingDiscont (ADC_TypeDef *ADCx) |
Get ADC oversampling discontinuous mode (triggered mode) on the selected ADC group. | |
__STATIC_INLINE void | LL_ADC_ConfigOverSamplingRatioShift (ADC_TypeDef *ADCx, uint32_t Ratio, uint32_t Shift) |
Set ADC oversampling (impacting both ADC groups regular and injected) | |
__STATIC_INLINE uint32_t | LL_ADC_GetOverSamplingRatio (ADC_TypeDef *ADCx) |
Get ADC oversampling ratio (impacting both ADC groups regular and injected) CFGR2 OVSR LL_ADC_GetOverSamplingRatio. | |
__STATIC_INLINE uint32_t | LL_ADC_GetOverSamplingShift (ADC_TypeDef *ADCx) |
Get ADC oversampling shift (impacting both ADC groups regular and injected) CFGR2 OVSS LL_ADC_GetOverSamplingShift. | |
__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). | |
__STATIC_INLINE uint32_t | LL_ADC_GetMultimode (ADC_Common_TypeDef *ADCxy_COMMON) |
Get ADC multimode configuration to operate in independent mode or multimode (for devices with several ADC instances). | |
__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. | |
__STATIC_INLINE uint32_t | LL_ADC_GetMultiDMATransfer (ADC_Common_TypeDef *ADCxy_COMMON) |
Get ADC multimode conversion data transfer: no transfer or transfer by DMA. | |
__STATIC_INLINE void | LL_ADC_SetMultiTwoSamplingDelay (ADC_Common_TypeDef *ADCxy_COMMON, uint32_t MultiTwoSamplingDelay) |
Set ADC multimode delay between 2 sampling phases. | |
__STATIC_INLINE uint32_t | LL_ADC_GetMultiTwoSamplingDelay (ADC_Common_TypeDef *ADCxy_COMMON) |
Get ADC multimode delay between 2 sampling phases. | |
__STATIC_INLINE void | LL_ADC_EnableDeepPowerDown (ADC_TypeDef *ADCx) |
Put ADC instance in deep power down state. | |
__STATIC_INLINE void | LL_ADC_DisableDeepPowerDown (ADC_TypeDef *ADCx) |
Disable ADC deep power down mode. | |
__STATIC_INLINE uint32_t | LL_ADC_IsDeepPowerDownEnabled (ADC_TypeDef *ADCx) |
Get the selected ADC instance deep power down state. | |
__STATIC_INLINE void | LL_ADC_EnableInternalRegulator (ADC_TypeDef *ADCx) |
Enable ADC instance internal voltage regulator. | |
__STATIC_INLINE void | LL_ADC_DisableInternalRegulator (ADC_TypeDef *ADCx) |
Disable ADC internal voltage regulator. | |
__STATIC_INLINE uint32_t | LL_ADC_IsInternalRegulatorEnabled (ADC_TypeDef *ADCx) |
Get the selected ADC instance internal voltage regulator state. | |
__STATIC_INLINE void | LL_ADC_Enable (ADC_TypeDef *ADCx) |
Enable the selected ADC instance. | |
__STATIC_INLINE void | LL_ADC_Disable (ADC_TypeDef *ADCx) |
Disable the selected ADC instance. | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabled (ADC_TypeDef *ADCx) |
Get the selected ADC instance enable state. | |
__STATIC_INLINE uint32_t | LL_ADC_IsDisableOngoing (ADC_TypeDef *ADCx) |
Get the selected ADC instance disable state. | |
__STATIC_INLINE void | LL_ADC_StartCalibration (ADC_TypeDef *ADCx, uint32_t SingleDiff) |
Start ADC calibration in the mode single-ended or differential (for devices with differential mode available). | |
__STATIC_INLINE uint32_t | LL_ADC_IsCalibrationOnGoing (ADC_TypeDef *ADCx) |
Get ADC calibration state. | |
__STATIC_INLINE void | LL_ADC_REG_StartConversion (ADC_TypeDef *ADCx) |
Start ADC group regular conversion. | |
__STATIC_INLINE void | LL_ADC_REG_StopConversion (ADC_TypeDef *ADCx) |
Stop ADC group regular conversion. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_IsConversionOngoing (ADC_TypeDef *ADCx) |
Get ADC group regular conversion state. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_IsStopConversionOngoing (ADC_TypeDef *ADCx) |
Get ADC group regular command of conversion stop state CR ADSTP LL_ADC_REG_IsStopConversionOngoing. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_ReadConversionData32 (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). | |
__STATIC_INLINE uint16_t | LL_ADC_REG_ReadConversionData12 (ADC_TypeDef *ADCx) |
Get ADC group regular conversion data, range fit for ADC resolution 12 bits. | |
__STATIC_INLINE uint16_t | LL_ADC_REG_ReadConversionData10 (ADC_TypeDef *ADCx) |
Get ADC group regular conversion data, range fit for ADC resolution 10 bits. | |
__STATIC_INLINE uint8_t | LL_ADC_REG_ReadConversionData8 (ADC_TypeDef *ADCx) |
Get ADC group regular conversion data, range fit for ADC resolution 8 bits. | |
__STATIC_INLINE uint8_t | LL_ADC_REG_ReadConversionData6 (ADC_TypeDef *ADCx) |
Get ADC group regular conversion data, range fit for ADC resolution 6 bits. | |
__STATIC_INLINE uint32_t | LL_ADC_REG_ReadMultiConversionData32 (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. | |
__STATIC_INLINE void | LL_ADC_INJ_StartConversion (ADC_TypeDef *ADCx) |
Start ADC group injected conversion. | |
__STATIC_INLINE void | LL_ADC_INJ_StopConversion (ADC_TypeDef *ADCx) |
Stop ADC group injected conversion. | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_IsConversionOngoing (ADC_TypeDef *ADCx) |
Get ADC group injected conversion state. | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_IsStopConversionOngoing (ADC_TypeDef *ADCx) |
Get ADC group injected command of conversion stop state CR JADSTP LL_ADC_INJ_IsStopConversionOngoing. | |
__STATIC_INLINE uint32_t | LL_ADC_INJ_ReadConversionData32 (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). | |
__STATIC_INLINE uint16_t | LL_ADC_INJ_ReadConversionData12 (ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected conversion data, range fit for ADC resolution 12 bits. | |
__STATIC_INLINE uint16_t | LL_ADC_INJ_ReadConversionData10 (ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected conversion data, range fit for ADC resolution 10 bits. | |
__STATIC_INLINE uint8_t | LL_ADC_INJ_ReadConversionData8 (ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected conversion data, range fit for ADC resolution 8 bits. | |
__STATIC_INLINE uint8_t | LL_ADC_INJ_ReadConversionData6 (ADC_TypeDef *ADCx, uint32_t Rank) |
Get ADC group injected conversion data, range fit for ADC resolution 6 bits. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_ADRDY (ADC_TypeDef *ADCx) |
Get flag ADC ready. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_EOC (ADC_TypeDef *ADCx) |
Get flag ADC group regular end of unitary conversion. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_EOS (ADC_TypeDef *ADCx) |
Get flag ADC group regular end of sequence conversions. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_OVR (ADC_TypeDef *ADCx) |
Get flag ADC group regular overrun. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_EOSMP (ADC_TypeDef *ADCx) |
Get flag ADC group regular end of sampling phase. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_JEOC (ADC_TypeDef *ADCx) |
Get flag ADC group injected end of unitary conversion. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_JEOS (ADC_TypeDef *ADCx) |
Get flag ADC group injected end of sequence conversions. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_JQOVF (ADC_TypeDef *ADCx) |
Get flag ADC group injected contexts queue overflow. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_AWD1 (ADC_TypeDef *ADCx) |
Get flag ADC analog watchdog 1 flag ISR AWD1 LL_ADC_IsActiveFlag_AWD1. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_AWD2 (ADC_TypeDef *ADCx) |
Get flag ADC analog watchdog 2. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_AWD3 (ADC_TypeDef *ADCx) |
Get flag ADC analog watchdog 3. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_ADRDY (ADC_TypeDef *ADCx) |
Clear flag ADC ready. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_EOC (ADC_TypeDef *ADCx) |
Clear flag ADC group regular end of unitary conversion. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_EOS (ADC_TypeDef *ADCx) |
Clear flag ADC group regular end of sequence conversions. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_OVR (ADC_TypeDef *ADCx) |
Clear flag ADC group regular overrun. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_EOSMP (ADC_TypeDef *ADCx) |
Clear flag ADC group regular end of sampling phase. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_JEOC (ADC_TypeDef *ADCx) |
Clear flag ADC group injected end of unitary conversion. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_JEOS (ADC_TypeDef *ADCx) |
Clear flag ADC group injected end of sequence conversions. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_JQOVF (ADC_TypeDef *ADCx) |
Clear flag ADC group injected contexts queue overflow. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_AWD1 (ADC_TypeDef *ADCx) |
Clear flag ADC analog watchdog 1. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_AWD2 (ADC_TypeDef *ADCx) |
Clear flag ADC analog watchdog 2. | |
__STATIC_INLINE void | LL_ADC_ClearFlag_AWD3 (ADC_TypeDef *ADCx) |
Clear flag ADC analog watchdog 3. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_ADRDY (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC ready of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_ADRDY (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC ready of the ADC slave. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_EOC (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular end of unitary conversion of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_EOC (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular end of unitary conversion of the ADC slave. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_EOS (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular end of sequence conversions of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_EOS (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular end of sequence conversions of the ADC slave. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_OVR (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular overrun of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_OVR (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular overrun of the ADC slave. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_EOSMP (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular end of sampling of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_EOSMP (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group regular end of sampling of the ADC slave. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_JEOC (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group injected end of unitary conversion of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_JEOC (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group injected end of unitary conversion of the ADC slave. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_JEOS (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group injected end of sequence conversions of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_JEOS (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group injected end of sequence conversions of the ADC slave. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_JQOVF (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group injected context queue overflow of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_JQOVF (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC group injected context queue overflow of the ADC slave. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_AWD1 (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC analog watchdog 1 of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_AWD1 (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode analog watchdog 1 of the ADC slave. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_AWD2 (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC analog watchdog 2 of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_AWD2 (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC analog watchdog 2 of the ADC slave. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_MST_AWD3 (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC analog watchdog 3 of the ADC master. | |
__STATIC_INLINE uint32_t | LL_ADC_IsActiveFlag_SLV_AWD3 (ADC_Common_TypeDef *ADCxy_COMMON) |
Get flag multimode ADC analog watchdog 3 of the ADC slave. | |
__STATIC_INLINE void | LL_ADC_EnableIT_ADRDY (ADC_TypeDef *ADCx) |
Enable ADC ready. | |
__STATIC_INLINE void | LL_ADC_EnableIT_EOC (ADC_TypeDef *ADCx) |
Enable interruption ADC group regular end of unitary conversion. | |
__STATIC_INLINE void | LL_ADC_EnableIT_EOS (ADC_TypeDef *ADCx) |
Enable interruption ADC group regular end of sequence conversions. | |
__STATIC_INLINE void | LL_ADC_EnableIT_OVR (ADC_TypeDef *ADCx) |
Enable ADC group regular interruption overrun. | |
__STATIC_INLINE void | LL_ADC_EnableIT_EOSMP (ADC_TypeDef *ADCx) |
Enable interruption ADC group regular end of sampling. | |
__STATIC_INLINE void | LL_ADC_EnableIT_JEOC (ADC_TypeDef *ADCx) |
Enable interruption ADC group injected end of unitary conversion. | |
__STATIC_INLINE void | LL_ADC_EnableIT_JEOS (ADC_TypeDef *ADCx) |
Enable interruption ADC group injected end of sequence conversions. | |
__STATIC_INLINE void | LL_ADC_EnableIT_JQOVF (ADC_TypeDef *ADCx) |
Enable interruption ADC group injected context queue overflow. | |
__STATIC_INLINE void | LL_ADC_EnableIT_AWD1 (ADC_TypeDef *ADCx) |
Enable interruption ADC analog watchdog 1. | |
__STATIC_INLINE void | LL_ADC_EnableIT_AWD2 (ADC_TypeDef *ADCx) |
Enable interruption ADC analog watchdog 2. | |
__STATIC_INLINE void | LL_ADC_EnableIT_AWD3 (ADC_TypeDef *ADCx) |
Enable interruption ADC analog watchdog 3. | |
__STATIC_INLINE void | LL_ADC_DisableIT_ADRDY (ADC_TypeDef *ADCx) |
Disable interruption ADC ready. | |
__STATIC_INLINE void | LL_ADC_DisableIT_EOC (ADC_TypeDef *ADCx) |
Disable interruption ADC group regular end of unitary conversion. | |
__STATIC_INLINE void | LL_ADC_DisableIT_EOS (ADC_TypeDef *ADCx) |
Disable interruption ADC group regular end of sequence conversions. | |
__STATIC_INLINE void | LL_ADC_DisableIT_OVR (ADC_TypeDef *ADCx) |
Disable interruption ADC group regular overrun. | |
__STATIC_INLINE void | LL_ADC_DisableIT_EOSMP (ADC_TypeDef *ADCx) |
Disable interruption ADC group regular end of sampling. | |
__STATIC_INLINE void | LL_ADC_DisableIT_JEOC (ADC_TypeDef *ADCx) |
Disable interruption ADC group regular end of unitary conversion. | |
__STATIC_INLINE void | LL_ADC_DisableIT_JEOS (ADC_TypeDef *ADCx) |
Disable interruption ADC group injected end of sequence conversions. | |
__STATIC_INLINE void | LL_ADC_DisableIT_JQOVF (ADC_TypeDef *ADCx) |
Disable interruption ADC group injected context queue overflow. | |
__STATIC_INLINE void | LL_ADC_DisableIT_AWD1 (ADC_TypeDef *ADCx) |
Disable interruption ADC analog watchdog 1. | |
__STATIC_INLINE void | LL_ADC_DisableIT_AWD2 (ADC_TypeDef *ADCx) |
Disable interruption ADC analog watchdog 2. | |
__STATIC_INLINE void | LL_ADC_DisableIT_AWD3 (ADC_TypeDef *ADCx) |
Disable interruption ADC analog watchdog 3. | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_ADRDY (ADC_TypeDef *ADCx) |
Get state of interruption ADC ready (0: interrupt disabled, 1: interrupt enabled). | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_EOC (ADC_TypeDef *ADCx) |
Get state of interruption ADC group regular end of unitary conversion (0: interrupt disabled, 1: interrupt enabled). | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_EOS (ADC_TypeDef *ADCx) |
Get state of interruption ADC group regular end of sequence conversions (0: interrupt disabled, 1: interrupt enabled). | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_OVR (ADC_TypeDef *ADCx) |
Get state of interruption ADC group regular overrun (0: interrupt disabled, 1: interrupt enabled). | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_EOSMP (ADC_TypeDef *ADCx) |
Get state of interruption ADC group regular end of sampling (0: interrupt disabled, 1: interrupt enabled). | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_JEOC (ADC_TypeDef *ADCx) |
Get state of interruption ADC group injected end of unitary conversion (0: interrupt disabled, 1: interrupt enabled). | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_JEOS (ADC_TypeDef *ADCx) |
Get state of interruption ADC group injected end of sequence conversions (0: interrupt disabled, 1: interrupt enabled). | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_JQOVF (ADC_TypeDef *ADCx) |
Get state of interruption ADC group injected context queue overflow interrupt state (0: interrupt disabled, 1: interrupt enabled). | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_AWD1 (ADC_TypeDef *ADCx) |
Get state of interruption ADC analog watchdog 1 (0: interrupt disabled, 1: interrupt enabled). | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_AWD2 (ADC_TypeDef *ADCx) |
Get state of interruption Get ADC analog watchdog 2 (0: interrupt disabled, 1: interrupt enabled). | |
__STATIC_INLINE uint32_t | LL_ADC_IsEnabledIT_AWD3 (ADC_TypeDef *ADCx) |
Get state of interruption Get ADC analog watchdog 3 (0: interrupt disabled, 1: interrupt enabled). | |
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. | |
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). | |
void | LL_ADC_CommonStructInit (LL_ADC_CommonInitTypeDef *ADC_CommonInitStruct) |
Set each LL_ADC_CommonInitTypeDef field to default value. | |
ErrorStatus | LL_ADC_DeInit (ADC_TypeDef *ADCx) |
De-initialize registers of the selected ADC instance to their default reset values. | |
ErrorStatus | LL_ADC_Init (ADC_TypeDef *ADCx, LL_ADC_InitTypeDef *ADC_InitStruct) |
Initialize some features of ADC instance. | |
void | LL_ADC_StructInit (LL_ADC_InitTypeDef *ADC_InitStruct) |
Set each LL_ADC_InitTypeDef field to default value. | |
ErrorStatus | LL_ADC_REG_Init (ADC_TypeDef *ADCx, LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct) |
Initialize some features of ADC group regular. | |
void | LL_ADC_REG_StructInit (LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct) |
Set each LL_ADC_REG_InitTypeDef field to default value. | |
ErrorStatus | LL_ADC_INJ_Init (ADC_TypeDef *ADCx, LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct) |
Initialize some features of ADC group injected. | |
void | LL_ADC_INJ_StructInit (LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct) |
Set each LL_ADC_INJ_InitTypeDef field to default value. |
Detailed Description
Header file of ADC LL module.
- Version:
- V1.5.1
- Date:
- 31-May-2016
- Attention:
© COPYRIGHT(c) 2016 STMicroelectronics
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file stm32l4xx_ll_adc.h.
Generated on Tue Jul 12 2022 11:00:02 by
