Skip to content

Commit 5cf0ba6

Browse files
committed
corrected ADC_CR2_TSVREFE definition
1 parent a98a47d commit 5cf0ba6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • STM32F1/system/libmaple/stm32f1/include/series

STM32F1/system/libmaple/stm32f1/include/series/adc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ extern const struct adc_dev *ADC3;
7878
#define ADC_CR2_EXTTRIG_BIT 20
7979
#define ADC_CR2_JSWSTART_BIT 21
8080
#define ADC_CR2_SWSTART_BIT 22
81-
#define ADC_CR2_TSEREFE_BIT 23
81+
#define ADC_CR2_TSVREFE_BIT 23
8282

8383
#define ADC_CR2_ADON (1U << ADC_CR2_ADON_BIT)
8484
#define ADC_CR2_CONT (1U << ADC_CR2_CONT_BIT)
@@ -108,7 +108,7 @@ extern const struct adc_dev *ADC3;
108108
#define ADC_CR2_EXTTRIG (1U << ADC_CR2_EXTTRIG_BIT)
109109
#define ADC_CR2_JSWSTART (1U << ADC_CR2_JSWSTART_BIT)
110110
#define ADC_CR2_SWSTART (1U << ADC_CR2_SWSTART_BIT)
111-
#define ADC_CR2_TSEREFE (1U << ADC_CR2_TSEREFE_BIT)
111+
#define ADC_CR2_TSVREFE (1U << ADC_CR2_TSVREFE_BIT)
112112

113113
/*
114114
* Other types

0 commit comments

Comments
 (0)