/* Disable the PWM interrupt of the PWM module. 
The  */
void PWMIntDisable(unsigned long ulBase, unsigned long ulChannel, unsigned long ulIntType)
/* Disable the PWM interrupt of the PWM module. 
The  */
void PWMIntDisable(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_CAP_BOTH) || (ulIntType == PWM_INT_CAP_FALL) ||
            (ulIntType == PWM_INT_CAP_RISE) || (ulIntType == PWM_INT_PWM));
    if (ulIntType == PWM_INT_PWM)
    {
        xHWREG(ulBase + PWM_PIER) &= ~(PWM_PIER_PWMIE0 << ulChannelTemp);
    }
    else
    {
        xHWREG(ulBase + PWM_CCR0 + (ulChannelTemp >> 1)*4) &= 
        ~(ulIntType << ((ulChannel % 2) ? 16 : 0));
    }
}