/* The PWMA default IRQ, declared in start up code.  */
void PWMAIntHandler(void)
/* The PWMA default IRQ, declared in start up code.  */
void PWMAIntHandler(void)
{
    unsigned long ulPWMStastus;
    unsigned long ulBase = PWMA_BASE;
    ulPWMStastus = xHWREG(ulBase + PWM_PIIR) & 0x3F3F;
    xHWREG(ulBase + PWM_PIIR) = ulPWMStastus;
    if (g_pfnPWMHandlerCallbacks[0] != 0)
    {
        if(ulPWMStastus != 0)
        {
            g_pfnPWMHandlerCallbacks[0](0, PWM_EVENT_PWM, ulPWMStastus, 0);
        }
    }
}