Home
last modified time | relevance | path

Searched refs:high1 (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
1593 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() local
1656 high1 = READ_REG(hrtc->Instance->ALRH & RTC_CNTH_RTC_CNT); in RTC_ReadAlarmCounter()
1659 return (((uint32_t) high1 << 16U) | low); in RTC_ReadAlarmCounter()