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

app_scheduler / app_timer

Is there some documentation somewhere to explain how these work?

I kinda understand but in app_timer, why use a software interrupt of the same priority as the RTC interrupt? Why not just call timer_list_handler() ?

If its to minimize time in the interrupt handler, surely checking for timeouts timer_timeouts_check() and updating the list should all be done in the software interrupt handler with the swi being called from the RTC interrupt (so it can finish).

Or maybe Im completely missing the point? ;)

Parents
  • What kind of example are you looking at? Some of the SDK examples use it, so you can refer to those, for example ble_app_hids_keyboard.

Reply
  • What kind of example are you looking at? Some of the SDK examples use it, so you can refer to those, for example ble_app_hids_keyboard.

Children
No Data