Searched refs:RTC_UNIT_DIFF (Results 1 – 3 of 3) sorted by relevance
27 oddMonth = (month >= RTC_AUGUST) ? (month - RTC_UNIT_DIFF) : month; in RtcGetMonthDays()66 days = time->day - RTC_UNIT_DIFF; in RtcGetWeekDay()81 return ((RTC_BEGIN_WEEKDAY + days - RTC_UNIT_DIFF) % RTC_MAX_WEEKDAY + RTC_UNIT_DIFF); in RtcGetWeekDay()104 days = time->day - RTC_UNIT_DIFF; in RtcTimeToTimestamp()147 time->day += RTC_UNIT_DIFF; in TimestampToRtcTime()
35 #define RTC_UNIT_DIFF 1 macro
261 tester->time.hour = tester->config.hour + RTC_UNIT_DIFF; in RtcReadWriteAlarmTimeTest()329 tester->time.minute = tester->config.minute + RTC_UNIT_DIFF; in RtcAlarmEnableTest()