/* RTC Alarm interrupt handler. Clear the RTC interrupt flag and  */
void RTCAIntHandler(void)
/* RTC Alarm interrupt handler. Clear the RTC interrupt flag and  */
void RTCAIntHandler(void)
{
    unsigned long ulEventFlags;
    ulEventFlags = (xHWREG(RTC_SR) & RTC_SR_TAF );
    xHWREG(RTC_TAR) = 0x00;
    if(g_pfnRTCHandlerCallbacks[0] != 0)
    {
        g_pfnRTCHandlerCallbacks[0](0, 0, ulEventFlags, 0);
    }
}