Forum Discussion
JWall40
New Contributor
4 years agoIs it possible to break out of a function after X amount of time has passed?
I have a function at the start of my main loop that is updating some local buffers from an ethernet interface.
The problem is, sometimes this hangs and takes about 50x the amount of time it should ...
- 4 years ago
Hi @JWall40,
Thank you for posting in Intel community forum and hope all is well.
If I understand your doubts correctly, you can look into using the internal timer core with irq enable for your purpose.More details can be found here in explaining the behavior and functions.
And to implement it, perhaps you can refer to the started steps by step example here.
Hope that clarify your doubts.Best Wishes
BB
BoonBengT_Altera
Moderator
4 years agoHi @JWall40,
Good day, just checking in to see if there is any further doubts in regards to this matter.
Hope we have clarify your doubts.
Best Wishes
BB
JWall40
New Contributor
4 years agoYes, all sorted now. Thanks for your help!