-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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: ISR-friendly driver APIs #6184
Comments
Another facet of entropy drivers which need clarification: #6187 |
No objections to doing this from me.
Mostly. Ones that register callbacks and so forth we intentionally leave out. But yes in the general case they are intended for use from thread context. |
I'm concerned that creating new API with Further comments are in #18970. |
API 2020-07-07: Closing as duplicate of #18970 which is the centerpoint of current plans to document API expectations. |
Statement of problem: Zephyr's driver APIs are designed to be called only from threads, and never from ISRs. There are several aspects that prevent those APIs from being called from an ISR:
Therefore I suggest we extend the current driver APIs where applicable with additional, ISR-friendly API calls that:
_isr
The text was updated successfully, but these errors were encountered: