#[repr(transparent)]pub struct Errstat(pub u32);Expand description
Read/Write register where error statuses are captured (sticky)
Tuple Fields§
§0: u32Implementations§
Source§impl Errstat
impl Errstat
Sourcepub const fn set_overflow(&mut self, val: bool)
pub const fn set_overflow(&mut self, val: bool)
overflow
Sourcepub const fn fixedoverflow(&self) -> bool
pub const fn fixedoverflow(&self) -> bool
fixed_pt_overflow
Sourcepub const fn set_fixedoverflow(&mut self, val: bool)
pub const fn set_fixedoverflow(&mut self, val: bool)
fixed_pt_overflow
Sourcepub const fn set_underflow(&mut self, val: bool)
pub const fn set_underflow(&mut self, val: bool)
underflow
Sourcepub const fn set_buserror(&mut self, val: bool)
pub const fn set_buserror(&mut self, val: bool)
bus_error
Trait Implementations§
impl Copy for Errstat
impl Eq for Errstat
impl StructuralPartialEq for Errstat
Auto Trait Implementations§
impl Freeze for Errstat
impl RefUnwindSafe for Errstat
impl Send for Errstat
impl Sync for Errstat
impl Unpin for Errstat
impl UnwindSafe for Errstat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more