/* Clear the PWM interrupt flag of the PWM module. 
The  */
void PWMIntFlagClear(unsigned long ulBase, unsigned long ulChannel, unsigned long ulIntType)
/* Clear the PWM interrupt flag of the PWM module. 
The  */
void PWMIntFlagClear(unsigned long ulBase, unsigned long ulChannel, unsigned long ulIntType)
{
    unsigned long ulChannelTemp; 
    ulChannelTemp = (ulBase == PWMA_BASE) ? ulChannel : (ulChannel - 4);
    xASSERT((ulBase == PWMA_BASE) || (ulBase == PWMB_BASE));
    xASSERT(((ulChannelTemp >= 0) || (ulChannelTemp <= 3)));
    xASSERT((ulIntType == PWM_INT_CHXCC) || (ulIntType == PWM_INT_UEV1));
    if (ulIntType == PWM_INT_UEV1)
    {
        xHWREG(ulBase + TIMER_INTSR) &= ~ulIntType;
    }
    else
    {
        xHWREG(ulBase + TIMER_INTSR) &= ~(PWM_INT_CHXCC << ulChannelTemp);
    } 
}