ruspiro-interrupt 0.1.0

Providing a simple and convinient way to implement interrupt handler for Raspberry Pi interrupts.
docs.rs failed to build ruspiro-interrupt-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: ruspiro-interrupt-0.3.1

Interrupt RusPiRo crate

This crates provides functions and macros (custom attributes) to conviniently define and implement interrupt handler for the Raspberry Pi 3 in a bare metal environment.

Travis-CI Status Latest Version Documentation License

Dependencies

This crate, when used to build a final binarry assumes that certain linker symbols does exist and are defined. These are usually provided when using the ruspiro-boot crate which comes with a linker script providing all the necessary linker symbols and entrypoints calling into this crate once it is used.

Usage

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

[dependencies]
ruspiro-interrupt = "0.1.0"

Once done the access to the features/attribute of the interrupt crate is available in your rust files like so:

use ruspiro-interrupt::*;

#[IrqHandler(<irq-type-name>)]
unsafe fn my_handler() {

}

License

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