/* Gets the interrupt status for a PWM module. */
unsigned long PWMIntStatus(unsigned long ulBase, tBoolean bMasked)
/* Gets the interrupt status for a PWM module. */
unsigned long PWMIntStatus(unsigned long ulBase, tBoolean bMasked)
{
    ASSERT((ulBase == PWM0_BASE) || (ulBase == PWM1_BASE));
    if(bMasked == true)
    {
        return(HWREG(ulBase + PWM_O_ISC));
    }
    else
    {
        return(HWREG(ulBase + PWM_O_RIS));
    }
}