diff options
author | 2018-11-03 20:12:07 +0000 | |
---|---|---|
committer | 2018-11-03 20:12:07 +0000 | |
commit | 2f890d87b1945f1f901355b94375d2531fa71f7c (patch) | |
tree | 323c45984831ff4fce11cd66d307c5b9e0532fb1 | |
parent | 68c56ab139e03e33d9b8c1d2ecfd67d5e9f0eb69 (diff) | |
parent | 2f2ad09a0fd7e8fe6e76fafc8da15d5451609121 (diff) | |
download | cortex-m-2f890d87b1945f1f901355b94375d2531fa71f7c.tar.gz cortex-m-2f890d87b1945f1f901355b94375d2531fa71f7c.tar.zst cortex-m-2f890d87b1945f1f901355b94375d2531fa71f7c.zip |
Merge #146
146: Mention interrupt attribute in main crate docs r=korken89 a=birkenfeld
Fixes #137
Co-authored-by: Georg Brandl <georg@python.org>
-rw-r--r-- | cortex-m-rt/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs index 5fb5057..4d9bf3f 100644 --- a/cortex-m-rt/src/lib.rs +++ b/cortex-m-rt/src/lib.rs @@ -25,6 +25,10 @@ //! [`#[exception]`]: ../cortex_m_rt_macros/fn.exception.html //! [`#[pre_init]`]: ../cortex_m_rt_macros/fn.pre_init.html //! +//! This crate also implements a related attribute called `#[interrupt]`, which allows you +//! to define interrupt handlers. However, since which interrupts are available depends on the +//! microcontroller in use, this attribute should be re-exported and used from a device crate. +//! //! # Requirements //! //! ## `memory.x` |