When my TM4C129X goes to hibernation, I shut down VDD via an enable pin on the 3V3 switcher that is plugged to the HIB_N pin.
I have a push button switch that toggles WAKE_N to ground, hence awakening the part from hibernation. Up to this point everything is as it should.
Now I want to use that same pushbutton to put the part into hibernation again. I searched the datasheet but couldn't find out how to set the WAKE_N pin as GPIO input. Is that really not possible?
I thought about connecting the pushbutton to a GPIO pin in addition to WAKE_N, but I'm not sure it would work, since WAKE_N is pulled high by VBAT and VDD is 0V during hibernation.
Any suggestions?