WB32F10x Standard Peripherals Firmware Library

Macros
ADC_channels
WB32F10x_StdPeriph_Driver » ADC » ADC_Exported_Constants

## Macros
#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)

## Detailed Description

## Macro Definition Documentation

## ◆ IS_ADC_CHANNEL

#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))