aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/internals/tasks.md
diff options
context:
space:
mode:
Diffstat (limited to 'book/en/src/internals/tasks.md')
-rw-r--r--book/en/src/internals/tasks.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/book/en/src/internals/tasks.md b/book/en/src/internals/tasks.md
index dd3638a..995a885 100644
--- a/book/en/src/internals/tasks.md
+++ b/book/en/src/internals/tasks.md
@@ -1,6 +1,6 @@
# Software tasks
-RTFM supports software tasks and hardware tasks. Each hardware task is bound to
+RTIC supports software tasks and hardware tasks. Each hardware task is bound to
a different interrupt handler. On the other hand, several software tasks may be
dispatched by the same interrupt handler -- this is done to minimize the number
of interrupts handlers used by the framework.
@@ -27,7 +27,7 @@ Let's first take a look the code generated by the framework to dispatch tasks.
Consider this example:
``` rust
-#[rtfm::app(device = ..)]
+#[rtic::app(device = ..)]
const APP: () = {
// ..
@@ -183,7 +183,7 @@ const APP: () = {
});
// pend the interrupt that runs the task dispatcher
- rtfm::pend(Interrupt::UART0);
+ rtic::pend(Interrupt::UART0);
}
None => {
@@ -252,7 +252,7 @@ const APP: () = {
});
// pend the interrupt that runs the task dispatcher
- rtfm::pend(Interrupt::UART0);
+ rtic::pend(Interrupt::UART0);
}
None => {
@@ -315,7 +315,7 @@ lock-free.
## Queue capacity
-The RTFM framework uses several queues like ready queues and free queues. When
+The RTIC framework uses several queues like ready queues and free queues. When
the free queue is empty trying to `spawn` a task results in an error; this
condition is checked at runtime. Not all the operations performed by the
framework on these queues check if the queue is empty / full. For example,
@@ -356,7 +356,7 @@ endpoint is owned by a task dispatcher.
Consider the following example:
``` rust
-#[rtfm::app(device = ..)]
+#[rtic::app(device = ..)]
const APP: () = {
#[idle(spawn = [foo, bar])]
fn idle(c: idle::Context) -> ! {