enter/exit STOP mode with one GPIO pin
Hello everybody,
I want to use the STM32F042G6U6 MCU with one button on PA6 pin if I press the button it should toggle between STOP mode and run. Is this possible at all?
How can I do this? I was able to enter STOP mode or exit from it but I cant toggle it in the same interrupt.
And how does exactly this routine works? When exiting from STOP mode what happens, where is the program start from?
Thanks in advance for the help,
Kok Barnabás
