libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
AWDTR1 ADC watchdog threshold register 1

Shadows adc adc_tr1 register on other chips. More...

Collaboration diagram for AWDTR1 ADC watchdog threshold register 1:

Macros

#define ADC_AWDTR1_LT_SHIFT   0
 
#define ADC_AWDTR1_LT   (0xFFF << ADC_TR1_LT_SHIFT)
 
#define ADC_AWDTR1_LT_VAL(x)   ((x) << ADC_TR1_LT_SHIFT)
 
#define ADC_AWDTR1_HT_SHIFT   16
 
#define ADC_AWDTR1_HT   (0xFFF << ADC_TR1_HT_SHIFT)
 
#define ADC_AWDTR1_HT_VAL(x)   ((x) << ADC_TR1_HT_SHIFT)
 

Detailed Description

Shadows adc adc_tr1 register on other chips.

Macro Definition Documentation

◆ ADC_AWDTR1_HT

#define ADC_AWDTR1_HT   (0xFFF << ADC_TR1_HT_SHIFT)

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

◆ ADC_AWDTR1_HT_SHIFT

#define ADC_AWDTR1_HT_SHIFT   16

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

◆ ADC_AWDTR1_HT_VAL

#define ADC_AWDTR1_HT_VAL (   x)    ((x) << ADC_TR1_HT_SHIFT)

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

◆ ADC_AWDTR1_LT

#define ADC_AWDTR1_LT   (0xFFF << ADC_TR1_LT_SHIFT)

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

◆ ADC_AWDTR1_LT_SHIFT

#define ADC_AWDTR1_LT_SHIFT   0

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

◆ ADC_AWDTR1_LT_VAL

#define ADC_AWDTR1_LT_VAL (   x)    ((x) << ADC_TR1_LT_SHIFT)

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