[][src]Struct stm32l0xx_hal::device::flash::pecr::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 pelock(&self) -> PELOCKR[src]

Bit 0 - FLASH_PECR and data EEPROM lock

pub fn prglock(&self) -> PRGLOCKR[src]

Bit 1 - Program memory lock

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

Bit 2 - Option bytes block lock

pub fn prog(&self) -> PROGR[src]

Bit 3 - Program memory selection

pub fn data(&self) -> DATAR[src]

Bit 4 - Data EEPROM selection

pub fn fix(&self) -> FIXR[src]

Bit 8 - Fixed time data write for Byte, Half Word and Word programming

pub fn erase(&self) -> ERASER[src]

Bit 9 - Page or Double Word erase mode

pub fn fprg(&self) -> FPRGR[src]

Bit 10 - Half Page/Double Word programming mode

pub fn parallelbank(&self) -> PARALLELBANKR[src]

Bit 15 - Parallel bank mode

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

Bit 16 - End of programming interrupt enable

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

Bit 17 - Error interrupt enable

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

Bit 18 - Launch the option byte loading

Auto Trait Implementations

impl Unpin for R

impl Send for R

impl Sync for R

Blanket Implementations

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

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, 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