pub struct Mstatus { /* private fields */ }
Expand description
mstatus register
Implementations
sourceimpl Mstatus
impl Mstatus
pub fn set_mpie(&mut self, val: bool)
pub fn set_mie(&mut self, val: bool)
pub fn set_mpp(&mut self, val: MPP)
sourcepub fn fs(&self) -> FS
pub fn fs(&self) -> FS
Floating-point extension state
Encodes the status of the floating-point unit,
including the CSR fcsr
and floating-point data registers f0–f31
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mstatus
impl Send for Mstatus
impl Sync for Mstatus
impl Unpin for Mstatus
impl UnwindSafe for Mstatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more