Home
last modified time | relevance | path

Searched refs:high2 (Results 1 – 1 of 1) sorted by relevance

/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_rtc.c1590 uint16_t high1 = 0U, high2 = 0U, low = 0U; in RTC_ReadTimeCounter() local
1595 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()