diff options
author | 2018-08-17 15:30:38 -0700 | |
---|---|---|
committer | 2019-03-12 12:27:57 -0700 | |
commit | d562f762f5d5ef231c4423e47198b527d14a7529 (patch) | |
tree | 96983ff5b3a7d0e4992a45968b8acfe6d0e2fb90 | |
parent | cc5ea7f4abc3fb35507479deccdb6ce8aa517526 (diff) | |
download | cortex-m-d562f762f5d5ef231c4423e47198b527d14a7529.tar.gz cortex-m-d562f762f5d5ef231c4423e47198b527d14a7529.tar.zst cortex-m-d562f762f5d5ef231c4423e47198b527d14a7529.zip |
Add note that NVIC::request is not available on armv6m
-rw-r--r-- | src/peripheral/nvic.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peripheral/nvic.rs b/src/peripheral/nvic.rs index ceda1a1..a81fa6d 100644 --- a/src/peripheral/nvic.rs +++ b/src/peripheral/nvic.rs @@ -84,6 +84,8 @@ impl NVIC { /// Writing a value to the INTID field is the same as manually pending an interrupt by setting /// the corresponding interrupt bit in an Interrupt Set Pending Register. This is similar to /// `set_pending`. + /// + /// This method is not available on ARMv6-M chips. pub fn request<I>(&mut self, interrupt: I) where I: Nr, |