[][src]Struct stm32g0::stm32g0x1::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 boren(&self) -> BORENR[src]

Bit 8 - BOR reset Level

pub fn borf_lev(&self) -> BORF_LEVR[src]

Bits 9:10 - These bits contain the VDD supply level threshold that activates the reset

pub fn borr_lev(&self) -> BORR_LEVR[src]

Bits 11:12 - These bits contain the VDD supply level threshold that releases the reset.

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

Bit 13 - nRST_STOP

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

Bit 14 - nRST_STDBY

pub fn n_rsts_hdw(&self) -> NRSTS_HDWR[src]

Bit 15 - nRSTS_HDW

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 ram_parity_check(&self) -> RAM_PARITY_CHECKR[src]

Bit 22 - SRAM parity check control

pub fn n_boot_sel(&self) -> NBOOT_SELR[src]

Bit 24 - nBOOT_SEL

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

Bit 25 - Boot configuration

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

Bit 26 - nBOOT0 option bit

pub fn nrst_mode(&self) -> NRST_MODER[src]

Bits 27:28 - NRST_MODE

pub fn irhen(&self) -> IRHENR[src]

Bit 29 - Internal reset holder enable bit

Auto Trait Implementations

impl Send for R

impl Sync for R

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