Searched refs:hours (Results 1 – 1 of 1) sorted by relevance
805 uint32_t counter_time = 0U, counter_alarm = 0U, days_elapsed = 0U, hours = 0U; in HAL_RTC_GetTime() local826 hours = counter_time / 3600U; in HAL_RTC_GetTime()830 if (hours >= 24U) in HAL_RTC_GetTime()833 days_elapsed = (hours / 24U); in HAL_RTC_GetTime()836 sTime->Hours = (hours % 24U); in HAL_RTC_GetTime()887 sTime->Hours = hours; in HAL_RTC_GetTime()916 uint32_t counter_time = 0U, counter_alarm = 0U, hours = 0U; in HAL_RTC_SetDate() local964 hours = counter_time / 3600U; in HAL_RTC_SetDate()965 if (hours > 24U) in HAL_RTC_SetDate()968 counter_time -= ((hours / 24U) * 24U * 3600U); in HAL_RTC_SetDate()