-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Timer management API #7520
Comments
CC: @carlescufi @cvinayak |
Noting for posterity that such a feature is likely to interact in complicated ways with tickless kernel support, which in some sense speaks to exactly the same use cases and should be unified. Honestly tickless is a little bitrotten right now -- really we should be using it by default on most platforms where support is available. |
@nordic-krch could you please check if this still applies? |
Hi @andyross, This issue, marked as an Feature Request, was opened a while ago and did not get any traction. It was just assigned to you based on the labels. If you don't consider yourself the right person to address this issue, please re-assing it to the right person. Please take a moment to review if the issue is still relevant to the project. If it is, please provide feedback and direction on how to move forward. If it is not, has already been addressed, is a duplicate, or is no longer relevant, please close it with a short comment explaining the reason. @pizi-nordic you are also encouraged to help moving this issue forward by providing additional information and confirming this request/issue is still relevant to you. Thanks! |
Closing. It seems like most of the practical requirements here have long since been met, we have multiple architectures that can do clock switching across idle. We can always reopen to argue about design, but I think half a decade is enough time for this to have matured. |
The generic timer API provided by the Zephyr does not abstract low-level timer properties, which are essential in low power embedded applications. As result the user is not able to fully utilize hardware capabilities.
We can easily identify four key parameters of each hardware timer in the system:
Depending on the use case and current system state a different timer might be used as a time source.
For example a simple Bluetooth application might use 3 different timers during normal operation:
This issue has been created as a generalization of #6498
Things needed:
The text was updated successfully, but these errors were encountered: