Struct stm32_metapac::flash::regs::Opsr
#[repr(transparent)]pub struct Opsr(pub u32);
Expand description
FLASH operation status register
Tuple Fields§
§0: u32
Implementations§
§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 const fn bk_op(&self) -> bool
pub const fn bk_op(&self) -> bool
Interrupted operation bank It indicates which bank was concerned by operation.
pub fn set_bk_op(&mut self, val: bool)
pub fn set_bk_op(&mut self, val: bool)
Interrupted operation bank It indicates which bank was concerned by operation.
pub const fn sysf_op(&self) -> bool
pub const fn sysf_op(&self) -> bool
Operation in system Flash memory interrupted Indicates that reset interrupted an ongoing operation in System Flash.
pub fn set_sysf_op(&mut self, val: bool)
pub fn set_sysf_op(&mut self, val: bool)
Operation in system Flash memory interrupted Indicates that reset interrupted an ongoing operation in System Flash.
pub const fn otp_op(&self) -> bool
pub const fn otp_op(&self) -> bool
OTP operation interrupted Indicates that reset interrupted an ongoing operation in OTP area.
pub fn set_otp_op(&mut self, val: bool)
pub fn set_otp_op(&mut self, val: bool)
OTP operation interrupted Indicates that reset interrupted an ongoing operation in OTP area.
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
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
)