/* The function is used to Enable or disable PD_WU interrupt function and enable 64 clock cycle delay to wait oscillator clock stable.  */
void SysCtlPWRWUIntEnable(xtBoolean bEnable, xtBoolean bDelay)
/* The function is used to Enable or disable PD_WU interrupt function and enable 64 clock cycle delay to wait oscillator clock stable.  */
void SysCtlPWRWUIntEnable(xtBoolean bEnable, xtBoolean bDelay)
{
    SysCtlKeyAddrUnlock();
    if(bEnable)
    {
        xHWREG(SYSCLK_PWRCON) |= SYSCLK_PWRCON_PD_INT_EN;
        if(bDelay)
        {
            xHWREG(SYSCLK_PWRCON) |= SYSCLK_PWRCON_WU_DLY;
        }
        else
        {
            xHWREG(SYSCLK_PWRCON) &= ~SYSCLK_PWRCON_WU_DLY;
        }
    }
    else
    {
        xHWREG(SYSCLK_PWRCON) &= ~SYSCLK_PWRCON_PD_INT_EN;
        xHWREG(SYSCLK_PWRCON) &= ~SYSCLK_PWRCON_WU_DLY;
    }
    SysCtlKeyAddrLock();
}