/* Disables generator and fault interrupts for a PWM module. */
void PWMIntDisable(unsigned long ulBase, unsigned long ulGenFault)
/* Disables generator and fault interrupts for a PWM module. */
void PWMIntDisable(unsigned long ulBase, unsigned long ulGenFault)
{
    ASSERT((ulBase == PWM0_BASE) || (ulBase == PWM1_BASE));
    ASSERT((ulGenFault & ~(PWM_INT_GEN_0 | PWM_INT_GEN_1 | PWM_INT_GEN_2 |
                           PWM_INT_GEN_3 | PWM_INT_FAULT0 | PWM_INT_FAULT1 |
                           PWM_INT_FAULT2 | PWM_INT_FAULT3)) == 0);
    HWREG(ulBase + PWM_O_INTEN) &= ~(ulGenFault);
}