#[repr(transparent)]pub struct Sfsr(pub u32);Expand description
Secure Fault Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Sfsr
impl Sfsr
Sourcepub const fn set_auviol(&mut self, val: bool)
pub const fn set_auviol(&mut self, val: bool)
Attribution unit violation flag.
Sourcepub const fn set_invtran(&mut self, val: bool)
pub const fn set_invtran(&mut self, val: bool)
Invalid transition flag.
Sourcepub const fn set_lsperr(&mut self, val: bool)
pub const fn set_lsperr(&mut self, val: bool)
Lazy state preservation error flag.
Sourcepub const fn set_sfarvalid(&mut self, val: bool)
pub const fn set_sfarvalid(&mut self, val: bool)
Secure fault address valid.
Trait Implementations§
impl Copy for Sfsr
impl Eq for Sfsr
impl StructuralPartialEq for Sfsr
Auto Trait Implementations§
impl Freeze for Sfsr
impl RefUnwindSafe for Sfsr
impl Send for Sfsr
impl Sync for Sfsr
impl Unpin for Sfsr
impl UnwindSafe for Sfsr
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