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

Can I call app_timer_stop in main context? I see many palaces call this function in app_button and in ancs project.

I use the scheduler. All my idea is put an event in interrupt handler(timer event, gpiote event and so on) and schedule it to main loop to let app_sched_execute to handle it. But today I found the app_timer_stop and app_timer_start is called in the interrupt context. I do not use scheduler for app_timer.

Related