[][src]Struct stm32g0::stm32g0x1::flash::cr::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 pg(&self) -> PGR[src]

Bit 0 - Programming

pub fn per(&self) -> PERR[src]

Bit 1 - Page erase

pub fn mer(&self) -> MERR[src]

Bit 2 - Mass erase

pub fn pnb(&self) -> PNBR[src]

Bits 3:8 - Page number

pub fn strt(&self) -> STRTR[src]

Bit 16 - Start

pub fn optstrt(&self) -> OPTSTRTR[src]

Bit 17 - Options modification start

pub fn fstpg(&self) -> FSTPGR[src]

Bit 18 - Fast programming

pub fn eopie(&self) -> EOPIER[src]

Bit 24 - End of operation interrupt enable

pub fn errie(&self) -> ERRIER[src]

Bit 25 - Error interrupt enable

pub fn rderrie(&self) -> RDERRIER[src]

Bit 26 - PCROP read error interrupt enable

pub fn obl_launch(&self) -> OBL_LAUNCHR[src]

Bit 27 - Force the option byte loading

pub fn sec_prot(&self) -> SEC_PROTR[src]

Bit 28 - Securable memory area protection enable

pub fn optlock(&self) -> OPTLOCKR[src]

Bit 30 - Options Lock

pub fn lock(&self) -> LOCKR[src]

Bit 31 - FLASH_CR Lock

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