Hi,
I am using App Timer for measuring time and at the same time while loop to check if the timer reached particular time.
I have noticed during while loop App Timer event doesn't seems to work. Is this correct?
Regards Siva
Hi,
I am using App Timer for measuring time and at the same time while loop to check if the timer reached particular time.
I have noticed during while loop App Timer event doesn't seems to work. Is this correct?
Regards Siva
In what interrupt priority do you check the timer value in a loop? If it is running in the same or higher priority than the application timer, your timeout event handler will never be called as it must wait for the other (same or higher priority) interrupt handler / event handler to finish first.
Hi Einar, Thanks for your advise. I am also thinking to use another "App timer" with low priority such that I will use it to call "Peace_Mask-Active()" event once every few seconds(It doesn't has to be very accurate).
I didn't find a correct syntax to change priorities for App timer can you advice on this please. Also want to know which RTCs has been used while using multiple app timer functions.
Hi Einar, Thanks for your advise. I am also thinking to use another "App timer" with low priority such that I will use it to call "Peace_Mask-Active()" event once every few seconds(It doesn't has to be very accurate).
I didn't find a correct syntax to change priorities for App timer can you advice on this please. Also want to know which RTCs has been used while using multiple app timer functions.