Struct stm32_metapac::flash::regs::C2sr
#[repr(transparent)]pub struct C2sr(pub u32);
Expand description
CPU2 cortex M0 status register
Tuple Fields§
§0: u32
Implementations§
§impl C2sr
impl C2sr
pub fn set_progerr(&mut self, val: bool)
pub fn set_progerr(&mut self, val: bool)
Programming error
pub fn set_wrperr(&mut self, val: bool)
pub fn set_wrperr(&mut self, val: bool)
write protection error
pub fn set_pgaerr(&mut self, val: bool)
pub fn set_pgaerr(&mut self, val: bool)
Programming alignment error
pub fn set_sizerr(&mut self, val: bool)
pub fn set_sizerr(&mut self, val: bool)
Size error
pub fn set_pgserr(&mut self, val: bool)
pub fn set_pgserr(&mut self, val: bool)
Programming sequence error
pub fn set_misserr(&mut self, val: bool)
pub fn set_misserr(&mut self, val: bool)
Fast programming data miss error
pub fn set_fasterr(&mut self, val: bool)
pub fn set_fasterr(&mut self, val: bool)
Fast programming error
pub fn set_cfgbsy(&mut self, val: bool)
pub fn set_cfgbsy(&mut self, val: bool)
Programming or erase configuration busy
Trait Implementations§
impl Copy for C2sr
impl Eq for C2sr
impl StructuralPartialEq for C2sr
Auto Trait Implementations§
impl Freeze for C2sr
impl RefUnwindSafe for C2sr
impl Send for C2sr
impl Sync for C2sr
impl Unpin for C2sr
impl UnwindSafe for C2sr
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
)