rtic 2.3.1

Real-Time Interrupt-driven Concurrency (RTIC): a concurrency framework for building real-time systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub use riscv_slic::{InterruptNumber, lock, pend, run};

/// USE CASE RE-EXPORTS: needed for SLIC-only
pub use riscv_slic::{self, codegen, set_priority};

pub mod interrupt {
    #[inline]
    pub fn disable() {
        riscv_slic::disable();
    }

    #[inline]
    pub unsafe fn enable() {
        unsafe { riscv_slic::enable() };
    }
}