blob: ca42ef17ef86597609d98d0ef0fc7d8484dda750 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//! CLosure INTerrupt handlers
//!
//! Use closures as interrupt service routines to leverage Rust's
//! borrow checker for safe, exclusive usage of device peripherals and
//! other data without locking.
//!
//! # Layout
//!
//! See [`array`'s module documentation](table/index.html#examples) for basic,
//! safe usage.
//!
//! The [`handler`](handler) module contains the underyling, unsafe
//! implementation.
//!
//! Critical section support is supplied by the [`cs` module](cs).
#![no_std]
pub mod array;
pub mod cs;
pub mod handler;
pub use array::HandlerArray;
pub use handler::Handler;
|