/* Disable the PWM interrupt of the PWM module. 
//! The  */
void xPWMIntDisable(unsigned long ulBase, unsigned long ulChannel, unsigned long ulIntType)
/* Disable the PWM interrupt of the PWM module. 
//! The  */
void xPWMIntDisable(unsigned long ulBase, unsigned long ulChannel, unsigned long ulIntType)
{
    xASSERT(ulBase == PWMA_BASE);
    xASSERT(((ulChannel >= 0) || (ulChannel <= 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 << ulChannel);
    }
    else
    {
        xHWREG(ulBase + PWM_CCR0 + (ulChannel >> 1)*4) &= 
        ~(ulIntType << ((ulChannel % 2) ? 16 : 0));
    }
}