#[repr(transparent)]pub struct Ramerrorstatus(pub u32);
Expand description
RAM error status register.
Tuple Fields§
§0: u32
Implementations§
Source§impl Ramerrorstatus
impl Ramerrorstatus
Sourcepub const fn ramcorrection(&self) -> bool
pub const fn ramcorrection(&self) -> bool
This bit indicates that a 1-bit error has been detected and corrected on RAM interface
Sourcepub fn set_ramcorrection(&mut self, val: bool)
pub fn set_ramcorrection(&mut self, val: bool)
This bit indicates that a 1-bit error has been detected and corrected on RAM interface
Sourcepub const fn ramfailure(&self) -> bool
pub const fn ramfailure(&self) -> bool
This bit indicates that an uncorrectable error has been detected on the data RAM interface
Sourcepub fn set_ramfailure(&mut self, val: bool)
pub fn set_ramfailure(&mut self, val: bool)
This bit indicates that an uncorrectable error has been detected on the data RAM interface
Trait Implementations§
Source§impl Clone for Ramerrorstatus
impl Clone for Ramerrorstatus
Source§fn clone(&self) -> Ramerrorstatus
fn clone(&self) -> Ramerrorstatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for Ramerrorstatus
impl Default for Ramerrorstatus
Source§fn default() -> Ramerrorstatus
fn default() -> Ramerrorstatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ramerrorstatus
impl PartialEq for Ramerrorstatus
impl Copy for Ramerrorstatus
impl Eq for Ramerrorstatus
impl StructuralPartialEq for Ramerrorstatus
Auto Trait Implementations§
impl Freeze for Ramerrorstatus
impl RefUnwindSafe for Ramerrorstatus
impl Send for Ramerrorstatus
impl Sync for Ramerrorstatus
impl Unpin for Ramerrorstatus
impl UnwindSafe for Ramerrorstatus
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
)