This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

get app timer current count

Hi,

i set the app_timer to fire every 60 seconds app_timer_start(m_Timer_id, APP_TIMER_TICKS(60000, APP_TIMER_PRESCALER), NULL);

Is it possible to get the current couter,for example, after 30 seconds?

I need to have an RTC counter discretized to milli seconds and to get the current time every time fires an random event.

If i set app_timer_start(m_Timer_id, APP_TIMER_TICKS(1, APP_TIMER_PRESCALER), NULL); but in this way the micro will wake up every 1ms, so i will have the high power consumption.

thanks

Thanks

Related