The architectures of Cortex-M4 and Cortex-M7 include RCC_AHB1RSTR register. What is it for? When I use this register for resetting AHB1 bus for any of GPIO ports these ports stop working irrevocably.
Thanks in advance!
Hi Denis,
This register is used to reset a Peripheral on the AHB1 bus. Setting a bit forces the selected peripheral back to it's Power On Reset state.
This is useful if you find a peripheral has stopped working and you want to reset it before re-intialising...
Cheers Bryan
Note: This register is fully under software control. That means setting the bit will not only reset the peripheral, it will hold it in reset until your software clears the bit.