aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2024-01-13 07:13:23 +0000
committerGitHub <[email protected]>2024-01-13 07:13:23 +0000
commit6ff0e4bcf5fbcccd8ae52cc83be7ed9f83b66fde (patch)
treef20395419b10a30f572f01a6c74b202eb1a287f9
parent02e8c111f49646273b8129864e3bcefaffdae1f0 (diff)
parentd2d9175a1dce7c52173dfac74711287dc799e81b (diff)
Merge pull request #2444 from barnabywalters/isr-faq
Added manual ISR FAQ
-rw-r--r--docs/modules/ROOT/pages/faq.adoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/modules/ROOT/pages/faq.adoc b/docs/modules/ROOT/pages/faq.adoc
index fd355827b..b33623053 100644
--- a/docs/modules/ROOT/pages/faq.adoc
+++ b/docs/modules/ROOT/pages/faq.adoc
@@ -159,3 +159,7 @@ Note that the git revision should match any other embassy patches or git depende
159When you aren't using the `nightly` feature of `embassy-executor`, the executor uses a bump allocator, which may require configuration. 159When you aren't using the `nightly` feature of `embassy-executor`, the executor uses a bump allocator, which may require configuration.
160 160
161Check out link:https://docs.embassy.dev/embassy-executor/git/cortex-m/index.html#task-arena[Task Arena Documentation] for more details. 161Check out link:https://docs.embassy.dev/embassy-executor/git/cortex-m/index.html#task-arena[Task Arena Documentation] for more details.
162
163== Can I use manual ISRs alongside Embassy?
164
165Yes! This can be useful if you need to respond to an event as fast as possible, and the latency caused by the usual “ISR, wake, return from ISR, context switch to woken task” flow is too much for your application. Simply define a `#[interrupt] fn INTERRUPT_NAME() {}` handler as you would link:https://docs.rust-embedded.org/book/start/interrupts.html[in any other embedded rust project]. \ No newline at end of file