diff --git a/data/registers/rcc_u5.yaml b/data/registers/rcc_u5.yaml index 9ead6d7..6996619 100644 --- a/data/registers/rcc_u5.yaml +++ b/data/registers/rcc_u5.yaml @@ -1293,12 +1293,10 @@ fieldset/BDCR: description: "LSE oscillator ready\r Set and cleared by hardware to indicate when the external 32 kHz oscillator is stable. After the LSEON bit is cleared, LSERDY goes low after six external low-speed oscillator clock cycles." bit_offset: 1 bit_size: 1 - enum: LSERDY - name: LSEBYP description: "LSE oscillator bypass\r Set and cleared by software to bypass oscillator in debug mode. This bit can be written only when the external 32 kHz oscillator is disabled (LSEON = 0 and LSERDY = 0)." bit_offset: 2 bit_size: 1 - enum: LSEBYP - name: LSEDRV description: "LSE oscillator drive capability\r Set by software to modulate the drive capability of the LSE oscillator. This field can be written only when the external 32 kHz oscillator is disabled (LSEON = 0 and LSERDY = 0).\r Note: The oscillator is in 'Xtal mode when it is not in bypass mode." bit_offset: 3 @@ -1312,7 +1310,6 @@ fieldset/BDCR: description: "CSS on LSE failure Detection\r Set by hardware to indicate when a failure is detected by the CCS on the external 32 kHz oscillator (LSE)." bit_offset: 6 bit_size: 1 - enum: LSECSSD - name: LSESYSEN description: "LSE system clock (LSESYS) enable\r Set by software to enable always the LSE system clock generated by RCC. This clock can be used by any peripheral when its source clock is the LSE or at system level in case of one of the LSCOSEL, MCO, MSI PLL mode or CSS on LSE is needed.\r The LSESYS clock can be generated even if LSESYSEN= 0 if the LSE clock is requested by the CSS on LSE, by a peripheral or any other source clock using LSE." bit_offset: 7 @@ -1326,7 +1323,6 @@ fieldset/BDCR: description: "LSE system clock (LSESYS) ready\r Set and cleared by hardware to indicate when the LSE system clock is stable.When the LSESYSEN bit is set, the LSESYSRDY flag is set after two LSE clock cycles.\r The LSE clock must be already enabled and stable (LSEON and LSERDY are set).\r When the LSEON bit is cleared, LSERDY goes low after six external low-speed oscillator clock cycles." bit_offset: 11 bit_size: 1 - enum: LSESYSRDY - name: LSEGFON description: "LSE clock glitch filter enable\r Set and cleared by hardware to enable the LSE glitch filter. This bit can be written only when the LSE is disabled (LSEON = 0 and LSERDY = 0)" bit_offset: 12 @@ -1356,7 +1352,6 @@ fieldset/BDCR: description: "LSI oscillator ready\r Set and cleared by hardware to indicate when the LSI oscillator is stable. After the LSION bit is cleared, LSIRDY goes low after three internal low-speed oscillator clock cycles. This bit is set when the LSI is used by IWDG or RTC, even if LSION = 0." bit_offset: 27 bit_size: 1 - enum: LSIRDY - name: LSIPREDIV description: "Low-speed clock divider configuration\r Set and cleared by software to enable the LSI division. This bit can be written only when the LSI is disabled (LSION = 0 and LSIRDY = 0). If the LSI was previously enabled, it is necessary to wait for at least 60 μs after clearing LSION bit (synchronization time for LSI to be really disabled), before writing LSIPREDIV. The LSIPREDIV cannot be changed if the LSI is used by the IWDG or by the RTC." bit_offset: 28 @@ -1533,7 +1528,7 @@ fieldset/CFGR1: description: "system clock switch status\r Set and cleared by hardware to indicate which clock source is used as system clock." bit_offset: 2 bit_size: 2 - enum: SWS + enum: SW - name: STOPWUCK description: "wakeup from Stop and CSS backup clock selection\r Set and cleared by software to select the system clock used when exiting Stop mode.\r The selected clock is also used as emergency clock for the clock security system on HSE. Warning: STOPWUCK must not be modified when the CSS is enabled by HSECSSON bit in RCC_CR and the system clock is HSE (SWS = 10) or a switch on HSE is requested (SW = 10)." bit_offset: 4 @@ -1576,27 +1571,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 +1599,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: @@ -1668,32 +1656,26 @@ fieldset/CIER: description: "LSI ready interrupt enable\r Set and cleared by software to enable/disable interrupt caused by the LSI oscillator stabilization." bit_offset: 0 bit_size: 1 - enum: LSIRDYIE - name: LSERDYIE description: "LSE ready interrupt enable\r Set and cleared by software to enable/disable interrupt caused by the LSE oscillator stabilization." bit_offset: 1 bit_size: 1 - enum: LSERDYIE - name: MSISRDYIE description: "MSIS ready interrupt enable\r Set and cleared by software to enable/disable interrupt caused by the MSIS oscillator stabilization." bit_offset: 2 bit_size: 1 - enum: MSISRDYIE - name: HSIRDYIE description: "HSI16 ready interrupt enable\r Set and cleared by software to enable/disable interrupt caused by the HSI16 oscillator stabilization." bit_offset: 3 bit_size: 1 - enum: HSIRDYIE - name: HSERDYIE description: "HSE ready interrupt enable\r Set and cleared by software to enable/disable interrupt caused by the HSE oscillator stabilization." bit_offset: 4 bit_size: 1 - enum: HSERDYIE - name: HSI48RDYIE description: "HSI48 ready interrupt enable\r Set and cleared by software to enable/disable interrupt caused by the HSI48 oscillator stabilization." bit_offset: 5 bit_size: 1 - enum: HSIRDYIE - name: PLLRDYIE description: "PLL ready interrupt enable\r Set and cleared by software to enable/disable interrupt caused by PLL1 lock." bit_offset: 6 @@ -1701,17 +1683,14 @@ fieldset/CIER: array: len: 3 stride: 1 - enum: PLLRDYIE - name: MSIKRDYIE description: "MSIK ready interrupt enable\r Set and cleared by software to enable/disable interrupt caused by the MSIK oscillator stabilization." bit_offset: 11 bit_size: 1 - enum: MSIKRDYIE - name: SHSIRDYIE description: "SHSI ready interrupt enable\r Set and cleared by software to enable/disable interrupt caused by the SHSI oscillator stabilization." bit_offset: 12 bit_size: 1 - enum: SHSIRDYIE fieldset/CIFR: description: "RCC clock interrupt flag register " fields: @@ -1719,32 +1698,26 @@ fieldset/CIFR: description: "LSI ready interrupt flag\r Set by hardware when the LSI clock becomes stable and LSIRDYIE is set.\r Cleared by software setting the LSIRDYC bit." bit_offset: 0 bit_size: 1 - enum: LSIRDYF - name: LSERDYF description: "LSE ready interrupt flag\r Set by hardware when the LSE clock becomes stable and LSERDYIE is set.\r Cleared by software setting the LSERDYC bit." bit_offset: 1 bit_size: 1 - enum: LSERDYF - name: MSISRDYF description: "MSIS ready interrupt flag\r Set by hardware when the MSIS clock becomes stable and MSISRDYIE is set.\r Cleared by software setting the MSISRDYC bit." bit_offset: 2 bit_size: 1 - enum: MSISRDYF - name: HSIRDYF description: "HSI16 ready interrupt flag\r Set by hardware when the HSI16 clock becomes stable and HSIRDYIE is set in a response to setting the HSION (see RCC_CR). When HSION is not set but the HSI16 oscillator is enabled by the peripheral through a clock request, this bit is not set and no interrupt is generated.\r Cleared by software setting the HSIRDYC bit." bit_offset: 3 bit_size: 1 - enum: HSIRDYF - name: HSERDYF description: "HSE ready interrupt flag\r Set by hardware when the HSE clock becomes stable and HSERDYIE is set.\r Cleared by software setting the HSERDYC bit." bit_offset: 4 bit_size: 1 - enum: HSERDYF - name: HSI48RDYF description: "HSI48 ready interrupt flag\r Set by hardware when the HSI48 clock becomes stable and HSI48RDYIE is set.\r Cleared by software setting the HSI48RDYC bit." bit_offset: 5 bit_size: 1 - enum: HSIRDYF - name: PLLRDYF description: "PLL1 ready interrupt flag\r Set by hardware when the PLL1 locks and PLL1RDYIE is set.\r Cleared by software setting the PLL1RDYC bit." bit_offset: 6 @@ -1752,22 +1725,18 @@ fieldset/CIFR: array: len: 3 stride: 1 - enum: PLLRDYF - name: CSSF description: "Clock security system interrupt flag\r Set by hardware when a failure is detected in the HSE oscillator.\r Cleared by software setting the CSSC bit." bit_offset: 10 bit_size: 1 - enum: CSSF - name: MSIKRDYF description: "MSIK ready interrupt flag\r Set by hardware when the MSIK clock becomes stable and MSIKRDYIE is set.\r Cleared by software setting the MSIKRDYC bit." bit_offset: 11 bit_size: 1 - enum: MSIKRDYF - name: SHSIRDYF description: "SHSI ready interrupt flag\r Set by hardware when the SHSI clock becomes stable and SHSIRDYIE is set.\r Cleared by software setting the SHSIRDYC bit." bit_offset: 12 bit_size: 1 - enum: SHSIRDYF fieldset/CR: description: "RCC clock control register " fields: @@ -1795,7 +1764,6 @@ fieldset/CR: description: "MSIK clock ready flag\r Set by hardware to indicate that the MSIK is stable. This bit is set only when MSI kernel oscillator is enabled by software by setting MSIKON.\r Note: Once the MSIKON bit is cleared, MSIKRDY goes low after six MSIK oscillator clock cycles." bit_offset: 5 bit_size: 1 - enum: MSIKRDY - name: MSIPLLSEL description: "MSI clock with PLL mode selection\r Set and cleared by software to select which MSI output clock uses the PLL mode. This bit can be written only when the MSI PLL mode is disabled (MSIPLLEN = 0).\r Note: If the MSI kernel clock output uses the same oscillator source than the MSI system clock output, then the PLL mode is applied to the both clocks outputs." bit_offset: 6 @@ -1834,7 +1802,6 @@ fieldset/CR: description: "SHSI clock ready flag\r Set by hardware to indicate that the SHSI oscillator is stable. This bit is set only when SHSI is enabled by software by setting SHSION.\r Note: Once the SHSION bit is cleared, SHSIRDY goes low after six SHSI clock cycles." bit_offset: 15 bit_size: 1 - enum: SHSIRDY - name: HSEON description: "HSE clock enable\r Set and cleared by software.\r Cleared by hardware to stop the HSE oscillator when entering Stop, Standby or Shutdown mode. This bit cannot be reset if the HSE oscillator is used directly or indirectly as the system clock." bit_offset: 16 @@ -1847,7 +1814,6 @@ fieldset/CR: description: "HSE crystal oscillator bypass\r Set and cleared by software to bypass the oscillator with an external clock. The external clock must be enabled with the HSEON bit set, to be used by the device. The HSEBYP bit can be written only if the HSE oscillator is disabled." bit_offset: 18 bit_size: 1 - enum: HSEBYP - name: CSSON description: "Clock security system enable\r Set by software to enable the clock security system. When CSSON is set, the clock detector is enabled by hardware when the HSE oscillator is ready, and disabled by hardware if a HSE clock failure is detected. This bit is set only and is cleared by reset." bit_offset: 19 @@ -1885,52 +1851,44 @@ fieldset/CSR: description: "MSIK range after Standby mode\r Set by software to chose the MSIK frequency at startup. This range is used after exiting Standby mode until MSIRGSEL is set. After a NRST pin or a power-on reset or when exiting Shutdown mode, the range is always 4 MHz. MSIKSRANGE can be written only when MSIRGSEL = 1.\r others: reserved\r Note: Changing the MSIKSRANGE does not change the current MSIK frequency." bit_offset: 8 bit_size: 4 - enum: MSIKSRANGE + enum: MSIXSRANGE - name: MSISSRANGE description: "MSIS range after Standby mode\r Set by software to chose the MSIS frequency at startup. This range is used after exiting Standby mode until MSIRGSEL is set. After a NRST pin or a power-on reset or when exiting Shutdown mode, the range is always 4 MHz. MSISSRANGE can be written only when MSIRGSEL = 1.\r others: reserved\r Note: Changing the MSISSRANGE does not change the current MSIS frequency." bit_offset: 12 bit_size: 4 - enum: MSISSRANGE + enum: MSIXSRANGE - name: RMVF description: "Remove reset flag\r Set by software to clear the reset flags." bit_offset: 23 bit_size: 1 - enum: RMVF - name: OBLRSTF 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: @@ -2050,12 +2008,10 @@ fieldset/PLL1DIVR: description: "PLL1 DIVP division factor\r Set and reset by software to control the frequency of the pll1_p_ck clock.\r These bits can be written only when the PLL1 is disabled (PLL1ON = 0 and PLL1RDY = 0).\r Note that odd division factors are not allowed.\r ..." bit_offset: 9 bit_size: 7 - enum: PLLP - name: PLLQ description: "PLL1 DIVQ division factor\r Set and reset by software to control the frequency of the pll1_q_ck clock.\r These bits can be written only when the PLL1 is disabled (PLL1ON = 0 and PLL1RDY = 0).\r ..." bit_offset: 16 bit_size: 7 - enum: PLLQ - name: PLLR description: "PLL1 DIVR division factor\r Set and reset by software to control the frequency of the pll1_r_ck clock.\r These bits can be written only when the PLL1 is disabled (PLL1ON = 0 and PLL1RDY = 0).\r ..." bit_offset: 24 @@ -2112,12 +2068,10 @@ fieldset/PLL2DIVR: description: "PLL2 DIVP division factor\r Set and reset by software to control the frequency of the pll2_p_ck clock.\r These bits can be written only when the PLL2 is disabled (PLL2ON = 0 and PLL2RDY = 0).\r ..." bit_offset: 9 bit_size: 7 - enum: PLLP - name: PLLQ description: "PLL2 DIVQ division factor\r Set and reset by software to control the frequency of the pll2_q_ck clock.\r These bits can be written only when the PLL2 is disabled (PLL2ON = 0 and PLL2RDY = 0).\r ..." bit_offset: 16 bit_size: 7 - enum: PLLQ - name: PLLR description: "PLL2 DIVR division factor\r Set and reset by software to control the frequency of the pll2_r_ck clock.\r These bits can be written only when the PLL2 is disabled (PLL2ON = 0 and PLL2RDY = 0).\r ..." bit_offset: 24 @@ -2177,12 +2131,10 @@ fieldset/PLL3DIVR: description: "PLL3 DIVP division factor\r Set and reset by software to control the frequency of the pll3_p_ck clock.\r These bits can be written only when the PLL3 is disabled (PLL3ON = 0 and PLL3RDY = 0).\r ..." bit_offset: 9 bit_size: 7 - enum: PLLP - name: PLLQ description: "PLL3 DIVQ division factor\r Set and reset by software to control the frequency of the pll3_q_ck clock.\r These bits can be written only when the PLL3 is disabled (PLL3ON = 0 and PLL3RDY = 0).\r ..." bit_offset: 16 bit_size: 7 - enum: PLLQ - name: PLLR description: "PLL3 DIVR division factor\r Set and reset by software to control the frequency of the pll3_r_ck clock.\r These bits can be written only when the PLL3 is disabled (PLL3ON = 0 and PLL3RDY = 0).\r ..." bit_offset: 24 @@ -2201,12 +2153,12 @@ fieldset/PRIVCFGR: description: "RCC secure functions privilege configuration\r Set and reset by software. This bit can be written only by a secure privileged access." bit_offset: 0 bit_size: 1 - enum: SPRIV + enum: PRIV - name: NSPRIV description: "RCC non-secure functions privilege configuration\r Set and reset by software. This bit can be written only by privileged access, secure or non-secure." bit_offset: 1 bit_size: 1 - enum: NSPRIV + enum: PRIV fieldset/SECCFGR: description: "RCC secure configuration register " fields: @@ -2214,37 +2166,37 @@ fieldset/SECCFGR: description: "HSI clock configuration and status bits security\r Set and reset by software." bit_offset: 0 bit_size: 1 - enum: HSISEC + enum: SECURITY - name: HSESEC description: "HSE clock configuration bits, status bits and HSE_CSS security\r Set and reset by software." bit_offset: 1 bit_size: 1 - enum: HSESEC + enum: SECURITY - name: MSISEC description: "MSI clock configuration and status bits security\r Set and reset by software." bit_offset: 2 bit_size: 1 - enum: MSISEC + enum: SECURITY - name: LSISEC description: "LSI clock configuration and status bits security\r Set and reset by software." bit_offset: 3 bit_size: 1 - enum: LSISEC + enum: SECURITY - name: LSESEC description: "LSE clock configuration and status bits security\r Set and reset by software." bit_offset: 4 bit_size: 1 - enum: LSESEC + enum: SECURITY - name: SYSCLKSEC description: "SYSCLK clock selection, STOPWUCK bit, clock output on MCO configuration security\r Set and reset by software." bit_offset: 5 bit_size: 1 - enum: SYSCLKSEC + enum: SECURITY - name: PRESCSEC description: "AHBx/APBx prescaler configuration bits security\r Set and reset by software." bit_offset: 6 bit_size: 1 - enum: PRESCSEC + enum: SECURITY - name: PLLSEC description: "PLL1 clock configuration and status bits security\r Set and reset by software." bit_offset: 7 @@ -2252,22 +2204,22 @@ fieldset/SECCFGR: array: len: 3 stride: 1 - enum: PLLSEC + enum: SECURITY - name: ICLKSEC description: "intermediate clock source selection security\r Set and reset by software." bit_offset: 10 bit_size: 1 - enum: ICLKSEC + enum: SECURITY - name: HSI48SEC description: "HSI48 clock configuration and status bits security\r Set and reset by software." bit_offset: 11 bit_size: 1 - enum: HSISEC + enum: SECURITY - name: RMVFSEC description: "Remove reset flag security\r Set and reset by software." bit_offset: 12 bit_size: 1 - enum: RMVFSEC + enum: SECURITY fieldset/SRDAMR: description: "RCC SmartRun domain peripheral autonomous mode register\t" fields: @@ -2338,97 +2290,61 @@ 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: - - name: B_0x0 - description: No clock security interrupt caused by HSE clock failure - value: 0 - - name: B_0x1 - description: Clock security interrupt caused by HSE clock failure - value: 1 enum/DACSEL: bit_size: 1 variants: - - name: B_0x0 + - name: LSE description: LSE selected value: 0 - - name: B_0x1 + - name: LSI description: LSI selected value: 1 enum/FDCANSEL: bit_size: 2 variants: - - name: B_0x0 + - name: HSE description: "HSE clock selected " value: 0 - - name: B_0x1 + - name: PLL1_Q description: PLL1 Q (pll1_q_ck) selected value: 1 - - name: B_0x2 + - name: PLL2_P description: PLL2 P (pll2_p_ck) selected value: 2 enum/HPRE: @@ -2461,376 +2377,187 @@ enum/HPRE: - name: DIV512 description: SYSCLK divided by 512 value: 15 -enum/HSEBYP: - bit_size: 1 - variants: - - name: B_0x0 - description: HSE crystal oscillator not bypassed - value: 0 - - name: B_0x1 - description: HSE crystal oscillator bypassed with external clock - value: 1 enum/HSEEXT: bit_size: 1 variants: - - name: B_0x0 + - name: ANALOG description: external HSE clock analog mode value: 0 - - name: B_0x1 + - name: DIGITAL description: external HSE clock digital mode (through I/O Schmitt trigger) value: 1 -enum/HSERDYF: - bit_size: 1 - variants: - - name: B_0x0 - description: No clock ready interrupt caused by the HSE oscillator - value: 0 - - name: B_0x1 - description: Clock ready interrupt caused by the HSE oscillator - value: 1 -enum/HSERDYIE: - bit_size: 1 - variants: - - name: B_0x0 - description: HSE ready interrupt disabled - value: 0 - - name: B_0x1 - description: HSE ready interrupt enabled - value: 1 -enum/HSESEC: - bit_size: 1 - variants: - - name: B_0x0 - description: non secure - value: 0 - - name: B_0x1 - description: secure - value: 1 -enum/HSIRDYF: - bit_size: 1 - variants: - - name: B_0x0 - description: No clock ready interrupt caused by the HSI16 oscillator - value: 0 - - name: B_0x1 - description: Clock ready interrupt caused by the HSI16 oscillator - value: 1 -enum/HSIRDYIE: - bit_size: 1 - variants: - - name: B_0x0 - description: HSI16 ready interrupt disabled - value: 0 - - name: B_0x1 - description: HSI16 ready interrupt enabled - value: 1 -enum/HSISEC: - bit_size: 1 - variants: - - name: B_0x0 - description: non secure - value: 0 - - name: B_0x1 - description: secure - value: 1 -enum/ICLKSEC: - bit_size: 1 - variants: - - name: B_0x0 - description: non secure - value: 0 - - name: B_0x1 - description: secure - value: 1 enum/ICLKSEL: bit_size: 2 variants: - - name: B_0x0 + - name: HSI48 description: HSI48 clock selected value: 0 - - name: B_0x1 + - name: PLL2_Q description: PLL2 Q (pll2_q_ck) selected value: 1 - - name: B_0x2 + - name: PLL1_Q description: PLL1 Q (pll1_q_ck) selected value: 2 - - name: B_0x3 + - name: MSIK description: MSIK clock selected value: 3 enum/ICSEL: bit_size: 2 variants: - - name: B_0x0 + - name: PCLK1 description: PCLK1 selected value: 0 - - name: B_0x1 + - name: SYSCLK description: SYSCLK selected value: 1 - - name: B_0x2 + - name: HSI16 description: HSI16 selected value: 2 - - name: B_0x3 + - name: MSIK 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: - - name: B_0x0 + - name: PCLK1 description: PCLK1 selected value: 0 - - name: B_0x1 + - name: LSI description: LSI selected value: 1 - - name: B_0x2 + - name: HSI16 description: HSI16 selected value: 2 - - name: B_0x3 + - name: LSE description: LSE selected value: 3 enum/LPUARTSEL: bit_size: 3 variants: - - name: B_0x0 + - name: PCLK3 description: PCLK3 selected value: 0 - - name: B_0x1 + - name: SYSCLK description: SYSCLK selected value: 1 - - name: B_0x2 + - name: HSI16 description: HSI16 selected value: 2 - - name: B_0x3 + - name: LSE description: LSE selected value: 3 - - name: B_0x4 + - 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: - - name: B_0x0 + - name: LSI description: LSI clock selected value: 0 - - name: B_0x1 + - name: LSE description: LSE clock selected value: 1 -enum/LSEBYP: - bit_size: 1 - variants: - - name: B_0x0 - description: LSE oscillator not bypassed - value: 0 - - name: B_0x1 - description: LSE oscillator bypassed - value: 1 -enum/LSECSSD: - bit_size: 1 - variants: - - name: B_0x0 - description: No failure detected on LSE - value: 0 - - name: B_0x1 - description: Failure detected on LSE - value: 1 enum/LSEDRV: bit_size: 2 variants: - - name: B_0x0 + - name: LOW description: "'Xtal mode lower driving capability" value: 0 - - name: B_0x1 + - name: MEDIUM_LOW description: "'Xtal mode medium-low driving capability" value: 1 - - name: B_0x2 + - name: MEDIUM_HIGH description: "'Xtal mode medium-high driving capability" value: 2 - - name: B_0x3 + - name: HIGH description: "'Xtal mode higher driving capability " value: 3 -enum/LSERDY: - bit_size: 1 - variants: - - name: B_0x0 - description: LSE oscillator not ready - value: 0 - - name: B_0x1 - description: LSE oscillator ready - value: 1 -enum/LSERDYF: - bit_size: 1 - variants: - - name: B_0x0 - description: No clock ready interrupt caused by the LSE oscillator - value: 0 - - name: B_0x1 - description: Clock ready interrupt caused by the LSE oscillator - value: 1 -enum/LSERDYIE: - bit_size: 1 - variants: - - name: B_0x0 - description: LSE ready interrupt disabled - value: 0 - - name: B_0x1 - description: LSE ready interrupt enabled - value: 1 -enum/LSESEC: - bit_size: 1 - variants: - - name: B_0x0 - description: non secure - value: 0 - - name: B_0x1 - description: secure - value: 1 -enum/LSESYSRDY: - bit_size: 1 - variants: - - name: B_0x0 - description: LSESYS clock not ready - value: 0 - - name: B_0x1 - description: LSESYS clock ready - value: 1 enum/LSIPREDIV: bit_size: 1 variants: - - name: B_0x0 + - name: NONE description: LSI not divided value: 0 - - name: B_0x1 + - name: DIV_128 description: LSI divided by 128 value: 1 -enum/LSIRDY: - bit_size: 1 - variants: - - name: B_0x0 - description: LSI oscillator not ready - value: 0 - - name: B_0x1 - description: LSI oscillator ready - value: 1 -enum/LSIRDYF: - bit_size: 1 - variants: - - name: B_0x0 - description: No clock ready interrupt caused by the LSI oscillator - value: 0 - - name: B_0x1 - description: Clock ready interrupt caused by the LSI oscillator - value: 1 -enum/LSIRDYIE: - bit_size: 1 - variants: - - name: B_0x0 - description: LSI ready interrupt disabled - value: 0 - - name: B_0x1 - description: LSI ready interrupt enabled - value: 1 -enum/LSISEC: - bit_size: 1 - variants: - - name: B_0x0 - description: non secure - value: 0 - - name: B_0x1 - description: secure - value: 1 enum/MCOPRE: bit_size: 3 variants: - - name: B_0x0 + - name: NONE description: MCO divided by 1 value: 0 - - name: B_0x1 + - name: DIV2 description: MCO divided by 2 value: 1 - - name: B_0x2 + - name: DIV4 description: MCO divided by 4 value: 2 - - name: B_0x3 + - name: DIV8 description: MCO divided by 8 value: 3 - - name: B_0x4 + - name: DIV16 description: MCO divided by 16 value: 4 enum/MCOSEL: bit_size: 4 variants: - - name: B_0x0 + - name: DISABLE description: "MCO output disabled, no clock on MCO" value: 0 - - name: B_0x1 + - name: SYSCLK description: SYSCLK system clock selected value: 1 - - name: B_0x2 + - name: MSIS description: MSIS clock selected value: 2 - - name: B_0x3 + - name: HSI16 description: HSI16 clock selected value: 3 - - name: B_0x4 + - name: HSE description: HSE clock selected value: 4 - - name: B_0x5 + - name: PLL1_R description: Main PLL clock pll1_r_ck selected value: 5 - - name: B_0x6 + - name: LSI description: LSI clock selected value: 6 - - name: B_0x7 + - name: LSE description: LSE clock selected value: 7 - - name: B_0x8 + - name: HSI48 description: Internal HSI48 clock selected value: 8 - - name: B_0x9 + - name: MSIK description: MSIK clock selected value: 9 enum/MDFSEL: 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/MSIBIAS: bit_size: 1 variants: - - name: B_0x0 + - name: CONTINUOUS description: MSI bias continuous mode (clock accuracy fast settling time) value: 0 - - name: B_0x1 + - name: SAMPLING description: MSI bias sampling mode (ultra-low-power mode) value: 1 enum/MSIRANGE: @@ -2884,67 +2611,40 @@ enum/MSIRANGE: - name: RANGE_100KHZ description: "range 15 around 100 kHz " value: 15 -enum/MSIKRDY: - bit_size: 1 - variants: - - name: B_0x0 - description: MSIK (MSI kernel) oscillator not ready - value: 0 - - name: B_0x1 - description: MSIK (MSI kernel) oscillator ready - value: 1 -enum/MSIKRDYF: - bit_size: 1 - variants: - - name: B_0x0 - description: No clock ready interrupt caused by the MSIK oscillator - value: 0 - - name: B_0x1 - description: Clock ready interrupt caused by the MSIK oscillator - value: 1 -enum/MSIKRDYIE: - bit_size: 1 - variants: - - name: B_0x0 - description: MSIK ready interrupt disabled - value: 0 - - name: B_0x1 - description: MSIK ready interrupt enabled - value: 1 -enum/MSIKSRANGE: +enum/MSIXSRANGE: bit_size: 4 variants: - - name: B_0x4 + - name: RANGE_4MHZ description: "range 4 around 4M Hz (reset value) " value: 4 - - name: B_0x5 + - name: RANGE_2MHZ description: "range 5 around 2 MHz " value: 5 - - name: B_0x6 + - name: RANGE_1_5MHZ description: "range 6 around 1.5 MHz " value: 6 - - name: B_0x7 + - name: RANGE_1MHZ description: "range 7 around 1 MHz " value: 7 - - name: B_0x8 + - name: RANGE_3_072MHZ description: "range 8 around 3.072 MHz " value: 8 enum/MSIPLLFAST: bit_size: 1 variants: - - name: B_0x0 + - name: NORMAL description: MSI PLL normal start-up value: 0 - - name: B_0x1 + - name: FAST description: MSI PLL fast start-up value: 1 enum/MSIPLLSEL: bit_size: 1 variants: - - name: B_0x0 + - name: MSIK description: "PLL mode applied to MSIK (MSI kernel) clock output " value: 0 - - name: B_0x1 + - name: MSIS description: PLL mode applied to MSIS (MSI system) clock output value: 1 enum/MSIRGSEL: @@ -2956,207 +2656,75 @@ enum/MSIRGSEL: - name: RCC_ICSCR1 description: "MSIS/MSIK ranges provided by MSISRANGE[3:0] and MSIKRANGE[3:0] in RCC_ICSCR1" value: 1 -enum/MSISEC: - bit_size: 1 - variants: - - name: B_0x0 - description: non secure - value: 0 - - name: B_0x1 - description: secure - value: 1 -enum/MSISRDYF: - bit_size: 1 - variants: - - name: B_0x0 - description: No clock ready interrupt caused by the MSIS oscillator - value: 0 - - name: B_0x1 - description: Clock ready interrupt caused by the MSIS oscillator - value: 1 -enum/MSISRDYIE: - bit_size: 1 - variants: - - name: B_0x0 - description: MSIS ready interrupt disabled - value: 0 - - name: B_0x1 - description: MSIS ready interrupt enabled - value: 1 -enum/MSISSRANGE: - bit_size: 4 - variants: - - name: B_0x4 - description: "range 4 around 4M Hz (reset value) " - value: 4 - - name: B_0x5 - description: "range 5 around 2 MHz " - value: 5 - - name: B_0x6 - description: "range 6 around 1.5 MHz " - value: 6 - - name: B_0x7 - description: "range 7 around 1 MHz " - value: 7 - - name: B_0x8 - description: "range 8 around 3.072 MHz " - value: 8 -enum/NSPRIV: - bit_size: 1 - variants: - - name: B_0x0 - description: Read and write to RCC non-secure functions can be done by privileged or unprivileged access. - value: 0 - - 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: - - name: B_0x0 + - name: SYSCLK description: SYSCLK selected value: 0 - - name: B_0x1 + - name: MSIK description: MSIK selected value: 1 - - name: B_0x2 + - name: PLL1_Q description: "PLL1 Q (pll1_q_ck) selected, can be up to 200 MHz" value: 2 - - name: B_0x3 + - 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: - - name: B_0x0 + - name: BYPASS description: division by 1 (bypass) value: 0 - - name: B_0x1 + - name: DIV2 description: division by 2 value: 1 - - name: B_0x2 + - name: DIV3 description: division by 3 value: 2 - - name: B_0xF + - name: DIV16 description: division by 16 value: 15 enum/PLLMBOOST: bit_size: 4 variants: - - name: B_0x0 + - name: BYPASS description: division by 1 (bypass) value: 0 - - name: B_0x1 + - name: DIV2 description: division by 2 value: 1 - - name: B_0x2 + - name: DIV4 description: division by 4 value: 2 - - name: B_0x3 + - name: DIV6 description: division by 6 value: 3 - - name: B_0x4 + - name: DIV8 description: division by 8 value: 4 - - name: B_0x5 + - name: DIV10 description: division by 10 value: 5 - - name: B_0x6 + - name: DIV12 description: division by 12 value: 6 - - name: B_0x7 + - name: DIV14 description: division by 14 value: 7 - - name: B_0x8 + - name: DIV16 description: division by 16 value: 8 -enum/PLLP: - bit_size: 7 - variants: - - name: B_0x0 - description: pll3_p_ck = vco3_ck - value: 0 - - name: B_0x1 - description: pll3_p_ck = vco3_ck / 2 (default after reset) - value: 1 - - name: B_0x2 - description: pll3_p_ck = vco3_ck / 3 - value: 2 - - name: B_0x3 - description: pll3_p_ck = vco3_ck / 4 - value: 3 - - name: B_0x7F - description: pll3_p_ck = vco3_ck / 128 - value: 127 -enum/PLLQ: - bit_size: 7 - variants: - - name: B_0x0 - description: "pll3_q_ck = vco3_ck " - value: 0 - - name: B_0x1 - description: pll3_q_ck = vco3_ck / 2 (default after reset) - value: 1 - - name: B_0x2 - description: pll3_q_ck = vco3_ck / 3 - value: 2 - - name: B_0x3 - description: pll3_q_ck = vco3_ck / 4 - value: 3 - - name: B_0x7F - description: pll3_q_ck = vco3_ck / 128 - value: 127 -enum/PLLRDYF: - bit_size: 1 - variants: - - name: B_0x0 - description: No clock ready interrupt caused by PLL1 lock - value: 0 - - name: B_0x1 - description: Clock ready interrupt caused by PLL1 lock - value: 1 -enum/PLLRDYIE: - bit_size: 1 - variants: - - name: B_0x0 - description: PLL1 lock interrupt disabled - value: 0 - - name: B_0x1 - description: PLL1 lock interrupt enabled - value: 1 enum/PLLRGE: bit_size: 2 variants: - - name: B_0x3 + - name: FREQ_4TO8MHZ + description: PLL2 input (ref2_ck) clock range frequency between 4 and 8 MHz + value: 0 + - name: FREQ_8TO16MHZ description: PLL2 input (ref2_ck) clock range frequency between 8 and 16 MHz value: 3 -enum/PLLSEC: - bit_size: 1 - variants: - - name: B_0x0 - description: non secure - value: 0 - - name: B_0x1 - description: secure - value: 1 enum/PLLSRC: bit_size: 2 variants: @@ -3190,172 +2758,100 @@ enum/PPRE: - name: DIV16 description: HCLK divided by 16 value: 7 -enum/PRESCSEC: - bit_size: 1 - variants: - - name: B_0x0 - description: non secure - value: 0 - - name: B_0x1 - description: secure - value: 1 -enum/RMVF: - bit_size: 1 - variants: - - name: B_0x0 - description: No effect - value: 0 - - name: B_0x1 - description: Clear the reset flags - value: 1 -enum/RMVFSEC: - bit_size: 1 - variants: - - name: B_0x0 - description: non secure - value: 0 - - name: B_0x1 - description: secure - value: 1 enum/RNGSEL: bit_size: 2 variants: - - name: B_0x0 + - name: HSI48 description: "HSI48 selected " value: 0 - - name: B_0x1 + - name: HSI48_DIV2 description: "HSI48 / 2 selected, can be used in Range 4" value: 1 - - name: B_0x2 + - name: HSI16 description: HSI16 selected value: 2 enum/RTCSEL: bit_size: 2 variants: - - name: B_0x0 + - name: NONE description: No clock selected value: 0 - - name: B_0x1 + - name: LSE description: LSE oscillator clock selected value: 1 - - name: B_0x2 + - name: LSI description: LSI oscillator clock selected value: 2 - - name: B_0x3 + - name: HSE description: HSE oscillator clock divided by 32 selected value: 3 enum/SAESSEL: bit_size: 1 variants: - - name: B_0x0 + - name: SHSI description: SHSI selected value: 0 - - name: B_0x1 + - name: SHSI_DIV2 description: "SHSI / 2 selected, can be used in Range 4" value: 1 enum/SAISEL: bit_size: 3 variants: - - name: B_0x0 + - name: PLL2_P description: PLL2 P (pll2_p_ck) selected value: 0 - - name: B_0x1 + - name: PLL3_P description: PLL3 P (pll3_p_ck) selected value: 1 - - name: B_0x2 + - name: PLL1_P description: PLL1 P (pll1_p_ck) selected value: 2 - - name: B_0x3 + - name: AUDIOCLK description: input pin AUDIOCLK selected value: 3 - - name: B_0x4 + - name: HSI16 description: HSI16 clock selected value: 4 enum/SDMMCSEL: bit_size: 1 variants: - - name: B_0x0 + - name: ICLK description: ICLK clock selected value: 0 - - name: B_0x1 + - name: PLL1_P 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: - - name: B_0x0 - description: SHSI oscillator not ready - value: 0 - - name: B_0x1 - description: "SHSI oscillator ready " - value: 1 -enum/SHSIRDYF: - bit_size: 1 - variants: - - name: B_0x0 - description: No clock ready interrupt caused by the SHSI oscillator - value: 0 - - name: B_0x1 - description: Clock ready interrupt caused by the SHSI oscillator - value: 1 -enum/SHSIRDYIE: - bit_size: 1 - variants: - - name: B_0x0 - description: SHSI ready interrupt disabled - value: 0 - - name: B_0x1 - description: SHSI ready interrupt enabled - value: 1 enum/SPISEL: bit_size: 2 variants: - - name: B_0x0 + - name: PCLK2 description: PCLK2 selected value: 0 - - name: B_0x1 + - name: SYSCLK description: SYSCLK selected value: 1 - - name: B_0x2 + - name: HSI16 description: HSI16 selected value: 2 - - name: B_0x3 + - name: MSIK description: MSIK selected value: 3 -enum/SPRIV: - bit_size: 1 - variants: - - name: B_0x0 - description: Read and write to RCC secure functions can be done by privileged or unprivileged access. - value: 0 - - name: B_0x1 - description: Read and write to RCC secure functions can be done by privileged access only. - value: 1 enum/STOPKERWUCK: bit_size: 1 variants: - - name: B_0x0 + - name: MSIK description: MSIK oscillator automatically enabled when exiting Stop mode value: 0 - - name: B_0x1 + - name: HSI16 description: HSI16 oscillator automatically enabled when exiting Stop mode value: 1 enum/STOPWUCK: bit_size: 1 variants: - - name: B_0x0 + - name: MSIS description: MSIS oscillator selected as wakeup from stop clock and CSS backup clock value: 0 - - name: B_0x1 + - name: HSI16 description: HSI16 oscillator selected as wakeup from stop clock and CSS backup clock value: 1 enum/SW: @@ -3373,93 +2869,81 @@ enum/SW: - name: PLL1R description: PLL pll1_r_ck selected as system clock value: 3 -enum/SWS: - bit_size: 2 - variants: - - name: B_0x0 - description: MSIS oscillator used as system clock - value: 0 - - name: B_0x1 - description: HSI16 oscillator used as system clock - value: 1 - - name: B_0x2 - description: HSE used as system clock - value: 2 - - name: B_0x3 - description: PLL pll1_r_ck used as system clock - value: 3 -enum/SYSCLKSEC: - bit_size: 1 - variants: - - name: B_0x0 - description: non secure - value: 0 - - name: B_0x1 - description: secure - value: 1 enum/SYSTICKSEL: bit_size: 2 variants: - - name: B_0x0 + - name: HCLK_DIV8 description: HCLK/8 selected value: 0 - - name: B_0x1 + - name: LSI description: LSI selected value: 1 - - name: B_0x2 + - name: LSE description: LSE selected value: 2 enum/TIMICSEL: bit_size: 3 variants: - - name: B_0x4 + - name: NONE + description: "No sources can be selected by TIM16, TIM17 and LPTIM2 as internal input capture" + value: 0 + - name: HSI256_MSIS1024_MSIS4 description: "HSI/256, MSIS/1024 and MSIS/4 generated and can be selected by TIM16, TIM17 and LPTIM2 as internal input capture" value: 4 - - name: B_0x5 + - name: HSI256_MSIS1024_MSIK4 description: "HSI/256, MSIS/1024 and MSIK/4 generated and can be selected by TIM16, TIM17 and LPTIM2 as internal input capture" value: 5 - - name: B_0x6 + - name: HSI256_MSIK1024_MSIS4 description: "HSI/256, MSIK/1024 and MSIS/4 generated and can be selected by TIM16, TIM17 and LPTIM2 as internal input capture" value: 6 - - name: B_0x7 + - name: HSI256_MSIK1024_MSIK4 description: "HSI/256, MSIK/1024 and MSIK/4 generated and can be selected by TIM16, TIM17 and LPTIM2 as internal input capture" value: 7 enum/UARTSEL: bit_size: 2 variants: - - name: B_0x0 + - name: PCLK1 description: PCLK1 selected value: 0 - - name: B_0x1 + - name: SYSCLK description: SYSCLK selected value: 1 - - name: B_0x2 + - name: HSI16 description: HSI16 selected value: 2 - - name: B_0x3 + - name: LSE description: LSE selected value: 3 enum/USARTSEL: bit_size: 2 variants: - - name: B_0x0 + - name: PCLK2 description: PCLK2 selected value: 0 - - name: B_0x1 + - name: SYSCLK description: SYSCLK selected value: 1 - - name: B_0x2 + - name: HSI16 description: HSI16 selected value: 2 - - name: B_0x3 + - name: LSE description: LSE selected value: 3 -enum/WWDGRSTF: +enum/SECURITY: bit_size: 1 variants: - - name: B_0x0 - description: No window watchdog reset occurred + - name: NON_SECURE + description: non secure value: 0 - - name: B_0x1 - description: Window watchdog reset occurred + - name: SECURE + description: secure + value: 1 +enum/PRIV: + bit_size: 1 + variants: + - name: UNPRIVILEGED + description: Read and write to secure functions can be done by privileged or unprivileged access. + value: 0 + - name: PRIVILEGED + description: Read and write to secure functions can be done by privileged access only. value: 1