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

Macros

#define ADC_CR2_EXTEN_DISABLED   (0x0 << ADC_CR2_EXTEN_SHIFT)
 
#define ADC_CR2_EXTEN_RISING_EDGE   (0x1 << ADC_CR2_EXTEN_SHIFT)
 
#define ADC_CR2_EXTEN_FALLING_EDGE   (0x2 << ADC_CR2_EXTEN_SHIFT)
 
#define ADC_CR2_EXTEN_BOTH_EDGES   (0x3 << ADC_CR2_EXTEN_SHIFT)
 

Detailed Description

Macro Definition Documentation

◆ ADC_CR2_EXTEN_BOTH_EDGES

#define ADC_CR2_EXTEN_BOTH_EDGES   (0x3 << ADC_CR2_EXTEN_SHIFT)

Definition at line 99 of file adc_common_v1_multi.h.

◆ ADC_CR2_EXTEN_DISABLED

#define ADC_CR2_EXTEN_DISABLED   (0x0 << ADC_CR2_EXTEN_SHIFT)

Definition at line 96 of file adc_common_v1_multi.h.

◆ ADC_CR2_EXTEN_FALLING_EDGE

#define ADC_CR2_EXTEN_FALLING_EDGE   (0x2 << ADC_CR2_EXTEN_SHIFT)

Definition at line 98 of file adc_common_v1_multi.h.

◆ ADC_CR2_EXTEN_RISING_EDGE

#define ADC_CR2_EXTEN_RISING_EDGE   (0x1 << ADC_CR2_EXTEN_SHIFT)

Definition at line 97 of file adc_common_v1_multi.h.