/* Enables or Disables the one pulse immediate active function. 
The  */
void TimerCHConfigure(unsigned long ulBase, unsigned long ulChannel, unsigned long ulControl)
/* Enables or Disables the one pulse immediate active function. 
The  */
void TimerCHConfigure(unsigned long ulBase, unsigned long ulChannel, unsigned long ulControl)
{
    xASSERT((ulBase == TIMER1_BASE) || (ulBase == TIMER0_BASE));
    xASSERT((ulChannel == TIMER_CH_0) || (ulChannel == TIMER_CH_1) ||
            (ulChannel == TIMER_CH_2) || (ulChannel == TIMER_CH_3)); 
    xASSERT((ulControl == TIMER_CHCTL_DISABLE) || 
            (ulControl == TIMER_CHCTL_ENABLE));
    xHWREG(ulBase + TIMER_CHCTR) &= ~(1 << (ulChannel * 2));
    xHWREG(ulBase + TIMER_CHCTR) |= (ulControl << (ulChannel * 2)); 
}