#[repr(transparent)]pub struct EccEnableCtrl(pub u32);Expand description
RAM ECC Enable Control
Tuple Fields§
§0: u32Implementations§
Source§impl EccEnableCtrl
impl EccEnableCtrl
Sourcepub const fn rama_ecc_enable(&self) -> bool
pub const fn rama_ecc_enable(&self) -> bool
RAMA ECC enable
Sourcepub const fn set_rama_ecc_enable(&mut self, val: bool)
pub const fn set_rama_ecc_enable(&mut self, val: bool)
RAMA ECC enable
Sourcepub const fn ramb_ramx_ecc_enable(&self) -> bool
pub const fn ramb_ramx_ecc_enable(&self) -> bool
RAMB and RAMX ECC enable
Sourcepub const fn set_ramb_ramx_ecc_enable(&mut self, val: bool)
pub const fn set_ramb_ramx_ecc_enable(&mut self, val: bool)
RAMB and RAMX ECC enable
Sourcepub const fn ramd_ramc_ecc_enable(&self) -> bool
pub const fn ramd_ramc_ecc_enable(&self) -> bool
RAMD and RAMC ECC enable
Sourcepub const fn set_ramd_ramc_ecc_enable(&mut self, val: bool)
pub const fn set_ramd_ramc_ecc_enable(&mut self, val: bool)
RAMD and RAMC ECC enable
Sourcepub const fn ramf_rame_ecc_enable(&self) -> bool
pub const fn ramf_rame_ecc_enable(&self) -> bool
RAMF and RAME ECC enable
Sourcepub const fn set_ramf_rame_ecc_enable(&mut self, val: bool)
pub const fn set_ramf_rame_ecc_enable(&mut self, val: bool)
RAMF and RAME ECC enable
Trait Implementations§
Source§impl Clone for EccEnableCtrl
impl Clone for EccEnableCtrl
Source§fn clone(&self) -> EccEnableCtrl
fn clone(&self) -> EccEnableCtrl
Returns a duplicate 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 Debug for EccEnableCtrl
impl Debug for EccEnableCtrl
Source§impl Default for EccEnableCtrl
impl Default for EccEnableCtrl
Source§fn default() -> EccEnableCtrl
fn default() -> EccEnableCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for EccEnableCtrl
impl PartialEq for EccEnableCtrl
impl Copy for EccEnableCtrl
impl Eq for EccEnableCtrl
impl StructuralPartialEq for EccEnableCtrl
Auto Trait Implementations§
impl Freeze for EccEnableCtrl
impl RefUnwindSafe for EccEnableCtrl
impl Send for EccEnableCtrl
impl Sync for EccEnableCtrl
impl Unpin for EccEnableCtrl
impl UnwindSafe for EccEnableCtrl
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