libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
AWDTR2 ADC watchdog threshold register 2
Collaboration diagram for AWDTR2 ADC watchdog threshold register 2:

Macros

#define ADC_AWDTR2_LT_SHIFT   0
 
#define ADC_AWDTR2_LT   (0xFFF << ADC_TR2_LT_SHIFT)
 
#define ADC_AWDTR2_LT_VAL(x)   ((x) << ADC_TR2_LT_SHIFT)
 
#define ADC_AWDTR2_HT_SHIFT   16
 
#define ADC_AWDTR2_HT   (0xFFF << ADC_TR2_HT_SHIFT)
 
#define ADC_AWDTR2_HT_VAL(x)   ((x) << ADC_TR2_HT_SHIFT)
 
#define ADC_AWDTR3_LT_SHIFT   0
 
#define ADC_AWDTR3_LT   (0xFFF << ADC_TR3_LT_SHIFT)
 
#define ADC_AWDTR3_LT_VAL(x)   ((x) << ADC_TR3_LT_SHIFT)
 
#define ADC_AWDTR3_HT_SHIFT   16
 
#define ADC_AWDTR3_HT   (0xFFF << ADC_TR3_HT_SHIFT)
 
#define ADC_AWDTR3_HT_VAL(x)   ((x) << ADC_TR3_HT_SHIFT)
 

Detailed Description

Macro Definition Documentation

◆ ADC_AWDTR2_HT

#define ADC_AWDTR2_HT   (0xFFF << ADC_TR2_HT_SHIFT)

Definition at line 248 of file g0/adc.h.

◆ ADC_AWDTR2_HT_SHIFT

#define ADC_AWDTR2_HT_SHIFT   16

Definition at line 247 of file g0/adc.h.

◆ ADC_AWDTR2_HT_VAL

#define ADC_AWDTR2_HT_VAL (   x)    ((x) << ADC_TR2_HT_SHIFT)

Definition at line 249 of file g0/adc.h.

◆ ADC_AWDTR2_LT

#define ADC_AWDTR2_LT   (0xFFF << ADC_TR2_LT_SHIFT)

Definition at line 244 of file g0/adc.h.

◆ ADC_AWDTR2_LT_SHIFT

#define ADC_AWDTR2_LT_SHIFT   0

Definition at line 243 of file g0/adc.h.

◆ ADC_AWDTR2_LT_VAL

#define ADC_AWDTR2_LT_VAL (   x)    ((x) << ADC_TR2_LT_SHIFT)

Definition at line 245 of file g0/adc.h.

◆ ADC_AWDTR3_HT

#define ADC_AWDTR3_HT   (0xFFF << ADC_TR3_HT_SHIFT)

Definition at line 283 of file g0/adc.h.

◆ ADC_AWDTR3_HT_SHIFT

#define ADC_AWDTR3_HT_SHIFT   16

Definition at line 282 of file g0/adc.h.

◆ ADC_AWDTR3_HT_VAL

#define ADC_AWDTR3_HT_VAL (   x)    ((x) << ADC_TR3_HT_SHIFT)

Definition at line 284 of file g0/adc.h.

◆ ADC_AWDTR3_LT

#define ADC_AWDTR3_LT   (0xFFF << ADC_TR3_LT_SHIFT)

Definition at line 279 of file g0/adc.h.

◆ ADC_AWDTR3_LT_SHIFT

#define ADC_AWDTR3_LT_SHIFT   0

Definition at line 278 of file g0/adc.h.

◆ ADC_AWDTR3_LT_VAL

#define ADC_AWDTR3_LT_VAL (   x)    ((x) << ADC_TR3_LT_SHIFT)

Definition at line 280 of file g0/adc.h.