[−][src]Struct stm32l0xx_hal::stm32::flash::pecr::W
Value to write to the register
Methods
impl W
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut W
[src]
Writes raw bits to the register
pub fn pelock(&mut self) -> _PELOCKW
[src]
Bit 0 - FLASH_PECR and data EEPROM lock
pub fn prglock(&mut self) -> _PRGLOCKW
[src]
Bit 1 - Program memory lock
pub fn optlock(&mut self) -> _OPTLOCKW
[src]
Bit 2 - Option bytes block lock
pub fn prog(&mut self) -> _PROGW
[src]
Bit 3 - Program memory selection
pub fn data(&mut self) -> _DATAW
[src]
Bit 4 - Data EEPROM selection
pub fn fix(&mut self) -> _FIXW
[src]
Bit 8 - Fixed time data write for Byte, Half Word and Word programming
pub fn erase(&mut self) -> _ERASEW
[src]
Bit 9 - Page or Double Word erase mode
pub fn fprg(&mut self) -> _FPRGW
[src]
Bit 10 - Half Page/Double Word programming mode
pub fn parallelbank(&mut self) -> _PARALLELBANKW
[src]
Bit 15 - Parallel bank mode
pub fn eopie(&mut self) -> _EOPIEW
[src]
Bit 16 - End of programming interrupt enable
pub fn errie(&mut self) -> _ERRIEW
[src]
Bit 17 - Error interrupt enable
pub fn obl_launch(&mut self) -> _OBL_LAUNCHW
[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