/* Check Timer Interrupt Flag. This function is used to check whether special flag is set or not.  */
xtBoolean TimerIntStatusCheck(unsigned long ulBase, unsigned long ulIntFlags)
/* Check Timer Interrupt Flag. This function is used to check whether special flag is set or not.  */
xtBoolean TimerIntStatusCheck(unsigned long ulBase, unsigned long ulIntFlags)
{
    xASSERT((ulBase == TIMER0_BASE) || (ulBase == TIMER1_BASE) ||
            (ulBase == TIMER2_BASE) || (ulBase == TIMER3_BASE) );
    if(xHWREG(ulBase + TIMER_IR) & ulIntFlags)
    {
        return (xtrue);
    }
    else
    {
        return (xfalse);
    }
}