[][src]Struct stm32l4xx_hal::stm32::flash::cr::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 pg(&self) -> PGR[src]

Bit 0 - Programming

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

Bit 1 - Page erase

pub fn mer1(&self) -> MER1R[src]

Bit 2 - Bank 1 Mass erase

pub fn pnb(&self) -> PNBR[src]

Bits 3:10 - Page number

pub fn bker(&self) -> BKERR[src]

Bit 11 - Bank erase

pub fn mer2(&self) -> MER2R[src]

Bit 15 - Bank 2 Mass erase

pub fn start(&self) -> STARTR[src]

Bit 16 - Start

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

Bit 17 - Options modification start

pub fn fstpg(&self) -> FSTPGR[src]

Bit 18 - Fast programming

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

Bit 24 - End of operation interrupt enable

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

Bit 25 - Error interrupt enable

pub fn rderrie(&self) -> RDERRIER[src]

Bit 26 - PCROP read error interrupt enable

pub fn obl_launch(&self) -> OBL_LAUNCHR[src]

Bit 27 - Force the option byte loading

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

Bit 30 - Options Lock

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

Bit 31 - FLASH_CR Lock

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
    U: Into<T>, 
[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]

impl<T> Same for T

type Output = T

Should always be Self