Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/rtl872xd/hal/pwrmgmt_hal/
A Dboard_cpu_pwr_rtc.c41 static uint32_t timer_counter_start = 0; variable
52 timer_counter_start = SYSTIMER_TickGet(); in rtc_one_shot_start()
60 if (timer_counter_end >= timer_counter_start) { in rtc_one_shot_stop()
61 *pPassedUs = (timer_counter_end - timer_counter_start) * (uint64_t)1000000 / TIMER_FREQ; in rtc_one_shot_stop()
63 …*pPassedUs = (0xffffffff + timer_counter_end - timer_counter_start) * (uint64_t)1000000 / TIMER_FR… in rtc_one_shot_stop()

Completed in 2 milliseconds