Struct stm32_metapac::flash::regs::Opticr
#[repr(transparent)]pub struct Opticr(pub u32);
Expand description
FLASH options interrupt clear register.
Tuple Fields§
§0: u32
Implementations§
§impl Opticr
impl Opticr
pub const fn kvef(&self) -> bool
pub const fn kvef(&self) -> bool
key valid error flag Set this bit to clear KVEF flag in FLASH_OPTISR register.
pub fn set_kvef(&mut self, val: bool)
pub fn set_kvef(&mut self, val: bool)
key valid error flag Set this bit to clear KVEF flag in FLASH_OPTISR register.
pub const fn ktef(&self) -> bool
pub const fn ktef(&self) -> bool
key transfer error flag Set this bit to clear KTEF flag in FLASH_OPTISR register.
pub fn set_ktef(&mut self, val: bool)
pub fn set_ktef(&mut self, val: bool)
key transfer error flag Set this bit to clear KTEF flag in FLASH_OPTISR register.
pub const fn opterrf(&self) -> bool
pub const fn opterrf(&self) -> bool
Option byte change error flag Set this bit to clear OPTERRF flag in FLASH_OPTISR register.
pub fn set_opterrf(&mut self, val: bool)
pub fn set_opterrf(&mut self, val: bool)
Option byte change error flag Set this bit to clear OPTERRF flag in FLASH_OPTISR register.
Trait Implementations§
impl Copy for Opticr
impl Eq for Opticr
impl StructuralPartialEq for Opticr
Auto Trait Implementations§
impl Freeze for Opticr
impl RefUnwindSafe for Opticr
impl Send for Opticr
impl Sync for Opticr
impl Unpin for Opticr
impl UnwindSafe for Opticr
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
)