/* Clears the specified interrupt(s) for the specified PWM generator block. */
void PWMGenIntClear(unsigned long ulBase, unsigned long ulGen, unsigned long ulInts)
/* Clears the specified interrupt(s) for the specified PWM generator block. */
void PWMGenIntClear(unsigned long ulBase, unsigned long ulGen, unsigned long ulInts)
{
    ASSERT((ulBase == PWM0_BASE) || (ulBase == PWM1_BASE));
    ASSERT(PWMGenValid(ulGen));
    ASSERT((ulInts & ~(PWM_INT_CNT_ZERO | PWM_INT_CNT_LOAD | PWM_INT_CNT_AU |
                       PWM_INT_CNT_AD | PWM_INT_CNT_BU | PWM_INT_CNT_BD)) ==
           0);
    HWREG(PWM_GEN_BADDR(ulBase, ulGen) + PWM_O_X_ISC) = ulInts;
}