Struct stm32f103xx::flash::cr::W
[−]
[src]
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 pg(&mut self) -> _PGW
[src]
Bit 0 - Programming
pub fn per(&mut self) -> _PERW
[src]
Bit 1 - Page Erase
pub fn mer(&mut self) -> _MERW
[src]
Bit 2 - Mass Erase
pub fn optpg(&mut self) -> _OPTPGW
[src]
Bit 4 - Option byte programming
pub fn opter(&mut self) -> _OPTERW
[src]
Bit 5 - Option byte erase
pub fn strt(&mut self) -> _STRTW
[src]
Bit 6 - Start
pub fn lock(&mut self) -> _LOCKW
[src]
Bit 7 - Lock
pub fn optwre(&mut self) -> _OPTWREW
[src]
Bit 9 - Option bytes write enable
pub fn errie(&mut self) -> _ERRIEW
[src]
Bit 10 - Error interrupt enable
pub fn eopie(&mut self) -> _EOPIEW
[src]
Bit 12 - End of operation interrupt enable