Searched refs:high1 (Results 1 – 1 of 1) sorted by relevance
1590 uint16_t high1 = 0U, high2 = 0U, low = 0U; in RTC_ReadTimeCounter() local1593 high1 = READ_REG(hrtc->Instance->CNTH & RTC_CNTH_RTC_CNT); in RTC_ReadTimeCounter()1597 if (high1 != high2) in RTC_ReadTimeCounter()1607 timecounter = (((uint32_t) high1 << 16U) | low); in RTC_ReadTimeCounter()1654 uint16_t high1 = 0U, low = 0U; in RTC_ReadAlarmCounter() local1656 high1 = READ_REG(hrtc->Instance->ALRH & RTC_CNTH_RTC_CNT); in RTC_ReadAlarmCounter()1659 return (((uint32_t) high1 << 16U) | low); in RTC_ReadAlarmCounter()