Struct M3ecckeyr
#[repr(transparent)]pub struct M3ecckeyr(pub u32);Expand description
RAMCFG memory 3 ECC key register.
Tuple Fields§
§0: u32Implementations§
§impl M3ecckeyr
impl M3ecckeyr
pub const fn ecckey(&self) -> u8
pub const fn ecckey(&self) -> u8
ECC write protection key The following steps are required to unlock the write protection of the ECCE bit in the MxCR register. 1) Write 0xAE into ECCKEY[7:0]. 2) Write 0x75 into ECCKEY[7:0]. Note: Writing a wrong key reactivates the write protection.
pub fn set_ecckey(&mut self, val: u8)
pub fn set_ecckey(&mut self, val: u8)
ECC write protection key The following steps are required to unlock the write protection of the ECCE bit in the MxCR register. 1) Write 0xAE into ECCKEY[7:0]. 2) Write 0x75 into ECCKEY[7:0]. Note: Writing a wrong key reactivates the write protection.
Trait Implementations§
impl Copy for M3ecckeyr
impl Eq for M3ecckeyr
impl StructuralPartialEq for M3ecckeyr
Auto Trait Implementations§
impl Freeze for M3ecckeyr
impl RefUnwindSafe for M3ecckeyr
impl Send for M3ecckeyr
impl Sync for M3ecckeyr
impl Unpin for M3ecckeyr
impl UnwindSafe for M3ecckeyr
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