I'm working on project which requires MCU will stay in hibernate mode for some time. After wake up it completes its work and again go into the hibernate mode.
Please check below sample code for hibernate:
SysCtlPeripheralEnable(SYSCTL_PERIPH_HIBERNATE);
HibernateEnableExpClk(SysCtlClockGet());
HibernateRTCSet(0);
HibernateRTCEnable();
HibernateRTCMatchSet(0, 5);
HibernateWakeSet(HIBERNATE_WAKE_RTC);
HibernateRequest();
LED_Blinking();
after that code module will go into Hibernate mode for 5 seconds and then wakes up.
But code is never reaching to LED_Blinking() part.
Is my understanding is correct for Hibernate mode??
Thanks & Regards
prasahnt