What happens when I turn off a peripheral clock ?
Hi, I'm designing a low power application using a L452RE. In order to keep the power consumption to the minimum I turn ON and OFF the peripheral clocks only when I need to use the peripheral. My question is what happens to the peripheral registers when its clock is turned OFF ? Are they reset to their defaults values ? I would say no, but I want a confirmation here.
Second question is about the typical use of the RCC->AHBRSTR: when would someone reset a peripheral ?
Many thanks,
Kraal
#peripheral-clock #peripheral-reset