/* Check this year is a leap year or not.  */
xtBoolean RTCIsLeapYear(void)
/* Check this year is a leap year or not.  */
xtBoolean RTCIsLeapYear(void)
{
    return (xHWREG(RTC_LIR) == 0x1) ? xtrue : xfalse;
}