|
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) 2017 STMicroelectronics. |
18 | | - * All rights reserved.</center></h2> |
| 17 | + * Copyright (c) 2017-2021 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 | */ |
@@ -863,7 +862,7 @@ typedef struct |
863 | 862 | #define ADC_CR2_EOCS ADC_CR2_EOCS_Msk /*!< ADC end of unitary or end of sequence conversions selection */ |
864 | 863 | #define ADC_CR2_ALIGN_Pos (11U) |
865 | 864 | #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ |
866 | | -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ |
| 865 | +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ |
867 | 866 |
|
868 | 867 | #define ADC_CR2_JEXTSEL_Pos (16U) |
869 | 868 | #define ADC_CR2_JEXTSEL_Msk (0xFUL << ADC_CR2_JEXTSEL_Pos) /*!< 0x000F0000 */ |
@@ -2754,7 +2753,7 @@ typedef struct |
2754 | 2753 | /* */ |
2755 | 2754 | /******************************************************************************/ |
2756 | 2755 | /* |
2757 | | - * @brief Specific device feature definitions (not present on all devices in the STM32L1 serie) |
| 2756 | + * @brief Specific device feature definitions (not present on all devices in the STM32L1 series) |
2758 | 2757 | */ |
2759 | 2758 | #define FLASH_CUT2 |
2760 | 2759 |
|
@@ -3664,7 +3663,7 @@ typedef struct |
3664 | 3663 |
|
3665 | 3664 | #define LCD_FCR_PON_Pos (4U) |
3666 | 3665 | #define LCD_FCR_PON_Msk (0x7UL << LCD_FCR_PON_Pos) /*!< 0x00000070 */ |
3667 | | -#define LCD_FCR_PON LCD_FCR_PON_Msk /*!< PON[2:0] bits (Puls ON Duration) */ |
| 3666 | +#define LCD_FCR_PON LCD_FCR_PON_Msk /*!< PON[2:0] bits (Pulse ON Duration) */ |
3668 | 3667 | #define LCD_FCR_PON_0 (0x1UL << LCD_FCR_PON_Pos) /*!< 0x00000010 */ |
3669 | 3668 | #define LCD_FCR_PON_1 (0x2UL << LCD_FCR_PON_Pos) /*!< 0x00000020 */ |
3670 | 3669 | #define LCD_FCR_PON_2 (0x4UL << LCD_FCR_PON_Pos) /*!< 0x00000040 */ |
@@ -3833,7 +3832,7 @@ typedef struct |
3833 | 3832 | /* */ |
3834 | 3833 | /******************************************************************************/ |
3835 | 3834 | /* |
3836 | | -* @brief Specific device feature definitions (not present on all devices in the STM32F0 serie) |
| 3835 | +* @brief Specific device feature definitions (not present on all devices in the STM32F0 series) |
3837 | 3836 | */ |
3838 | 3837 | #define RCC_LSECSS_SUPPORT /*!< LSE CSS feature support */ |
3839 | 3838 |
|
@@ -4492,7 +4491,7 @@ typedef struct |
4492 | 4491 | #define RCC_CSR_RTCSEL_0 (0x1UL << RCC_CSR_RTCSEL_Pos) /*!< 0x00010000 */ |
4493 | 4492 | #define RCC_CSR_RTCSEL_1 (0x2UL << RCC_CSR_RTCSEL_Pos) /*!< 0x00020000 */ |
4494 | 4493 |
|
4495 | | -/*!< RTC congiguration */ |
| 4494 | +/*!< RTC configuration */ |
4496 | 4495 | #define RCC_CSR_RTCSEL_NOCLOCK (0x00000000U) /*!< No clock */ |
4497 | 4496 | #define RCC_CSR_RTCSEL_LSE_Pos (16U) |
4498 | 4497 | #define RCC_CSR_RTCSEL_LSE_Msk (0x1UL << RCC_CSR_RTCSEL_LSE_Pos) /*!< 0x00010000 */ |
@@ -4542,7 +4541,7 @@ typedef struct |
4542 | 4541 | /* */ |
4543 | 4542 | /******************************************************************************/ |
4544 | 4543 | /* |
4545 | | -* @brief Specific device feature definitions (not present on all devices in the STM32F0 serie) |
| 4544 | +* @brief Specific device feature definitions (not present on all devices in the STM32F0 series) |
4546 | 4545 | */ |
4547 | 4546 | #define RTC_TAMPER1_SUPPORT /*!< TAMPER 1 feature support */ |
4548 | 4547 | #define RTC_TAMPER2_SUPPORT /*!< TAMPER 2 feature support */ |
@@ -5154,7 +5153,7 @@ typedef struct |
5154 | 5153 | /******************************************************************************/ |
5155 | 5154 |
|
5156 | 5155 | /* |
5157 | | - * @brief Specific device feature definitions (not present on all devices in the STM32F3 serie) |
| 5156 | + * @brief Specific device feature definitions (not present on all devices in the STM32F3 series) |
5158 | 5157 | */ |
5159 | 5158 |
|
5160 | 5159 | /******************* Bit definition for SPI_CR1 register ********************/ |
@@ -6226,12 +6225,21 @@ typedef struct |
6226 | 6225 | #define USART_DR_DR USART_DR_DR_Msk /*!< Data value */ |
6227 | 6226 |
|
6228 | 6227 | /****************** Bit definition for USART_BRR register *******************/ |
6229 | | -#define USART_BRR_DIV_FRACTION_Pos (0U) |
6230 | | -#define USART_BRR_DIV_FRACTION_Msk (0xFUL << USART_BRR_DIV_FRACTION_Pos) /*!< 0x0000000F */ |
6231 | | -#define USART_BRR_DIV_FRACTION USART_BRR_DIV_FRACTION_Msk /*!< Fraction of USARTDIV */ |
6232 | | -#define USART_BRR_DIV_MANTISSA_Pos (4U) |
6233 | | -#define USART_BRR_DIV_MANTISSA_Msk (0xFFFUL << USART_BRR_DIV_MANTISSA_Pos) /*!< 0x0000FFF0 */ |
6234 | | -#define USART_BRR_DIV_MANTISSA USART_BRR_DIV_MANTISSA_Msk /*!< Mantissa of USARTDIV */ |
| 6228 | +#define USART_BRR_DIV_Fraction_Pos (0U) |
| 6229 | +#define USART_BRR_DIV_Fraction_Msk (0xFUL << USART_BRR_DIV_Fraction_Pos) /*!< 0x0000000F */ |
| 6230 | +#define USART_BRR_DIV_Fraction USART_BRR_DIV_Fraction_Msk /*!<Fraction of USARTDIV */ |
| 6231 | +#define USART_BRR_DIV_Mantissa_Pos (4U) |
| 6232 | +#define USART_BRR_DIV_Mantissa_Msk (0xFFFUL << USART_BRR_DIV_Mantissa_Pos) /*!< 0x0000FFF0 */ |
| 6233 | +#define USART_BRR_DIV_Mantissa USART_BRR_DIV_Mantissa_Msk /*!<Mantissa of USARTDIV */ |
| 6234 | + |
| 6235 | +/* Legacy aliases */ |
| 6236 | +#define USART_BRR_DIV_FRACTION_Pos USART_BRR_DIV_Fraction_Pos |
| 6237 | +#define USART_BRR_DIV_FRACTION_Msk USART_BRR_DIV_Fraction_Msk |
| 6238 | +#define USART_BRR_DIV_FRACTION USART_BRR_DIV_Fraction |
| 6239 | + |
| 6240 | +#define USART_BRR_DIV_MANTISSA_Pos USART_BRR_DIV_Mantissa_Pos |
| 6241 | +#define USART_BRR_DIV_MANTISSA_Msk USART_BRR_DIV_Mantissa_Msk |
| 6242 | +#define USART_BRR_DIV_MANTISSA USART_BRR_DIV_Mantissa |
6235 | 6243 |
|
6236 | 6244 | /****************** Bit definition for USART_CR1 register *******************/ |
6237 | 6245 | #define USART_CR1_SBK_Pos (0U) |
@@ -7814,4 +7822,3 @@ typedef struct |
7814 | 7822 |
|
7815 | 7823 |
|
7816 | 7824 |
|
7817 | | -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
|
0 commit comments