[−][src]Struct stm32l0xx_hal::pac::flash::pecr::R
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
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self