/* Get The Timer counter interrupt Status. This function is to get timer interrupt status.  */
xtBoolean xTimerStatusGet(unsigned long ulBase, unsigned long ulChannel, unsigned long ulIntFlags)
/* Get The Timer counter interrupt Status. This function is to get timer interrupt status.  */
xtBoolean xTimerStatusGet(unsigned long ulBase, unsigned long ulChannel, unsigned long ulIntFlags)
{
    xASSERT((ulBase == TIMER0_BASE) || (ulBase == TIMER1_BASE) ||
            (ulBase == TIMER2_BASE) || (ulBase == TIMER3_BASE) );
    xASSERT((ulChannel == xTIMER_CHANNEL0) || (ulChannel == xTIMER_CHANNEL1));
    (void) ulIntFlags;
    if(ulChannel == xTIMER_CHANNEL0)
    {
        return TimerIntStatusCheck(ulBase, TIMER_INT_MAT_CH_0);
    }
    else if(ulChannel == xTIMER_CHANNEL1)
    {
        return TimerIntStatusCheck(ulBase, TIMER_INT_CAP_CH_0);
    }
    else
    {
        return (xfalse);
    }
}