STM32L443xx HAL User Manual
Defines
ADC instance - Channel number
ADC Exported Constants

Defines

#define LL_ADC_CHANNEL_0   (ADC_CHANNEL_0_NUMBER | ADC_CHANNEL_0_SMP | ADC_CHANNEL_0_BITFIELD )
#define LL_ADC_CHANNEL_1   (ADC_CHANNEL_1_NUMBER | ADC_CHANNEL_1_SMP | ADC_CHANNEL_1_BITFIELD )
#define LL_ADC_CHANNEL_2   (ADC_CHANNEL_2_NUMBER | ADC_CHANNEL_2_SMP | ADC_CHANNEL_2_BITFIELD )
#define LL_ADC_CHANNEL_3   (ADC_CHANNEL_3_NUMBER | ADC_CHANNEL_3_SMP | ADC_CHANNEL_3_BITFIELD )
#define LL_ADC_CHANNEL_4   (ADC_CHANNEL_4_NUMBER | ADC_CHANNEL_4_SMP | ADC_CHANNEL_4_BITFIELD )
#define LL_ADC_CHANNEL_5   (ADC_CHANNEL_5_NUMBER | ADC_CHANNEL_5_SMP | ADC_CHANNEL_5_BITFIELD )
#define LL_ADC_CHANNEL_6   (ADC_CHANNEL_6_NUMBER | ADC_CHANNEL_6_SMP | ADC_CHANNEL_6_BITFIELD )
#define LL_ADC_CHANNEL_7   (ADC_CHANNEL_7_NUMBER | ADC_CHANNEL_7_SMP | ADC_CHANNEL_7_BITFIELD )
#define LL_ADC_CHANNEL_8   (ADC_CHANNEL_8_NUMBER | ADC_CHANNEL_8_SMP | ADC_CHANNEL_8_BITFIELD )
#define LL_ADC_CHANNEL_9   (ADC_CHANNEL_9_NUMBER | ADC_CHANNEL_9_SMP | ADC_CHANNEL_9_BITFIELD )
#define LL_ADC_CHANNEL_10   (ADC_CHANNEL_10_NUMBER | ADC_CHANNEL_10_SMP | ADC_CHANNEL_10_BITFIELD)
#define LL_ADC_CHANNEL_11   (ADC_CHANNEL_11_NUMBER | ADC_CHANNEL_11_SMP | ADC_CHANNEL_11_BITFIELD)
#define LL_ADC_CHANNEL_12   (ADC_CHANNEL_12_NUMBER | ADC_CHANNEL_12_SMP | ADC_CHANNEL_12_BITFIELD)
#define LL_ADC_CHANNEL_13   (ADC_CHANNEL_13_NUMBER | ADC_CHANNEL_13_SMP | ADC_CHANNEL_13_BITFIELD)
#define LL_ADC_CHANNEL_14   (ADC_CHANNEL_14_NUMBER | ADC_CHANNEL_14_SMP | ADC_CHANNEL_14_BITFIELD)
#define LL_ADC_CHANNEL_15   (ADC_CHANNEL_15_NUMBER | ADC_CHANNEL_15_SMP | ADC_CHANNEL_15_BITFIELD)
#define LL_ADC_CHANNEL_16   (ADC_CHANNEL_16_NUMBER | ADC_CHANNEL_16_SMP | ADC_CHANNEL_16_BITFIELD)
#define LL_ADC_CHANNEL_17   (ADC_CHANNEL_17_NUMBER | ADC_CHANNEL_17_SMP | ADC_CHANNEL_17_BITFIELD)
#define LL_ADC_CHANNEL_18   (ADC_CHANNEL_18_NUMBER | ADC_CHANNEL_18_SMP | ADC_CHANNEL_18_BITFIELD)
#define LL_ADC_CHANNEL_VREFINT   (LL_ADC_CHANNEL_0 | ADC_CHANNEL_ID_INTERNAL_CH)
#define LL_ADC_CHANNEL_TEMPSENSOR   (LL_ADC_CHANNEL_17 | ADC_CHANNEL_ID_INTERNAL_CH)
#define LL_ADC_CHANNEL_VBAT   (LL_ADC_CHANNEL_18 | ADC_CHANNEL_ID_INTERNAL_CH)
#define LL_ADC_CHANNEL_DAC1CH1   (LL_ADC_CHANNEL_17 | ADC_CHANNEL_ID_INTERNAL_CH | ADC_CHANNEL_ID_INTERNAL_CH_2)
#define LL_ADC_CHANNEL_DAC1CH2   (LL_ADC_CHANNEL_18 | ADC_CHANNEL_ID_INTERNAL_CH | ADC_CHANNEL_ID_INTERNAL_CH_2)

Define Documentation

ADC external channel (channel connected to GPIO pin) ADCx_IN0

Definition at line 763 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN1

Definition at line 764 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN10

Definition at line 773 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN11

Definition at line 774 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN12

Definition at line 775 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN13

Definition at line 776 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN14

Definition at line 777 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN15

Definition at line 778 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN16

Definition at line 779 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN17

Definition at line 780 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN18

Definition at line 781 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN2

Definition at line 765 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN3

Definition at line 766 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN4

Definition at line 767 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN5

Definition at line 768 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN6

Definition at line 769 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN7

Definition at line 770 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN8

Definition at line 771 of file stm32l4xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN9

Definition at line 772 of file stm32l4xx_ll_adc.h.

ADC internal channel connected to DAC1 channel 1, channel specific to ADC1. This channel is shared with ADC internal channel connected to temperature sensor, selection is done using function LL_ADC_SetCommonPathInternalCh().

Definition at line 786 of file stm32l4xx_ll_adc.h.

ADC internal channel connected to DAC1 channel 2, channel specific to ADC1. This channel is shared with ADC internal channel connected to Vbat, selection is done using function LL_ADC_SetCommonPathInternalCh().

Definition at line 787 of file stm32l4xx_ll_adc.h.

ADC internal channel connected to Temperature sensor. On STM32L4, ADC channel available only on ADC instances: ADC1, ADC3.

Definition at line 783 of file stm32l4xx_ll_adc.h.

ADC internal channel connected to Vbat/3: Vbat voltage through a divider ladder of factor 1/3 to have Vbat always below Vdda. On STM32L4, ADC channel available only on ADC instances: ADC1, ADC3.

Definition at line 784 of file stm32l4xx_ll_adc.h.

ADC internal channel connected to VrefInt: Internal voltage reference. On STM32L4, ADC channel available only on ADC instance: ADC1.

Definition at line 782 of file stm32l4xx_ll_adc.h.