libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
ADC Number of channels in discontinuous mode.
Collaboration diagram for ADC Number of channels in discontinuous mode.:

Macros

#define ADC_CR1_DISCNUM_1CHANNELS   (0x0 << 13)
 
#define ADC_CR1_DISCNUM_2CHANNELS   (0x1 << 13)
 
#define ADC_CR1_DISCNUM_3CHANNELS   (0x2 << 13)
 
#define ADC_CR1_DISCNUM_4CHANNELS   (0x3 << 13)
 
#define ADC_CR1_DISCNUM_5CHANNELS   (0x4 << 13)
 
#define ADC_CR1_DISCNUM_6CHANNELS   (0x5 << 13)
 
#define ADC_CR1_DISCNUM_7CHANNELS   (0x6 << 13)
 
#define ADC_CR1_DISCNUM_8CHANNELS   (0x7 << 13)
 

Detailed Description

Macro Definition Documentation

◆ ADC_CR1_DISCNUM_1CHANNELS

#define ADC_CR1_DISCNUM_1CHANNELS   (0x0 << 13)

Definition at line 227 of file adc_common_v1.h.

◆ ADC_CR1_DISCNUM_2CHANNELS

#define ADC_CR1_DISCNUM_2CHANNELS   (0x1 << 13)

Definition at line 228 of file adc_common_v1.h.

◆ ADC_CR1_DISCNUM_3CHANNELS

#define ADC_CR1_DISCNUM_3CHANNELS   (0x2 << 13)

Definition at line 229 of file adc_common_v1.h.

◆ ADC_CR1_DISCNUM_4CHANNELS

#define ADC_CR1_DISCNUM_4CHANNELS   (0x3 << 13)

Definition at line 230 of file adc_common_v1.h.

◆ ADC_CR1_DISCNUM_5CHANNELS

#define ADC_CR1_DISCNUM_5CHANNELS   (0x4 << 13)

Definition at line 231 of file adc_common_v1.h.

◆ ADC_CR1_DISCNUM_6CHANNELS

#define ADC_CR1_DISCNUM_6CHANNELS   (0x5 << 13)

Definition at line 232 of file adc_common_v1.h.

◆ ADC_CR1_DISCNUM_7CHANNELS

#define ADC_CR1_DISCNUM_7CHANNELS   (0x6 << 13)

Definition at line 233 of file adc_common_v1.h.

◆ ADC_CR1_DISCNUM_8CHANNELS

#define ADC_CR1_DISCNUM_8CHANNELS   (0x7 << 13)

Definition at line 234 of file adc_common_v1.h.