[−][src]Struct stm32l4x6::flash::cr::W
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn pg(&mut self) -> _PGW
[src]
pub fn pg(&mut self) -> _PGW
Bit 0 - Programming
pub fn per(&mut self) -> _PERW
[src]
pub fn per(&mut self) -> _PERW
Bit 1 - Page erase
pub fn mer1(&mut self) -> _MER1W
[src]
pub fn mer1(&mut self) -> _MER1W
Bit 2 - Bank 1 Mass erase
pub fn pnb(&mut self) -> _PNBW
[src]
pub fn pnb(&mut self) -> _PNBW
Bits 3:10 - Page number
pub fn bker(&mut self) -> _BKERW
[src]
pub fn bker(&mut self) -> _BKERW
Bit 11 - Bank erase
pub fn mer2(&mut self) -> _MER2W
[src]
pub fn mer2(&mut self) -> _MER2W
Bit 15 - Bank 2 Mass erase
pub fn start(&mut self) -> _STARTW
[src]
pub fn start(&mut self) -> _STARTW
Bit 16 - Start
pub fn optstrt(&mut self) -> _OPTSTRTW
[src]
pub fn optstrt(&mut self) -> _OPTSTRTW
Bit 17 - Options modification start
pub fn fstpg(&mut self) -> _FSTPGW
[src]
pub fn fstpg(&mut self) -> _FSTPGW
Bit 18 - Fast programming
pub fn eopie(&mut self) -> _EOPIEW
[src]
pub fn eopie(&mut self) -> _EOPIEW
Bit 24 - End of operation interrupt enable
pub fn errie(&mut self) -> _ERRIEW
[src]
pub fn errie(&mut self) -> _ERRIEW
Bit 25 - Error interrupt enable
pub fn rderrie(&mut self) -> _RDERRIEW
[src]
pub fn rderrie(&mut self) -> _RDERRIEW
Bit 26 - PCROP read error interrupt enable
pub fn obl_launch(&mut self) -> _OBL_LAUNCHW
[src]
pub fn obl_launch(&mut self) -> _OBL_LAUNCHW
Bit 27 - Force the option byte loading
pub fn optlock(&mut self) -> _OPTLOCKW
[src]
pub fn optlock(&mut self) -> _OPTLOCKW
Bit 30 - Options Lock
pub fn lock(&mut self) -> _LOCKW
[src]
pub fn lock(&mut self) -> _LOCKW
Bit 31 - FLASH_CR Lock
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more