[][src]Struct stm32wb_pac::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 Self[src]

Writes raw bits to the register

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

Bits 0:7 - Read protection level

pub fn ese(&mut self) -> _ESEW[src]

Bit 8 - Security enabled

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

Bits 9:11 - 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 n_rst_shdw(&mut self) -> _NRST_SHDWW[src]

Bit 14 - nRST_SHDW

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 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

pub fn n_swboot0(&mut self) -> _NSWBOOT0W[src]

Bit 26 - Software Boot0

pub fn n_boot0(&mut self) -> _NBOOT0W[src]

Bit 27 - nBoot0 option bit

pub fn agc_trim(&mut self) -> _AGC_TRIMW[src]

Bits 29:31 - Radio Automatic Gain Control Trimming

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self