/* Enables the RTC in the Hibernation module. The RTC can be used to wake the processor from hibernation at a certain time, or to generate interrupts at certain times. This function must be called before using any of the RTC features of the Hibernation module. */
void HibernateRTCEnable(void)
/* Enables the RTC in the Hibernation module. The RTC can be used to wake the processor from hibernation at a certain time, or to generate interrupts at certain times. This function must be called before using any of the RTC features of the Hibernation module. */
void HibernateRTCEnable(void)
{
    HWREG(HIB_CTL) |= HIB_CTL_RTCEN;
}