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

Macros

#define ADC_TR1_LT_SHIFT   0
 
#define ADC_TR1_LT_MASK   0xFFF
 
#define ADC_TR1_LT   (0xFFF << ADC_TR1_LT_SHIFT)
 
#define ADC_TR1_LT_VAL(x)   (((x) & ADC_TR1_LT_MASK) << ADC_TR1_LT_SHIFT)
 TR1_LT: analog watchdog 1 threshold low. More...
 
#define ADC_TR1_HT_SHIFT   16
 
#define ADC_TR1_HT_MASK   0xFFF
 
#define ADC_TR1_HT   (0xFFF << ADC_TR1_HT_SHIFT)
 
#define ADC_TR1_HT_VAL(x)   (((x) & ADC_TR1_HT_MASK) << ADC_TR1_HT_SHIFT)
 TR1_HT: analog watchdog 1 threshold high. More...
 

Detailed Description

Macro Definition Documentation

◆ ADC_TR1_HT

#define ADC_TR1_HT   (0xFFF << ADC_TR1_HT_SHIFT)

Definition at line 194 of file adc_common_v2.h.

◆ ADC_TR1_HT_MASK

#define ADC_TR1_HT_MASK   0xFFF

Definition at line 193 of file adc_common_v2.h.

◆ ADC_TR1_HT_SHIFT

#define ADC_TR1_HT_SHIFT   16

Definition at line 192 of file adc_common_v2.h.

◆ ADC_TR1_HT_VAL

#define ADC_TR1_HT_VAL (   x)    (((x) & ADC_TR1_HT_MASK) << ADC_TR1_HT_SHIFT)

TR1_HT: analog watchdog 1 threshold high.

Definition at line 196 of file adc_common_v2.h.

◆ ADC_TR1_LT

#define ADC_TR1_LT   (0xFFF << ADC_TR1_LT_SHIFT)

Definition at line 188 of file adc_common_v2.h.

◆ ADC_TR1_LT_MASK

#define ADC_TR1_LT_MASK   0xFFF

Definition at line 187 of file adc_common_v2.h.

◆ ADC_TR1_LT_SHIFT

#define ADC_TR1_LT_SHIFT   0

Definition at line 186 of file adc_common_v2.h.

◆ ADC_TR1_LT_VAL

#define ADC_TR1_LT_VAL (   x)    (((x) & ADC_TR1_LT_MASK) << ADC_TR1_LT_SHIFT)

TR1_LT: analog watchdog 1 threshold low.

Definition at line 190 of file adc_common_v2.h.