Searched refs:days (Results 1 – 5 of 5) sorted by relevance
128 uint32_t days; in RTC_ConvertSecondsToDatetime() local140 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in RTC_ConvertSecondsToDatetime()154 while (days > daysInYear) in RTC_ConvertSecondsToDatetime()157 days -= daysInYear; in RTC_ConvertSecondsToDatetime()179 if (days <= daysPerMonth[i]) in RTC_ConvertSecondsToDatetime()186 days -= daysPerMonth[i]; in RTC_ConvertSecondsToDatetime()190 datetime->day = (uint8_t)days; in RTC_ConvertSecondsToDatetime()
165 uint32_t secondsRemaining, days; in SNVS_HP_ConvertSecondsToDatetime() local178 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in SNVS_HP_ConvertSecondsToDatetime()192 while (days > daysInYear) in SNVS_HP_ConvertSecondsToDatetime()195 days -= daysInYear; in SNVS_HP_ConvertSecondsToDatetime()217 if (days <= daysPerMonth[x]) in SNVS_HP_ConvertSecondsToDatetime()224 days -= daysPerMonth[x]; in SNVS_HP_ConvertSecondsToDatetime()228 datetime->day = (uint8_t)days; in SNVS_HP_ConvertSecondsToDatetime()
160 uint32_t secondsRemaining, days; in SNVS_LP_ConvertSecondsToDatetime() local173 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in SNVS_LP_ConvertSecondsToDatetime()187 while (days > daysInYear) in SNVS_LP_ConvertSecondsToDatetime()190 days -= daysInYear; in SNVS_LP_ConvertSecondsToDatetime()212 if (days <= daysPerMonth[x]) in SNVS_LP_ConvertSecondsToDatetime()219 days -= daysPerMonth[x]; in SNVS_LP_ConvertSecondsToDatetime()223 datetime->day = (uint8_t)days; in SNVS_LP_ConvertSecondsToDatetime()
126 uint32_t secondsRemaining, days; in RTC_ConvertSecondsToDatetime() local139 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in RTC_ConvertSecondsToDatetime()153 while (days > daysInYear) in RTC_ConvertSecondsToDatetime()156 days -= daysInYear; in RTC_ConvertSecondsToDatetime()178 if (days <= daysPerMonth[x]) in RTC_ConvertSecondsToDatetime()185 days -= daysPerMonth[x]; in RTC_ConvertSecondsToDatetime()189 datetime->day = (uint8_t)days; in RTC_ConvertSecondsToDatetime()