/* Enables or Disables the one pulse immediate active function.  */
void TimerUpdateConfigure(unsigned long ulBase, unsigned long ulUpdate)
/* Enables or Disables the one pulse immediate active function.  */
void TimerUpdateConfigure(unsigned long ulBase, unsigned long ulUpdate)
{
    xASSERT((ulBase == TIMER1_BASE) || (ulBase == TIMER0_BASE));
    xASSERT((ulUpdate == TIMER_UPDATE_EVENT_EN) || 
            (ulUpdate == TIMER_UPDATE_EVENT_DIS));
    if(ulUpdate == TIMER_UPDATE_EVENT_EN)
    {
        xHWREG(ulBase + TIMER_CNTCFR) &= ~TIMER_CNTCFR_UEVDIS;     
    }
    else
    {
        xHWREG(ulBase + TIMER_CNTCFR) |= TIMER_CNTCFR_UEVDIS; 
    }    
}