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

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

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

Bits 0:7 - Read protection level

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

Bits 8:10 - BOR reset Level

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

Bit 12 - nRST_STOP

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

Bit 13 - nRST_STDBY

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

Bit 16 - Independent watchdog selection

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

Bit 17 - Independent watchdog counter freeze in Stop mode

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

Bit 18 - Independent watchdog counter freeze in Standby mode

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

Bit 19 - Window watchdog selection

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

Bit 20 - Dual-bank boot

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

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

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

Bit 23 - Boot configuration

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

Bit 24 - SRAM2 parity check enable

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

Bit 25 - SRAM2 Erase when system reset

Auto Trait Implementations

impl Send for R

impl Sync for R

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