Part Number: MSPM0G3519
Tool/software:
I have a button configured as GPIO input on PA28 and labeled as MCU_BTNn in syscfg. This is an active low button that when I hold the button down for >3 secs, we call the below shutdown() function, which successfully shuts the application down but does not wake the application up when I press the button. I have verified on my scope that the button is pulling the i/o down to logic 0 when the button is pushed. Does anybody see any issues with my shutdown function that is not properly setting up the wakeup function for that pin?