diff options
Diffstat (limited to 'os/common/ext/ST/STM32F3xx/stm32f378xx.h')
-rw-r--r-- | os/common/ext/ST/STM32F3xx/stm32f378xx.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/os/common/ext/ST/STM32F3xx/stm32f378xx.h b/os/common/ext/ST/STM32F3xx/stm32f378xx.h index 35e2c1ade..fdede2a04 100644 --- a/os/common/ext/ST/STM32F3xx/stm32f378xx.h +++ b/os/common/ext/ST/STM32F3xx/stm32f378xx.h @@ -2,8 +2,6 @@ ******************************************************************************
* @file stm32f378xx.h
* @author MCD Application Team
- * @version V2.3.1
- * @date 16-December-2016
* @brief CMSIS STM32F378xx Devices Peripheral Access Layer Header File.
*
* This file contains:
@@ -8287,9 +8285,9 @@ typedef struct #define RTC_CR_COSEL_Pos (19U)
#define RTC_CR_COSEL_Msk (0x1U << RTC_CR_COSEL_Pos) /*!< 0x00080000 */
#define RTC_CR_COSEL RTC_CR_COSEL_Msk
-#define RTC_CR_BCK_Pos (18U)
-#define RTC_CR_BCK_Msk (0x1U << RTC_CR_BCK_Pos) /*!< 0x00040000 */
-#define RTC_CR_BCK RTC_CR_BCK_Msk
+#define RTC_CR_BKP_Pos (18U)
+#define RTC_CR_BKP_Msk (0x1U << RTC_CR_BKP_Pos) /*!< 0x00040000 */
+#define RTC_CR_BKP RTC_CR_BKP_Msk
#define RTC_CR_SUB1H_Pos (17U)
#define RTC_CR_SUB1H_Msk (0x1U << RTC_CR_SUB1H_Pos) /*!< 0x00020000 */
#define RTC_CR_SUB1H RTC_CR_SUB1H_Msk
@@ -8339,6 +8337,11 @@ typedef struct #define RTC_CR_WUCKSEL_1 (0x2U << RTC_CR_WUCKSEL_Pos) /*!< 0x00000002 */
#define RTC_CR_WUCKSEL_2 (0x4U << RTC_CR_WUCKSEL_Pos) /*!< 0x00000004 */
+/* Legacy defines */
+#define RTC_CR_BCK_Pos RTC_CR_BKP_Pos
+#define RTC_CR_BCK_Msk RTC_CR_BKP_Msk
+#define RTC_CR_BCK RTC_CR_BKP
+
/******************** Bits definition for RTC_ISR register ******************/
#define RTC_ISR_RECALPF_Pos (16U)
#define RTC_ISR_RECALPF_Msk (0x1U << RTC_ISR_RECALPF_Pos) /*!< 0x00010000 */
|