[−][src]Struct stm32f4xx_hal::stm32::flash::optcr::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 optlock(&mut self) -> _OPTLOCKW[src]
Bit 0 - Option lock
pub fn optstrt(&mut self) -> _OPTSTRTW[src]
Bit 1 - Option start
pub fn bor_lev(&mut self) -> _BOR_LEVW[src]
Bits 2:3 - BOR reset Level
pub fn wdg_sw(&mut self) -> _WDG_SWW[src]
Bit 5 - WDG_SW User option bytes
pub fn n_rst_stop(&mut self) -> _NRST_STOPW[src]
Bit 6 - nRST_STOP User option bytes
pub fn n_rst_stdby(&mut self) -> _NRST_STDBYW[src]
Bit 7 - nRST_STDBY User option bytes
pub fn rdp(&mut self) -> _RDPW[src]
Bits 8:15 - Read protect
pub fn n_wrp(&mut self) -> _NWRPW[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