Struct Ramerrorstatus
#[repr(transparent)]pub struct Ramerrorstatus(pub u32);
Expand description
RAM error status register.
Tuple Fields§
§0: u32
Implementations§
§impl Ramerrorstatus
impl Ramerrorstatus
pub 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
pub 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
pub 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
pub 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§
§impl Clone for Ramerrorstatus
impl Clone for Ramerrorstatus
§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 more§impl Default for Ramerrorstatus
impl Default for Ramerrorstatus
§fn default() -> Ramerrorstatus
fn default() -> Ramerrorstatus
Returns the “default value” for a type. Read more
§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
)