Skip to content

Commit d0f8def

Browse files
committed
F3 ST CUBE V1.9.0
1 parent 5a77f42 commit d0f8def

File tree

182 files changed

+6801
-5670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+6801
-5670
lines changed

targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_MICRO/startup_stm32f302x8.S

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,41 @@
11
;******************** (C) COPYRIGHT 2014 STMicroelectronics ********************
22
;* File Name : startup_stm32f302x8.s
3-
; STM32F302x8 Devices vector table for MDK ARM_MICRO toolchain
4-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5-
; Copyright (c) 2014, STMicroelectronics
6-
; All rights reserved.
3+
;* Author : MCD Application Team
4+
;* Description : STM32F302x6/x8 devices vector table for MDK-ARM toolchain.
5+
;* This module performs:
6+
;* - Set the initial SP
7+
;* - Set the initial PC == Reset_Handler
8+
;* - Set the vector table entries with the exceptions ISR address
9+
;* - Branches to __main in the C library (which eventually
10+
;* calls main()).
11+
;* After Reset the CortexM4 processor is in Thread mode,
12+
;* priority is Privileged, and the Stack is set to Main.
13+
;*
14+
;*******************************************************************************
715
;
8-
; Redistribution and use in source and binary forms, with or without
9-
; modification, are permitted provided that the following conditions are met:
16+
;* Redistribution and use in source and binary forms, with or without modification,
17+
;* are permitted provided that the following conditions are met:
18+
;* 1. Redistributions of source code must retain the above copyright notice,
19+
;* this list of conditions and the following disclaimer.
20+
;* 2. Redistributions in binary form must reproduce the above copyright notice,
21+
;* this list of conditions and the following disclaimer in the documentation
22+
;* and/or other materials provided with the distribution.
23+
;* 3. Neither the name of STMicroelectronics nor the names of its contributors
24+
;* may be used to endorse or promote products derived from this software
25+
;* without specific prior written permission.
26+
;*
27+
;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1037
;
11-
; 1. Redistributions of source code must retain the above copyright notice,
12-
; this list of conditions and the following disclaimer.
13-
; 2. Redistributions in binary form must reproduce the above copyright notice,
14-
; this list of conditions and the following disclaimer in the documentation
15-
; and/or other materials provided with the distribution.
16-
; 3. Neither the name of STMicroelectronics nor the names of its contributors
17-
; may be used to endorse or promote products derived from this software
18-
; without specific prior written permission.
19-
;
20-
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21-
; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22-
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23-
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24-
; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25-
; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26-
; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27-
; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28-
; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29-
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
38+
;*******************************************************************************
3139

3240
; Amount of memory (in bytes) allocated for Stack
3341
; Tailor this value to your application needs

targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_ARM_STD/startup_stm32f302x8.S

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,41 @@
11
;******************** (C) COPYRIGHT 2014 STMicroelectronics ********************
22
;* File Name : startup_stm32f302x8.s
3-
; STM32F302x8 Devices vector table for MDK ARM_STD toolchain
4-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5-
; Copyright (c) 2014, STMicroelectronics
6-
; All rights reserved.
3+
;* Author : MCD Application Team
4+
;* Description : STM32F302x6/x8 devices vector table for MDK-ARM toolchain.
5+
;* This module performs:
6+
;* - Set the initial SP
7+
;* - Set the initial PC == Reset_Handler
8+
;* - Set the vector table entries with the exceptions ISR address
9+
;* - Branches to __main in the C library (which eventually
10+
;* calls main()).
11+
;* After Reset the CortexM4 processor is in Thread mode,
12+
;* priority is Privileged, and the Stack is set to Main.
13+
;*
14+
;*******************************************************************************
715
;
8-
; Redistribution and use in source and binary forms, with or without
9-
; modification, are permitted provided that the following conditions are met:
16+
;* Redistribution and use in source and binary forms, with or without modification,
17+
;* are permitted provided that the following conditions are met:
18+
;* 1. Redistributions of source code must retain the above copyright notice,
19+
;* this list of conditions and the following disclaimer.
20+
;* 2. Redistributions in binary form must reproduce the above copyright notice,
21+
;* this list of conditions and the following disclaimer in the documentation
22+
;* and/or other materials provided with the distribution.
23+
;* 3. Neither the name of STMicroelectronics nor the names of its contributors
24+
;* may be used to endorse or promote products derived from this software
25+
;* without specific prior written permission.
26+
;*
27+
;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28+
;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30+
;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
31+
;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33+
;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
34+
;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
35+
;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36+
;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1037
;
11-
; 1. Redistributions of source code must retain the above copyright notice,
12-
; this list of conditions and the following disclaimer.
13-
; 2. Redistributions in binary form must reproduce the above copyright notice,
14-
; this list of conditions and the following disclaimer in the documentation
15-
; and/or other materials provided with the distribution.
16-
; 3. Neither the name of STMicroelectronics nor the names of its contributors
17-
; may be used to endorse or promote products derived from this software
18-
; without specific prior written permission.
19-
;
20-
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21-
; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22-
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23-
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24-
; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25-
; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26-
; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27-
; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28-
; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29-
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
38+
;*******************************************************************************
3139

3240
__initial_sp EQU 0x20004000 ; Top of RAM
3341

targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_GCC_ARM/startup_stm32f302x8.S

Lines changed: 36 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
******************************************************************************
33
* @file startup_stm32f302x8.s
44
* @author MCD Application Team
5-
* @version V1.1.0
6-
* @date 12-Sept-2014
7-
* @brief STM32F302x6/STM32F302x8 devices vector table for
8-
* Atollic TrueSTUDIO toolchain.
5+
* @brief STM32F302x6/STM32F302x8 devices vector table for GCC toolchain.
96
* This module performs:
107
* - Set the initial SP
118
* - Set the initial PC == Reset_Handler,
@@ -16,21 +13,28 @@
1613
* After Reset the Cortex-M4 processor is in Thread mode,
1714
* priority is Privileged, and the Stack is set to Main.
1815
******************************************************************************
19-
* @attention
2016
*
21-
* <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
17+
* Redistribution and use in source and binary forms, with or without modification,
18+
* are permitted provided that the following conditions are met:
19+
* 1. Redistributions of source code must retain the above copyright notice,
20+
* this list of conditions and the following disclaimer.
21+
* 2. Redistributions in binary form must reproduce the above copyright notice,
22+
* this list of conditions and the following disclaimer in the documentation
23+
* and/or other materials provided with the distribution.
24+
* 3. Neither the name of STMicroelectronics nor the names of its contributors
25+
* may be used to endorse or promote products derived from this software
26+
* without specific prior written permission.
2227
*
23-
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
24-
* You may not use this file except in compliance with the License.
25-
* You may obtain a copy of the License at:
26-
*
27-
* http://www.st.com/software_license_agreement_liberty_v2
28-
*
29-
* Unless required by applicable law or agreed to in writing, software
30-
* distributed under the License is distributed on an "AS IS" BASIS,
31-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32-
* See the License for the specific language governing permissions and
33-
* limitations under the License.
28+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
31+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
32+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
35+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
36+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3438
*
3539
******************************************************************************
3640
*/
@@ -50,6 +54,10 @@ defined in linker script */
5054
.word _sdata
5155
/* end address for the .data section. defined in linker script */
5256
.word _edata
57+
/* start address for the .bss section. defined in linker script */
58+
.word _sbss
59+
/* end address for the .bss section. defined in linker script */
60+
.word _ebss
5361

5462
.equ BootRAM, 0xF1E0F85F
5563
/**
@@ -83,6 +91,17 @@ LoopCopyDataInit:
8391
adds r2, r0, r1
8492
cmp r2, r3
8593
bcc CopyDataInit
94+
ldr r2, =_sbss
95+
b LoopFillZerobss
96+
/* Zero fill the bss segment. */
97+
FillZerobss:
98+
movs r3, #0
99+
str r3, [r2], #4
100+
101+
LoopFillZerobss:
102+
ldr r3, = _ebss
103+
cmp r2, r3
104+
bcc FillZerobss
86105

87106
/* Call the clock system intitialization function.*/
88107
bl SystemInit

targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/TOOLCHAIN_IAR/startup_stm32f302x8.S

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
;/******************** (C) COPYRIGHT 2014 STMicroelectronics ********************
22
;* File Name : startup_stm32f302x8.s
33
;* Author : MCD Application Team
4-
;* Version : V2.1.0
5-
;* Date : 12-Sept-2014
64
;* Description : STM32F302x6/STM32F302x8 devices vector table for EWARM toolchain.
75
;* This module performs:
86
;* - Set the initial SP
@@ -15,8 +13,6 @@
1513
;* priority is Privileged, and the Stack is set to Main.
1614
;********************************************************************************
1715
;*
18-
;* <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
19-
;*
2016
;* Redistribution and use in source and binary forms, with or without modification,
2117
;* are permitted provided that the following conditions are met:
2218
;* 1. Redistributions of source code must retain the above copyright notice,

targets/TARGET_STM/TARGET_STM32F3/TARGET_STM32F302x8/device/stm32f302x8.h

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
******************************************************************************
33
* @file stm32f302x8.h
44
* @author MCD Application Team
5-
* @version V2.3.1
6-
* @date 16-December-2016
75
* @brief CMSIS STM32F302x8 Devices Peripheral Access Layer Header File.
86
*
97
* This file contains:
@@ -7138,9 +7136,19 @@ typedef struct
71387136
#define EXTI_IMR2_IM35 EXTI_IMR2_MR35
71397137
#endif
71407138

7139+
#if defined(EXTI_IMR2_MR33) && defined(EXTI_IMR2_MR34) && defined(EXTI_IMR2_MR35)
71417140
#define EXTI_IMR2_IM_Pos (0U)
71427141
#define EXTI_IMR2_IM_Msk (0xFU << EXTI_IMR2_IM_Pos) /*!< 0x0000000F */
71437142
#define EXTI_IMR2_IM EXTI_IMR2_IM_Msk
7143+
#elif defined(EXTI_IMR2_MR34) && defined(EXTI_IMR2_MR35)
7144+
#define EXTI_IMR2_IM_Pos (0U)
7145+
#define EXTI_IMR2_IM_Msk (0xDU << EXTI_IMR2_IM_Pos) /*!< 0x0000000D */
7146+
#define EXTI_IMR2_IM EXTI_IMR2_IM_Msk
7147+
#else
7148+
#define EXTI_IMR2_IM_Pos (0U)
7149+
#define EXTI_IMR2_IM_Msk (0x1U << EXTI_IMR2_IM_Pos) /*!< 0x00000001 */
7150+
#define EXTI_IMR2_IM EXTI_IMR2_IM_Msk
7151+
#endif
71447152

71457153
/******************* Bit definition for EXTI_EMR2 ****************************/
71467154
#define EXTI_EMR2_MR32_Pos (0U)
@@ -7159,6 +7167,20 @@ typedef struct
71597167
#define EXTI_EMR2_EM35 EXTI_EMR2_MR35
71607168
#endif
71617169

7170+
#if defined(EXTI_EMR2_MR33) && defined(EXTI_EMR2_MR34) && defined(EXTI_EMR2_MR35)
7171+
#define EXTI_EMR2_EM_Pos (0U)
7172+
#define EXTI_EMR2_EM_Msk (0xFU << EXTI_EMR2_EM_Pos) /*!< 0x0000000F */
7173+
#define EXTI_EMR2_EM EXTI_EMR2_EM_Msk
7174+
#elif defined(EXTI_EMR2_MR34) && defined(EXTI_EMR2_MR35)
7175+
#define EXTI_EMR2_EM_Pos (0U)
7176+
#define EXTI_EMR2_EM_Msk (0xDU << EXTI_EMR2_EM_Pos) /*!< 0x0000000D */
7177+
#define EXTI_EMR2_EM EXTI_EMR2_EM_Msk
7178+
#else
7179+
#define EXTI_EMR2_EM_Pos (0U)
7180+
#define EXTI_EMR2_EM_Msk (0x1U << EXTI_EMR2_EM_Pos) /*!< 0x00000001 */
7181+
#define EXTI_EMR2_EM EXTI_EMR2_EM_Msk
7182+
#endif
7183+
71627184
/****************** Bit definition for EXTI_RTSR2 register ********************/
71637185
#define EXTI_RTSR2_TR32_Pos (0U)
71647186
#define EXTI_RTSR2_TR32_Msk (0x1U << EXTI_RTSR2_TR32_Pos) /*!< 0x00000001 */
@@ -7408,21 +7430,6 @@ typedef struct
74087430
#define OB_WRP1_nWRP1_Msk (0xFFU << OB_WRP1_nWRP1_Pos) /*!< 0xFF000000 */
74097431
#define OB_WRP1_nWRP1 OB_WRP1_nWRP1_Msk /*!< Flash memory write protection complemented option bytes */
74107432

7411-
/****************** Bit definition for FLASH_WRP2 register ******************/
7412-
#define OB_WRP2_WRP2_Pos (0U)
7413-
#define OB_WRP2_WRP2_Msk (0xFFU << OB_WRP2_WRP2_Pos) /*!< 0x000000FF */
7414-
#define OB_WRP2_WRP2 OB_WRP2_WRP2_Msk /*!< Flash memory write protection option bytes */
7415-
#define OB_WRP2_nWRP2_Pos (8U)
7416-
#define OB_WRP2_nWRP2_Msk (0xFFU << OB_WRP2_nWRP2_Pos) /*!< 0x0000FF00 */
7417-
#define OB_WRP2_nWRP2 OB_WRP2_nWRP2_Msk /*!< Flash memory write protection complemented option bytes */
7418-
7419-
/****************** Bit definition for FLASH_WRP3 register ******************/
7420-
#define OB_WRP3_WRP3_Pos (16U)
7421-
#define OB_WRP3_WRP3_Msk (0xFFU << OB_WRP3_WRP3_Pos) /*!< 0x00FF0000 */
7422-
#define OB_WRP3_WRP3 OB_WRP3_WRP3_Msk /*!< Flash memory write protection option bytes */
7423-
#define OB_WRP3_nWRP3_Pos (24U)
7424-
#define OB_WRP3_nWRP3_Msk (0xFFU << OB_WRP3_nWRP3_Pos) /*!< 0xFF000000 */
7425-
#define OB_WRP3_nWRP3 OB_WRP3_nWRP3_Msk /*!< Flash memory write protection complemented option bytes */
74267433

74277434
/******************************************************************************/
74287435
/* */
@@ -9059,9 +9066,9 @@ typedef struct
90599066
#define RTC_CR_COSEL_Pos (19U)
90609067
#define RTC_CR_COSEL_Msk (0x1U << RTC_CR_COSEL_Pos) /*!< 0x00080000 */
90619068
#define RTC_CR_COSEL RTC_CR_COSEL_Msk
9062-
#define RTC_CR_BCK_Pos (18U)
9063-
#define RTC_CR_BCK_Msk (0x1U << RTC_CR_BCK_Pos) /*!< 0x00040000 */
9064-
#define RTC_CR_BCK RTC_CR_BCK_Msk
9069+
#define RTC_CR_BKP_Pos (18U)
9070+
#define RTC_CR_BKP_Msk (0x1U << RTC_CR_BKP_Pos) /*!< 0x00040000 */
9071+
#define RTC_CR_BKP RTC_CR_BKP_Msk
90659072
#define RTC_CR_SUB1H_Pos (17U)
90669073
#define RTC_CR_SUB1H_Msk (0x1U << RTC_CR_SUB1H_Pos) /*!< 0x00020000 */
90679074
#define RTC_CR_SUB1H RTC_CR_SUB1H_Msk
@@ -9111,6 +9118,11 @@ typedef struct
91119118
#define RTC_CR_WUCKSEL_1 (0x2U << RTC_CR_WUCKSEL_Pos) /*!< 0x00000002 */
91129119
#define RTC_CR_WUCKSEL_2 (0x4U << RTC_CR_WUCKSEL_Pos) /*!< 0x00000004 */
91139120

9121+
/* Legacy defines */
9122+
#define RTC_CR_BCK_Pos RTC_CR_BKP_Pos
9123+
#define RTC_CR_BCK_Msk RTC_CR_BKP_Msk
9124+
#define RTC_CR_BCK RTC_CR_BKP
9125+
91149126
/******************** Bits definition for RTC_ISR register ******************/
91159127
#define RTC_ISR_RECALPF_Pos (16U)
91169128
#define RTC_ISR_RECALPF_Msk (0x1U << RTC_ISR_RECALPF_Pos) /*!< 0x00010000 */

0 commit comments

Comments
 (0)