-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drivers/periph_timer: add timer_query_freqs() #16349
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please squash & rebase |
bcd8d5a
to
7c0db04
Compare
7c0db04
to
70a06a2
Compare
maribu
commented
Aug 31, 2021
Done. Thanks for the reminder! |
8dede12
to
2a75413
Compare
This was referenced Dec 5, 2023
kaspar030
approved these changes
Dec 5, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK.
(please change to plural as discussed - timer_query_freq()
-> timer_query_freqs()
)
2a75413
to
3474c40
Compare
Allow accessing supported timer frequencies with a dedicated API. This API needs to be implemented per platform and is available with the feature periph_timer_query_freqs.
If the feature periph_timer_query_freqs is provided, use the corresponding function to iterate over all supported frequencies to increase test coverage.
3474c40
to
3bc6494
Compare
🎉 thx! |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: build system
Area: Build system
Area: drivers
Area: Device drivers
Area: Kconfig
Area: Kconfig integration
Area: tests
Area: tests and testing framework
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
Type: new feature
The issue requests / The PR implemements a new feature for RIOT
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contribution description
Allow accessing supported timer frequencies with a dedicated API.
This API needs to be implemented per platform and is available with
the feature
periph_timer_query_freqs
.Testing procedure
The test in
tests/periph_timer
has been extended to make use of the new API to increase test coverage.Issues/PRs references
Implementations: