13 #define GPS_TEST_ON_INITIALIZATION _ENABLE_
28 extern volatile unsigned int SysRstIv;
85 while(BAKCTL & LOCKBAK) BAKCTL &= ~(LOCKBAK);
123 unsigned long long ullRTCTimeDifferenceConvertedToTimeTick = 0;
164 unsigned long long ullConvertedSecond = 0;
174 ullConvertedSecond += (ptruniTempRTCTime->
stRTCTime.
ucYear - 1) * 365 * 24 * 60 * 60;
222 ullConvertedSecond += (
long long)24 * 60 * 60;
225 ullConvertedSecond += ((ptruniTempRTCTime->
stRTCTime.
ucDay)-1) * 24 * 60 * 60;
226 ullConvertedSecond += ((ptruniTempRTCTime->
stRTCTime.
ucHour)-1) * 60 * 60;
231 return ullConvertedSecond;
237 #pragma vector=RTC_VECTOR
240 switch(__even_in_range(RTCIV,16))
261 __low_power_mode_off_on_exit();
372 unsigned int uiTemp = 0;
375 if(uiTemp > 999) uiTemp = 0;