Struct Opsr
#[repr(transparent)]pub struct Opsr(pub u32);Expand description
FLASH operation status register.
Tuple Fields§
§0: u32Implementations§
§impl Opsr
impl Opsr
pub fn set_addr_op(&mut self, val: u32)
pub fn set_addr_op(&mut self, val: u32)
Interrupted operation address.
pub fn set_sysf_op(&mut self, val: bool)
pub fn set_sysf_op(&mut self, val: bool)
Operation in system flash memory interrupted.
pub fn set_code_op(&mut self, val: CodeOp)
pub fn set_code_op(&mut self, val: CodeOp)
Flash memory operation code.
Trait Implementations§
impl Copy for Opsr
impl Eq for Opsr
impl StructuralPartialEq for Opsr
Auto Trait Implementations§
impl Freeze for Opsr
impl RefUnwindSafe for Opsr
impl Send for Opsr
impl Sync for Opsr
impl Unpin for Opsr
impl UnwindSafe for Opsr
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