/* Check RTC status flag. This function is used to check whether special flag is set or not.  */
xtBoolean RTCIntFlagCheck(unsigned long ulFlags)
/* Check RTC status flag. This function is used to check whether special flag is set or not.  */
xtBoolean RTCIntFlagCheck(unsigned long ulFlags)
{
    xASSERT( !(ulFlags & ~( RTC_INT_INC | RTC_INT_ALARM )));
    if(xHWREG(RTC_BASE + RTC_ILR) & ulFlags)
    {
        return (xtrue);
    }
    else
    {
        return (xfalse);
    }
}