This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Wake pin not working TM4C129EXL

I have a TM4C129EXL launchpad.. I am trying the Hibernation module and referring to the examples of the Tiva series , I tried the following code to perform the hibernation and wake up. The problem I am facing is that , I have programmed the LED D2 connected to the PN0 to glow for wake condition and to turn off in the hibernate state.. BUt what I noticed is, the Wake Pin has no effect although LED D2 turns off for 0.5 sec every 11seconds.. Here is my code

#include <stdint.h>
#include <stdbool.h>
#include "utils/ustdlib.h"
#include "inc/hw_types.h"
#include "inc/hw_memmap.h"
#include "driverlib/sysctl.h"
#include "driverlib/pin_map.h"
#include "driverlib/debug.h"
#include "driverlib/hibernate.h"
#include "driverlib/gpio.h"
int main(void)
{
SysCtlClockSet(SYSCTL_SYSDIV_5|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN);
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPION);
GPIOPinTypeGPIOOutput(GPIO_PORTN_BASE, GPIO_PIN_0);
GPIOPinWrite(GPIO_PORTN_BASE,GPIO_PIN_0, 0x01);
SysCtlPeripheralEnable(SYSCTL_PERIPH_HIBERNATE);
HibernateEnableExpClk(SysCtlClockGet());
HibernateGPIORetentionEnable();
SysCtlDelay(64000000);
HibernateWakeSet(HIBERNATE_WAKE_PIN);
GPIOPinWrite(GPIO_PORTN_BASE,GPIO_PIN_0, 0x00);
HibernateRequest();
while(1)
{
}
}

Also do I need to specify the Wake pin number or just the command 

HibernateWakeSet(HIBERNATE_WAKE_PIN); 
is enough.. Thanking you