STM32F10x Standard Peripherals Library  3.5.0
ADC_channels

Defines

#define ADC_Channel_0   ((uint8_t)0x00)
#define ADC_Channel_1   ((uint8_t)0x01)
#define ADC_Channel_2   ((uint8_t)0x02)
#define ADC_Channel_3   ((uint8_t)0x03)
#define ADC_Channel_4   ((uint8_t)0x04)
#define ADC_Channel_5   ((uint8_t)0x05)
#define ADC_Channel_6   ((uint8_t)0x06)
#define ADC_Channel_7   ((uint8_t)0x07)
#define ADC_Channel_8   ((uint8_t)0x08)
#define ADC_Channel_9   ((uint8_t)0x09)
#define ADC_Channel_10   ((uint8_t)0x0A)
#define ADC_Channel_11   ((uint8_t)0x0B)
#define ADC_Channel_12   ((uint8_t)0x0C)
#define ADC_Channel_13   ((uint8_t)0x0D)
#define ADC_Channel_14   ((uint8_t)0x0E)
#define ADC_Channel_15   ((uint8_t)0x0F)
#define ADC_Channel_16   ((uint8_t)0x10)
#define ADC_Channel_17   ((uint8_t)0x11)
#define ADC_Channel_TempSensor   ((uint8_t)ADC_Channel_16)
#define ADC_Channel_Vrefint   ((uint8_t)ADC_Channel_17)
#define IS_ADC_CHANNEL(CHANNEL)

Define Documentation

#define ADC_Channel_0   ((uint8_t)0x00)

Definition at line 174 of file stm32f10x_adc.h.

#define ADC_Channel_1   ((uint8_t)0x01)

Definition at line 175 of file stm32f10x_adc.h.

#define ADC_Channel_10   ((uint8_t)0x0A)

Definition at line 184 of file stm32f10x_adc.h.

#define ADC_Channel_11   ((uint8_t)0x0B)

Definition at line 185 of file stm32f10x_adc.h.

#define ADC_Channel_12   ((uint8_t)0x0C)

Definition at line 186 of file stm32f10x_adc.h.

#define ADC_Channel_13   ((uint8_t)0x0D)

Definition at line 187 of file stm32f10x_adc.h.

#define ADC_Channel_14   ((uint8_t)0x0E)

Definition at line 188 of file stm32f10x_adc.h.

#define ADC_Channel_15   ((uint8_t)0x0F)

Definition at line 189 of file stm32f10x_adc.h.

#define ADC_Channel_16   ((uint8_t)0x10)

Definition at line 190 of file stm32f10x_adc.h.

#define ADC_Channel_17   ((uint8_t)0x11)

Definition at line 191 of file stm32f10x_adc.h.

#define ADC_Channel_2   ((uint8_t)0x02)

Definition at line 176 of file stm32f10x_adc.h.

#define ADC_Channel_3   ((uint8_t)0x03)

Definition at line 177 of file stm32f10x_adc.h.

#define ADC_Channel_4   ((uint8_t)0x04)

Definition at line 178 of file stm32f10x_adc.h.

#define ADC_Channel_5   ((uint8_t)0x05)

Definition at line 179 of file stm32f10x_adc.h.

#define ADC_Channel_6   ((uint8_t)0x06)

Definition at line 180 of file stm32f10x_adc.h.

#define ADC_Channel_7   ((uint8_t)0x07)

Definition at line 181 of file stm32f10x_adc.h.

#define ADC_Channel_8   ((uint8_t)0x08)

Definition at line 182 of file stm32f10x_adc.h.

#define ADC_Channel_9   ((uint8_t)0x09)

Definition at line 183 of file stm32f10x_adc.h.

#define ADC_Channel_TempSensor   ((uint8_t)ADC_Channel_16)

Definition at line 193 of file stm32f10x_adc.h.

#define ADC_Channel_Vrefint   ((uint8_t)ADC_Channel_17)

Definition at line 194 of file stm32f10x_adc.h.

#define IS_ADC_CHANNEL (   CHANNEL)
Value:
(((CHANNEL) == ADC_Channel_0) || ((CHANNEL) == ADC_Channel_1) || \
                                 ((CHANNEL) == ADC_Channel_2) || ((CHANNEL) == ADC_Channel_3) || \
                                 ((CHANNEL) == ADC_Channel_4) || ((CHANNEL) == ADC_Channel_5) || \
                                 ((CHANNEL) == ADC_Channel_6) || ((CHANNEL) == ADC_Channel_7) || \
                                 ((CHANNEL) == ADC_Channel_8) || ((CHANNEL) == ADC_Channel_9) || \
                                 ((CHANNEL) == ADC_Channel_10) || ((CHANNEL) == ADC_Channel_11) || \
                                 ((CHANNEL) == ADC_Channel_12) || ((CHANNEL) == ADC_Channel_13) || \
                                 ((CHANNEL) == ADC_Channel_14) || ((CHANNEL) == ADC_Channel_15) || \
                                 ((CHANNEL) == ADC_Channel_16) || ((CHANNEL) == ADC_Channel_17))

Definition at line 196 of file stm32f10x_adc.h.