#[repr(transparent)]pub struct Info(pub u32);
Expand description
Access information for the transaction that triggered a memory access error. Register content won’t be changed as long as MEMACCERR event is active.
Tuple Fields§
§0: u32
Implementations§
Source§impl Info
impl Info
Sourcepub fn set_ownerid(&mut self, val: u8)
pub fn set_ownerid(&mut self, val: u8)
Owner identifier of the erroneous access
Sourcepub const fn masterport(&self) -> u8
pub const fn masterport(&self) -> u8
Master port where erroneous access is detected
Sourcepub fn set_masterport(&mut self, val: u8)
pub fn set_masterport(&mut self, val: u8)
Master port where erroneous access is detected
Sourcepub fn set_execute(&mut self, val: bool)
pub fn set_execute(&mut self, val: bool)
Execute bit of bus access
Sourcepub fn set_secure(&mut self, val: bool)
pub fn set_secure(&mut self, val: bool)
Secure bit of bus access
Sourcepub const fn errorsource(&self) -> Errorsource
pub const fn errorsource(&self) -> Errorsource
Source of memory access error
Sourcepub fn set_errorsource(&mut self, val: Errorsource)
pub fn set_errorsource(&mut self, val: Errorsource)
Source of memory access error
Trait Implementations§
impl Copy for Info
impl Eq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)