vexriscv-rust/src/lib.rs

19 lines
379 B
Rust
Raw Normal View History

2017-09-19 22:04:12 +08:00
//! Low level access to RISCV processors
//!
//! 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)]
#![feature(asm)]
#![feature(const_fn)]
extern crate bare_metal;
pub mod asm;
pub mod interrupt;
2018-03-28 02:17:44 +08:00
pub mod register;