Struct stm32f103xx::flash::cr::R
[−]
[src]
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 optpg(&self) -> OPTPGR
[src]
Bit 4 - Option byte programming
pub fn opter(&self) -> OPTERR
[src]
Bit 5 - Option byte erase
pub fn strt(&self) -> STRTR
[src]
Bit 6 - Start
pub fn lock(&self) -> LOCKR
[src]
Bit 7 - Lock
pub fn optwre(&self) -> OPTWRER
[src]
Bit 9 - Option bytes write enable
pub fn errie(&self) -> ERRIER
[src]
Bit 10 - Error interrupt enable
pub fn eopie(&self) -> EOPIER
[src]
Bit 12 - End of operation interrupt enable