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

Start Timer in other Timer Timeout Handler

Hi,

Is it possible to start a Timer in an other Timeouht Handler? Or Do i have to use something other to do that? i use app_timer and Softdeive on the 51822.

best regards Nils.

Parents
  • Yes, this should be perfectly possible. All context-sensitive handling inside app_timer is done in a software triggered interrupt, so it doesn't matter from which context you call it.

    You should however consider the size of your APP_TIMER_OP_QUEUE_SIZE if you do this a lot. See this question for details.

Reply
  • Yes, this should be perfectly possible. All context-sensitive handling inside app_timer is done in a software triggered interrupt, so it doesn't matter from which context you call it.

    You should however consider the size of your APP_TIMER_OP_QUEUE_SIZE if you do this a lot. See this question for details.

Children
No Data