drone-cortex-m 0.7.0

Drone for ARM Cortex-M.
Documentation
//! The vector table.
//!
//! # Configuration
//!
//! The vector table is configured by [`vtable!`] macro.
//!
//! ```rust
//! vtable! {
//!   /// The vector table.
//!   VectorTable;
//!   /// Array of threads.
//!   THREADS;
//!   ThreadLocal;
//!
//!   /// Non maskable interrupt.
//!   NMI;
//!   /// All classes of fault.
//!   HARD_FAULT;
//!   /// System tick timer.
//!   SYS_TICK;
//!   /// RCC global interrupt.
//!   5: rcc; // Give IRQ5 a name
//! }
//! ```
//!
//! # Preconfigured exceptions
//!
//! * `NMI` - Non maskable interrupt.
//! * `HARD_FAULT` - All classes of fault.
//! * `MEM_MANAGE` - Memory management.
//! * `BUS_FAULT` - Pre-fetch fault, memory access fault.
//! * `USAGE_FAULT` - Undefined instruction or illegal state.
//! * `SV_CALL` - System service call via SWI instruction.
//! * `DEBUG` - Monitor.
//! * `PEND_SV` - Pendable request for system service.
//! * `SYS_TICK` - System tick timer.
//!
//! [`vtable!`]: ../macro.vtable.html

pub mod irq;
pub mod prelude;
pub mod vtable;

mod future;
mod notify;
mod stream;
mod token;

pub use self::future::PFuture;
pub use self::stream::{PStream, StreamWait};
pub use self::token::PThreadToken;
pub use drone_cortex_m_macros::interrupt;