[−][src]Struct riscv::register::mstatus::Mstatus
mstatus register
Implementations
impl Mstatus[src]
pub fn uie(&self) -> bool[src]
User Interrupt Enable
pub fn sie(&self) -> bool[src]
Supervisor Interrupt Enable
pub fn mie(&self) -> bool[src]
Machine Interrupt Enable
pub fn upie(&self) -> bool[src]
User Previous Interrupt Enable
pub fn spie(&self) -> bool[src]
Supervisor Previous Interrupt Enable
pub fn mpie(&self) -> bool[src]
Machine Previous Interrupt Enable
pub fn spp(&self) -> SPP[src]
Supervisor Previous Privilege Mode
pub fn mpp(&self) -> MPP[src]
Machine Previous Privilege Mode
pub fn fs(&self) -> FS[src]
Floating-point extension state
Encodes the status of the floating-point unit,
including the CSR fcsr and floating-point data registers f0–f31.
pub fn xs(&self) -> XS[src]
Additional extension state
Encodes the status of additional user-mode extensions and associated state.
pub fn sd(&self) -> bool[src]
Whether either the FS field or XS field signals the presence of some dirty state
Trait Implementations
impl Clone for Mstatus[src]
fn clone(&self) -> Mstatus[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for Mstatus[src]
impl Debug for Mstatus[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,