7
7
* This file contains:
8
8
* - Data structures and the address mapping for all peripherals
9
9
* - Peripheral's registers declarations and bits definition
10
- * - Macros to access peripheral’ s registers hardware
10
+ * - Macros to access peripheral' s registers hardware
11
11
*
12
12
******************************************************************************
13
13
* @attention
14
14
*
15
- * <h2><center>© Copyright (c) 2019 STMicroelectronics.
16
- * All rights reserved.</center></h2>
15
+ * Copyright (c) 2019 STMicroelectronics.
16
+ * All rights reserved.
17
17
*
18
- * This software component is licensed by ST under Apache License, Version 2.0,
19
- * the "License"; You may not use this file except in compliance with the
20
- * License. You may obtain a copy of the License at:
21
- * opensource.org/licenses/Apache-2.0
18
+ * This software is licensed under terms that can be found in the LICENSE file
19
+ * in the root directory of this software component.
20
+ * If no LICENSE file comes with this software, it is provided AS-IS.
22
21
*
23
22
******************************************************************************
24
23
*/
@@ -44,7 +43,10 @@ extern "C" {
44
43
* @{
45
44
*/
46
45
47
-
46
+ /**
47
+ * @brief stm32l552xx Interrupt Number Definition, according to the selected device
48
+ * in @ref Library_configuration_section
49
+ */
48
50
49
51
/* =========================================================================================================================== */
50
52
/* ================ Interrupt Number Definition ================ */
@@ -212,11 +214,11 @@ typedef enum
212
214
#define __FPU_PRESENT 1U /* FPU present */
213
215
#define __DSP_PRESENT 1U /* DSP extension present */
214
216
215
- /** @} */ /* End of group Configuration_of_CMSIS */
217
+ #include <core_cm33.h> /*!< ARM Cortex-M33 processor and core peripherals */
218
+ #include "system_stm32l5xx.h" /*!< STM32L5xx System */
216
219
217
220
218
- #include <core_cm33.h> /*!< ARM Cortex-M33 processor and core peripherals */
219
- #include "system_stm32l5xx.h" /*!< STM32L5xx System */
221
+ /** @} */ /* End of group Configuration_of_CMSIS */
220
222
221
223
222
224
/* =========================================================================================================================== */
@@ -1300,7 +1302,7 @@ typedef struct
1300
1302
#pragma pop
1301
1303
#elif defined (__ICCARM__)
1302
1304
/* leave anonymous unions enabled */
1303
- #elif (__ARMCC_VERSION >= 6010050)
1305
+ #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
1304
1306
#pragma clang diagnostic pop
1305
1307
#elif defined (__GNUC__)
1306
1308
/* anonymous unions are enabled by default */
@@ -1714,12 +1716,12 @@ typedef struct
1714
1716
1715
1717
/**
1716
1718
* @brief Prototype of RSSLIB Close and exit HDP Function
1717
- * @detail This function close the requested hdp area passed in input
1719
+ * @details This function close the requested hdp area passed in input
1718
1720
* parameter and jump to the reset handler present within the
1719
1721
* Vector table. The function does not return on successful execution.
1720
1722
* @param HdpArea notifies which hdp area to close, can be a combination of
1721
1723
* hdpa area 1 and hdp area 2
1722
- * @param pointer on the vector table containing the reset handler the function
1724
+ * @param VectorTableAddr pointer on the vector table containing the reset handler the function
1723
1725
* jumps to.
1724
1726
* @retval RSSLIB_RSS_ERROR on error on input parameter, otherwise does not return.
1725
1727
*/
@@ -11024,6 +11026,9 @@ typedef struct
11024
11026
/* Reset and Clock Control */
11025
11027
/* */
11026
11028
/******************************************************************************/
11029
+ #define RCC_MAX_FREQUENCY 110000000U /*!< Max frequency of family in Hz*/
11030
+ #define RCC_MAX_FREQUENCY_MHZ 110U /*!< Max frequency of family in MHz*/
11031
+
11027
11032
/******************** Bit definition for RCC_CR register ********************/
11028
11033
#define RCC_CR_MSION_Pos (0U)
11029
11034
#define RCC_CR_MSION_Msk (0x1UL << RCC_CR_MSION_Pos) /*!< 0x00000001 */
@@ -20394,5 +20399,3 @@ typedef struct
20394
20399
#endif
20395
20400
20396
20401
#endif /* STM32L552xx_H */
20397
-
20398
- /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
0 commit comments