/* This function enables the GPIO pin state to be maintained during hibernation and remain active even when waking from hibernation. The GPIO module itself is reset upon entering hibernation and no longer controls the output pins. To maintain the current output level after waking from hibernation, the GPIO module must be reconfigured and then the  */
void HibernateGPIORetentionEnable(void)
/* This function enables the GPIO pin state to be maintained during hibernation and remain active even when waking from hibernation. The GPIO module itself is reset upon entering hibernation and no longer controls the output pins. To maintain the current output level after waking from hibernation, the GPIO module must be reconfigured and then the  */
void HibernateGPIORetentionEnable(void)
{
    HWREG(HIB_CTL) |= HIB_CTL_VDD3ON;
    _HibernateWriteComplete();
}