Crate clint

Source
Expand description

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 for basic, safe usage.

The handler module contains the underyling, unsafe implementation.

Critical section support is supplied by the cs module.

Re-exports§

pub use array::HandlerArray;
pub use handler::Handler;

Modules§

array
Safe wrapper for closure-based interrupt handlers.
cs
Critical Section support.
handler
Call closures from interrupt handlers.