Crate rtfm

source ·
Expand description

Real Time For the Masses (RTFM) framework for ARM Cortex-M microcontrollers

IMPORTANT: This crate is published as cortex-m-rtfm on but the name of the library is rtfm.

The user level documentation can be found here.

Don’t forget to check the documentation of the [#[app]] attribute, which is the main component of the framework.

[#[app]]: ../cortex_m_rtfm_macros/

Cargo features

  • timer-queue. This opt-in feature enables the schedule API which can be used to schedule tasks to run in the future. Also see Instant and Duration.


A Duration type to represent a span of time.
Newtype over &'a mut T that implements the Mutex trait
A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration
Core peripherals


Memory safe access to shared resources
Adds the cycles method to the u32 type


Sets the given interrupt as pending

Attribute Macros

Attribute used to declare a RTFM application