|
9 | 9 | * This file contains:
|
10 | 10 | * - Data structures and the address mapping for all peripherals
|
11 | 11 | * - Peripheral's registers declarations and bits definition
|
12 |
| - * - Macros to access peripheral’s registers hardware |
| 12 | + * - Macros to access peripheral's registers hardware |
13 | 13 | *
|
14 | 14 | ******************************************************************************
|
15 | 15 | * @attention
|
16 | 16 | *
|
17 |
| - * <h2><center>© Copyright (c) 2016 STMicroelectronics. |
18 |
| - * All rights reserved.</center></h2> |
| 17 | + * Copyright (c) 2016 STMicroelectronics. |
| 18 | + * All rights reserved. |
19 | 19 | *
|
20 |
| - * This software component is licensed by ST under BSD 3-Clause license, |
21 |
| - * the "License"; You may not use this file except in compliance with the |
22 |
| - * License. You may obtain a copy of the License at: |
23 |
| - * opensource.org/licenses/BSD-3-Clause |
| 20 | + * This software is licensed under terms that can be found in the LICENSE file |
| 21 | + * in the root directory of this software component. |
| 22 | + * If no LICENSE file comes with this software, it is provided AS-IS. |
24 | 23 | *
|
25 | 24 | ******************************************************************************
|
26 | 25 | */
|
27 |
| - |
28 | 26 | /** @addtogroup CMSIS
|
29 | 27 | * @{
|
30 | 28 | */
|
@@ -70,7 +68,7 @@ typedef enum
|
70 | 68 | /****** Cortex-M0 Processor Exceptions Numbers **************************************************************/
|
71 | 69 | NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */
|
72 | 70 | HardFault_IRQn = -13, /*!< 3 Cortex-M0 Hard Fault Interrupt */
|
73 |
| - SVC_IRQn = -5, /*!< 11 Cortex-M0 SV Call Interrupt */ |
| 71 | + SVCall_IRQn = -5, /*!< 11 Cortex-M0 SV Call Interrupt */ |
74 | 72 | PendSV_IRQn = -2, /*!< 14 Cortex-M0 Pend SV Interrupt */
|
75 | 73 | SysTick_IRQn = -1, /*!< 15 Cortex-M0 System Tick Interrupt */
|
76 | 74 |
|
@@ -581,7 +579,7 @@ typedef struct
|
581 | 579 | /******************************************************************************/
|
582 | 580 |
|
583 | 581 | /*
|
584 |
| - * @brief Specific device feature definitions (not present on all devices in the STM32F0 serie) |
| 582 | + * @brief Specific device feature definitions (not present on all devices in the STM32F0 series) |
585 | 583 | */
|
586 | 584 | /* Note: No specific macro feature on this device */
|
587 | 585 |
|
@@ -669,7 +667,7 @@ typedef struct
|
669 | 667 |
|
670 | 668 | #define ADC_CFGR1_ALIGN_Pos (5U)
|
671 | 669 | #define ADC_CFGR1_ALIGN_Msk (0x1UL << ADC_CFGR1_ALIGN_Pos) /*!< 0x00000020 */
|
672 |
| -#define ADC_CFGR1_ALIGN ADC_CFGR1_ALIGN_Msk /*!< ADC data alignement */ |
| 670 | +#define ADC_CFGR1_ALIGN ADC_CFGR1_ALIGN_Msk /*!< ADC data alignment */ |
673 | 671 |
|
674 | 672 | #define ADC_CFGR1_EXTSEL_Pos (6U)
|
675 | 673 | #define ADC_CFGR1_EXTSEL_Msk (0x7UL << ADC_CFGR1_EXTSEL_Pos) /*!< 0x000001C0 */
|
@@ -3024,7 +3022,7 @@ typedef struct
|
3024 | 3022 | /* */
|
3025 | 3023 | /*****************************************************************************/
|
3026 | 3024 | /*
|
3027 |
| -* @brief Specific device feature definitions (not present on all devices in the STM32F0 serie) |
| 3025 | +* @brief Specific device feature definitions (not present on all devices in the STM32F0 series) |
3028 | 3026 | */
|
3029 | 3027 | #define RCC_PLLSRC_PREDIV1_SUPPORT /*!< PREDIV support used as PLL source input */
|
3030 | 3028 |
|
@@ -3140,8 +3138,8 @@ typedef struct
|
3140 | 3138 | #define RCC_CFGR_PPRE_DIV16_Msk (0x7UL << RCC_CFGR_PPRE_DIV16_Pos) /*!< 0x00000700 */
|
3141 | 3139 | #define RCC_CFGR_PPRE_DIV16 RCC_CFGR_PPRE_DIV16_Msk /*!< HCLK divided by 16 */
|
3142 | 3140 |
|
3143 |
| -#define RCC_CFGR_PLLSRC_Pos (16U) |
3144 |
| -#define RCC_CFGR_PLLSRC_Msk (0x1UL << RCC_CFGR_PLLSRC_Pos) /*!< 0x00010000 */ |
| 3141 | +#define RCC_CFGR_PLLSRC_Pos (15U) |
| 3142 | +#define RCC_CFGR_PLLSRC_Msk (0x3UL << RCC_CFGR_PLLSRC_Pos) /*!< 0x00018000 */ |
3145 | 3143 | #define RCC_CFGR_PLLSRC RCC_CFGR_PLLSRC_Msk /*!< PLL entry clock source */
|
3146 | 3144 | #define RCC_CFGR_PLLSRC_HSI_DIV2 (0x00000000U) /*!< HSI clock divided by 2 selected as PLL entry clock source */
|
3147 | 3145 | #define RCC_CFGR_PLLSRC_HSI_PREDIV (0x00008000U) /*!< HSI/PREDIV clock selected as PLL entry clock source */
|
@@ -3636,7 +3634,7 @@ typedef struct
|
3636 | 3634 | /* */
|
3637 | 3635 | /*****************************************************************************/
|
3638 | 3636 | /*
|
3639 |
| -* @brief Specific device feature definitions (not present on all devices in the STM32F0 serie) |
| 3637 | +* @brief Specific device feature definitions (not present on all devices in the STM32F0 series) |
3640 | 3638 | */
|
3641 | 3639 | #define RTC_TAMPER1_SUPPORT /*!< TAMPER 1 feature support */
|
3642 | 3640 | #define RTC_TAMPER2_SUPPORT /*!< TAMPER 2 feature support */
|
@@ -4120,7 +4118,7 @@ typedef struct
|
4120 | 4118 | /*****************************************************************************/
|
4121 | 4119 |
|
4122 | 4120 | /*
|
4123 |
| - * @brief Specific device feature definitions (not present on all devices in the STM32F0 serie) |
| 4121 | + * @brief Specific device feature definitions (not present on all devices in the STM32F0 series) |
4124 | 4122 | */
|
4125 | 4123 | /* Note: No specific macro feature on this device */
|
4126 | 4124 |
|
@@ -5092,7 +5090,7 @@ typedef struct
|
5092 | 5090 | /******************************************************************************/
|
5093 | 5091 |
|
5094 | 5092 | /*
|
5095 |
| -* @brief Specific device feature definitions (not present on all devices in the STM32F0 serie) |
| 5093 | +* @brief Specific device feature definitions (not present on all devices in the STM32F0 series) |
5096 | 5094 | */
|
5097 | 5095 |
|
5098 | 5096 | /* Support of 7 bits data length feature */
|
@@ -5784,6 +5782,7 @@ typedef struct
|
5784 | 5782 | #define USART3_8_IRQn USART3_6_IRQn
|
5785 | 5783 | #define USART3_4_IRQn USART3_6_IRQn
|
5786 | 5784 |
|
| 5785 | +#define SVC_IRQn SVCall_IRQn |
5787 | 5786 |
|
5788 | 5787 | /* Aliases for __IRQHandler */
|
5789 | 5788 | #define ADC1_COMP_IRQHandler ADC1_IRQHandler
|
@@ -5811,4 +5810,3 @@ typedef struct
|
5811 | 5810 | * @}
|
5812 | 5811 | */
|
5813 | 5812 |
|
5814 |
| -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
0 commit comments