ruspiro-interrupt-core 0.3.1

Interrupt core functions to globally enable/disable interrupts on Raspberry Pi
  • Coverage
  • 100%
    10 out of 10 items documented
  • Size
  • Source code size: 10.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • 2ndTaleStudio
ruspiro-interrupt-core-0.3.1 doesn't have any documentation.

RusPiRo core interrupt crate

Core interrupt functions to globally enable/disable interrupts to be triggered on Raspberry Pi. Splitting from the ruspiro-interrupt crate is necessary to prevent circular dependencies.

Travis-CI Status Latest Version Documentation License

Usage

To use the crate just add the following dependency to your Cargo.toml file:

[dependencies]
ruspiro-interrupt-core = "0.3"

Once done the access to the functions to enable/disable interrupts is available in your rust files like so:

use ruspiro_interrupt_core::*;

fn demo() {
    enable_interrupts();
    disable_interrupts();
    re_enable_interrupts();
}

License

Licensed under Apache License, Version 2.0, (LICENSE or http://www.apache.org/licenses/LICENSE-2.0)