Searched refs:DAYS_IN_A_YEAR (Results 1 – 5 of 5) sorted by relevance
23 #define DAYS_IN_A_YEAR (365U) macro101 seconds = ((uint32_t)datetime->year - 1970U) * DAYS_IN_A_YEAR; in RTC_ConvertDatetimeToSeconds()152 daysInYear = DAYS_IN_A_YEAR; in RTC_ConvertSecondsToDatetime()163 daysInYear = DAYS_IN_A_YEAR; in RTC_ConvertSecondsToDatetime()167 daysInYear = DAYS_IN_A_YEAR + 1U; in RTC_ConvertSecondsToDatetime()
23 #define DAYS_IN_A_YEAR (365U) macro140 seconds = (((uint32_t)datetime->year - 1970U) * DAYS_IN_A_YEAR); in SNVS_HP_ConvertDatetimeToSeconds()190 daysInYear = DAYS_IN_A_YEAR; 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()
23 #define DAYS_IN_A_YEAR (365U) macro135 seconds = ((uint32_t)datetime->year - 1970U) * DAYS_IN_A_YEAR; in SNVS_LP_ConvertDatetimeToSeconds()185 daysInYear = DAYS_IN_A_YEAR; 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()
23 #define DAYS_IN_A_YEAR (365U) macro101 seconds = ((uint32_t)datetime->year - 1970U) * DAYS_IN_A_YEAR; in RTC_ConvertDatetimeToSeconds()151 daysInYear = DAYS_IN_A_YEAR; in RTC_ConvertSecondsToDatetime()162 daysInYear = DAYS_IN_A_YEAR; in RTC_ConvertSecondsToDatetime()166 daysInYear = DAYS_IN_A_YEAR + 1U; in RTC_ConvertSecondsToDatetime()