@@ -3739,6 +3739,9 @@ typedef struct
37393739#define PWR_CR2_PVDRT_0 (0x1UL << PWR_CR2_PVDRT_Pos) /*!< 0x00000010 */
37403740#define PWR_CR2_PVDRT_1 (0x2UL << PWR_CR2_PVDRT_Pos) /*!< 0x00000020 */
37413741#define PWR_CR2_PVDRT_2 (0x4UL << PWR_CR2_PVDRT_Pos) /*!< 0x00000040 */
3742+ #define PWR_CR2_PVMEN_DAC_Pos (7U)
3743+ #define PWR_CR2_PVMEN_DAC_Msk (0x1UL << PWR_CR2_PVMEN_DAC_Pos) /*!< 0x00000080 */
3744+ #define PWR_CR2_PVMEN_DAC PWR_CR2_PVMEN_DAC_Msk /*!< DAC supply voltage monitoring enable */
37423745
37433746/******************** Bit definition for PWR_CR3 register ********************/
37443747#define PWR_CR3_EWUP_Pos (0U)
@@ -3831,6 +3834,9 @@ typedef struct
38313834#define PWR_SR2_PVDO_Pos (11U)
38323835#define PWR_SR2_PVDO_Msk (0x1UL << PWR_SR2_PVDO_Pos) /*!< 0x00000800 */
38333836#define PWR_SR2_PVDO PWR_SR2_PVDO_Msk /*!< Power voltage detector output */
3837+ #define PWR_SR2_PVMO_DAC_Pos (15U)
3838+ #define PWR_SR2_PVMO_DAC_Msk (0x1UL << PWR_SR2_PVMO_DAC_Pos) /*!< 0x00008000 */
3839+ #define PWR_SR2_PVMO_DAC PWR_SR2_PVMO_DAC_Msk /*!< VDDA monitoring output flag */
38343840
38353841/******************** Bit definition for PWR_SCR register ********************/
38363842#define PWR_SCR_CWUF_Pos (0U)
@@ -4217,6 +4223,12 @@ typedef struct
42174223#define RCC_CFGR_SW_1 (0x2UL << RCC_CFGR_SW_Pos) /*!< 0x00000002 */
42184224#define RCC_CFGR_SW_2 (0x4UL << RCC_CFGR_SW_Pos) /*!< 0x00000004 */
42194225
4226+ #define RCC_CFGR_SW_HSISYS (0x00000000UL) /*!< HSISYS oscillator selection as system clock */
4227+ #define RCC_CFGR_SW_HSE (0x00000001UL) /*!< HSE oscillator selection as system clock */
4228+ #define RCC_CFGR_SW_PLLRCLK (0x00000002UL) /*!< PLLRCLK selection as system clock */
4229+ #define RCC_CFGR_SW_LSI (0x00000003UL) /*!< LSI oscillator selection as system clock */
4230+ #define RCC_CFGR_SW_LSE (0x00000004UL) /*!< LSE oscillator selection as system clock */
4231+
42204232/*!< SWS configuration */
42214233#define RCC_CFGR_SWS_Pos (3U)
42224234#define RCC_CFGR_SWS_Msk (0x7UL << RCC_CFGR_SWS_Pos) /*!< 0x00000038 */
@@ -4816,6 +4828,9 @@ typedef struct
48164828*/
48174829#define RTC_WAKEUP_SUPPORT
48184830#define RTC_BACKUP_SUPPORT
4831+ #define RTC_TAMP_INT_NB 4u
4832+ #define RTC_TAMP_NB 2u
4833+ #define RTC_BACKUP_NB 5u
48194834
48204835/******************** Bits definition for RTC_TR register *******************/
48214836#define RTC_TR_PM_Pos (22U)
@@ -6573,7 +6588,7 @@ typedef struct
65736588
65746589/******************* Bit definition for TIM_CCR5 register *******************/
65756590#define TIM_CCR5_CCR5_Pos (0U)
6576- #define TIM_CCR5_CCR5_Msk (0xFFFFFFFFUL << TIM_CCR5_CCR5_Pos) /*!< 0xFFFFFFFF */
6591+ #define TIM_CCR5_CCR5_Msk (0xFFFFUL << TIM_CCR5_CCR5_Pos) /*!< 0xFFFF */
65776592#define TIM_CCR5_CCR5 TIM_CCR5_CCR5_Msk /*!<Capture/Compare 5 Value */
65786593#define TIM_CCR5_GC5C1_Pos (29U)
65796594#define TIM_CCR5_GC5C1_Msk (0x1UL << TIM_CCR5_GC5C1_Pos) /*!< 0x20000000 */
0 commit comments