libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
ADC Mode Selection
Collaboration diagram for ADC Mode Selection:

Macros

#define ADC_CR1_DUALMOD_IND   (0x0 << 16)
 Independent (non-dual) mode. More...
 
#define ADC_CR1_DUALMOD_CRSISM   (0x1 << 16)
 Combined regular simultaneous + injected simultaneous mode. More...
 
#define ADC_CR1_DUALMOD_CRSATM   (0x2 << 16)
 Combined regular simultaneous + alternate trigger mode. More...
 
#define ADC_CR1_DUALMOD_CISFIM   (0x3 << 16)
 Combined injected simultaneous + fast interleaved mode. More...
 
#define ADC_CR1_DUALMOD_CISSIM   (0x4 << 16)
 Combined injected simultaneous + slow interleaved mode. More...
 
#define ADC_CR1_DUALMOD_ISM   (0x5 << 16)
 Injected simultaneous mode only. More...
 
#define ADC_CR1_DUALMOD_RSM   (0x6 << 16)
 Regular simultaneous mode only. More...
 
#define ADC_CR1_DUALMOD_FIM   (0x7 << 16)
 Fast interleaved mode only. More...
 
#define ADC_CR1_DUALMOD_SIM   (0x8 << 16)
 Slow interleaved mode only. More...
 
#define ADC_CR1_DUALMOD_ATM   (0x9 << 16)
 Alternate trigger mode only. More...
 

Detailed Description

Macro Definition Documentation

◆ ADC_CR1_DUALMOD_ATM

#define ADC_CR1_DUALMOD_ATM   (0x9 << 16)

Alternate trigger mode only.

Definition at line 121 of file f1/adc.h.

◆ ADC_CR1_DUALMOD_CISFIM

#define ADC_CR1_DUALMOD_CISFIM   (0x3 << 16)

Combined injected simultaneous + fast interleaved mode.

Definition at line 109 of file f1/adc.h.

◆ ADC_CR1_DUALMOD_CISSIM

#define ADC_CR1_DUALMOD_CISSIM   (0x4 << 16)

Combined injected simultaneous + slow interleaved mode.

Definition at line 111 of file f1/adc.h.

◆ ADC_CR1_DUALMOD_CRSATM

#define ADC_CR1_DUALMOD_CRSATM   (0x2 << 16)

Combined regular simultaneous + alternate trigger mode.

Definition at line 107 of file f1/adc.h.

◆ ADC_CR1_DUALMOD_CRSISM

#define ADC_CR1_DUALMOD_CRSISM   (0x1 << 16)

Combined regular simultaneous + injected simultaneous mode.

Definition at line 105 of file f1/adc.h.

◆ ADC_CR1_DUALMOD_FIM

#define ADC_CR1_DUALMOD_FIM   (0x7 << 16)

Fast interleaved mode only.

Definition at line 117 of file f1/adc.h.

◆ ADC_CR1_DUALMOD_IND

#define ADC_CR1_DUALMOD_IND   (0x0 << 16)

Independent (non-dual) mode.

Definition at line 103 of file f1/adc.h.

◆ ADC_CR1_DUALMOD_ISM

#define ADC_CR1_DUALMOD_ISM   (0x5 << 16)

Injected simultaneous mode only.

Definition at line 113 of file f1/adc.h.

◆ ADC_CR1_DUALMOD_RSM

#define ADC_CR1_DUALMOD_RSM   (0x6 << 16)

Regular simultaneous mode only.

Definition at line 115 of file f1/adc.h.

◆ ADC_CR1_DUALMOD_SIM

#define ADC_CR1_DUALMOD_SIM   (0x8 << 16)

Slow interleaved mode only.

Definition at line 119 of file f1/adc.h.