Skip to content

Commit d562f76

Browse files
Brandon Matthewsthenewwazoo
Brandon Matthews
authored andcommitted
Add note that NVIC::request is not available on armv6m
1 parent cc5ea7f commit d562f76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/peripheral/nvic.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ impl NVIC {
8484
/// Writing a value to the INTID field is the same as manually pending an interrupt by setting
8585
/// the corresponding interrupt bit in an Interrupt Set Pending Register. This is similar to
8686
/// `set_pending`.
87+
///
88+
/// This method is not available on ARMv6-M chips.
8789
pub fn request<I>(&mut self, interrupt: I)
8890
where
8991
I: Nr,

0 commit comments

Comments
 (0)