[][src]Struct stm32f4::stm32f413::flash::optcr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R
[src]

pub fn bits(&self) -> u32
[src]

Value of the register as raw bits

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

Bit 0 - Option lock

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

Bit 1 - Option start

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

Bits 2:3 - BOR reset Level

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

Bit 5 - WDG_SW User option bytes

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

Bit 6 - nRST_STOP User option bytes

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

Bit 7 - nRST_STDBY User option bytes

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

Bits 8:15 - Read protect

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

Bits 16:27 - Not write protect

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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]