pub struct W(_);
Expand description
Register OPTCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn n_rst_stop(&mut self) -> NRST_STOP_W<'_>
pub fn n_rst_stop(&mut self) -> NRST_STOP_W<'_>
Bit 6 - nRST_STOP User option bytes
sourcepub fn n_rst_stdby(&mut self) -> NRST_STDBY_W<'_>
pub fn n_rst_stdby(&mut self) -> NRST_STDBY_W<'_>
Bit 7 - nRST_STDBY User option bytes
Methods from Deref<Target = W<OPTCR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
sourceimpl From<W<OPTCR_SPEC>> for W
impl From<W<OPTCR_SPEC>> for W
sourcefn from(writer: W<OPTCR_SPEC>) -> W
fn from(writer: W<OPTCR_SPEC>) -> W
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