+ //\r
+ // if the alarm is disable, record the current setting.\r
+ //\r
+ RtcTime.Second = RtcRead (RTC_ADDRESS_SECONDS_ALARM);\r
+ RtcTime.Minute = RtcRead (RTC_ADDRESS_MINUTES_ALARM);\r
+ RtcTime.Hour = RtcRead (RTC_ADDRESS_HOURS_ALARM);\r
+ RtcTime.Day = RtcRead (RTC_ADDRESS_DAY_OF_THE_MONTH);\r
+ RtcTime.Month = RtcRead (RTC_ADDRESS_MONTH);\r
+ RtcTime.Year = RtcRead (RTC_ADDRESS_YEAR);\r
+ RtcTime.TimeZone = Global->SavedTimeZone;\r
+ RtcTime.Daylight = Global->Daylight;\r