This is an old revision of the document!


RCC: Enable/disable clocks for peripherals and reset peripherals

The peripherals can be controlled by the following 3 register sets:

  • The xxxENR registers enable or disable the clocks for the peripherals.
  • The xxxLPENR registers enable or disable the clocks for the peripherals in sleep mode.
  • The xxxRSTR registers can reset a peripheral.























zEN0Peripheral clock disabled
zEN1Peripheral clock enabled



zLPEN0Peripheral clock disabled during sleep mode
zLPEN1Peripheral clock enabled during sleep mode



zLPEN0Peripheral not reset
zLPEN1Resets peripheral
  • stm32/peripherals/rcc_peripherals.1672168679.txt.gz
  • Last modified: 2022/12/27 19:17
  • by ruan