Struct riscv::register::mstatus::Mstatus [−][src]
pub struct Mstatus { /* fields omitted */ }
mstatus register
Methods
impl Mstatus
[src]
impl Mstatus
pub fn uie(&self) -> bool
[src]
pub fn uie(&self) -> bool
User Interrupt Enable
pub fn sie(&self) -> bool
[src]
pub fn sie(&self) -> bool
Supervisor Interrupt Enable
pub fn mie(&self) -> bool
[src]
pub fn mie(&self) -> bool
Machine Interrupt Enable
pub fn upie(&self) -> bool
[src]
pub fn upie(&self) -> bool
User Previous Interrupt Enable
pub fn spie(&self) -> bool
[src]
pub fn spie(&self) -> bool
Supervisor Previous Interrupt Enable
pub fn mpie(&self) -> bool
[src]
pub fn mpie(&self) -> bool
User Previous Interrupt Enable
pub fn spp(&self) -> SPP
[src]
pub fn spp(&self) -> SPP
Supervisor Previous Privilege Mode
pub fn mpp(&self) -> MPP
[src]
pub fn mpp(&self) -> MPP
Machine Previous Privilege Mode
Trait Implementations
impl Clone for Mstatus
[src]
impl Clone for Mstatus
fn clone(&self) -> Mstatus
[src]
fn clone(&self) -> Mstatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Mstatus
[src]
impl Copy for Mstatus
impl Debug for Mstatus
[src]
impl Debug for Mstatus