[][src]Struct stm32l4xx_hal::stm32::flash::optr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn rdp(&mut self) -> _RDPW[src]

Bits 0:7 - Read protection level

pub fn bor_lev(&mut self) -> _BOR_LEVW[src]

Bits 8:10 - BOR reset Level

pub fn n_rst_stop(&mut self) -> _NRST_STOPW[src]

Bit 12 - nRST_STOP

pub fn n_rst_stdby(&mut self) -> _NRST_STDBYW[src]

Bit 13 - nRST_STDBY

pub fn idwg_sw(&mut self) -> _IDWG_SWW[src]

Bit 16 - Independent watchdog selection

pub fn iwdg_stop(&mut self) -> _IWDG_STOPW[src]

Bit 17 - Independent watchdog counter freeze in Stop mode

pub fn iwdg_stdby(&mut self) -> _IWDG_STDBYW[src]

Bit 18 - Independent watchdog counter freeze in Standby mode

pub fn wwdg_sw(&mut self) -> _WWDG_SWW[src]

Bit 19 - Window watchdog selection

pub fn bfb2(&mut self) -> _BFB2W[src]

Bit 20 - Dual-bank boot

pub fn dualbank(&mut self) -> _DUALBANKW[src]

Bit 21 - Dual-Bank on 512 KB or 256 KB Flash memory devices

pub fn n_boot1(&mut self) -> _NBOOT1W[src]

Bit 23 - Boot configuration

pub fn sram2_pe(&mut self) -> _SRAM2_PEW[src]

Bit 24 - SRAM2 parity check enable

pub fn sram2_rst(&mut self) -> _SRAM2_RSTW[src]

Bit 25 - SRAM2 Erase when system reset

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self