Skip to content
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

include: gpio: Add isr_ok to interrupt configure API #79373

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joerchan
Copy link
Contributor

@joerchan joerchan commented Oct 3, 2024

Add isr_ok property to the interrupt configure API. For level-triggered interrupt the interrupt may have to be disabled until a thread context can process it and clear the interrupt trigger.

The function is documented as returning an error if it would block. Drivers in zephyr already do this, so if this is not ISR safe function then they need to be fixed.

Add isr_ok property to the interrupt configure API.
For level-triggered interrupt the interrupt may have to be disabled
until a thread context can process it and clear the interrupt trigger.

The function is documented as returning an error if it would block.
Drivers in zephyr already do this, so if this is not ISR safe function
then they need to be fixed.

Signed-off-by: Joakim Andersson <joerchan@gmail.com>
@joerchan joerchan force-pushed the doc-gpio-interrupt-configure-isr-ok branch from d3cebe0 to cfe77c3 Compare October 3, 2024 13:39
@henrikbrixandersen henrikbrixandersen added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: GPIO Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants