pub struct W(_);
Expand description
Register OPTCR_
writer
Implementations
sourceimpl W
impl W
sourcepub fn optlock(&mut self) -> OPTLOCK_W<'_, 0>
pub fn optlock(&mut self) -> OPTLOCK_W<'_, 0>
Bit 0 - FLASH_OPTCR lock option configuration bit
sourcepub fn optstart(&mut self) -> OPTSTART_W<'_, 1>
pub fn optstart(&mut self) -> OPTSTART_W<'_, 1>
Bit 1 - Option byte start change option configuration bit
sourcepub fn optchangeerrie(&mut self) -> OPTCHANGEERRIE_W<'_, 30>
pub fn optchangeerrie(&mut self) -> OPTCHANGEERRIE_W<'_, 30>
Bit 30 - Option byte change error interrupt enable bit
sourcepub fn swap_bank(&mut self) -> SWAP_BANK_W<'_, 31>
pub fn swap_bank(&mut self) -> SWAP_BANK_W<'_, 31>
Bit 31 - Bank swapping configuration bit
Methods from Deref<Target = W<OPTCR__SPEC>>
Trait Implementations
sourceimpl From<W<OPTCR__SPEC>> for W
impl From<W<OPTCR__SPEC>> for W
sourcefn from(writer: W<OPTCR__SPEC>) -> Self
fn from(writer: W<OPTCR__SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more