[][src]Struct stm32f4xx_hal::stm32::flash::optcr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn optlock(&mut self) -> _OPTLOCKW[src]

Bit 0 - Option lock

pub fn optstrt(&mut self) -> _OPTSTRTW[src]

Bit 1 - Option start

pub fn bor_lev(&mut self) -> _BOR_LEVW[src]

Bits 2:3 - BOR reset Level

pub fn wdg_sw(&mut self) -> _WDG_SWW[src]

Bit 5 - WDG_SW User option bytes

pub fn n_rst_stop(&mut self) -> _NRST_STOPW[src]

Bit 6 - nRST_STOP User option bytes

pub fn n_rst_stdby(&mut self) -> _NRST_STDBYW[src]

Bit 7 - nRST_STDBY User option bytes

pub fn rdp(&mut self) -> _RDPW[src]

Bits 8:15 - Read protect

pub fn n_wrp(&mut self) -> _NWRPW[src]

Bits 16:27 - Not write protect

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self