2018-06-07 12:36 AM
I am using stm32F0 and Stm32L0 series MCUs.
APB1ENR in Stm32 has Power interface clock enable bit (Bit 28). I have gone through the reference document to unserstand what is its significance.
Bit 28 PWREN: Power interface clock enable
Set and cleared by software.0: Power interface clock disabled1: Power interface clock enabledPlease help me to understand it.
2018-06-07 01:45 AM
It enables registers described in chapter Power control (PWR).
JW
2018-06-07 04:00 AM
Hello Sir,
Could you please help me understand how it enables the
registers described in chapter
Power control (PWR)?Thanks,
Ravindra
2018-06-07 04:07 AM
If you don't set the RCC_APB1ENR .PWREN bit, the registers of PWR unit can't be written and reading them returns 0.
JW