Interrupt Handlers + Async #2868
-
For UART and SPI, how to set async functions as handlers for interrupts of Async versions (like Uart)? Ex: And can I manage the priorities between embassy tasks and interrupt handler functions? |
Beta Was this translation helpful? Give feedback.
Answered by
Dominaezzz
Dec 29, 2024
Replies: 2 comments 7 replies
-
Or is there a more ergonomic way to await some interrupt being triggered within an embassy task (avoiding the handler)? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Trying to replicate the
|
Beta Was this translation helpful? Give feedback.
7 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Because the interrupts are being used to provide the async features. If you mess with the interrupts, the async APIs may not work correctly.