Struct stm32_metapac::flash::regs::Eccr2
#[repr(transparent)]pub struct Eccr2(pub u32);
Expand description
Flash ECC register 2
Tuple Fields§
§0: u32
Implementations§
§impl Eccr2
impl Eccr2
pub fn set_addr_ecc(&mut self, val: u16)
pub fn set_addr_ecc(&mut self, val: u16)
ECC fail address
pub const fn sysf_ecc(&self) -> bool
pub const fn sysf_ecc(&self) -> bool
ECC fail for Corrected ECC Error or Double ECC Error in info block
pub fn set_sysf_ecc(&mut self, val: bool)
pub fn set_sysf_ecc(&mut self, val: bool)
ECC fail for Corrected ECC Error or Double ECC Error in info block
Trait Implementations§
impl Copy for Eccr2
impl Eq for Eccr2
impl StructuralPartialEq for Eccr2
Auto Trait Implementations§
impl Freeze for Eccr2
impl RefUnwindSafe for Eccr2
impl Send for Eccr2
impl Sync for Eccr2
impl Unpin for Eccr2
impl UnwindSafe for Eccr2
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
)