aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Brandon Matthews <bmatthews@zipcar.com> 2018-08-17 15:30:38 -0700
committerGravatar Brandon Matthews <bmatthews@optimaltour.us> 2019-03-12 12:27:57 -0700
commitd562f762f5d5ef231c4423e47198b527d14a7529 (patch)
tree96983ff5b3a7d0e4992a45968b8acfe6d0e2fb90
parentcc5ea7f4abc3fb35507479deccdb6ce8aa517526 (diff)
downloadcortex-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.rs2
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,