Hi,
I want to have an application timer which times out for every .'n' milliseconds.
I came across two timer function Util_constructClock & Icall_setTimer.
Which is the best API to use ?
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I want to have an application timer which times out for every .'n' milliseconds.
I came across two timer function Util_constructClock & Icall_setTimer.
Which is the best API to use ?
Thanks
Hi,
Please take a look at the Timers section in the User's Guide for an overview on the available timers.
For your use case I think you should use the clockP module, take a look at the Task 3 - Create a oneshot or periodic clock using clockP module SLA for more details
I hope this will help,
Tanguy