/* Forces CHxOREF waveform to active or inactive level. 
The  */
void TimerForcedOREF(unsigned long ulBase, unsigned long ulChannel, unsigned long ForcedAction)
/* Forces CHxOREF waveform to active or inactive level. 
The  */
void TimerForcedOREF(unsigned long ulBase, unsigned long ulChannel, unsigned long ForcedAction)
{
    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((ForcedAction == TIMER_OM_FORCED_INACTIVE) || 
            (ForcedAction == TIMER_OM_FORCED_ACTIVE));
    xHWREG(ulBase + TIMER_CH0OCFR  + ulChannel * 4) &= ~TIMER_CH0OCFR_CH0OM_M;
    xHWREG(ulBase + TIMER_CH0OCFR  + ulChannel * 4) |= ForcedAction;
}