Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include: gpio: Add isr_ok to interrupt configure API
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>
- Loading branch information