Searched refs:high2 (Results 1 – 1 of 1) sorted by relevance
1590 uint16_t high1 = 0U, high2 = 0U, low = 0U; in RTC_ReadTimeCounter() local1595 high2 = READ_REG(hrtc->Instance->CNTH & RTC_CNTH_RTC_CNT); in RTC_ReadTimeCounter()1597 if (high1 != high2) in RTC_ReadTimeCounter()1601 timecounter = (((uint32_t) high2 << 16U) | READ_REG(hrtc->Instance->CNTL & RTC_CNTL_RTC_CNT)); in RTC_ReadTimeCounter()