[−][src]Struct stm32f4xx_hal::stm32::flash::optcr::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 optlock(&self) -> OPTLOCKR[src]
Bit 0 - Option lock
pub fn optstrt(&self) -> OPTSTRTR[src]
Bit 1 - Option start
pub fn bor_lev(&self) -> BOR_LEVR[src]
Bits 2:3 - BOR reset Level
pub fn wdg_sw(&self) -> WDG_SWR[src]
Bit 5 - WDG_SW User option bytes
pub fn n_rst_stop(&self) -> NRST_STOPR[src]
Bit 6 - nRST_STOP User option bytes
pub fn n_rst_stdby(&self) -> NRST_STDBYR[src]
Bit 7 - nRST_STDBY User option bytes
pub fn rdp(&self) -> RDPR[src]
Bits 8:15 - Read protect
pub fn n_wrp(&self) -> NWRPR[src]
Bits 16:27 - Not write protect
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