/* Disable AIC channel of RTC and both tick and alarm interrupt.  */
UINT32 RTC_Close(void)
/* Disable AIC channel of RTC and both tick and alarm interrupt.  */
UINT32 RTC_Close(void)
{
    g_bIsEnableTickInt = FALSE;
    sysDisableInterrupt(RTC_IRQn);
    RTC_Ioctl(0, RTC_IOC_DISABLE_INT, RTC_ALL_INT, 0);
    return E_RTC_SUCCESS;
}