@@ -267,14 +267,14 @@ typedef struct
267267 */
268268typedef struct
269269{
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 */
278278} DBGMCU_TypeDef;
279279
280280/**
@@ -710,11 +710,11 @@ typedef struct
710710 */
711711typedef struct
712712{
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 */
716716 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 */
718718} RNG_TypeDef;
719719
720720/*
@@ -787,18 +787,18 @@ typedef struct
787787 */
788788typedef struct
789789{
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 */
802802} SYSCFG_TypeDef;
803803
804804/**
@@ -7856,7 +7856,7 @@ typedef struct
78567856#define I2C_CR1_ADDRACLR_Pos (30U)
78577857#define I2C_CR1_ADDRACLR_Msk (0x1UL << I2C_CR1_ADDRACLR_Pos) /*!< 0x40000000 */
78587858#define I2C_CR1_ADDRACLR I2C_CR1_ADDRACLR_Msk /*!< ADDRACLR enable */
7859- #define I2C_CR1_STOPFACLR_Pos (30U )
7859+ #define I2C_CR1_STOPFACLR_Pos (31U )
78607860#define I2C_CR1_STOPFACLR_Msk (0x1UL << I2C_CR1_STOPFACLR_Pos) /*!< 0x80000000 */
78617861#define I2C_CR1_STOPFACLR I2C_CR1_STOPFACLR_Msk /*!< STOPFACLR enable */
78627862
@@ -8542,7 +8542,6 @@ typedef struct
85428542#define LPTIM_CCR2_CCR2_Msk (0xFFFFUL << LPTIM_CCR2_CCR2_Pos) /*!< 0x0000FFFF */
85438543#define LPTIM_CCR2_CCR2 LPTIM_CCR2_CCR2_Msk /*!< Compare register 2 */
85448544
8545-
85468545/******************************************************************************/
85478546/* */
85488547/* Public Key Accelerator (PKA) */
@@ -10570,6 +10569,9 @@ typedef struct
1057010569#define RNG_HTCR_HTCFG_Pos (0U)
1057110570#define RNG_HTCR_HTCFG_Msk (0xFFFFFFFFUL << RNG_HTCR_HTCFG_Pos) /*!< 0xFFFFFFFF */
1057210571#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)
1057310575
1057410576
1057510577/******************************************************************************/
@@ -14527,7 +14529,9 @@ typedef struct
1452714529/****************** TIM Instances : supporting OCxREF clear *******************/
1452814530#define IS_TIM_OCXREF_CLEAR_INSTANCE(INSTANCE) (((INSTANCE) == TIM1_NS) || ((INSTANCE) == TIM1_S) || \
1452914531 ((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))
1453114535
1453214536/****************** TIM Instances : supporting bitfield OCCS in SMCR register *******************/
1453314537#define IS_TIM_OCCS_INSTANCE(INSTANCE) (((INSTANCE) == TIM1_NS) || ((INSTANCE) == TIM1_S) || \
0 commit comments