shutdown mode concept question
I read that when entering shutdown and waking up through a wakeup pin, the program restarts. If I enter the shutdown in my main method, doesn't that mean that when my MCU wakeup it will restart and then enter the shutdown again in my main method?