Skip to content

Commit 70ebcc4

Browse files
n8tlarsenAfoHT
andauthored
Clarify BASEPRI and NVIC interaction
Co-authored-by: Henrik Tjäder <[email protected]>
1 parent 6013249 commit 70ebcc4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

book/en/src/internals/targets.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ This implementation is covered in depth by Chapter 4.5 of this book.
2828

2929
## Source Masking
3030

31-
Since there is no hardware support for a priority ceiling, RTIC must instead rely on the Nested
32-
Vectored Interrupt Controller (NVIC) present in the core architecture. Consider Figure 1 below,
31+
Without a `BASEPRI` register which allows for directly setting a priority ceiling in the Nested
32+
Vectored Interrupt Controller (NVIC), RTIC must instead rely on disabling (masking) interrupts.
33+
34+
Consider Figure 1 below,
3335
showing two tasks A and B where A has higher priority but shares a resource with B.
3436

3537
#### *Figure 1: Shared Resources and Source Masking*

0 commit comments

Comments
 (0)