[][src]Struct stm32f3::stm32f3x8::flash::cr::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 Self[src]

Writes raw bits to the register

pub fn force_optload(&mut self) -> _FORCE_OPTLOADW[src]

Bit 13 - Force option byte loading

pub fn eopie(&mut self) -> _EOPIEW[src]

Bit 12 - End of operation interrupt enable

pub fn errie(&mut self) -> _ERRIEW[src]

Bit 10 - Error interrupt enable

pub fn optwre(&mut self) -> _OPTWREW[src]

Bit 9 - Option bytes write enable

pub fn lock(&mut self) -> _LOCKW[src]

Bit 7 - Lock

pub fn strt(&mut self) -> _STRTW[src]

Bit 6 - Start

pub fn opter(&mut self) -> _OPTERW[src]

Bit 5 - Option byte erase

pub fn optpg(&mut self) -> _OPTPGW[src]

Bit 4 - Option byte programming

pub fn mer(&mut self) -> _MERW[src]

Bit 2 - Mass erase

pub fn per(&mut self) -> _PERW[src]

Bit 1 - Page erase

pub fn pg(&mut self) -> _PGW[src]

Bit 0 - Programming

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self