#[repr(transparent)]pub struct Sfar(pub u32);Expand description
Secure Fault Address Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Sfar
impl Sfar
Sourcepub const fn address(&self) -> u32
pub const fn address(&self) -> u32
When the SFARVALID bit of the SFSR is set to 1, this field holds the address of an access that caused an SAU violation.
Sourcepub const fn set_address(&mut self, val: u32)
pub const fn set_address(&mut self, val: u32)
When the SFARVALID bit of the SFSR is set to 1, this field holds the address of an access that caused an SAU violation.
Trait Implementations§
impl Copy for Sfar
impl Eq for Sfar
impl StructuralPartialEq for Sfar
Auto Trait Implementations§
impl Freeze for Sfar
impl RefUnwindSafe for Sfar
impl Send for Sfar
impl Sync for Sfar
impl Unpin for Sfar
impl UnwindSafe for Sfar
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