Struct stm32_metapac::flash::regs::Eccr
#[repr(transparent)]pub struct Eccr(pub u32);
Expand description
Flash ECC register
Tuple Fields§
§0: u32
Implementations§
§impl Eccr
impl Eccr
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 Eccr
impl Eq for Eccr
impl StructuralPartialEq for Eccr
Auto Trait Implementations§
impl Freeze for Eccr
impl RefUnwindSafe for Eccr
impl Send for Eccr
impl Sync for Eccr
impl Unpin for Eccr
impl UnwindSafe for Eccr
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
)