vexriscv-rust/src/lib.rs

19 lines
416 B
Rust
Raw Normal View History

//! Low level access to RISC-V processors
2017-09-19 22:04:12 +08:00
//!
//! This crate provides:
//!
//! - Access to core registers like mstatus or mcause.
//! - Interrupt manipulation mechanisms.
//! - Safe wrappers around assembly instructions like `mret`.
#![no_std]
#![deny(warnings)]
#![cfg_attr(feature = "inline-asm", feature(asm))]
2017-09-19 22:04:12 +08:00
extern crate bare_metal;
extern crate bit_field;
2017-09-19 22:04:12 +08:00
pub mod asm;
pub mod interrupt;
2018-03-28 02:17:44 +08:00
pub mod register;