lib.rs 379 B

123456789101112131415161718
  1. //! Low level access to RISCV processors
  2. //!
  3. //! This crate provides:
  4. //!
  5. //! - Access to core registers like mstatus or mcause.
  6. //! - Interrupt manipulation mechanisms.
  7. //! - Safe wrappers around assembly instructions like `mret`.
  8. #![no_std]
  9. #![deny(warnings)]
  10. #![feature(asm)]
  11. #![feature(const_fn)]
  12. extern crate bare_metal;
  13. pub mod asm;
  14. pub mod interrupt;
  15. pub mod register;