Searched refs:secondsRemaining (Results 1 – 5 of 5) sorted by relevance
127 uint32_t secondsRemaining; in RTC_ConvertSecondsToDatetime() local135 secondsRemaining = seconds; in RTC_ConvertSecondsToDatetime()140 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in RTC_ConvertSecondsToDatetime()143 secondsRemaining = secondsRemaining % SECONDS_IN_A_DAY; in RTC_ConvertSecondsToDatetime()146 datetime->hour = (uint8_t)(secondsRemaining / SECONDS_IN_A_HOUR); in RTC_ConvertSecondsToDatetime()147 secondsRemaining = secondsRemaining % SECONDS_IN_A_HOUR; in RTC_ConvertSecondsToDatetime()148 datetime->minute = (uint8_t)(secondsRemaining / 60U); in RTC_ConvertSecondsToDatetime()149 datetime->second = (uint8_t)(secondsRemaining % SECONDS_IN_A_MINUTE); in RTC_ConvertSecondsToDatetime()
165 uint32_t secondsRemaining, days; in SNVS_HP_ConvertSecondsToDatetime() local173 secondsRemaining = seconds; in SNVS_HP_ConvertSecondsToDatetime()178 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in SNVS_HP_ConvertSecondsToDatetime()181 secondsRemaining = secondsRemaining % SECONDS_IN_A_DAY; in SNVS_HP_ConvertSecondsToDatetime()184 datetime->hour = (uint8_t)(secondsRemaining / SECONDS_IN_A_HOUR); in SNVS_HP_ConvertSecondsToDatetime()185 secondsRemaining = secondsRemaining % SECONDS_IN_A_HOUR; in SNVS_HP_ConvertSecondsToDatetime()186 datetime->minute = (uint8_t)(secondsRemaining / 60U); in SNVS_HP_ConvertSecondsToDatetime()187 datetime->second = (uint8_t)(secondsRemaining % SECONDS_IN_A_MINUTE); in SNVS_HP_ConvertSecondsToDatetime()
160 uint32_t secondsRemaining, days; in SNVS_LP_ConvertSecondsToDatetime() local168 secondsRemaining = seconds; in SNVS_LP_ConvertSecondsToDatetime()173 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in SNVS_LP_ConvertSecondsToDatetime()176 secondsRemaining = secondsRemaining % SECONDS_IN_A_DAY; in SNVS_LP_ConvertSecondsToDatetime()179 datetime->hour = (uint8_t)(secondsRemaining / SECONDS_IN_A_HOUR); in SNVS_LP_ConvertSecondsToDatetime()180 secondsRemaining = secondsRemaining % SECONDS_IN_A_HOUR; in SNVS_LP_ConvertSecondsToDatetime()181 datetime->minute = (uint8_t)(secondsRemaining / 60U); in SNVS_LP_ConvertSecondsToDatetime()182 datetime->second = (uint8_t)(secondsRemaining % SECONDS_IN_A_MINUTE); in SNVS_LP_ConvertSecondsToDatetime()
126 uint32_t secondsRemaining, days; in RTC_ConvertSecondsToDatetime() local134 secondsRemaining = seconds; in RTC_ConvertSecondsToDatetime()139 days = secondsRemaining / SECONDS_IN_A_DAY + 1U; in RTC_ConvertSecondsToDatetime()142 secondsRemaining = secondsRemaining % SECONDS_IN_A_DAY; in RTC_ConvertSecondsToDatetime()145 datetime->hour = (uint8_t)(secondsRemaining / SECONDS_IN_A_HOUR); in RTC_ConvertSecondsToDatetime()146 secondsRemaining = secondsRemaining % SECONDS_IN_A_HOUR; in RTC_ConvertSecondsToDatetime()147 datetime->minute = (uint8_t)(secondsRemaining / 60U); in RTC_ConvertSecondsToDatetime()148 datetime->second = (uint8_t)(secondsRemaining % SECONDS_IN_A_MINUTE); in RTC_ConvertSecondsToDatetime()