/* Disable RTC Timer wake-up function that chip can be waken up from power down mode by Time Tick or Alarm Match.  */
void RTCWakeupDisable(void)
/* Disable RTC Timer wake-up function that chip can be waken up from power down mode by Time Tick or Alarm Match.  */
void RTCWakeupDisable(void)
{
    xHWREG(RTC_IER) &= ~RTC_IER_WPON;
    xHWREG(RTC_CR) &= ~RTC_CR_WPE;
}