stm32 /stm32h5 /STM32H503 /RCC /RCC_CFGR2

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as RCC_CFGR2

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0HPRE0PPRE10PPRE20PPRE30 (B_0x0)AHB1DIS 0 (B_0x0)AHB2DIS 0 (B_0x0)AHB4DIS 0 (B_0x0)APB1DIS 0 (B_0x0)APB2DIS 0 (B_0x0)APB3DIS

AHB4DIS=B_0x0, APB3DIS=B_0x0, AHB2DIS=B_0x0, APB1DIS=B_0x0, AHB1DIS=B_0x0, APB2DIS=B_0x0

Description

RCC CPU domain clock configuration register 2

Fields

HPRE

AHB prescaler Set and reset by software to control the division factor of rcc_hclk. Changing this division ratio has an impact on the frequency of all bus matrix clocks 0xxx: rcc_hclk = sys_ck (default after reset)

8 (B_0x8): rcc_hclk = sys_ck / 2

9 (B_0x9): rcc_hclk = sys_ck / 4

10 (B_0xA): rcc_hclk = sys_ck / 8

11 (B_0xB): rcc_hclk = sys_ck / 16

12 (B_0xC): rcc_hclk = sys_ck / 64

13 (B_0xD): rcc_hclk = sys_ck / 128

14 (B_0xE): rcc_hclk = sys_ck / 256

15 (B_0xF): rcc_hclk = sys_ck / 512

PPRE1

APB low-speed prescaler (APB1) Set and reset by software to control the division factor of rcc_pclk1. The clock is divided by the new prescaler factor from 1 to 16 cycles of rcc_hclk after PPRE write. 0xx: rcc_pclk1 = rcc_hclk1 (default after reset)

4 (B_0x4): rcc_pclk1 = rcc_hclk1 / 2

5 (B_0x5): rcc_pclk1 = rcc_hclk1 / 4

6 (B_0x6): rcc_pclk1 = rcc_hclk1 / 8

7 (B_0x7): rcc_pclk1 = rcc_hclk1 / 16

PPRE2

APB high-speed prescaler (APB2) Set and reset by software to control APB high-speed clocks division factor. The clocks are divided with the new prescaler factor from 1 to 16 APB cycles after PPRE2 write. 0xx: rcc_pclk2 = rcc_hclk1

4 (B_0x4): rcc_pclk2 = rcc_hclk1 / 2

5 (B_0x5): rcc_pclk2 = rcc_hclk1 / 4

6 (B_0x6): rcc_pclk2 = rcc_hclk1 / 8

7 (B_0x7): rcc_pclk2 = rcc_hclk1 / 16

PPRE3

APB low-speed prescaler (APB3) Set and reset by software to control APB low-speed clocks division factor. The clocks are divided with the new prescaler factor from 1 to 16 APB cycles after PPRE3 write. 0xx: rcc_pclk3 = rcc_hclk1

4 (B_0x4): rcc_pclk3 = rcc_hclk1 / 2

5 (B_0x5): rcc_pclk3 = rcc_hclk1 / 4

6 (B_0x6): rcc_pclk3 = rcc_hclk1 / 8

7 (B_0x7): rcc_pclk3 = rcc_hclk1 / 16

AHB1DIS

AHB1 clock disable This bit can be set in order to further reduce power consumption, when none of the AHB1 peripherals from RCC_AHB1ENR are used and when their clocks are disabled in RCC_AHB1ENR. When this bit is set, all the AHB1 peripherals clocks from RCC_AHB1ENR are off. enable control bits

0 (B_0x0): AHB1 clock enabled, distributed to peripherals according to their dedicated clock

1 (B_0x1): AHB1 clock disabled

AHB2DIS

AHB2 clock disable This bit can be set in order to further reduce power consumption, when none of the AHB2 peripherals from RCC_AHB2ENR are used and when their clocks are disabled in RCC_AHB2ENR. When this bit is set, all the AHB2 peripherals clocks from RCC_AHB2ENR are off. enable control bits

0 (B_0x0): AHB2 clock enabled, distributed to peripherals according to their dedicated clock

1 (B_0x1): AHB2 clock disabled

AHB4DIS

AHB4 clock disable This bit can be set in order to further reduce power consumption, when none of the AHB4 peripherals from RCC_AHB4ENR are used and when their clocks are disabled in RCC_AHB4ENR. When this bit is set, all the AHB4 peripherals clocks from RCC_AHB4ENR are off. enable control bits

0 (B_0x0): AHB4 clock enabled, distributed to peripherals according to their dedicated clock

1 (B_0x1): AHB4 clock disabled

APB1DIS

APB1 clock disable value 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. control bits

0 (B_0x0): APB1 clock enabled, distributed to peripherals according to their dedicated clock enable

1 (B_0x1): APB1 clock disabled

APB2DIS

APB2 clock disable value 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. control bits

0 (B_0x0): APB2 clock enabled, distributed to peripherals according to their dedicated clock enable

1 (B_0x1): APB2 clock disabled

APB3DIS

APB3 clock disable value.Set and cleared by software This bit can be set in order to further reduce power consumption, when none of the APB3 peripherals are used and when their clocks are disabled in RCC_APB3ENR. When this bit is set, all the APB3 peripherals clocks are off. control bits

0 (B_0x0): APB3 clock enabled, distributed to peripherals according to their dedicated clock enable

1 (B_0x1): APB3 clock disabled

Links

()