Skip to content
Commit 2fe54b44 authored by Joakim Andersson's avatar Joakim Andersson Committed by Fabio Baltieri
Browse files

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: default avatarJoakim Andersson <joerchan@gmail.com>
parent d851bb9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment