Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcce7f32

Browse files
committed
system(F0): update STM32F0xx CMSIS Drivers to v2.3.7
Included in STM32CubeF0 FW v1.11.4Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent57637a3 commitcce7f32

File tree

40 files changed

+23624
-23731
lines changed

40 files changed

+23624
-23731
lines changed

‎system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,20 @@
99
* This file contains:
1010
* - Data structures and the address mapping for all peripherals
1111
* - Peripheral's registers declarations and bits definition
12-
* - Macros to access peripherals registers hardware
12+
* - Macros to access peripheral's registers hardware
1313
*
1414
******************************************************************************
1515
* @attention
1616
*
17-
*<h2><center>&copy;Copyright (c) 2016 STMicroelectronics.
18-
* All rights reserved.</center></h2>
17+
* Copyright (c) 2016 STMicroelectronics.
18+
* All rights reserved.
1919
*
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.
2423
*
2524
******************************************************************************
2625
*/
27-
2826
/** @addtogroup CMSIS
2927
* @{
3028
*/
@@ -70,7 +68,7 @@ typedef enum
7068
/****** Cortex-M0 Processor Exceptions Numbers **************************************************************/
7169
NonMaskableInt_IRQn=-14,/*!< 2 Non Maskable Interrupt */
7270
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 */
7472
PendSV_IRQn=-2,/*!< 14 Cortex-M0 Pend SV Interrupt */
7573
SysTick_IRQn=-1,/*!< 15 Cortex-M0 System Tick Interrupt */
7674

@@ -549,7 +547,7 @@ typedef struct
549547
/******************************************************************************/
550548

551549
/*
552-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
550+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
553551
*/
554552
/* Note: No specific macro feature on this device */
555553

@@ -637,7 +635,7 @@ typedef struct
637635

638636
#defineADC_CFGR1_ALIGN_Pos (5U)
639637
#defineADC_CFGR1_ALIGN_Msk (0x1UL << ADC_CFGR1_ALIGN_Pos)/*!< 0x00000020 */
640-
#defineADC_CFGR1_ALIGN ADC_CFGR1_ALIGN_Msk/*!< ADC dataalignement */
638+
#defineADC_CFGR1_ALIGN ADC_CFGR1_ALIGN_Msk/*!< ADC dataalignment */
641639

642640
#defineADC_CFGR1_EXTSEL_Pos (6U)
643641
#defineADC_CFGR1_EXTSEL_Msk (0x7UL << ADC_CFGR1_EXTSEL_Pos)/*!< 0x000001C0 */
@@ -2731,7 +2729,7 @@ typedef struct
27312729
/* */
27322730
/*****************************************************************************/
27332731
/*
2734-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
2732+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
27352733
*/
27362734

27372735
/******************** Bit definition for RCC_CR register *******************/
@@ -3290,7 +3288,7 @@ typedef struct
32903288
/* */
32913289
/*****************************************************************************/
32923290
/*
3293-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
3291+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
32943292
*/
32953293
#defineRTC_TAMPER1_SUPPORT/*!< TAMPER 1 feature support */
32963294
#defineRTC_TAMPER2_SUPPORT/*!< TAMPER 2 feature support */
@@ -3750,7 +3748,7 @@ typedef struct
37503748
/*****************************************************************************/
37513749

37523750
/*
3753-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
3751+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
37543752
*/
37553753
/* Note: No specific macro feature on this device */
37563754

@@ -5337,17 +5335,18 @@ typedef struct
53375335
#defineADC1_COMP_IRQn ADC1_IRQn
53385336
#defineDMA1_Ch1_IRQn DMA1_Channel1_IRQn
53395337
#defineDMA1_Ch2_3_DMA2_Ch1_2_IRQn DMA1_Channel2_3_IRQn
5340-
#defineDMA1_Channel4_5_6_7_IRQn DMA1_Channel4_5_IRQn
53415338
#defineDMA1_Ch4_7_DMA2_Ch3_5_IRQn DMA1_Channel4_5_IRQn
5339+
#defineDMA1_Channel4_5_6_7_IRQn DMA1_Channel4_5_IRQn
53425340
#defineRCC_CRS_IRQn RCC_IRQn
53435341

5342+
#defineSVC_IRQn SVCall_IRQn
53445343

53455344
/* Aliases for __IRQHandler */
53465345
#defineADC1_COMP_IRQHandler ADC1_IRQHandler
53475346
#defineDMA1_Ch1_IRQHandler DMA1_Channel1_IRQHandler
53485347
#defineDMA1_Ch2_3_DMA2_Ch1_2_IRQHandler DMA1_Channel2_3_IRQHandler
5349-
#defineDMA1_Channel4_5_6_7_IRQHandler DMA1_Channel4_5_IRQHandler
53505348
#defineDMA1_Ch4_7_DMA2_Ch3_5_IRQHandler DMA1_Channel4_5_IRQHandler
5349+
#defineDMA1_Channel4_5_6_7_IRQHandler DMA1_Channel4_5_IRQHandler
53515350
#defineRCC_CRS_IRQHandler RCC_IRQHandler
53525351

53535352

@@ -5365,4 +5364,3 @@ typedef struct
53655364
* @}
53665365
*/
53675366

5368-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

‎system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x8.h

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,20 @@
99
* This file contains:
1010
* - Data structures and the address mapping for all peripherals
1111
* - Peripheral's registers declarations and bits definition
12-
* - Macros to access peripherals registers hardware
12+
* - Macros to access peripheral's registers hardware
1313
*
1414
******************************************************************************
1515
* @attention
1616
*
17-
*<h2><center>&copy;Copyright (c) 2016 STMicroelectronics.
18-
* All rights reserved.</center></h2>
17+
* Copyright (c) 2016 STMicroelectronics.
18+
* All rights reserved.
1919
*
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.
2423
*
2524
******************************************************************************
2625
*/
27-
2826
/** @addtogroup CMSIS
2927
* @{
3028
*/
@@ -70,7 +68,7 @@ typedef enum
7068
/****** Cortex-M0 Processor Exceptions Numbers **************************************************************/
7169
NonMaskableInt_IRQn=-14,/*!< 2 Non Maskable Interrupt */
7270
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 */
7472
PendSV_IRQn=-2,/*!< 14 Cortex-M0 Pend SV Interrupt */
7573
SysTick_IRQn=-1,/*!< 15 Cortex-M0 System Tick Interrupt */
7674

@@ -565,7 +563,7 @@ typedef struct
565563
/******************************************************************************/
566564

567565
/*
568-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
566+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
569567
*/
570568
/* Note: No specific macro feature on this device */
571569

@@ -653,7 +651,7 @@ typedef struct
653651

654652
#defineADC_CFGR1_ALIGN_Pos (5U)
655653
#defineADC_CFGR1_ALIGN_Msk (0x1UL << ADC_CFGR1_ALIGN_Pos)/*!< 0x00000020 */
656-
#defineADC_CFGR1_ALIGN ADC_CFGR1_ALIGN_Msk/*!< ADC dataalignement */
654+
#defineADC_CFGR1_ALIGN ADC_CFGR1_ALIGN_Msk/*!< ADC dataalignment */
657655

658656
#defineADC_CFGR1_EXTSEL_Pos (6U)
659657
#defineADC_CFGR1_EXTSEL_Msk (0x7UL << ADC_CFGR1_EXTSEL_Pos)/*!< 0x000001C0 */
@@ -2761,7 +2759,7 @@ typedef struct
27612759
/* */
27622760
/*****************************************************************************/
27632761
/*
2764-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
2762+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
27652763
*/
27662764

27672765
/******************** Bit definition for RCC_CR register *******************/
@@ -3334,7 +3332,7 @@ typedef struct
33343332
/* */
33353333
/*****************************************************************************/
33363334
/*
3337-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
3335+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
33383336
*/
33393337
#defineRTC_TAMPER1_SUPPORT/*!< TAMPER 1 feature support */
33403338
#defineRTC_TAMPER2_SUPPORT/*!< TAMPER 2 feature support */
@@ -3794,7 +3792,7 @@ typedef struct
37943792
/*****************************************************************************/
37953793

37963794
/*
3797-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
3795+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
37983796
*/
37993797
/* Note: No specific macro feature on this device */
38003798

@@ -5402,18 +5400,19 @@ typedef struct
54025400
#defineADC1_COMP_IRQn ADC1_IRQn
54035401
#defineDMA1_Ch1_IRQn DMA1_Channel1_IRQn
54045402
#defineDMA1_Ch2_3_DMA2_Ch1_2_IRQn DMA1_Channel2_3_IRQn
5405-
#defineDMA1_Ch4_7_DMA2_Ch3_5_IRQn DMA1_Channel4_5_IRQn
54065403
#defineDMA1_Channel4_5_6_7_IRQn DMA1_Channel4_5_IRQn
5404+
#defineDMA1_Ch4_7_DMA2_Ch3_5_IRQn DMA1_Channel4_5_IRQn
54075405
#defineRCC_CRS_IRQn RCC_IRQn
54085406
#defineTIM6_DAC_IRQn TIM6_IRQn
54095407

5408+
#defineSVC_IRQn SVCall_IRQn
54105409

54115410
/* Aliases for __IRQHandler */
54125411
#defineADC1_COMP_IRQHandler ADC1_IRQHandler
54135412
#defineDMA1_Ch1_IRQHandler DMA1_Channel1_IRQHandler
54145413
#defineDMA1_Ch2_3_DMA2_Ch1_2_IRQHandler DMA1_Channel2_3_IRQHandler
5415-
#defineDMA1_Ch4_7_DMA2_Ch3_5_IRQHandler DMA1_Channel4_5_IRQHandler
54165414
#defineDMA1_Channel4_5_6_7_IRQHandler DMA1_Channel4_5_IRQHandler
5415+
#defineDMA1_Ch4_7_DMA2_Ch3_5_IRQHandler DMA1_Channel4_5_IRQHandler
54175416
#defineRCC_CRS_IRQHandler RCC_IRQHandler
54185417
#defineTIM6_DAC_IRQHandler TIM6_IRQHandler
54195418

@@ -5432,4 +5431,3 @@ typedef struct
54325431
* @}
54335432
*/
54345433

5435-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

‎system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030xc.h

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,20 @@
99
* This file contains:
1010
* - Data structures and the address mapping for all peripherals
1111
* - Peripheral's registers declarations and bits definition
12-
* - Macros to access peripherals registers hardware
12+
* - Macros to access peripheral's registers hardware
1313
*
1414
******************************************************************************
1515
* @attention
1616
*
17-
*<h2><center>&copy;Copyright (c) 2016 STMicroelectronics.
18-
* All rights reserved.</center></h2>
17+
* Copyright (c) 2016 STMicroelectronics.
18+
* All rights reserved.
1919
*
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.
2423
*
2524
******************************************************************************
2625
*/
27-
2826
/** @addtogroup CMSIS
2927
* @{
3028
*/
@@ -70,7 +68,7 @@ typedef enum
7068
/****** Cortex-M0 Processor Exceptions Numbers **************************************************************/
7169
NonMaskableInt_IRQn=-14,/*!< 2 Non Maskable Interrupt */
7270
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 */
7472
PendSV_IRQn=-2,/*!< 14 Cortex-M0 Pend SV Interrupt */
7573
SysTick_IRQn=-1,/*!< 15 Cortex-M0 System Tick Interrupt */
7674

@@ -581,7 +579,7 @@ typedef struct
581579
/******************************************************************************/
582580

583581
/*
584-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
582+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
585583
*/
586584
/* Note: No specific macro feature on this device */
587585

@@ -669,7 +667,7 @@ typedef struct
669667

670668
#defineADC_CFGR1_ALIGN_Pos (5U)
671669
#defineADC_CFGR1_ALIGN_Msk (0x1UL << ADC_CFGR1_ALIGN_Pos)/*!< 0x00000020 */
672-
#defineADC_CFGR1_ALIGN ADC_CFGR1_ALIGN_Msk/*!< ADC dataalignement */
670+
#defineADC_CFGR1_ALIGN ADC_CFGR1_ALIGN_Msk/*!< ADC dataalignment */
673671

674672
#defineADC_CFGR1_EXTSEL_Pos (6U)
675673
#defineADC_CFGR1_EXTSEL_Msk (0x7UL << ADC_CFGR1_EXTSEL_Pos)/*!< 0x000001C0 */
@@ -3024,7 +3022,7 @@ typedef struct
30243022
/* */
30253023
/*****************************************************************************/
30263024
/*
3027-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
3025+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
30283026
*/
30293027
#defineRCC_PLLSRC_PREDIV1_SUPPORT/*!< PREDIV support used as PLL source input */
30303028

@@ -3140,8 +3138,8 @@ typedef struct
31403138
#defineRCC_CFGR_PPRE_DIV16_Msk (0x7UL << RCC_CFGR_PPRE_DIV16_Pos)/*!< 0x00000700 */
31413139
#defineRCC_CFGR_PPRE_DIV16 RCC_CFGR_PPRE_DIV16_Msk/*!< HCLK divided by 16 */
31423140

3143-
#defineRCC_CFGR_PLLSRC_Pos (16U)
3144-
#defineRCC_CFGR_PLLSRC_Msk (0x1UL << RCC_CFGR_PLLSRC_Pos)/*!<0x00010000 */
3141+
#defineRCC_CFGR_PLLSRC_Pos (15U)
3142+
#defineRCC_CFGR_PLLSRC_Msk (0x3UL << RCC_CFGR_PLLSRC_Pos)/*!<0x00018000 */
31453143
#defineRCC_CFGR_PLLSRC RCC_CFGR_PLLSRC_Msk/*!< PLL entry clock source */
31463144
#defineRCC_CFGR_PLLSRC_HSI_DIV2 (0x00000000U)/*!< HSI clock divided by 2 selected as PLL entry clock source */
31473145
#defineRCC_CFGR_PLLSRC_HSI_PREDIV (0x00008000U)/*!< HSI/PREDIV clock selected as PLL entry clock source */
@@ -3636,7 +3634,7 @@ typedef struct
36363634
/* */
36373635
/*****************************************************************************/
36383636
/*
3639-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
3637+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
36403638
*/
36413639
#defineRTC_TAMPER1_SUPPORT/*!< TAMPER 1 feature support */
36423640
#defineRTC_TAMPER2_SUPPORT/*!< TAMPER 2 feature support */
@@ -4120,7 +4118,7 @@ typedef struct
41204118
/*****************************************************************************/
41214119

41224120
/*
4123-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
4121+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
41244122
*/
41254123
/* Note: No specific macro feature on this device */
41264124

@@ -5092,7 +5090,7 @@ typedef struct
50925090
/******************************************************************************/
50935091

50945092
/*
5095-
* @brief Specific device feature definitions (not present on all devices in the STM32F0serie)
5093+
* @brief Specific device feature definitions (not present on all devices in the STM32F0series)
50965094
*/
50975095

50985096
/* Support of 7 bits data length feature */
@@ -5784,6 +5782,7 @@ typedef struct
57845782
#defineUSART3_8_IRQn USART3_6_IRQn
57855783
#defineUSART3_4_IRQn USART3_6_IRQn
57865784

5785+
#defineSVC_IRQn SVCall_IRQn
57875786

57885787
/* Aliases for __IRQHandler */
57895788
#defineADC1_COMP_IRQHandler ADC1_IRQHandler
@@ -5811,4 +5810,3 @@ typedef struct
58115810
* @}
58125811
*/
58135812

5814-
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp