STM32F103xB 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)
#define LL_ADC_CHANNEL_1   (ADC_CHANNEL_1_NUMBER | ADC_CHANNEL_1_SMP)
#define LL_ADC_CHANNEL_2   (ADC_CHANNEL_2_NUMBER | ADC_CHANNEL_2_SMP)
#define LL_ADC_CHANNEL_3   (ADC_CHANNEL_3_NUMBER | ADC_CHANNEL_3_SMP)
#define LL_ADC_CHANNEL_4   (ADC_CHANNEL_4_NUMBER | ADC_CHANNEL_4_SMP)
#define LL_ADC_CHANNEL_5   (ADC_CHANNEL_5_NUMBER | ADC_CHANNEL_5_SMP)
#define LL_ADC_CHANNEL_6   (ADC_CHANNEL_6_NUMBER | ADC_CHANNEL_6_SMP)
#define LL_ADC_CHANNEL_7   (ADC_CHANNEL_7_NUMBER | ADC_CHANNEL_7_SMP)
#define LL_ADC_CHANNEL_8   (ADC_CHANNEL_8_NUMBER | ADC_CHANNEL_8_SMP)
#define LL_ADC_CHANNEL_9   (ADC_CHANNEL_9_NUMBER | ADC_CHANNEL_9_SMP)
#define LL_ADC_CHANNEL_10   (ADC_CHANNEL_10_NUMBER | ADC_CHANNEL_10_SMP)
#define LL_ADC_CHANNEL_11   (ADC_CHANNEL_11_NUMBER | ADC_CHANNEL_11_SMP)
#define LL_ADC_CHANNEL_12   (ADC_CHANNEL_12_NUMBER | ADC_CHANNEL_12_SMP)
#define LL_ADC_CHANNEL_13   (ADC_CHANNEL_13_NUMBER | ADC_CHANNEL_13_SMP)
#define LL_ADC_CHANNEL_14   (ADC_CHANNEL_14_NUMBER | ADC_CHANNEL_14_SMP)
#define LL_ADC_CHANNEL_15   (ADC_CHANNEL_15_NUMBER | ADC_CHANNEL_15_SMP)
#define LL_ADC_CHANNEL_16   (ADC_CHANNEL_16_NUMBER | ADC_CHANNEL_16_SMP)
#define LL_ADC_CHANNEL_17   (ADC_CHANNEL_17_NUMBER | ADC_CHANNEL_17_SMP)
#define LL_ADC_CHANNEL_VREFINT   (LL_ADC_CHANNEL_17 | ADC_CHANNEL_ID_INTERNAL_CH)
#define LL_ADC_CHANNEL_TEMPSENSOR   (LL_ADC_CHANNEL_16 | ADC_CHANNEL_ID_INTERNAL_CH)

Define Documentation

ADC external channel (channel connected to GPIO pin) ADCx_IN0

Definition at line 506 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN1

Definition at line 507 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN10

Definition at line 516 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN11

Definition at line 517 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN12

Definition at line 518 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN13

Definition at line 519 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN14

Definition at line 520 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN15

Definition at line 521 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN16

Definition at line 522 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN17

Definition at line 523 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN2

Definition at line 508 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN3

Definition at line 509 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN4

Definition at line 510 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN5

Definition at line 511 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN6

Definition at line 512 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN7

Definition at line 513 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN8

Definition at line 514 of file stm32f1xx_ll_adc.h.

ADC external channel (channel connected to GPIO pin) ADCx_IN9

Definition at line 515 of file stm32f1xx_ll_adc.h.

ADC internal channel connected to Temperature sensor.

Definition at line 525 of file stm32f1xx_ll_adc.h.

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

Definition at line 524 of file stm32f1xx_ll_adc.h.