lib.rs 640 B

12345678910111213141516171819202122232425262728
  1. //! Low level access to RISC-V processors
  2. //!
  3. //! # Minimum Supported Rust Version (MSRV)
  4. //!
  5. //! This crate is guaranteed to compile on stable Rust 1.59 and up. It *might*
  6. //! compile with older versions but that may change in any new patch release.
  7. //!
  8. //! # Features
  9. //!
  10. //! This crate provides:
  11. //!
  12. //! - Access to core registers like `mstatus` or `mcause`.
  13. //! - Interrupt manipulation mechanisms.
  14. //! - Wrappers around assembly instructions like `WFI`.
  15. #![no_std]
  16. extern crate bare_metal;
  17. extern crate bit_field;
  18. extern crate embedded_hal;
  19. pub mod asm;
  20. pub mod delay;
  21. pub mod interrupt;
  22. pub mod register;
  23. #[macro_use]
  24. mod macros;