Searched refs:daysInYear (Results 1 – 5 of 5) sorted by relevance
126 uint16_t daysInYear; in RTC_ConvertSecondsToDatetime() local152 daysInYear = DAYS_IN_A_YEAR; in RTC_ConvertSecondsToDatetime()154 while (days > daysInYear) in RTC_ConvertSecondsToDatetime()157 days -= daysInYear; in RTC_ConvertSecondsToDatetime()163 daysInYear = DAYS_IN_A_YEAR; in RTC_ConvertSecondsToDatetime()167 daysInYear = DAYS_IN_A_YEAR + 1U; in RTC_ConvertSecondsToDatetime()
166 uint16_t daysInYear; in SNVS_HP_ConvertSecondsToDatetime() local190 daysInYear = DAYS_IN_A_YEAR; in SNVS_HP_ConvertSecondsToDatetime()192 while (days > daysInYear) in SNVS_HP_ConvertSecondsToDatetime()195 days -= daysInYear; in SNVS_HP_ConvertSecondsToDatetime()201 daysInYear = DAYS_IN_A_YEAR; in SNVS_HP_ConvertSecondsToDatetime()205 daysInYear = DAYS_IN_A_YEAR + 1U; in SNVS_HP_ConvertSecondsToDatetime()
161 uint16_t daysInYear; in SNVS_LP_ConvertSecondsToDatetime() local185 daysInYear = DAYS_IN_A_YEAR; in SNVS_LP_ConvertSecondsToDatetime()187 while (days > daysInYear) in SNVS_LP_ConvertSecondsToDatetime()190 days -= daysInYear; in SNVS_LP_ConvertSecondsToDatetime()196 daysInYear = DAYS_IN_A_YEAR; in SNVS_LP_ConvertSecondsToDatetime()200 daysInYear = DAYS_IN_A_YEAR + 1U; in SNVS_LP_ConvertSecondsToDatetime()
127 uint16_t daysInYear; in RTC_ConvertSecondsToDatetime() local151 daysInYear = DAYS_IN_A_YEAR; in RTC_ConvertSecondsToDatetime()153 while (days > daysInYear) in RTC_ConvertSecondsToDatetime()156 days -= daysInYear; in RTC_ConvertSecondsToDatetime()162 daysInYear = DAYS_IN_A_YEAR; in RTC_ConvertSecondsToDatetime()166 daysInYear = DAYS_IN_A_YEAR + 1U; in RTC_ConvertSecondsToDatetime()