diff --git a/data/registers/rcc_u5.yaml b/data/registers/rcc_u5.yaml index 2c46840..b25f9ef 100644 --- a/data/registers/rcc_u5.yaml +++ b/data/registers/rcc_u5.yaml @@ -1576,27 +1576,22 @@ fieldset/CFGR2: description: "AHB1 clock disable\r This bit can be set in order to further reduce power consumption, when none of the AHB1 peripherals (except those listed hereafter) are used and when their clocks are disabled in RCC_AHB1ENR. When this bit is set, all the AHB1 peripherals clocks are off, except for FLASH, BKPSRAM, ICACHE, DCACHE1 and SRAM1." bit_offset: 16 bit_size: 1 - enum: AHBDIS - name: AHB2DIS1 description: "AHB2_1 clock disable\r This bit can be set in order to further reduce power consumption, when none of the AHB2 peripherals from RCC_AHB2ENR1 (except SRAM2 and SRAM3) are used and when their clocks are disabled in RCC_AHB2ENR1. When this bit is set, all the AHB2 peripherals clocks from RCC_AHB2ENR1 are off, except for SRAM2 and SRAM3." bit_offset: 17 bit_size: 1 - enum: AHBDIS - name: AHB2DIS2 description: "AHB2_2 clock disable\r This bit can be set in order to further reduce power consumption, when none of the AHB2 peripherals from RCC_AHB2ENR2 are used and when their clocks are disabled in RCC_AHB2ENR2. When this bit is set, all the AHB2 peripherals clocks from RCC_AHB2EBNR2 are off." bit_offset: 18 bit_size: 1 - enum: AHBDIS - name: APB1DIS description: "APB1 clock disable\r This bit can be set in order to further reduce power consumption, when none of the APB1 peripherals (except IWDG) are used and when their clocks are disabled in RCC_APB1ENR. When this bit is set, all the APB1 peripherals clocks are off, except for IWDG." bit_offset: 19 bit_size: 1 - enum: APBDIS - name: APB2DIS description: "APB2 clock disable\r This bit can be set in order to further reduce power consumption, when none of the APB2 peripherals are used and when their clocks are disabled in RCC_APB2ENR. When this bit is set, all the APB2 peripherals clocks are off." bit_offset: 20 bit_size: 1 - enum: APBDIS fieldset/CFGR3: description: "RCC clock configuration register 3 " fields: @@ -1609,12 +1604,10 @@ fieldset/CFGR3: description: "AHB3 clock disable\r This bit can be set in order to further reduce power consumption, when none of the AHB3 peripherals (except SRAM4) are used and when their clocks are disabled in RCC_AHB3ENR. When this bit is set, all the AHB3 peripherals clocks are off, except for SRAM4." bit_offset: 16 bit_size: 1 - enum: AHBDIS - name: APB3DIS description: "APB3 clock disable\r This bit can be set in order to further reduce power consumption, when none of the APB3 peripherals from RCC_APB3ENR are used and when their clocks are disabled in RCC_APB3ENR. When this bit is set, all the APB3 peripherals clocks are off." bit_offset: 17 bit_size: 1 - enum: APBDIS fieldset/CICR: description: "RCC clock interrupt clear register " fields: @@ -1900,37 +1893,30 @@ fieldset/CSR: description: "Option byte loader reset flag\r Set by hardware when a reset from the option byte loading occurs.\r Cleared by writing to the RMVF bit." bit_offset: 25 bit_size: 1 - enum: OBLRSTF - name: PINRSTF description: "NRST pin reset flag\r Set by hardware when a reset from the NRST pin occurs.\r Cleared by writing to the RMVF bit." bit_offset: 26 bit_size: 1 - enum: PINRSTF - name: BORRSTF description: "BOR flag\r Set by hardware when a BOR occurs.\r Cleared by writing to the RMVF bit." bit_offset: 27 bit_size: 1 - enum: BORRSTF - name: SFTRSTF description: "Software reset flag\r Set by hardware when a software reset occurs.\r Cleared by writing to the RMVF bit." bit_offset: 28 bit_size: 1 - enum: SFTRSTF - name: IWDGRSTF description: "Independent watchdog reset flag\r Set by hardware when an independent watchdog reset domain occurs.\r Cleared by writing to the RMVF bit." bit_offset: 29 bit_size: 1 - enum: IWDGRSTF - name: WWDGRSTF description: "Window watchdog reset flag\r Set by hardware when a window watchdog reset occurs.\r Cleared by writing to the RMVF bit." bit_offset: 30 bit_size: 1 - enum: WWDGRSTF - name: LPWRRSTF description: "Low-power reset flag\r Set by hardware when a reset occurs due to Stop, Standby or Shutdown mode entry, whereas the corresponding nRST_STOP, nRST_STBY or nRST_SHDW option bit is cleared.\r Cleared by writing to the RMVF bit." bit_offset: 31 bit_size: 1 - enum: LPWRRSTF fieldset/ICSCR1: description: "RCC internal clock sources calibration register 1 " fields: @@ -2338,69 +2324,42 @@ fieldset/SRDAMR: enum/ADCDACSEL: bit_size: 3 variants: - - name: B_0x0 + - name: HCLK description: HCLK clock selected value: 0 - - name: B_0x1 + - name: SYSCLK description: SYSCLK selected value: 1 - - name: B_0x2 + - name: PLL2_R description: PLL2 R (pll2_r_ck) selected value: 2 - - name: B_0x3 + - name: HSE description: HSE clock selected value: 3 - - name: B_0x4 + - name: HSI16 description: HSI16 clock selected value: 4 - - name: B_0x5 + - name: MSI_K description: MSIK clock selected value: 5 enum/ADFSEL: bit_size: 3 variants: - - name: B_0x0 + - name: HCLK description: HCLK selected value: 0 - - name: B_0x1 + - name: PLL1_P description: PLL1 P (pll1_p_ck) selected value: 1 - - name: B_0x2 + - name: PLL3_Q description: PLL3 Q (pll3_q_ck) selected value: 2 - - name: B_0x3 + - name: AUDIOCLK description: input pin AUDIOCLK selected value: 3 - - name: B_0x4 + - name: MSIK description: MSIK clock selected value: 4 -enum/AHBDIS: - bit_size: 1 - variants: - - name: B_0x0 - description: "AHB2_2 clock enabled, distributed to peripherals according to their dedicated clock enable control bits" - value: 0 - - name: B_0x1 - description: AHB2_2 clock disabled - value: 1 -enum/APBDIS: - bit_size: 1 - variants: - - name: B_0x0 - description: "APB2 clock enabled, distributed to peripherals according to their dedicated clock enable control bits" - value: 0 - - name: B_0x1 - description: APB2 clock disabled - value: 1 -enum/BORRSTF: - bit_size: 1 - variants: - - name: B_0x0 - description: No BOR occurred - value: 0 - - name: B_0x1 - description: BOR occurred - value: 1 enum/CSSF: bit_size: 1 variants: @@ -2545,15 +2504,6 @@ enum/ICSEL: - name: B_0x3 description: MSIK selected value: 3 -enum/IWDGRSTF: - bit_size: 1 - variants: - - name: B_0x0 - description: No independent watchdog reset occurred - value: 0 - - name: B_0x1 - description: Independent watchdog reset occurred - value: 1 enum/LPTIMSEL: bit_size: 2 variants: @@ -2587,15 +2537,6 @@ enum/LPUARTSEL: - name: MSIK description: MSIK selected value: 4 -enum/LPWRRSTF: - bit_size: 1 - variants: - - name: B_0x0 - description: No illegal low-power mode reset occurred - value: 0 - - name: B_0x1 - description: Illegal low-power mode reset occurred - value: 1 enum/LSCOSEL: bit_size: 1 variants: @@ -2956,15 +2897,6 @@ enum/NSPRIV: - name: B_0x1 description: Read and write to RCC non-secure functions can be done by privileged access only. value: 1 -enum/OBLRSTF: - bit_size: 1 - variants: - - name: B_0x0 - description: No reset from option byte loading occurred - value: 0 - - name: B_0x1 - description: Reset from option byte loading occurred - value: 1 enum/OCTOSPISEL: bit_size: 2 variants: @@ -2980,15 +2912,6 @@ enum/OCTOSPISEL: - name: PLL2_Q description: "PLL2 Q (pll2_q_ck) selected, can be up to 200 MHz" value: 3 -enum/PINRSTF: - bit_size: 1 - variants: - - name: B_0x0 - description: No reset from NRST pin occurred - value: 0 - - name: B_0x1 - description: Reset from NRST pin occurred - value: 1 enum/PLLM: bit_size: 4 variants: @@ -3199,15 +3122,6 @@ enum/SDMMCSEL: - name: B_0x1 description: "PLL1 P (pll1_p_ck) selected, in case higher than 48 MHz is needed (for SDR50 mode) " value: 1 -enum/SFTRSTF: - bit_size: 1 - variants: - - name: B_0x0 - description: No software reset occurred - value: 0 - - name: B_0x1 - description: Software reset occurred - value: 1 enum/SHSIRDY: bit_size: 1 variants: @@ -3349,15 +3263,6 @@ enum/USARTSEL: - name: LSE description: LSE selected value: 3 -enum/WWDGRSTF: - bit_size: 1 - variants: - - name: B_0x0 - description: No window watchdog reset occurred - value: 0 - - name: B_0x1 - description: Window watchdog reset occurred - value: 1 enum/SECURITY: bit_size: 1 variants: