Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers.
IMPORTANT: This crate is published as
cortex-m-rtic on crates.io but the name of the
The user level documentation can be found here.
Don’t forget to check the documentation of the
#[app] attribute (listed under the reexports
section), which is the main component of the framework.
This crate is compiled and tested with the latest toolchain (rolling) as of the release date. If you run into compilation errors, try the latest stable release of the rust toolchain.
Like the Rust project, this crate adheres to SemVer: breaking changes in the API and semantics require a semver bump (since 1.0.0 a new major version release), with the exception of breaking changes that fix soundness issues – those are considered bug fixes and can be landed in a new patch release.
Mutex and multi-lock variants. Recommended over
Makes locks work on N-tuples, locks the mutexes from left-to-right in the tuple. These are used to reduce rightward drift in code and to help make intentions clearer.
&'a mut T that implements the
Internal replacement for
static mut T
Sets the given
interrupt as pending
Attribute used to declare a RTIC application