Home
last modified time | relevance | path

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

/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/
A Dbflb_mtimer.c45 volatile uint64_t tmp_low, tmp_high, tmp_low1, tmp_high1; in bflb_mtimer_get_time_us() local
51 tmp_low1 = getreg32(CLIC_CTRL_BASE + CLIC_MTIME_OFFSET); in bflb_mtimer_get_time_us()
56 tmp_low1 = (uint64_t)csi_coret_get_value(); in bflb_mtimer_get_time_us()
59 } while (tmp_low > tmp_low1 || tmp_high != tmp_high1); in bflb_mtimer_get_time_us()
61 …return ((uint64_t)(((tmp_high1 << 32) + tmp_low1)) * ((uint64_t)(1 * 1000 * 1000)) / bflb_mtimer_g… in bflb_mtimer_get_time_us()
63 return (uint64_t)(((tmp_high1 << 32) + tmp_low1)); in bflb_mtimer_get_time_us()

Completed in 4 milliseconds