Skip to content

Commit

Permalink
Mention interrupt attribute in main crate docs
Browse files Browse the repository at this point in the history
Fixes #137
  • Loading branch information
birkenfeld authored Nov 1, 2018
1 parent 68c56ab commit 2f2ad09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cortex-m-rt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 2f2ad09

Please sign in to comment.