@@ -267,14 +267,14 @@ typedef struct
267
267
*/
268
268
typedef struct
269
269
{
270
- __IO uint32_t IDCODE; /*!< MCU device ID code, Address offset: 0x00 */
271
- __IO uint32_t SCR; /*!< Debug MCU status and configuration register, Address offset: 0x04 */
272
- __IO uint32_t APB1LFZR; /*!< Debug MCU APB1 freeze register 1, Address offset: 0x08 */
273
- __IO uint32_t APB1HFZR; /*!< Debug MCU APB1 freeze register 2, Address offset: 0x0C */
274
- __IO uint32_t APB2FZR; /*!< Debug MCU APB2 freeze register, Address offset: 0x10 */
275
- uint32_t RESERVED1[4];/*!< Reserved, 0x14 - 0x20 */
276
- __IO uint32_t APB7FZR; /*!< Debug MCU APB7 freeze register, Address offset: 0x24 */
277
- __IO uint32_t AHB1FZR; /*!< Debug MCU AHB1 freeze register, Address offset: 0x28 */
270
+ __IO uint32_t IDCODE; /*!< MCU device ID code, Address offset: 0x00 */
271
+ __IO uint32_t SCR; /*!< Debug MCU status and configuration register, Address offset: 0x04 */
272
+ __IO uint32_t APB1LFZR; /*!< Debug MCU APB1 freeze register 1, Address offset: 0x08 */
273
+ __IO uint32_t APB1HFZR; /*!< Debug MCU APB1 freeze register 2, Address offset: 0x0C */
274
+ __IO uint32_t APB2FZR; /*!< Debug MCU APB2 freeze register, Address offset: 0x10 */
275
+ uint32_t RESERVED1[4]; /*!< Reserved, Address offset: 0x14 - 0x20 */
276
+ __IO uint32_t APB7FZR; /*!< Debug MCU APB7 freeze register, Address offset: 0x24 */
277
+ __IO uint32_t AHB1FZR; /*!< Debug MCU AHB1 freeze register, Address offset: 0x28 */
278
278
} DBGMCU_TypeDef;
279
279
280
280
/**
@@ -710,11 +710,11 @@ typedef struct
710
710
*/
711
711
typedef struct
712
712
{
713
- __IO uint32_t CR; /*!< RNG control register, Address offset: 0x00 */
714
- __IO uint32_t SR; /*!< RNG status register, Address offset: 0x04 */
715
- __IO uint32_t DR; /*!< RNG data register, Address offset: 0x08 */
713
+ __IO uint32_t CR; /*!< RNG control register, Address offset: 0x00 */
714
+ __IO uint32_t SR; /*!< RNG status register, Address offset: 0x04 */
715
+ __IO uint32_t DR; /*!< RNG data register, Address offset: 0x08 */
716
716
uint32_t RESERVED;
717
- __IO uint32_t HTCR; /*!< RNG health test configuration register, Address offset: 0x10 */
717
+ __IO uint32_t HTCR; /*!< RNG health test configuration register, Address offset: 0x10 */
718
718
} RNG_TypeDef;
719
719
720
720
/*
@@ -787,18 +787,18 @@ typedef struct
787
787
*/
788
788
typedef struct
789
789
{
790
- __IO uint32_t SECCFGR; /*!< SYSCFG secure configuration register, Address offset: 0x00 */
791
- __IO uint32_t CFGR1; /*!< SYSCFG configuration register 1, Address offset: 0x04 */
792
- __IO uint32_t FPUIMR; /*!< SYSCFG FPU interrupt mask register, Address offset: 0x08 */
793
- __IO uint32_t CNSLCKR; /*!< SYSCFG CPU non-secure lock register, Address offset: 0x0C */
794
- __IO uint32_t CSLCKR; /*!< SYSCFG CPU secure lock register, Address offset: 0x10 */
795
- __IO uint32_t CFGR2; /*!< SYSCFG configuration register 2, Address offset: 0x14 */
796
- __IO uint32_t MESR; /*!< SYSCFG Memory Erase Status register, Address offset: 0x18 */
797
- __IO uint32_t CCCSR; /*!< SYSCFG Conpensaion Cell Control&Status register, Address offset: 0x1C */
798
- __IO uint32_t CCVR; /*!< SYSCFG Conpensaion Cell value register, Address offset: 0x20 */
799
- __IO uint32_t CCCR; /*!< SYSCFG Conpensaion Cell Code register, Address offset: 0x24 */
800
- uint32_t RESERVED1; /*!< RESERVED1, Address offset: 0x28 */
801
- __IO uint32_t RSSCMDR; /*!< SYSCFG RSS command mode register, Address offset: 0x2C */
790
+ __IO uint32_t SECCFGR; /*!< SYSCFG secure configuration register, Address offset: 0x00 */
791
+ __IO uint32_t CFGR1; /*!< SYSCFG configuration register 1, Address offset: 0x04 */
792
+ __IO uint32_t FPUIMR; /*!< SYSCFG FPU interrupt mask register, Address offset: 0x08 */
793
+ __IO uint32_t CNSLCKR; /*!< SYSCFG CPU non-secure lock register, Address offset: 0x0C */
794
+ __IO uint32_t CSLCKR; /*!< SYSCFG CPU secure lock register, Address offset: 0x10 */
795
+ __IO uint32_t CFGR2; /*!< SYSCFG configuration register 2, Address offset: 0x14 */
796
+ __IO uint32_t MESR; /*!< SYSCFG Memory Erase Status register, Address offset: 0x18 */
797
+ __IO uint32_t CCCSR; /*!< SYSCFG Conpensaion Cell Control&Status register, Address offset: 0x1C */
798
+ __IO uint32_t CCVR; /*!< SYSCFG Conpensaion Cell value register, Address offset: 0x20 */
799
+ __IO uint32_t CCCR; /*!< SYSCFG Conpensaion Cell Code register, Address offset: 0x24 */
800
+ uint32_t RESERVED1; /*!< RESERVED1, Address offset: 0x28 */
801
+ __IO uint32_t RSSCMDR; /*!< SYSCFG RSS command mode register, Address offset: 0x2C */
802
802
} SYSCFG_TypeDef;
803
803
804
804
/**
@@ -7856,7 +7856,7 @@ typedef struct
7856
7856
#define I2C_CR1_ADDRACLR_Pos (30U)
7857
7857
#define I2C_CR1_ADDRACLR_Msk (0x1UL << I2C_CR1_ADDRACLR_Pos) /*!< 0x40000000 */
7858
7858
#define I2C_CR1_ADDRACLR I2C_CR1_ADDRACLR_Msk /*!< ADDRACLR enable */
7859
- #define I2C_CR1_STOPFACLR_Pos (30U )
7859
+ #define I2C_CR1_STOPFACLR_Pos (31U )
7860
7860
#define I2C_CR1_STOPFACLR_Msk (0x1UL << I2C_CR1_STOPFACLR_Pos) /*!< 0x80000000 */
7861
7861
#define I2C_CR1_STOPFACLR I2C_CR1_STOPFACLR_Msk /*!< STOPFACLR enable */
7862
7862
@@ -8542,7 +8542,6 @@ typedef struct
8542
8542
#define LPTIM_CCR2_CCR2_Msk (0xFFFFUL << LPTIM_CCR2_CCR2_Pos) /*!< 0x0000FFFF */
8543
8543
#define LPTIM_CCR2_CCR2 LPTIM_CCR2_CCR2_Msk /*!< Compare register 2 */
8544
8544
8545
-
8546
8545
/******************************************************************************/
8547
8546
/* */
8548
8547
/* Public Key Accelerator (PKA) */
@@ -10570,6 +10569,9 @@ typedef struct
10570
10569
#define RNG_HTCR_HTCFG_Pos (0U)
10571
10570
#define RNG_HTCR_HTCFG_Msk (0xFFFFFFFFUL << RNG_HTCR_HTCFG_Pos) /*!< 0xFFFFFFFF */
10572
10571
#define RNG_HTCR_HTCFG RNG_HTCR_HTCFG_Msk
10572
+ /******************** RNG Nist Compliance Values *******************/
10573
+ #define RNG_CR_NIST_VALUE (0x00F02D00U)
10574
+ #define RNG_HTCR_NIST_VALUE (0xAAC7U)
10573
10575
10574
10576
10575
10577
/******************************************************************************/
@@ -14527,7 +14529,9 @@ typedef struct
14527
14529
/****************** TIM Instances : supporting OCxREF clear *******************/
14528
14530
#define IS_TIM_OCXREF_CLEAR_INSTANCE(INSTANCE) (((INSTANCE) == TIM1_NS) || ((INSTANCE) == TIM1_S) || \
14529
14531
((INSTANCE) == TIM2_NS) || ((INSTANCE) == TIM2_S) || \
14530
- ((INSTANCE) == TIM3_NS) || ((INSTANCE) == TIM3_S))
14532
+ ((INSTANCE) == TIM3_NS) || ((INSTANCE) == TIM3_S) || \
14533
+ ((INSTANCE) == TIM16_NS) || ((INSTANCE) == TIM16_S) || \
14534
+ ((INSTANCE) == TIM17_NS) || ((INSTANCE) == TIM17_S))
14531
14535
14532
14536
/****************** TIM Instances : supporting bitfield OCCS in SMCR register *******************/
14533
14537
#define IS_TIM_OCCS_INSTANCE(INSTANCE) (((INSTANCE) == TIM1_NS) || ((INSTANCE) == TIM1_S) || \
0 commit comments