/* Gets the current interrupt status of the Hibernation module. */
uint32_t HibernateIntStatus(bool bMasked)
/* Gets the current interrupt status of the Hibernation module. */
uint32_t HibernateIntStatus(bool bMasked)
{
    if(bMasked == true)
    {
        return(HWREG(HIB_MIS));
    }
    else
    {
        return(HWREG(HIB_RIS));
    }
}