Skip to content

Commit 2f890d8

Browse files
bors[bot]birkenfeld
andcommitted
Merge #146
146: Mention interrupt attribute in main crate docs r=korken89 a=birkenfeld Fixes #137 Co-authored-by: Georg Brandl <[email protected]>
2 parents 68c56ab + 2f2ad09 commit 2f890d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cortex-m-rt/src/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
//! [`#[exception]`]: ../cortex_m_rt_macros/fn.exception.html
2626
//! [`#[pre_init]`]: ../cortex_m_rt_macros/fn.pre_init.html
2727
//!
28+
//! This crate also implements a related attribute called `#[interrupt]`, which allows you
29+
//! to define interrupt handlers. However, since which interrupts are available depends on the
30+
//! microcontroller in use, this attribute should be re-exported and used from a device crate.
31+
//!
2832
//! # Requirements
2933
//!
3034
//! ## `memory.x`

0 commit comments

Comments
 (0)