Struct Ramerrorinject
#[repr(transparent)]pub struct Ramerrorinject(pub u32);
Expand description
RAM error injection register.
Tuple Fields§
§0: u32
Implementations§
§impl Ramerrorinject
impl Ramerrorinject
pub fn set_biterror1(&mut self, val: u16)
pub fn set_biterror1(&mut self, val: u16)
Bit position of first error
pub fn set_biterror2(&mut self, val: u16)
pub fn set_biterror2(&mut self, val: u16)
Bit position of second error
Trait Implementations§
§impl Clone for Ramerrorinject
impl Clone for Ramerrorinject
§fn clone(&self) -> Ramerrorinject
fn clone(&self) -> Ramerrorinject
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 Ramerrorinject
impl Default for Ramerrorinject
§fn default() -> Ramerrorinject
fn default() -> Ramerrorinject
Returns the “default value” for a type. Read more
§impl PartialEq for Ramerrorinject
impl PartialEq for Ramerrorinject
impl Copy for Ramerrorinject
impl Eq for Ramerrorinject
impl StructuralPartialEq for Ramerrorinject
Auto Trait Implementations§
impl Freeze for Ramerrorinject
impl RefUnwindSafe for Ramerrorinject
impl Send for Ramerrorinject
impl Sync for Ramerrorinject
impl Unpin for Ramerrorinject
impl UnwindSafe for Ramerrorinject
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
)